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

On to step 1:
If we divide 5 by 2, we get 2 and a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 4 away from 5, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 2

Going ahead to step 2:
The number 2 fits into 12 6 times, leaving a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 26.0
If we take 12 away from 12, we end up with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 2

Let's proceed to step 3:
2 can be fit into 2 1 times, resulting in a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 261.0
If we subtract 2 from 2, we get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 2

Going ahead to step 4:
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: 2614.0
If we subtract 8 from 8, we get 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 2

Advancing to step 5:
When dividing 4 by 2, we get 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 26142.0
If we take 4 away from 4, we end up with 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 2

Going ahead to step 6:
3 divided by 2 is 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 261421.0
Subtract 2 from 3 to get 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 goes into 10 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 261421.5
If we subtract 10 from 10, 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.

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: 261421.5
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.

Step 9:
If we divide 0 by 2, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 261421.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.

The quotient of the division is 261421.5, and the remainder is 0.0.