We're dividing 504524 by 78 
We want to figure out the number of times 504524 can be divided by 78.

On to step 1:
If we divide 5 by 78, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 78

Advancing to step 2:
If we divide 50 by 78, we get 0 and a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Include the next digit (4) from the dividend after 50, then repeat: 504 / 78

Moving on to step 3:
78 can be fit into 504 6 times, resulting in a remainder of 36.
The next digit of our result is 6. 
Result so far: 6.0
Deduct 468 from 504 and we're left with 36.
Append the next digit (5) from the dividend to 36 and continue with: 365 / 78

Step 4:
365 divided by 78 is 4 with a remainder of 53.
Record the quotient 4 as the next digit in the result. 
Result so far: 64.0
The remainder is 53 after subtracting 312 from 365.
Append the next digit (2) from the dividend to 53 and continue with: 532 / 78

Step 5:
If we divide 532 by 78, we get 6 and a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 646.0
Subtract 468 from 532 to get 64.
Append the next digit (4) from the dividend to 64 and continue with: 644 / 78

Moving on to step 6:
If we divide 644 by 78, we get 8 and a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 6468.0
If we subtract 624 from 644, 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.

Step 7:
When dividing 200 by 78, we get 2 with a remainder of 44.
Write down 2 as next digit of the result. 
Result so far: 6468.2
Subtracting 156 from 200 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 8:
78 can be fit into 440 5 times, resulting in a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 6468.25
Subtracting 390 from 440 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 9:
78 goes into 500 6 times with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 6468.256
The remainder is 32 after subtracting 468 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 10:
320 divided by 78 is 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 6468.2564
Subtract 312 from 320 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
80 divided by 78 is 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 6468.25641
Deduct 78 from 80 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 12:
When dividing 20 by 78, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 6468.25641
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 13:
If we divide 200 by 78, we get 2 and a remainder of 44.
Record the quotient 2 as the next digit in the result. 
Result so far: 6468.2564102
The remainder is 44 after subtracting 156 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 14:
78 goes into 440 5 times with a remainder of 50.
The next digit of our result is 5. 
Result so far: 6468.25641025
If we take 390 away from 440, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

The final result is 6468.25641025 with a remainder of 5e-08.