31507976 ÷ 785 
We want to divide 31507976 by 785.

Let's proceed to step 1:
3 divided by 785 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 785

Going ahead to step 2:
The number 785 fits into 31 0 times, leaving a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Grab the next digit (5) from the dividend, add it to 31, then carry on: 315 / 785

Advancing to step 3:
When dividing 315 by 785, we get 0 with a remainder of 315.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 315 after subtracting 0 from 315.
Bring next digit (0) of the dividend behind the 315 and repeat the process: 3150 / 785

Let's proceed to step 4:
785 goes into 3150 4 times with a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 3140 from 3150 to get 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 785

Advancing to step 5:
785 goes into 107 0 times with a remainder of 107.
Put 0 as the next digit of the answer. 
Result so far: 40.0
Deduct 0 from 107 and we're left with 107.
Include the next digit (9) from the dividend after 107, then repeat: 1079 / 785

On to step 6:
The number 785 fits into 1079 1 times, leaving a remainder of 294.
The number 1 becomes the next digit in our result. 
Result so far: 401.0
Subtracting 785 from 1079 leaves us with 294.
Fetch the next digit (7) from the dividend, attach it to 294 and continue: 2947 / 785

Moving on to step 7:
The number 785 fits into 2947 3 times, leaving a remainder of 592.
Use 3 as the next digit of our solution. 
Result so far: 4013.0
If we take 2355 away from 2947, we end up with 592.
Grab the next digit (6) from the dividend, add it to 592, then carry on: 5926 / 785

Step 8:
5926 divided by 785 is 7 with a remainder of 431.
Use 7 as the next digit of our solution. 
Result so far: 40137.0
Subtract 5495 from 5926 to get 431.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4310, and continue the process.

On to step 9:
If we divide 4310 by 785, we get 5 and a remainder of 385.
The number 5 becomes the next digit in our result. 
Result so far: 40137.5
Deduct 3925 from 4310 and we're left with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

On to step 10:
The number 785 fits into 3850 4 times, leaving a remainder of 710.
Use 4 as the next digit of our solution. 
Result so far: 40137.54
Deduct 3140 from 3850 and we're left with 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Moving on to step 11:
The number 785 fits into 7100 9 times, leaving a remainder of 35.
Put 9 as the next digit of the answer. 
Result so far: 40137.549
If we take 7065 away from 7100, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 12:
785 can be fit into 350 0 times, resulting in a remainder of 350.
Put 0 as the next digit of the answer. 
Result so far: 40137.549
If we take 0 away from 350, we end up with 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Advancing to step 13:
The number 785 fits into 3500 4 times, leaving a remainder of 360.
The next digit of our result is 4. 
Result so far: 40137.54904
If we subtract 3140 from 3500, we get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Let's proceed to step 14:
785 goes into 3600 4 times with a remainder of 460.
The number 4 becomes the next digit in our result. 
Result so far: 40137.549044
If we take 3140 away from 3600, we end up with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

The final outcome is 40137.549044, with a leftover of 4.6e-05.