We're dividing 31498006 by 313 
We want to divide 31498006 by 313.

On to step 1:
313 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 313

Advancing to step 2:
When dividing 31 by 313, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Append the next digit (4) from the dividend to 31 and continue with: 314 / 313

On to step 3:
314 divided by 313 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 313 from 314 and we're left with 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 313

Moving on to step 4:
If we divide 19 by 313, we get 0 and a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 19 after subtracting 0 from 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 313

Advancing to step 5:
198 divided by 313 is 0 with a remainder of 198.
The next digit of our result is 0. 
Result so far: 100.0
Subtract 0 from 198 to get 198.
Include the next digit (0) from the dividend after 198, then repeat: 1980 / 313

On to step 6:
If we divide 1980 by 313, we get 6 and a remainder of 102.
Use 6 as the next digit of our solution. 
Result so far: 1006.0
If we subtract 1878 from 1980, we get 102.
Include the next digit (0) from the dividend after 102, then repeat: 1020 / 313

Step 7:
313 goes into 1020 3 times with a remainder of 81.
Use 3 as the next digit of our solution. 
Result so far: 10063.0
Subtract 939 from 1020 to get 81.
Bring next digit (6) of the dividend behind the 81 and repeat the process: 816 / 313

Step 8:
313 goes into 816 2 times with a remainder of 190.
Record the quotient 2 as the next digit in the result. 
Result so far: 100632.0
If we subtract 626 from 816, we get 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Advancing to step 9:
313 goes into 1900 6 times with a remainder of 22.
Write down 6 as next digit of the result. 
Result so far: 100632.6
If we subtract 1878 from 1900, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
If we divide 220 by 313, we get 0 and a remainder of 220.
Record the quotient 0 as the next digit in the result. 
Result so far: 100632.6
Subtract 0 from 220 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Advancing to step 11:
2200 divided by 313 is 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 100632.607
If we take 2191 away from 2200, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 12:
When dividing 90 by 313, we get 0 with a remainder of 90.
The next digit of our result is 0. 
Result so far: 100632.607
Subtracting 0 from 90 leaves us with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

On to step 13:
When dividing 900 by 313, we get 2 with a remainder of 274.
Use 2 as the next digit of our solution. 
Result so far: 100632.60702
Subtracting 626 from 900 leaves us with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Let's proceed to step 14:
If we divide 2740 by 313, we get 8 and a remainder of 236.
The number 8 becomes the next digit in our result. 
Result so far: 100632.607028
Deduct 2504 from 2740 and we're left with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Let's proceed to step 15:
313 goes into 2360 7 times with a remainder of 169.
The next digit of our result is 7. 
Result so far: 100632.6070287
Subtracting 2191 from 2360 leaves us with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Step 16:
When dividing 1690 by 313, we get 5 with a remainder of 125.
The next digit of our result is 5. 
Result so far: 100632.60702875
If we take 1565 away from 1690, we end up with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

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