We divide 997606 by 2
The aim is to understand the frequency of 2 in 997606.

Step 1:
If we divide 9 by 2, we get 4 and a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 8 from 9 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 2

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

On to step 3:
2 can be fit into 17 8 times, resulting in a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 498.0
The remainder is 1 after subtracting 16 from 17.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 2

Advancing to step 4:
When dividing 16 by 2, we get 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 4988.0
If we subtract 16 from 16, we get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 2

Step 5:
If we divide 0 by 2, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 49880.0
If we take 0 away from 0, we end up with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 2

Moving on to step 6:
2 goes into 6 3 times with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 498803.0
Subtract 6 from 6 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
2 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 498803.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 498803.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 498803.0 with a remaining 0.0.