We look at the division of 505501 by 78 
The aim is to understand the frequency of 78 in 505501.

Advancing to step 1:
5 divided by 78 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 78

Going ahead to step 2:
When dividing 50 by 78, we get 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Take the next digit (5) from the dividend and append it to 50, then repeat: 505 / 78

Advancing to step 3:
The number 78 fits into 505 6 times, leaving a remainder of 37.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 468 from 505 leaves us with 37.
Fetch the next digit (5) from the dividend, attach it to 37 and continue: 375 / 78

Let's proceed to step 4:
The number 78 fits into 375 4 times, leaving a remainder of 63.
Put 4 as the next digit of the answer. 
Result so far: 64.0
Subtract 312 from 375 to get 63.
Bring next digit (0) of the dividend behind the 63 and repeat the process: 630 / 78

Going ahead to step 5:
78 goes into 630 8 times with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 648.0
Subtracting 624 from 630 leaves us with 6.
Grab the next digit (1) from the dividend, add it to 6, then carry on: 61 / 78

On to step 6:
61 divided by 78 is 0 with a remainder of 61.
The number 0 becomes the next digit in our result. 
Result so far: 6480.0
If we subtract 0 from 61, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Moving on to step 7:
When dividing 610 by 78, we get 7 with a remainder of 64.
Put 7 as the next digit of the answer. 
Result so far: 6480.7
If we take 546 away from 610, we end up 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 8:
78 goes into 640 8 times with a remainder of 16.
The next digit of our result is 8. 
Result so far: 6480.78
The remainder is 16 after subtracting 624 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
The number 78 fits into 160 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 6480.782
Subtract 156 from 160 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 10:
78 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 6480.782
Deduct 0 from 40 and we're left 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.

On to step 11:
400 divided by 78 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 6480.78205
The remainder is 10 after subtracting 390 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 12:
If we divide 100 by 78, we get 1 and a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 6480.782051
If we subtract 78 from 100, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 13:
When dividing 220 by 78, we get 2 with a remainder of 64.
Write down 2 as next digit of the result. 
Result so far: 6480.7820512
The remainder is 64 after subtracting 156 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 14:
If we divide 640 by 78, we get 8 and a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 6480.78205128
Deduct 624 from 640 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 6480.78205128, and the remainder is 1.6e-08.