We look at the division of 39165 by 76 
We want to divide 39165 by 76.

Step 1:
76 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 76

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

Advancing to step 3:
The number 76 fits into 391 5 times, leaving a remainder of 11.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 11 after subtracting 380 from 391.
Fetch the next digit (6) from the dividend, attach it to 11 and continue: 116 / 76

On to step 4:
116 divided by 76 is 1 with a remainder of 40.
Use 1 as the next digit of our solution. 
Result so far: 51.0
Subtracting 76 from 116 leaves us with 40.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 76

Moving on to step 5:
76 can be fit into 405 5 times, resulting in a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 515.0
If we take 380 away from 405, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 6:
76 can be fit into 250 3 times, resulting in a remainder of 22.
The next digit of our result is 3. 
Result so far: 515.3
If we take 228 away from 250, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
76 goes into 220 2 times with a remainder of 68.
Put 2 as the next digit of the answer. 
Result so far: 515.32
If we take 152 away from 220, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 8:
76 goes into 680 8 times with a remainder of 72.
Write down 8 as next digit of the result. 
Result so far: 515.328
Deduct 608 from 680 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 9:
720 divided by 76 is 9 with a remainder of 36.
Record the quotient 9 as the next digit in the result. 
Result so far: 515.3289
Subtract 684 from 720 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 10:
The number 76 fits into 360 4 times, leaving a remainder of 56.
The next digit of our result is 4. 
Result so far: 515.32894
If we subtract 304 from 360, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 11:
When dividing 560 by 76, we get 7 with a remainder of 28.
Use 7 as the next digit of our solution. 
Result so far: 515.328947
If we subtract 532 from 560, we get 28.
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 12:
76 goes into 280 3 times with a remainder of 52.
Put 3 as the next digit of the answer. 
Result so far: 515.3289473
The remainder is 52 after subtracting 228 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
When dividing 520 by 76, we get 6 with a remainder of 64.
Write down 6 as next digit of the result. 
Result so far: 515.32894736
The remainder is 64 after subtracting 456 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The final result is 515.32894736 with a remainder of 6.4e-08.