Let's divide 154702 by 7
The aim is to understand the frequency of 7 in 154702.

Moving on to step 1:
1 divided by 7 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 7

On to step 2:
7 goes into 15 2 times with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 14 from 15 to get 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 7

Let's proceed to step 3:
7 can be fit into 14 2 times, resulting in a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Subtract 14 from 14 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 7

Going ahead to step 4:
7 goes into 7 1 times with a remainder of 0.
The next digit of our result is 1. 
Result so far: 221.0
If we take 7 away from 7, we end up with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 7

On to step 5:
If we divide 0 by 7, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2210.0
If we subtract 0 from 0, we get 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 7

Going ahead to step 6:
7 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 22100.0
If we subtract 0 from 2, 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.

On to step 7:
If we divide 20 by 7, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 22100.2
Subtract 14 from 20 to 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 8:
If we divide 60 by 7, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 22100.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.

Going ahead to step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22100.285
Subtract 35 from 40 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 10:
If we divide 50 by 7, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 22100.2857
Subtracting 49 from 50 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.

Advancing to step 11:
10 divided by 7 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 22100.28571
Subtract 7 from 10 to 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.

Moving on to step 12:
30 divided by 7 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 22100.285714
Subtract 28 from 30 to 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:
7 goes into 20 2 times with a remainder of 6.
The next digit of our result is 2. 
Result so far: 22100.2857142
Subtract 14 from 20 to 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.

Going ahead to step 14:
7 goes into 60 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 22100.28571428
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 22100.28571428, and the remainder is 4e-09.