We're dividing 151865 by 39 
We want to divide 151865 by 39.

On to step 1:
39 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 39

Going ahead to step 2:
When dividing 15 by 39, we get 0 with a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 15 leaves us with 15.
Bring next digit (1) of the dividend behind the 15 and repeat the process: 151 / 39

Moving on to step 3:
151 divided by 39 is 3 with a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 34 after subtracting 117 from 151.
Grab the next digit (8) from the dividend, add it to 34, then carry on: 348 / 39

Advancing to step 4:
39 goes into 348 8 times with a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 38.0
Subtracting 312 from 348 leaves us with 36.
Grab the next digit (6) from the dividend, add it to 36, then carry on: 366 / 39

Advancing to step 5:
If we divide 366 by 39, we get 9 and a remainder of 15.
The number 9 becomes the next digit in our result. 
Result so far: 389.0
Subtract 351 from 366 to get 15.
Append the next digit (5) from the dividend to 15 and continue with: 155 / 39

Moving on to step 6:
If we divide 155 by 39, we get 3 and a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 3893.0
If we subtract 117 from 155, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 7:
39 goes into 380 9 times with a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 3893.9
The remainder is 29 after subtracting 351 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 8:
39 goes into 290 7 times with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 3893.97
Deduct 273 from 290 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 9:
When dividing 170 by 39, we get 4 with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 3893.974
The remainder is 14 after subtracting 156 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 10:
39 can be fit into 140 3 times, resulting in a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 3893.9743
If we take 117 away from 140, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 11:
39 can be fit into 230 5 times, resulting in a remainder of 35.
Record the quotient 5 as the next digit in the result. 
Result so far: 3893.97435
If we take 195 away from 230, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 12:
If we divide 350 by 39, we get 8 and a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 3893.974358
If we take 312 away from 350, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 13:
When dividing 380 by 39, we get 9 with a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 3893.9743589
Deduct 351 from 380 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 14:
39 goes into 290 7 times with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 3893.97435897
Subtract 273 from 290 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The quotient of the division is 3893.97435897, and the remainder is 1.7e-08.