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

On to step 1:
7 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 7

Going ahead to step 2:
The number 7 fits into 49 7 times, leaving a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 49 away from 49, we end up with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 7

Step 3:
The number 7 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 70.0
If we subtract 0 from 0, we get 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 7

Advancing to step 4:
3 divided by 7 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 700.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 7

Going ahead to step 5:
7 goes into 31 4 times with a remainder of 3.
The next digit of our result is 4. 
Result so far: 7004.0
If we take 28 away from 31, we end up with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 7

Moving on to step 6:
If we divide 36 by 7, we get 5 and a remainder of 1.
The next digit of our result is 5. 
Result so far: 70045.0
Deduct 35 from 36 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.

Advancing to step 7:
7 goes into 10 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 70045.1
If we take 7 away from 10, we end up 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.

Moving on to step 8:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 70045.14
Subtracting 28 from 30 leaves us 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.

Going ahead to step 9:
When dividing 20 by 7, we get 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 70045.142
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 10:
7 goes into 60 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 70045.1428
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.

Going ahead to step 11:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 70045.14285
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.

On to step 12:
If we divide 50 by 7, we get 7 and a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 70045.142857
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.

Moving on to step 13:
7 goes into 10 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 70045.1428571
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.

Going ahead to step 14:
If we divide 30 by 7, we get 4 and a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 70045.14285714
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.

The final outcome is 70045.14285714, with a leftover of 2e-09.