Let's divide 827159 by 78
The aim is to understand the frequency of 78 in 827159.

Going ahead to step 1:
78 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 78

On to step 2:
If we divide 82 by 78, we get 1 and a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 78 from 82 to get 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 78

Advancing to step 3:
The number 78 fits into 47 0 times, leaving a remainder of 47.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we take 0 away from 47, we end up with 47.
Bring next digit (1) of the dividend behind the 47 and repeat the process: 471 / 78

On to step 4:
471 divided by 78 is 6 with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 106.0
Subtracting 468 from 471 leaves us with 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 78

Step 5:
The number 78 fits into 35 0 times, leaving a remainder of 35.
The number 0 becomes the next digit in our result. 
Result so far: 1060.0
If we take 0 away from 35, we end up with 35.
Bring next digit (9) of the dividend behind the 35 and repeat the process: 359 / 78

Moving on to step 6:
359 divided by 78 is 4 with a remainder of 47.
Record the quotient 4 as the next digit in the result. 
Result so far: 10604.0
Subtract 312 from 359 to get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 7:
If we divide 470 by 78, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 10604.6
The remainder is 2 after subtracting 468 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
78 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 10604.6
The remainder is 20 after subtracting 0 from 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 9:
200 divided by 78 is 2 with a remainder of 44.
Write down 2 as next digit of the result. 
Result so far: 10604.602
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.

Step 10:
440 divided by 78 is 5 with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 10604.6025
If we subtract 390 from 440, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 11:
78 goes into 500 6 times with a remainder of 32.
The next digit of our result is 6. 
Result so far: 10604.60256
Subtracting 468 from 500 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 12:
If we divide 320 by 78, we get 4 and a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 10604.602564
Subtracting 312 from 320 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 13:
When dividing 80 by 78, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 10604.6025641
Subtract 78 from 80 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 14:
When dividing 20 by 78, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 10604.6025641
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.

The final outcome is 10604.6025641, with a leftover of 2e-08.