We look at the division of 418679 by 79 
The aim is to understand the frequency of 79 in 418679.

On to step 1:
79 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 79

Advancing to step 2:
If we divide 41 by 79, we get 0 and a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 41 leaves us with 41.
Include the next digit (8) from the dividend after 41, then repeat: 418 / 79

Advancing to step 3:
When dividing 418 by 79, we get 5 with a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 23 after subtracting 395 from 418.
Bring next digit (6) of the dividend behind the 23 and repeat the process: 236 / 79

Advancing to step 4:
The number 79 fits into 236 2 times, leaving a remainder of 78.
Put 2 as the next digit of the answer. 
Result so far: 52.0
Deduct 158 from 236 and we're left with 78.
Append the next digit (7) from the dividend to 78 and continue with: 787 / 79

Moving on to step 5:
79 goes into 787 9 times with a remainder of 76.
Use 9 as the next digit of our solution. 
Result so far: 529.0
The remainder is 76 after subtracting 711 from 787.
Append the next digit (9) from the dividend to 76 and continue with: 769 / 79

On to step 6:
769 divided by 79 is 9 with a remainder of 58.
Put 9 as the next digit of the answer. 
Result so far: 5299.0
Deduct 711 from 769 and we're left 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.

Step 7:
79 can be fit into 580 7 times, resulting in a remainder of 27.
The next digit of our result is 7. 
Result so far: 5299.7
Subtracting 553 from 580 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 8:
The number 79 fits into 270 3 times, leaving a remainder of 33.
The number 3 becomes the next digit in our result. 
Result so far: 5299.73
If we subtract 237 from 270, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 9:
When dividing 330 by 79, we get 4 with a remainder of 14.
The number 4 becomes the next digit in our result. 
Result so far: 5299.734
The remainder is 14 after subtracting 316 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 10:
140 divided by 79 is 1 with a remainder of 61.
Record the quotient 1 as the next digit in the result. 
Result so far: 5299.7341
The remainder is 61 after subtracting 79 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Advancing to step 11:
If we divide 610 by 79, we get 7 and a remainder of 57.
Write down 7 as next digit of the result. 
Result so far: 5299.73417
If we take 553 away from 610, we end up with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Moving on to step 12:
When dividing 570 by 79, we get 7 with a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 5299.734177
Subtracting 553 from 570 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The final outcome is 5299.734177, with a leftover of 1.7e-06.