We're dividing 31865029 by 170 
We want to figure out the number of times 31865029 can be divided by 170.

On to step 1:
When dividing 3 by 170, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 170

Advancing to step 2:
When dividing 31 by 170, we get 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 170

Going ahead to step 3:
170 can be fit into 318 1 times, resulting in a remainder of 148.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 148 after subtracting 170 from 318.
Grab the next digit (6) from the dividend, add it to 148, then carry on: 1486 / 170

Let's proceed to step 4:
170 can be fit into 1486 8 times, resulting in a remainder of 126.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we subtract 1360 from 1486, we get 126.
Grab the next digit (5) from the dividend, add it to 126, then carry on: 1265 / 170

Let's proceed to step 5:
The number 170 fits into 1265 7 times, leaving a remainder of 75.
The next digit of our result is 7. 
Result so far: 187.0
Deduct 1190 from 1265 and we're left with 75.
Take the next digit (0) from the dividend and append it to 75, then repeat: 750 / 170

Let's proceed to step 6:
170 can be fit into 750 4 times, resulting in a remainder of 70.
The next digit of our result is 4. 
Result so far: 1874.0
Subtract 680 from 750 to get 70.
Fetch the next digit (2) from the dividend, attach it to 70 and continue: 702 / 170

On to step 7:
170 can be fit into 702 4 times, resulting in a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 18744.0
Subtract 680 from 702 to get 22.
Take the next digit (9) from the dividend and append it to 22, then repeat: 229 / 170

Going ahead to step 8:
When dividing 229 by 170, we get 1 with a remainder of 59.
Record the quotient 1 as the next digit in the result. 
Result so far: 187441.0
If we subtract 170 from 229, we get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Advancing to step 9:
The number 170 fits into 590 3 times, leaving a remainder of 80.
Record the quotient 3 as the next digit in the result. 
Result so far: 187441.3
Deduct 510 from 590 and we're left with 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 170 is 4 with a remainder of 120.
The next digit of our result is 4. 
Result so far: 187441.34
If we subtract 680 from 800, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Moving on to step 11:
170 goes into 1200 7 times with a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 187441.347
The remainder is 10 after subtracting 1190 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 12:
100 divided by 170 is 0 with a remainder of 100.
Write down 0 as next digit of the result. 
Result so far: 187441.347
Subtract 0 from 100 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 13:
The number 170 fits into 1000 5 times, leaving a remainder of 150.
Use 5 as the next digit of our solution. 
Result so far: 187441.34705
Subtracting 850 from 1000 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Step 14:
170 can be fit into 1500 8 times, resulting in a remainder of 140.
Use 8 as the next digit of our solution. 
Result so far: 187441.347058
If we subtract 1360 from 1500, we get 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

On to step 15:
If we divide 1400 by 170, we get 8 and a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 187441.3470588
If we subtract 1360 from 1400, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 187441.3470588 and a remainder of 4e-07.