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

Moving on to step 1:
When dividing 8 by 78, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 78

Going ahead to step 2:
When dividing 81 by 78, we get 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 78 away from 81, we end up with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 78

Going ahead to step 3:
If we divide 37 by 78, we get 0 and a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtract 0 from 37 to get 37.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 78

Going ahead to step 4:
The number 78 fits into 371 4 times, leaving a remainder of 59.
Write down 4 as next digit of the result. 
Result so far: 104.0
The remainder is 59 after subtracting 312 from 371.
Grab the next digit (8) from the dividend, add it to 59, then carry on: 598 / 78

On to step 5:
If we divide 598 by 78, we get 7 and a remainder of 52.
The number 7 becomes the next digit in our result. 
Result so far: 1047.0
If we take 546 away from 598, we end up with 52.
Grab the next digit (6) from the dividend, add it to 52, then carry on: 526 / 78

Advancing to step 6:
526 divided by 78 is 6 with a remainder of 58.
Use 6 as the next digit of our solution. 
Result so far: 10476.0
If we take 468 away from 526, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 7:
The number 78 fits into 580 7 times, leaving a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 10476.7
If we take 546 away from 580, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 8:
If we divide 340 by 78, we get 4 and a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 10476.74
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 9:
When dividing 280 by 78, we get 3 with a remainder of 46.
Write down 3 as next digit of the result. 
Result so far: 10476.743
Subtract 234 from 280 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 10:
78 goes into 460 5 times with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 10476.7435
Subtracting 390 from 460 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Moving on to step 11:
If we divide 700 by 78, we get 8 and a remainder of 76.
Use 8 as the next digit of our solution. 
Result so far: 10476.74358
If we take 624 away from 700, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Let's proceed to step 12:
78 goes into 760 9 times with a remainder of 58.
Write down 9 as next digit of the result. 
Result so far: 10476.743589
If we take 702 away from 760, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 13:
78 can be fit into 580 7 times, resulting in a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 10476.7435897
Deduct 546 from 580 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 14:
The number 78 fits into 340 4 times, leaving a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 10476.74358974
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 10476.74358974, and the remainder is 2.8e-08.