We look at the division of 498241 by 2 
The aim is to understand the frequency of 2 in 498241.

Going ahead to step 1:
2 can be fit into 4 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 4 away from 4, we end up with 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 2

Advancing to step 2:
2 can be fit into 9 4 times, resulting in a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 24.0
If we take 8 away from 9, we end up with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Step 3:
2 can be fit into 18 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 249.0
If we take 18 away from 18, we end up with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 2

Advancing to step 4:
2 goes into 2 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 2491.0
Subtracting 2 from 2 leaves us with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 2

Let's proceed to step 5:
The number 2 fits into 4 2 times, leaving a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 24912.0
If we subtract 4 from 4, we get 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

Step 6:
2 goes into 1 0 times with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 249120.0
If we take 0 away from 1, we end up 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.

Advancing to step 7:
2 can be fit into 10 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 249120.5
Deduct 10 from 10 and we're left 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.

Step 8:
2 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 249120.5
Subtracting 0 from 0 leaves us 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.

Advancing to step 9:
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: 249120.5
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.

Our division results in 249120.5 with a remaining 0.0.