Let's divide 40371783 by 125
We're looking to find how many times 125 goes into 40371783.

Moving on to step 1:
The number 125 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 125

Moving on to step 2:
125 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 125

Going ahead to step 3:
The number 125 fits into 403 3 times, leaving a remainder of 28.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 375 from 403 leaves us with 28.
Grab the next digit (7) from the dividend, add it to 28, then carry on: 287 / 125

Let's proceed to step 4:
125 can be fit into 287 2 times, resulting in a remainder of 37.
Write down 2 as next digit of the result. 
Result so far: 32.0
Subtract 250 from 287 to get 37.
Grab the next digit (1) from the dividend, add it to 37, then carry on: 371 / 125

Step 5:
125 goes into 371 2 times with a remainder of 121.
Use 2 as the next digit of our solution. 
Result so far: 322.0
Subtract 250 from 371 to get 121.
Include the next digit (7) from the dividend after 121, then repeat: 1217 / 125

Advancing to step 6:
The number 125 fits into 1217 9 times, leaving a remainder of 92.
Use 9 as the next digit of our solution. 
Result so far: 3229.0
If we take 1125 away from 1217, we end up with 92.
Include the next digit (8) from the dividend after 92, then repeat: 928 / 125

Moving on to step 7:
125 can be fit into 928 7 times, resulting in a remainder of 53.
The next digit of our result is 7. 
Result so far: 32297.0
Subtract 875 from 928 to get 53.
Include the next digit (3) from the dividend after 53, then repeat: 533 / 125

On to step 8:
125 goes into 533 4 times with a remainder of 33.
Put 4 as the next digit of the answer. 
Result so far: 322974.0
If we take 500 away from 533, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 9:
When dividing 330 by 125, we get 2 with a remainder of 80.
The next digit of our result is 2. 
Result so far: 322974.2
If we subtract 250 from 330, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 10:
800 divided by 125 is 6 with a remainder of 50.
The next digit of our result is 6. 
Result so far: 322974.26
If we subtract 750 from 800, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 11:
When dividing 500 by 125, we get 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 322974.264
If we take 500 away from 500, 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.

Going ahead to step 12:
125 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 322974.264
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.

Step 13:
125 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 322974.264
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.

After the division, we end up with 322974.264 and a remainder of 0.0.