We divide 164277 by 39
Let's see how many times 39 fits into 164277.

Step 1:
1 divided by 39 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 39

Let's proceed to step 2:
The number 39 fits into 16 0 times, leaving 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 (4) from the dividend and append it to 16, then repeat: 164 / 39

Advancing to step 3:
164 divided by 39 is 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 156 from 164, we get 8.
Bring next digit (2) of the dividend behind the 8 and repeat the process: 82 / 39

Step 4:
If we divide 82 by 39, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 42.0
Deduct 78 from 82 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 39

Moving on to step 5:
39 can be fit into 47 1 times, resulting in a remainder of 8.
The next digit of our result is 1. 
Result so far: 421.0
If we take 39 away from 47, we end up with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 39

On to step 6:
If we divide 87 by 39, we get 2 and a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 4212.0
Deduct 78 from 87 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 7:
When dividing 90 by 39, we get 2 with a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 4212.2
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
The number 39 fits into 120 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 4212.23
Deduct 117 from 120 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
If we divide 30 by 39, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 4212.23
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 10:
If we divide 300 by 39, we get 7 and a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 4212.2307
Subtract 273 from 300 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 11:
39 can be fit into 270 6 times, resulting in a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 4212.23076
The remainder is 36 after subtracting 234 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
360 divided by 39 is 9 with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 4212.230769
Subtracting 351 from 360 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 13:
90 divided by 39 is 2 with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 4212.2307692
Subtracting 78 from 90 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 14:
The number 39 fits into 120 3 times, leaving a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 4212.23076923
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The quotient of the division is 4212.23076923, and the remainder is 3e-09.