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

Step 1:
1 divided by 39 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 39

Going ahead to step 2:
16 divided by 39 is 0 with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Bring next digit (1) of the dividend behind the 16 and repeat the process: 161 / 39

Advancing to step 3:
39 can be fit into 161 4 times, resulting in a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 156 from 161, we get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 39

Going ahead to step 4:
39 goes into 52 1 times with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
The remainder is 13 after subtracting 39 from 52.
Take the next digit (4) from the dividend and append it to 13, then repeat: 134 / 39

Advancing to step 5:
39 can be fit into 134 3 times, resulting in a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 413.0
Subtract 117 from 134 to get 17.
Take the next digit (6) from the dividend and append it to 17, then repeat: 176 / 39

Going ahead to step 6:
When dividing 176 by 39, we get 4 with a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 4134.0
Subtract 156 from 176 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 7:
The number 39 fits into 200 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 4134.5
If we take 195 away from 200, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
39 can be fit into 50 1 times, resulting in a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 4134.51
Subtracting 39 from 50 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 9:
39 goes into 110 2 times with a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 4134.512
If we take 78 away from 110, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 10:
When dividing 320 by 39, we get 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 4134.5128
The remainder is 8 after subtracting 312 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
39 goes into 80 2 times with a remainder of 2.
The next digit of our result is 2. 
Result so far: 4134.51282
Subtract 78 from 80 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 12:
20 divided by 39 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 4134.51282
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
200 divided by 39 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 4134.5128205
Subtracting 195 from 200 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 14:
39 can be fit into 50 1 times, resulting in a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 4134.51282051
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Our division results in 4134.51282051 with a remaining 1.1e-08.