165251 divided by 39 
We want to figure out the number of times 165251 can be divided by 39.

Advancing to step 1:
1 divided by 39 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 39

Advancing to step 2:
If we divide 16 by 39, we get 0 and a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 39

Moving on to step 3:
When dividing 165 by 39, we get 4 with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 156 from 165, we get 9.
Fetch the next digit (2) from the dividend, attach it to 9 and continue: 92 / 39

Let's proceed to step 4:
If we divide 92 by 39, we get 2 and a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 42.0
Subtract 78 from 92 to get 14.
Include the next digit (5) from the dividend after 14, then repeat: 145 / 39

Let's proceed to step 5:
If we divide 145 by 39, we get 3 and a remainder of 28.
Record the quotient 3 as the next digit in the result. 
Result so far: 423.0
Subtract 117 from 145 to get 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 39

Let's proceed to step 6:
When dividing 281 by 39, we get 7 with a remainder of 8.
The next digit of our result is 7. 
Result so far: 4237.0
The remainder is 8 after subtracting 273 from 281.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
39 can be fit into 80 2 times, resulting in a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 4237.2
The remainder is 2 after subtracting 78 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
When dividing 20 by 39, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 4237.2
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
39 can be fit into 200 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 4237.205
If we subtract 195 from 200, we get 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 10:
39 can be fit into 50 1 times, resulting in a remainder of 11.
The next digit of our result is 1. 
Result so far: 4237.2051
Subtract 39 from 50 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 11:
39 can be fit into 110 2 times, resulting in a remainder of 32.
Use 2 as the next digit of our solution. 
Result so far: 4237.20512
If we subtract 78 from 110, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 12:
When dividing 320 by 39, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 4237.205128
Subtracting 312 from 320 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 13:
39 can be fit into 80 2 times, resulting in a remainder of 2.
The next digit of our result is 2. 
Result so far: 4237.2051282
Subtracting 78 from 80 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 14:
The number 39 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 4237.2051282
Subtract 0 from 20 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.

The final result is 4237.2051282 with a remainder of 2e-08.