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

Step 1:
7 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 7

Step 2:
If we divide 31 by 7, we get 4 and a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 28 from 31 leaves us with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 7

Moving on to step 3:
7 goes into 33 4 times with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 44.0
Deduct 28 from 33 and we're left with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 7

Advancing to step 4:
When dividing 55 by 7, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 447.0
If we take 49 away from 55, we end up with 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 7

Let's proceed to step 5:
When dividing 66 by 7, we get 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 4479.0
If we take 63 away from 66, we end up with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 7

Advancing 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: 44795.0
The remainder is 1 after subtracting 35 from 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
When dividing 10 by 7, we get 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 44795.1
Deduct 7 from 10 and we're left 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.

On to step 8:
30 divided by 7 is 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 44795.14
If we take 28 away from 30, we end up 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.

Advancing to step 9:
When dividing 20 by 7, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 44795.142
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 10:
When dividing 60 by 7, we get 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 44795.1428
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 11:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 44795.14285
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.

On to step 12:
If we divide 50 by 7, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 44795.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.

On to step 13:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 44795.1428571
Subtracting 7 from 10 leaves us 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.

On to step 14:
When dividing 30 by 7, we get 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 44795.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.

After the division, we end up with 44795.14285714 and a remainder of 2e-09.