Let's divide 299777 by 7
The aim is to understand the frequency of 7 in 299777.

Moving on to step 1:
7 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 7

Moving on to step 2:
When dividing 29 by 7, we get 4 with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 28 away from 29, we end up with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 7

Let's proceed to step 3:
If we divide 19 by 7, we get 2 and a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 42.0
If we take 14 away from 19, we end up with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 7

On to step 4:
7 goes into 57 8 times with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 428.0
Deduct 56 from 57 and we're left with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 7

Moving on to step 5:
If we divide 17 by 7, we get 2 and a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 4282.0
The remainder is 3 after subtracting 14 from 17.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 7

On to step 6:
The number 7 fits into 37 5 times, leaving a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 42825.0
Deduct 35 from 37 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.

Going ahead to step 7:
7 goes into 20 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 42825.2
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.

Moving on to step 8:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 42825.28
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.

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

Moving on to step 10:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 42825.2857
The remainder is 1 after subtracting 49 from 50.
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 11:
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: 42825.28571
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.

Step 12:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 42825.285714
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.

On to step 13:
7 goes into 20 2 times with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 42825.2857142
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.

Moving on to step 14:
7 goes into 60 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 42825.28571428
Subtract 56 from 60 to 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.

Our division results in 42825.28571428 with a remaining 4e-09.