We divide 78765013 by 504
We want to divide 78765013 by 504.

Advancing to step 1:
If we divide 7 by 504, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 504

Moving on to step 2:
If we divide 78 by 504, we get 0 and a remainder of 78.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 78 after subtracting 0 from 78.
Grab the next digit (7) from the dividend, add it to 78, then carry on: 787 / 504

Moving on to step 3:
504 can be fit into 787 1 times, resulting in a remainder of 283.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 504 from 787 to get 283.
Append the next digit (6) from the dividend to 283 and continue with: 2836 / 504

Let's proceed to step 4:
If we divide 2836 by 504, we get 5 and a remainder of 316.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtracting 2520 from 2836 leaves us with 316.
Include the next digit (5) from the dividend after 316, then repeat: 3165 / 504

Let's proceed to step 5:
The number 504 fits into 3165 6 times, leaving a remainder of 141.
Write down 6 as next digit of the result. 
Result so far: 156.0
If we subtract 3024 from 3165, we get 141.
Bring next digit (0) of the dividend behind the 141 and repeat the process: 1410 / 504

Moving on to step 6:
504 can be fit into 1410 2 times, resulting in a remainder of 402.
Record the quotient 2 as the next digit in the result. 
Result so far: 1562.0
Subtracting 1008 from 1410 leaves us with 402.
Append the next digit (1) from the dividend to 402 and continue with: 4021 / 504

Going ahead to step 7:
4021 divided by 504 is 7 with a remainder of 493.
Put 7 as the next digit of the answer. 
Result so far: 15627.0
Deduct 3528 from 4021 and we're left with 493.
Include the next digit (3) from the dividend after 493, then repeat: 4933 / 504

Step 8:
504 goes into 4933 9 times with a remainder of 397.
The next digit of our result is 9. 
Result so far: 156279.0
Subtracting 4536 from 4933 leaves us with 397.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3970, and continue the process.

Moving on to step 9:
504 goes into 3970 7 times with a remainder of 442.
The number 7 becomes the next digit in our result. 
Result so far: 156279.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:
4420 divided by 504 is 8 with a remainder of 388.
Put 8 as the next digit of the answer. 
Result so far: 156279.78
Subtracting 4032 from 4420 leaves us with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Let's proceed to step 11:
3880 divided by 504 is 7 with a remainder of 352.
Use 7 as the next digit of our solution. 
Result so far: 156279.787
If we subtract 3528 from 3880, we get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Advancing to step 12:
3520 divided by 504 is 6 with a remainder of 496.
The number 6 becomes the next digit in our result. 
Result so far: 156279.7876
If we subtract 3024 from 3520, we get 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Step 13:
When dividing 4960 by 504, we get 9 with a remainder of 424.
Write down 9 as next digit of the result. 
Result so far: 156279.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.

Let's proceed to step 14:
When dividing 4240 by 504, we get 8 with a remainder of 208.
Put 8 as the next digit of the answer. 
Result so far: 156279.787698
Subtract 4032 from 4240 to 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:
504 goes into 2080 4 times with a remainder of 64.
The number 4 becomes the next digit in our result. 
Result so far: 156279.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.

Step 16:
When dividing 640 by 504, we get 1 with a remainder of 136.
Record the quotient 1 as the next digit in the result. 
Result so far: 156279.78769841
Subtracting 504 from 640 leaves us with 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 156279.78769841 with a remainder of 1.36e-07.