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

Step 1:
If we divide 5 by 2, we get 2 and a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 4 from 5 to get 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 2

Going ahead to step 2:
13 divided by 2 is 6 with a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Subtract 12 from 13 to get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 2

Moving on to step 3:
If we divide 19 by 2, we get 9 and a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 269.0
Subtracting 18 from 19 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 2

Moving on to step 4:
2 goes into 12 6 times with a remainder of 0.
The next digit of our result is 6. 
Result so far: 2696.0
The remainder is 0 after subtracting 12 from 12.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 2

Going ahead 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: 26962.0
Deduct 4 from 4 and we're left with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 2

Step 6:
2 goes into 2 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 269621.0
Subtract 2 from 2 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.

On 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: 269621.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.

Let's proceed to step 8:
0 divided by 2 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 269621.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.

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