We divide 31135939 by 642
We want to figure out the number of times 31135939 can be divided by 642.

Step 1:
642 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 642

Moving on to step 2:
31 divided by 642 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 642

Moving on to step 3:
311 divided by 642 is 0 with a remainder of 311.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 311 and we're left with 311.
Append the next digit (3) from the dividend to 311 and continue with: 3113 / 642

Advancing to step 4:
When dividing 3113 by 642, we get 4 with a remainder of 545.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 2568 away from 3113, we end up with 545.
Append the next digit (5) from the dividend to 545 and continue with: 5455 / 642

Going ahead to step 5:
If we divide 5455 by 642, we get 8 and a remainder of 319.
Use 8 as the next digit of our solution. 
Result so far: 48.0
Deduct 5136 from 5455 and we're left with 319.
Fetch the next digit (9) from the dividend, attach it to 319 and continue: 3199 / 642

On to step 6:
642 can be fit into 3199 4 times, resulting in a remainder of 631.
Record the quotient 4 as the next digit in the result. 
Result so far: 484.0
Deduct 2568 from 3199 and we're left with 631.
Include the next digit (3) from the dividend after 631, then repeat: 6313 / 642

Advancing to step 7:
642 can be fit into 6313 9 times, resulting in a remainder of 535.
The number 9 becomes the next digit in our result. 
Result so far: 4849.0
If we subtract 5778 from 6313, we get 535.
Take the next digit (9) from the dividend and append it to 535, then repeat: 5359 / 642

Moving on to step 8:
642 goes into 5359 8 times with a remainder of 223.
The next digit of our result is 8. 
Result so far: 48498.0
If we take 5136 away from 5359, we end up with 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Going ahead to step 9:
The number 642 fits into 2230 3 times, leaving a remainder of 304.
Record the quotient 3 as the next digit in the result. 
Result so far: 48498.3
If we subtract 1926 from 2230, we get 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 10:
642 goes into 3040 4 times with a remainder of 472.
Record the quotient 4 as the next digit in the result. 
Result so far: 48498.34
Subtracting 2568 from 3040 leaves us with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Going ahead to step 11:
If we divide 4720 by 642, we get 7 and a remainder of 226.
Write down 7 as next digit of the result. 
Result so far: 48498.347
The remainder is 226 after subtracting 4494 from 4720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Let's proceed to step 12:
2260 divided by 642 is 3 with a remainder of 334.
Use 3 as the next digit of our solution. 
Result so far: 48498.3473
If we take 1926 away from 2260, we end up with 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Moving on to step 13:
When dividing 3340 by 642, we get 5 with a remainder of 130.
The number 5 becomes the next digit in our result. 
Result so far: 48498.34735
If we subtract 3210 from 3340, we get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Let's proceed to step 14:
If we divide 1300 by 642, we get 2 and a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 48498.347352
If we subtract 1284 from 1300, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 15:
If we divide 160 by 642, we get 0 and a remainder of 160.
Write down 0 as next digit of the result. 
Result so far: 48498.347352
If we subtract 0 from 160, we get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Let's proceed to step 16:
The number 642 fits into 1600 2 times, leaving a remainder of 316.
Use 2 as the next digit of our solution. 
Result so far: 48498.34735202
If we subtract 1284 from 1600, we get 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

The final outcome is 48498.34735202, with a leftover of 3.16e-07.