We look at the division of 102122 by 7 
The aim is to understand the frequency of 7 in 102122.

Advancing to step 1:
The number 7 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 7

Advancing to step 2:
10 divided by 7 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 7 from 10 leaves us with 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 7

Advancing to step 3:
The number 7 fits into 32 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Deduct 28 from 32 and we're left with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 7

Going ahead to step 4:
41 divided by 7 is 5 with a remainder of 6.
Write down 5 as next digit of the result. 
Result so far: 145.0
If we take 35 away from 41, we end up with 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 7

On to step 5:
7 goes into 62 8 times with a remainder of 6.
The next digit of our result is 8. 
Result so far: 1458.0
Subtracting 56 from 62 leaves us with 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 7

Moving on to step 6:
When dividing 62 by 7, we get 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 14588.0
If we subtract 56 from 62, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
60 divided by 7 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 14588.8
Subtracting 56 from 60 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
If we divide 40 by 7, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 14588.85
Deduct 35 from 40 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 14588.857
Deduct 49 from 50 and we're left 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.

Let's proceed to step 10:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 14588.8571
Subtracting 7 from 10 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 11:
7 goes into 30 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 14588.85714
Deduct 28 from 30 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 12:
20 divided by 7 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 14588.857142
If we take 14 away from 20, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 13:
60 divided by 7 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 14588.8571428
If we subtract 56 from 60, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 14:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 14588.85714285
If we take 35 away from 40, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

After the division, we end up with 14588.85714285 and a remainder of 5e-09.