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

Step 1:
7 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 7

Let's proceed to step 2:
If we divide 31 by 7, we get 4 and a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 28 away from 31, we end up with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 7

Let's proceed to step 3:
When dividing 33 by 7, we get 4 with a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 44.0
Subtracting 28 from 33 leaves us with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 7

Moving on to step 4:
50 divided by 7 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 447.0
Subtracting 49 from 50 leaves us with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 7

Advancing to step 5:
When dividing 11 by 7, we get 1 with a remainder of 4.
The next digit of our result is 1. 
Result so far: 4471.0
The remainder is 4 after subtracting 7 from 11.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 7

Let's proceed to step 6:
7 goes into 40 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 44715.0
Subtracting 35 from 40 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.

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

Step 8:
The number 7 fits into 10 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 44715.71
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.

Going ahead to step 9:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 44715.714
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.

Let's proceed to step 10:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 44715.7142
Deduct 14 from 20 and we're left 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.

Step 11:
If we divide 60 by 7, we get 8 and a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 44715.71428
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.

Moving on to step 12:
7 goes into 40 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 44715.714285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 13:
When dividing 50 by 7, we get 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 44715.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.

On to step 14:
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: 44715.71428571
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.

The quotient of the division is 44715.71428571, and the remainder is 3e-09.