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

Moving on to step 1:
78 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 78

Let's proceed to step 2:
78 goes into 82 1 times with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 4 after subtracting 78 from 82.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 78

On to step 3:
If we divide 41 by 78, we get 0 and a remainder of 41.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtracting 0 from 41 leaves us with 41.
Bring next digit (7) of the dividend behind the 41 and repeat the process: 417 / 78

Moving on to step 4:
417 divided by 78 is 5 with a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 105.0
Subtracting 390 from 417 leaves us with 27.
Grab the next digit (1) from the dividend, add it to 27, then carry on: 271 / 78

Going ahead to step 5:
78 goes into 271 3 times with a remainder of 37.
Put 3 as the next digit of the answer. 
Result so far: 1053.0
Deduct 234 from 271 and we're left with 37.
Include the next digit (7) from the dividend after 37, then repeat: 377 / 78

Going ahead to step 6:
377 divided by 78 is 4 with a remainder of 65.
The next digit of our result is 4. 
Result so far: 10534.0
Subtracting 312 from 377 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Step 7:
78 goes into 650 8 times with a remainder of 26.
Record the quotient 8 as the next digit in the result. 
Result so far: 10534.8
If we subtract 624 from 650, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 8:
260 divided by 78 is 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 10534.83
If we take 234 away from 260, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 9:
The number 78 fits into 260 3 times, leaving a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 10534.833
Subtracting 234 from 260 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 10534.833, with a leftover of 0.0026.