Let's divide 31287436 by 39
We want to divide 31287436 by 39.

Moving on to step 1:
If we divide 3 by 39, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 39

On to step 2:
When dividing 31 by 39, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Take the next digit (2) from the dividend and append it to 31, then repeat: 312 / 39

Let's proceed to step 3:
39 can be fit into 312 8 times, resulting in a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 312 from 312, we get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 39

Moving on to step 4:
39 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 80.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 39

Moving on to step 5:
When dividing 87 by 39, we get 2 with a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 802.0
If we take 78 away from 87, we end up with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 39

Moving on to step 6:
The number 39 fits into 94 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 8022.0
Deduct 78 from 94 and we're left with 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 39

Going ahead to step 7:
163 divided by 39 is 4 with a remainder of 7.
The next digit of our result is 4. 
Result so far: 80224.0
Deduct 156 from 163 and we're left with 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 39

Let's proceed to step 8:
76 divided by 39 is 1 with a remainder of 37.
Put 1 as the next digit of the answer. 
Result so far: 802241.0
If we take 39 away from 76, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 9:
When dividing 370 by 39, we get 9 with a remainder of 19.
The next digit of our result is 9. 
Result so far: 802241.9
Subtract 351 from 370 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 10:
39 can be fit into 190 4 times, resulting in a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 802241.94
Deduct 156 from 190 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 11:
If we divide 340 by 39, we get 8 and a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 802241.948
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
280 divided by 39 is 7 with a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 802241.9487
If we take 273 away from 280, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 13:
If we divide 70 by 39, we get 1 and a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 802241.94871
Subtracting 39 from 70 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 14:
The number 39 fits into 310 7 times, leaving a remainder of 37.
The next digit of our result is 7. 
Result so far: 802241.948717
Subtracting 273 from 310 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 15:
The number 39 fits into 370 9 times, leaving a remainder of 19.
Use 9 as the next digit of our solution. 
Result so far: 802241.9487179
The remainder is 19 after subtracting 351 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 16:
190 divided by 39 is 4 with a remainder of 34.
Put 4 as the next digit of the answer. 
Result so far: 802241.94871794
Subtract 156 from 190 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 802241.94871794, with a leftover of 3.4e-08.