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

Moving on to step 1:
7 can be fit into 9 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 2 after subtracting 7 from 9.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 7

Advancing to step 2:
The number 7 fits into 29 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 28 from 29 leaves us with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 7

On to step 3:
15 divided by 7 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 142.0
Subtracting 14 from 15 leaves us with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 7

Step 4:
7 can be fit into 16 2 times, resulting in a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 1422.0
The remainder is 2 after subtracting 14 from 16.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 7

Advancing to step 5:
The number 7 fits into 24 3 times, leaving a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 14223.0
The remainder is 3 after subtracting 21 from 24.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 7

Step 6:
When dividing 36 by 7, we get 5 with a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 142235.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.

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

Advancing to step 8:
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: 142235.14
Subtract 28 from 30 to 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 9:
7 goes into 20 2 times with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 142235.142
The remainder is 6 after subtracting 14 from 20.
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 10:
60 divided by 7 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 142235.1428
If we take 56 away from 60, we end up 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.

Advancing to step 11:
40 divided by 7 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 142235.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.

Going ahead to step 12:
7 goes into 50 7 times with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 142235.142857
Subtract 49 from 50 to 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.

On to step 13:
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: 142235.1428571
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 14:
If we divide 30 by 7, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 142235.14285714
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.

The quotient of the division is 142235.14285714, and the remainder is 2e-09.