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

Advancing to step 1:
The number 78 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 78

On to step 2:
The number 78 fits into 53 0 times, leaving a remainder of 53.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 53 to get 53.
Grab the next digit (9) from the dividend, add it to 53, then carry on: 539 / 78

Moving on to step 3:
If we divide 539 by 78, we get 6 and a remainder of 71.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 468 from 539 and we're left with 71.
Grab the next digit (8) from the dividend, add it to 71, then carry on: 718 / 78

Going ahead to step 4:
78 can be fit into 718 9 times, resulting in a remainder of 16.
The next digit of our result is 9. 
Result so far: 69.0
Deduct 702 from 718 and we're left with 16.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 78

Going ahead to step 5:
If we divide 161 by 78, we get 2 and a remainder of 5.
The next digit of our result is 2. 
Result so far: 692.0
The remainder is 5 after subtracting 156 from 161.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 78

Going ahead to step 6:
78 can be fit into 57 0 times, resulting in a remainder of 57.
Record the quotient 0 as the next digit in the result. 
Result so far: 6920.0
The remainder is 57 after subtracting 0 from 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Step 7:
570 divided by 78 is 7 with a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 6920.7
The remainder is 24 after subtracting 546 from 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
The number 78 fits into 240 3 times, leaving a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 6920.73
If we subtract 234 from 240, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
The number 78 fits into 60 0 times, leaving a remainder of 60.
Record the quotient 0 as the next digit in the result. 
Result so far: 6920.73
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 10:
The number 78 fits into 600 7 times, leaving a remainder of 54.
The number 7 becomes the next digit in our result. 
Result so far: 6920.7307
If we take 546 away from 600, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 11:
If we divide 540 by 78, we get 6 and a remainder of 72.
Put 6 as the next digit of the answer. 
Result so far: 6920.73076
If we subtract 468 from 540, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 12:
If we divide 720 by 78, we get 9 and a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 6920.730769
Subtract 702 from 720 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 13:
When dividing 180 by 78, we get 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 6920.7307692
Subtracting 156 from 180 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 14:
78 goes into 240 3 times with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 6920.73076923
If we subtract 234 from 240, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 6920.73076923 with a remaining 6e-09.