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

Step 1:
79 goes into 9 0 times with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 79

Moving on to step 2:
When dividing 98 by 79, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 79 from 98 leaves us with 19.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 79

On to step 3:
The number 79 fits into 195 2 times, leaving a remainder of 37.
The next digit of our result is 2. 
Result so far: 12.0
The remainder is 37 after subtracting 158 from 195.
Take the next digit (3) from the dividend and append it to 37, then repeat: 373 / 79

Step 4:
The number 79 fits into 373 4 times, leaving a remainder of 57.
Record the quotient 4 as the next digit in the result. 
Result so far: 124.0
Subtract 316 from 373 to get 57.
Fetch the next digit (2) from the dividend, attach it to 57 and continue: 572 / 79

Advancing to step 5:
If we divide 572 by 79, we get 7 and a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 1247.0
Subtract 553 from 572 to get 19.
Take the next digit (1) from the dividend and append it to 19, then repeat: 191 / 79

On to step 6:
If we divide 191 by 79, we get 2 and a remainder of 33.
Use 2 as the next digit of our solution. 
Result so far: 12472.0
Deduct 158 from 191 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 7:
79 goes into 330 4 times with a remainder of 14.
Record the quotient 4 as the next digit in the result. 
Result so far: 12472.4
Deduct 316 from 330 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.

Going ahead to step 8:
When dividing 140 by 79, we get 1 with a remainder of 61.
Put 1 as the next digit of the answer. 
Result so far: 12472.41
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.

On to step 9:
79 goes into 610 7 times with a remainder of 57.
The next digit of our result is 7. 
Result so far: 12472.417
If we subtract 553 from 610, we get 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Going ahead to step 10:
If we divide 570 by 79, we get 7 and a remainder of 17.
The next digit of our result is 7. 
Result so far: 12472.4177
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.

Our division results in 12472.4177 with a remaining 0.00017.