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

Advancing to step 1:
7 goes into 9 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 7 from 9, we get 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 7

Advancing to step 2:
When dividing 29 by 7, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Subtract 28 from 29 to get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 7

Going ahead to step 3:
When dividing 16 by 7, we get 2 with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 142.0
Subtracting 14 from 16 leaves us with 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 7

Moving on to step 4:
The number 7 fits into 25 3 times, leaving a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 1423.0
If we take 21 away from 25, we end up with 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 7

Going ahead to step 5:
7 goes into 43 6 times with a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 14236.0
Subtract 42 from 43 to get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 7

Step 6:
If we divide 16 by 7, we get 2 and a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 142362.0
Deduct 14 from 16 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.

Advancing to step 7:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 142362.2
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.

Going ahead to step 8:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 142362.28
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.

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

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

Moving on to step 11:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 142362.28571
If we subtract 7 from 10, we get 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 12:
When dividing 30 by 7, we get 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 142362.285714
If we take 28 away from 30, we end up 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:
When dividing 20 by 7, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 142362.2857142
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.

Going ahead to step 14:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 142362.28571428
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.

In conclusion, the division gives 142362.28571428 with a balance of 4e-09.