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

Let's proceed to step 1:
The number 2 fits into 4 2 times, leaving a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 4 from 4, we get 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 2

Step 2:
The number 2 fits into 9 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtracting 8 from 9 leaves us with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

On to step 3:
When dividing 18 by 2, we get 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 249.0
If we take 18 away from 18, we end up with 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 2

Going ahead to step 4:
The number 2 fits into 3 1 times, leaving a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 2491.0
If we subtract 2 from 3, we get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 2

Let's proceed to step 5:
19 divided by 2 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 24919.0
Deduct 18 from 19 and we're left with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 2

Let's proceed to step 6:
2 goes into 14 7 times with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 249197.0
If we subtract 14 from 14, 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.

Advancing to step 7:
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: 249197.0
Deduct 0 from 0 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.

Let's proceed to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 249197.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.

Our division results in 249197.0 with a remaining 0.0.