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

On to step 1:
If we divide 6 by 7, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 7

Let's proceed to step 2:
7 goes into 65 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 63 away from 65, we end up with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 7

Step 3:
The number 7 fits into 23 3 times, leaving a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 93.0
If we subtract 21 from 23, we get 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 7

Let's proceed to step 4:
If we divide 21 by 7, we get 3 and a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 933.0
Subtracting 21 from 21 leaves us with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 7

On to step 5:
When dividing 5 by 7, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 9330.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 7

Let's proceed to step 6:
The number 7 fits into 51 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 93307.0
The remainder is 2 after subtracting 49 from 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
When dividing 20 by 7, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 93307.2
Subtracting 14 from 20 leaves us 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.

Going ahead to step 8:
60 divided by 7 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 93307.28
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.

Let's proceed to step 9:
If we divide 40 by 7, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 93307.285
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.

Advancing to step 10:
7 goes into 50 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 93307.2857
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 11:
7 goes into 10 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 93307.28571
If we subtract 7 from 10, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 12:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 93307.285714
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 93307.2857142
Deduct 14 from 20 and we're left 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.

On to step 14:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 93307.28571428
If we take 56 away from 60, we end up 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.

Our division results in 93307.28571428 with a remaining 4e-09.