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

Going ahead to step 1:
When dividing 6 by 78, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 78

Step 2:
78 can be fit into 64 0 times, resulting in a remainder of 64.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 64 to get 64.
Grab the next digit (5) from the dividend, add it to 64, then carry on: 645 / 78

Step 3:
If we divide 645 by 78, we get 8 and a remainder of 21.
The next digit of our result is 8. 
Result so far: 8.0
Subtracting 624 from 645 leaves us with 21.
Include the next digit (1) from the dividend after 21, then repeat: 211 / 78

Moving on to step 4:
If we divide 211 by 78, we get 2 and a remainder of 55.
The number 2 becomes the next digit in our result. 
Result so far: 82.0
Subtracting 156 from 211 leaves us with 55.
Include the next digit (2) from the dividend after 55, then repeat: 552 / 78

Moving on to step 5:
When dividing 552 by 78, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 827.0
Deduct 546 from 552 and we're left with 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 78

Going ahead to step 6:
If we divide 62 by 78, we get 0 and a remainder of 62.
Write down 0 as next digit of the result. 
Result so far: 8270.0
Subtracting 0 from 62 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Going ahead to step 7:
620 divided by 78 is 7 with a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 8270.7
If we subtract 546 from 620, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 8:
The number 78 fits into 740 9 times, leaving a remainder of 38.
Use 9 as the next digit of our solution. 
Result so far: 8270.79
The remainder is 38 after subtracting 702 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 9:
380 divided by 78 is 4 with a remainder of 68.
The number 4 becomes the next digit in our result. 
Result so far: 8270.794
Subtract 312 from 380 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 10:
78 goes into 680 8 times with a remainder of 56.
Use 8 as the next digit of our solution. 
Result so far: 8270.7948
The remainder is 56 after subtracting 624 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 11:
When dividing 560 by 78, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 8270.79487
Deduct 546 from 560 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 12:
The number 78 fits into 140 1 times, leaving a remainder of 62.
Record the quotient 1 as the next digit in the result. 
Result so far: 8270.794871
If we subtract 78 from 140, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Going ahead to step 13:
78 goes into 620 7 times with a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 8270.7948717
Deduct 546 from 620 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 14:
If we divide 740 by 78, we get 9 and a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 8270.79487179
Deduct 702 from 740 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 8270.79487179 and a remainder of 3.8e-08.