997198 divided by 2 
The aim is to understand the frequency of 2 in 997198.

Let's proceed to step 1:
The number 2 fits into 9 4 times, leaving a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 1 after subtracting 8 from 9.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 2

Let's proceed to step 2:
2 can be fit into 19 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 49.0
If we subtract 18 from 19, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 2

Going ahead to step 3:
17 divided by 2 is 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 498.0
Subtract 16 from 17 to get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 2

Let's proceed to step 4:
When dividing 11 by 2, we get 5 with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 4985.0
Subtracting 10 from 11 leaves us with 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 2

Moving on to step 5:
2 goes into 19 9 times with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 49859.0
Subtract 18 from 19 to get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Step 6:
The number 2 fits into 18 9 times, leaving a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 498599.0
The remainder is 0 after subtracting 18 from 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 7:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 498599.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 498599.0
Subtract 0 from 0 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.

After the division, we end up with 498599.0 and a remainder of 0.0.