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

Let's proceed to step 1:
7 goes into 9 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 2 after subtracting 7 from 9.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 7

Let's proceed to step 2:
The number 7 fits into 29 4 times, leaving a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
The remainder is 1 after subtracting 28 from 29.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 7

Let's proceed to step 3:
The number 7 fits into 15 2 times, leaving a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 142.0
Subtracting 14 from 15 leaves us with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 7

Let's proceed to step 4:
7 can be fit into 18 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 1422.0
Subtract 14 from 18 to get 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 7

Let's proceed to step 5:
The number 7 fits into 46 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 14226.0
The remainder is 4 after subtracting 42 from 46.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 7

Step 6:
7 can be fit into 44 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 142266.0
If we subtract 42 from 44, 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 7:
When dividing 20 by 7, we get 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 142266.2
If we take 14 away from 20, we end up 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.

Let's proceed to step 8:
7 goes into 60 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 142266.28
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 9:
When dividing 40 by 7, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 142266.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:
If we divide 50 by 7, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 142266.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.

Going ahead to step 11:
When dividing 10 by 7, we get 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 142266.28571
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.

Advancing to step 12:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 142266.285714
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.

Step 13:
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: 142266.2857142
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.

Advancing to step 14:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 142266.28571428
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.

The quotient of the division is 142266.28571428, and the remainder is 4e-09.