Let's divide 387798 by 76
Our goal is to divide 387798 by 76.

Going ahead to step 1:
If we divide 3 by 76, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 76

Moving on to step 2:
38 divided by 76 is 0 with a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 38 and we're left with 38.
Fetch the next digit (7) from the dividend, attach it to 38 and continue: 387 / 76

Let's proceed to step 3:
When dividing 387 by 76, we get 5 with a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtract 380 from 387 to get 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 76

Let's proceed to step 4:
If we divide 77 by 76, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 51.0
If we take 76 away from 77, we end up with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 76

Going ahead to step 5:
The number 76 fits into 19 0 times, leaving a remainder of 19.
Write down 0 as next digit of the result. 
Result so far: 510.0
The remainder is 19 after subtracting 0 from 19.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 76

Going ahead to step 6:
76 can be fit into 198 2 times, resulting in a remainder of 46.
Use 2 as the next digit of our solution. 
Result so far: 5102.0
Subtracting 152 from 198 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 7:
When dividing 460 by 76, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 5102.6
Subtracting 456 from 460 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
76 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 5102.6
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 9:
400 divided by 76 is 5 with a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 5102.605
If we subtract 380 from 400, we 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 10:
76 can be fit into 200 2 times, resulting in a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 5102.6052
Subtract 152 from 200 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 11:
76 can be fit into 480 6 times, resulting in a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 5102.60526
The remainder is 24 after subtracting 456 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 12:
The number 76 fits into 240 3 times, leaving a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 5102.605263
Subtracting 228 from 240 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.

Advancing to step 13:
The number 76 fits into 120 1 times, leaving a remainder of 44.
Write down 1 as next digit of the result. 
Result so far: 5102.6052631
Subtract 76 from 120 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 14:
76 goes into 440 5 times with a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 5102.60526315
Subtract 380 from 440 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

The final result is 5102.60526315 with a remainder of 6e-08.