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

On to step 1:
The number 79 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 79

Step 2:
The number 79 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Grab the next digit (8) from the dividend, add it to 40, then carry on: 408 / 79

Moving on to step 3:
408 divided by 79 is 5 with a remainder of 13.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 13 after subtracting 395 from 408.
Take the next digit (9) from the dividend and append it to 13, then repeat: 139 / 79

Let's proceed to step 4:
79 can be fit into 139 1 times, resulting in a remainder of 60.
Put 1 as the next digit of the answer. 
Result so far: 51.0
The remainder is 60 after subtracting 79 from 139.
Include the next digit (7) from the dividend after 60, then repeat: 607 / 79

Let's proceed to step 5:
The number 79 fits into 607 7 times, leaving a remainder of 54.
Record the quotient 7 as the next digit in the result. 
Result so far: 517.0
If we subtract 553 from 607, we get 54.
Append the next digit (1) from the dividend to 54 and continue with: 541 / 79

On to step 6:
79 can be fit into 541 6 times, resulting in a remainder of 67.
Record the quotient 6 as the next digit in the result. 
Result so far: 5176.0
Subtracting 474 from 541 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 7:
79 goes into 670 8 times with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 5176.8
If we take 632 away from 670, we end up 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.

Going ahead to step 8:
The number 79 fits into 380 4 times, leaving a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 5176.84
Subtract 316 from 380 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 9:
640 divided by 79 is 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 5176.848
The remainder is 8 after subtracting 632 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
The number 79 fits into 80 1 times, leaving a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 5176.8481
Subtracting 79 from 80 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 11:
When dividing 10 by 79, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5176.8481
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

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

Going ahead to step 13:
The number 79 fits into 210 2 times, leaving a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 5176.8481012
If we take 158 away from 210, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 14:
When dividing 520 by 79, we get 6 with a remainder of 46.
Record the quotient 6 as the next digit in the result. 
Result so far: 5176.84810126
If we subtract 474 from 520, we 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.

Our division results in 5176.84810126 with a remaining 4.6e-08.