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

Moving on to step 1:
7 goes into 8 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 7 from 8.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 7

Going ahead to step 2:
The number 7 fits into 13 1 times, leaving a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 11.0
The remainder is 6 after subtracting 7 from 13.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 7

Let's proceed to step 3:
60 divided by 7 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 118.0
If we take 56 away from 60, we end up with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 7

Going ahead to step 4:
45 divided by 7 is 6 with a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 1186.0
Subtracting 42 from 45 leaves us with 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 7

Going ahead to step 5:
When dividing 30 by 7, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 11864.0
If we take 28 away from 30, we end up with 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 7

Moving on to step 6:
When dividing 26 by 7, we get 3 with a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 118643.0
Subtracting 21 from 26 leaves us 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.

Moving on to step 7:
7 can be fit into 50 7 times, resulting in a remainder of 1.
The next digit of our result is 7. 
Result so far: 118643.7
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.

On to step 8:
When dividing 10 by 7, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 118643.71
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.

Going ahead to step 9:
30 divided by 7 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 118643.714
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.

Going ahead to step 10:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 118643.7142
If we subtract 14 from 20, 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.

Let's proceed to step 11:
When dividing 60 by 7, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 118643.71428
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.

Moving on to step 12:
If we divide 40 by 7, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 118643.714285
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.

Step 13:
7 goes into 50 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 118643.7142857
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.

Step 14:
If we divide 10 by 7, we get 1 and a remainder of 3.
The next digit of our result is 1. 
Result so far: 118643.71428571
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final result is 118643.71428571 with a remainder of 3e-09.