We divide 310799 by 7
The aim is to understand the frequency of 7 in 310799.

Advancing to step 1:
The number 7 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 7

Step 2:
31 divided by 7 is 4 with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 28 from 31 leaves us with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 7

Going ahead to step 3:
The number 7 fits into 30 4 times, leaving a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 44.0
Deduct 28 from 30 and we're left with 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 7

Advancing to step 4:
The number 7 fits into 27 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 443.0
Subtracting 21 from 27 leaves us with 6.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 7

Step 5:
7 can be fit into 69 9 times, resulting in a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 4439.0
The remainder is 6 after subtracting 63 from 69.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 7

Moving on to step 6:
69 divided by 7 is 9 with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 44399.0
Deduct 63 from 69 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.

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

Let's proceed to step 8:
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: 44399.85
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.

Let's proceed to step 9:
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: 44399.857
If we subtract 49 from 50, we get 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 10:
10 divided by 7 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 44399.8571
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.

Let's proceed to step 11:
The number 7 fits into 30 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 44399.85714
If we subtract 28 from 30, we 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.

Advancing to step 12:
If we divide 20 by 7, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 44399.857142
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.

Step 13:
When dividing 60 by 7, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 44399.8571428
Deduct 56 from 60 and we're left 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.

Moving on to step 14:
40 divided by 7 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 44399.85714285
If we subtract 35 from 40, we 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.

The final result is 44399.85714285 with a remainder of 5e-09.