Let's divide 5731858 by 39
We want to figure out the number of times 5731858 can be divided by 39.

Let's proceed to step 1:
39 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 39

Going ahead to step 2:
39 goes into 57 1 times with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 39 from 57 to get 18.
Take the next digit (3) from the dividend and append it to 18, then repeat: 183 / 39

Advancing to step 3:
The number 39 fits into 183 4 times, leaving a remainder of 27.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Deduct 156 from 183 and we're left with 27.
Fetch the next digit (1) from the dividend, attach it to 27 and continue: 271 / 39

Let's proceed to step 4:
If we divide 271 by 39, we get 6 and a remainder of 37.
Use 6 as the next digit of our solution. 
Result so far: 146.0
If we subtract 234 from 271, we get 37.
Fetch the next digit (8) from the dividend, attach it to 37 and continue: 378 / 39

Let's proceed to step 5:
39 goes into 378 9 times with a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 1469.0
The remainder is 27 after subtracting 351 from 378.
Grab the next digit (5) from the dividend, add it to 27, then carry on: 275 / 39

Moving on to step 6:
The number 39 fits into 275 7 times, leaving a remainder of 2.
The next digit of our result is 7. 
Result so far: 14697.0
The remainder is 2 after subtracting 273 from 275.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 39

On to step 7:
39 goes into 28 0 times with a remainder of 28.
Put 0 as the next digit of the answer. 
Result so far: 146970.0
If we take 0 away from 28, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
When dividing 280 by 39, we get 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 146970.7
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 9:
70 divided by 39 is 1 with a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 146970.71
Deduct 39 from 70 and we're left 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.

Step 10:
The number 39 fits into 310 7 times, leaving a remainder of 37.
Put 7 as the next digit of the answer. 
Result so far: 146970.717
Deduct 273 from 310 and we're left 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.

On to step 11:
39 goes into 370 9 times with a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 146970.7179
If we take 351 away from 370, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 12:
39 goes into 190 4 times with a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 146970.71794
The remainder is 34 after subtracting 156 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 13:
When dividing 340 by 39, we get 8 with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 146970.717948
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.

Going ahead to step 14:
The number 39 fits into 280 7 times, leaving a remainder of 7.
The next digit of our result is 7. 
Result so far: 146970.7179487
The remainder is 7 after subtracting 273 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 15:
39 can be fit into 70 1 times, resulting in a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 146970.71794871
The remainder is 31 after subtracting 39 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final result is 146970.71794871 with a remainder of 3.1e-08.