We look at the division of 365571 by 40 
We're looking to find how many times 40 goes into 365571.

Moving on to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 40

Step 2:
When dividing 36 by 40, we get 0 with a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 36, we end up with 36.
Fetch the next digit (5) from the dividend, attach it to 36 and continue: 365 / 40

Advancing to step 3:
When dividing 365 by 40, we get 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
The remainder is 5 after subtracting 360 from 365.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 40

Step 4:
When dividing 55 by 40, we get 1 with a remainder of 15.
The next digit of our result is 1. 
Result so far: 91.0
The remainder is 15 after subtracting 40 from 55.
Take the next digit (7) from the dividend and append it to 15, then repeat: 157 / 40

Advancing to step 5:
40 goes into 157 3 times with a remainder of 37.
The number 3 becomes the next digit in our result. 
Result so far: 913.0
The remainder is 37 after subtracting 120 from 157.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 40

Moving on to step 6:
The number 40 fits into 371 9 times, leaving a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 9139.0
If we take 360 away from 371, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
110 divided by 40 is 2 with a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 9139.2
If we subtract 80 from 110, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
The next digit of our result is 7. 
Result so far: 9139.27
If we subtract 280 from 300, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
40 goes into 200 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 9139.275
Subtracting 200 from 200 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 9139.275
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 9139.275
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 9139.275, and the remainder is 0.0.