We're dividing 77919878 by 504 
Our goal is to divide 77919878 by 504.

On to step 1:
504 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 504

On to step 2:
If we divide 77 by 504, we get 0 and a remainder of 77.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 77 after subtracting 0 from 77.
Take the next digit (9) from the dividend and append it to 77, then repeat: 779 / 504

Moving on to step 3:
The number 504 fits into 779 1 times, leaving a remainder of 275.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 504 from 779, we get 275.
Include the next digit (1) from the dividend after 275, then repeat: 2751 / 504

Going ahead to step 4:
If we divide 2751 by 504, we get 5 and a remainder of 231.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
If we subtract 2520 from 2751, we get 231.
Fetch the next digit (9) from the dividend, attach it to 231 and continue: 2319 / 504

Moving on to step 5:
When dividing 2319 by 504, we get 4 with a remainder of 303.
Write down 4 as next digit of the result. 
Result so far: 154.0
Subtract 2016 from 2319 to get 303.
Bring next digit (8) of the dividend behind the 303 and repeat the process: 3038 / 504

On to step 6:
When dividing 3038 by 504, we get 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 1546.0
Subtract 3024 from 3038 to get 14.
Take the next digit (7) from the dividend and append it to 14, then repeat: 147 / 504

Advancing to step 7:
When dividing 147 by 504, we get 0 with a remainder of 147.
Use 0 as the next digit of our solution. 
Result so far: 15460.0
Subtract 0 from 147 to get 147.
Take the next digit (8) from the dividend and append it to 147, then repeat: 1478 / 504

On to step 8:
The number 504 fits into 1478 2 times, leaving a remainder of 470.
Write down 2 as next digit of the result. 
Result so far: 154602.0
The remainder is 470 after subtracting 1008 from 1478.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Step 9:
504 goes into 4700 9 times with a remainder of 164.
The number 9 becomes the next digit in our result. 
Result so far: 154602.9
The remainder is 164 after subtracting 4536 from 4700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Step 10:
1640 divided by 504 is 3 with a remainder of 128.
The next digit of our result is 3. 
Result so far: 154602.93
Deduct 1512 from 1640 and we're left with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 11:
504 goes into 1280 2 times with a remainder of 272.
The number 2 becomes the next digit in our result. 
Result so far: 154602.932
The remainder is 272 after subtracting 1008 from 1280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Going ahead to step 12:
If we divide 2720 by 504, we get 5 and a remainder of 200.
Write down 5 as next digit of the result. 
Result so far: 154602.9325
If we subtract 2520 from 2720, we get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Step 13:
If we divide 2000 by 504, we get 3 and a remainder of 488.
Use 3 as the next digit of our solution. 
Result so far: 154602.93253
Subtract 1512 from 2000 to get 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Let's proceed to step 14:
The number 504 fits into 4880 9 times, leaving a remainder of 344.
The next digit of our result is 9. 
Result so far: 154602.932539
Deduct 4536 from 4880 and we're left with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Step 15:
504 goes into 3440 6 times with a remainder of 416.
Record the quotient 6 as the next digit in the result. 
Result so far: 154602.9325396
Deduct 3024 from 3440 and we're left with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Step 16:
4160 divided by 504 is 8 with a remainder of 128.
Record the quotient 8 as the next digit in the result. 
Result so far: 154602.93253968
If we take 4032 away from 4160, we end up with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

After the division, we end up with 154602.93253968 and a remainder of 1.28e-07.