We're dividing 78867829 by 504 
Let's see how many times 504 fits into 78867829.

Going ahead 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
Deduct 0 from 7 and we're left with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 504

Advancing to step 2:
When dividing 78 by 504, we get 0 with a remainder of 78.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 78, we end up with 78.
Grab the next digit (8) from the dividend, add it to 78, then carry on: 788 / 504

On to step 3:
When dividing 788 by 504, we get 1 with a remainder of 284.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 504 from 788, we get 284.
Take the next digit (6) from the dividend and append it to 284, then repeat: 2846 / 504

On to step 4:
If we divide 2846 by 504, we get 5 and a remainder of 326.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtract 2520 from 2846 to get 326.
Append the next digit (7) from the dividend to 326 and continue with: 3267 / 504

Going ahead to step 5:
504 goes into 3267 6 times with a remainder of 243.
Record the quotient 6 as the next digit in the result. 
Result so far: 156.0
Deduct 3024 from 3267 and we're left with 243.
Fetch the next digit (8) from the dividend, attach it to 243 and continue: 2438 / 504

Moving on to step 6:
504 can be fit into 2438 4 times, resulting in a remainder of 422.
The next digit of our result is 4. 
Result so far: 1564.0
Deduct 2016 from 2438 and we're left with 422.
Bring next digit (2) of the dividend behind the 422 and repeat the process: 4222 / 504

Advancing to step 7:
If we divide 4222 by 504, we get 8 and a remainder of 190.
Record the quotient 8 as the next digit in the result. 
Result so far: 15648.0
If we take 4032 away from 4222, we end up with 190.
Take the next digit (9) from the dividend and append it to 190, then repeat: 1909 / 504

Moving on to step 8:
When dividing 1909 by 504, we get 3 with a remainder of 397.
Record the quotient 3 as the next digit in the result. 
Result so far: 156483.0
Subtract 1512 from 1909 to get 397.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3970, and continue the process.

Going ahead to step 9:
If we divide 3970 by 504, we get 7 and a remainder of 442.
Use 7 as the next digit of our solution. 
Result so far: 156483.7
If we subtract 3528 from 3970, we get 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

On to step 10:
504 can be fit into 4420 8 times, resulting in a remainder of 388.
The number 8 becomes the next digit in our result. 
Result so far: 156483.78
If we subtract 4032 from 4420, we get 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Advancing to step 11:
3880 divided by 504 is 7 with a remainder of 352.
Put 7 as the next digit of the answer. 
Result so far: 156483.787
The remainder is 352 after subtracting 3528 from 3880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Moving on to step 12:
504 can be fit into 3520 6 times, resulting in a remainder of 496.
Write down 6 as next digit of the result. 
Result so far: 156483.7876
Deduct 3024 from 3520 and we're left with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Advancing to step 13:
The number 504 fits into 4960 9 times, leaving a remainder of 424.
The number 9 becomes the next digit in our result. 
Result so far: 156483.78769
Subtracting 4536 from 4960 leaves us with 424.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4240, and continue the process.

On to step 14:
The number 504 fits into 4240 8 times, leaving a remainder of 208.
The next digit of our result is 8. 
Result so far: 156483.787698
If we subtract 4032 from 4240, we get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

On to step 15:
2080 divided by 504 is 4 with a remainder of 64.
Put 4 as the next digit of the answer. 
Result so far: 156483.7876984
Deduct 2016 from 2080 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 16:
The number 504 fits into 640 1 times, leaving a remainder of 136.
Record the quotient 1 as the next digit in the result. 
Result so far: 156483.78769841
Subtract 504 from 640 to get 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

The final result is 156483.78769841 with a remainder of 1.36e-07.