Let's divide 31028851 by 870
We want to divide 31028851 by 870.

Going ahead to step 1:
If we divide 3 by 870, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 870

Step 2:
870 can be fit into 31 0 times, resulting in a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Grab the next digit (0) from the dividend, add it to 31, then carry on: 310 / 870

Let's proceed to step 3:
The number 870 fits into 310 0 times, leaving a remainder of 310.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 310, we get 310.
Append the next digit (2) from the dividend to 310 and continue with: 3102 / 870

Advancing to step 4:
3102 divided by 870 is 3 with a remainder of 492.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 492 after subtracting 2610 from 3102.
Append the next digit (8) from the dividend to 492 and continue with: 4928 / 870

Let's proceed to step 5:
870 goes into 4928 5 times with a remainder of 578.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
If we subtract 4350 from 4928, we get 578.
Append the next digit (8) from the dividend to 578 and continue with: 5788 / 870

Step 6:
870 goes into 5788 6 times with a remainder of 568.
The next digit of our result is 6. 
Result so far: 356.0
Deduct 5220 from 5788 and we're left with 568.
Take the next digit (5) from the dividend and append it to 568, then repeat: 5685 / 870

On to step 7:
870 can be fit into 5685 6 times, resulting in a remainder of 465.
Use 6 as the next digit of our solution. 
Result so far: 3566.0
The remainder is 465 after subtracting 5220 from 5685.
Bring next digit (1) of the dividend behind the 465 and repeat the process: 4651 / 870

Moving on to step 8:
If we divide 4651 by 870, we get 5 and a remainder of 301.
The next digit of our result is 5. 
Result so far: 35665.0
Subtract 4350 from 4651 to get 301.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3010, and continue the process.

Going ahead to step 9:
If we divide 3010 by 870, we get 3 and a remainder of 400.
Use 3 as the next digit of our solution. 
Result so far: 35665.3
Subtract 2610 from 3010 to get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Moving on to step 10:
870 goes into 4000 4 times with a remainder of 520.
Write down 4 as next digit of the result. 
Result so far: 35665.34
If we take 3480 away from 4000, we end up with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Going ahead to step 11:
870 can be fit into 5200 5 times, resulting in a remainder of 850.
The number 5 becomes the next digit in our result. 
Result so far: 35665.345
If we subtract 4350 from 5200, we get 850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8500, and continue the process.

Advancing to step 12:
The number 870 fits into 8500 9 times, leaving a remainder of 670.
Put 9 as the next digit of the answer. 
Result so far: 35665.3459
Subtract 7830 from 8500 to get 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Step 13:
When dividing 6700 by 870, we get 7 with a remainder of 610.
Write down 7 as next digit of the result. 
Result so far: 35665.34597
Subtracting 6090 from 6700 leaves us with 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Step 14:
870 goes into 6100 7 times with a remainder of 10.
Record the quotient 7 as the next digit in the result. 
Result so far: 35665.345977
Deduct 6090 from 6100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 35665.345977, and the remainder is 1e-06.