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

Going ahead to step 1:
The number 79 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 79

Going ahead to step 2:
When dividing 31 by 79, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 79

On to step 3:
79 goes into 318 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 316 from 318 leaves us with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 79

Let's proceed to step 4:
24 divided by 79 is 0 with a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 40.0
If we subtract 0 from 24, we get 24.
Bring next digit (1) of the dividend behind the 24 and repeat the process: 241 / 79

Let's proceed to step 5:
When dividing 241 by 79, we get 3 with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 403.0
Deduct 237 from 241 and we're left with 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 79

Moving on to step 6:
The number 79 fits into 41 0 times, leaving a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 4030.0
Subtracting 0 from 41 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 7:
If we divide 410 by 79, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 4030.5
If we take 395 away from 410, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 8:
79 goes into 150 1 times with a remainder of 71.
Record the quotient 1 as the next digit in the result. 
Result so far: 4030.51
The remainder is 71 after subtracting 79 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Moving on to step 9:
The number 79 fits into 710 8 times, leaving a remainder of 78.
Use 8 as the next digit of our solution. 
Result so far: 4030.518
Subtracting 632 from 710 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Step 10:
When dividing 780 by 79, we get 9 with a remainder of 69.
Write down 9 as next digit of the result. 
Result so far: 4030.5189
Subtracting 711 from 780 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Let's proceed to step 11:
79 can be fit into 690 8 times, resulting in a remainder of 58.
The number 8 becomes the next digit in our result. 
Result so far: 4030.51898
Deduct 632 from 690 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.

Going ahead to step 12:
If we divide 580 by 79, we get 7 and a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 4030.518987
Subtract 553 from 580 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 13:
The number 79 fits into 270 3 times, leaving a remainder of 33.
Put 3 as the next digit of the answer. 
Result so far: 4030.5189873
Subtract 237 from 270 to 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.

Let's proceed to step 14:
If we divide 330 by 79, we get 4 and a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 4030.51898734
Subtracting 316 from 330 leaves us 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.

The final outcome is 4030.51898734, with a leftover of 1.4e-08.