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

Let's proceed to step 1:
If we divide 8 by 2, we get 4 and a remainder of 0.
The next digit of our result is 4. 
Result so far: 4.0
If we subtract 8 from 8, we get 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 2

Going ahead to step 2:
The number 2 fits into 2 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 41.0
If we subtract 2 from 2, we get 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 2

Moving on to step 3:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 410.0
Deduct 0 from 0 and we're left with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 2

Moving on to step 4:
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: 4102.0
If we take 4 away from 4, we end up with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 2

Let's proceed to step 5:
2 goes into 7 3 times with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 41023.0
Subtract 6 from 7 to get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 2

Advancing to step 6:
18 divided by 2 is 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 410239.0
Subtracting 18 from 18 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.

Going ahead to step 7:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 410239.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.

Moving on to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 410239.0
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.

In conclusion, the division gives 410239.0 with a balance of 0.0.