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

Advancing to step 1:
3 divided by 7 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 7

Moving on to step 2:
If we divide 31 by 7, we get 4 and a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 3 after subtracting 28 from 31.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 7

On to step 3:
38 divided by 7 is 5 with a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 45.0
Subtracting 35 from 38 leaves us with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 7

Let's proceed to step 4:
7 can be fit into 36 5 times, resulting in a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 455.0
Deduct 35 from 36 and we're left with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 7

Advancing to step 5:
The number 7 fits into 16 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 4552.0
Deduct 14 from 16 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 7

Advancing to step 6:
If we divide 28 by 7, we get 4 and a remainder of 0.
The next digit of our result is 4. 
Result so far: 45524.0
The remainder is 0 after subtracting 28 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
0 divided by 7 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45524.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
7 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 45524.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 45524.0 and a remainder of 0.0.