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

Moving on to step 1:
When dividing 5 by 2, we get 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 4 from 5, we get 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 2

Going ahead to step 2:
When dividing 16 by 2, we get 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 28.0
The remainder is 0 after subtracting 16 from 16.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 2

Step 3:
If we divide 6 by 2, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 283.0
Deduct 6 from 6 and we're left with 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 2

Moving on to step 4:
9 divided by 2 is 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 2834.0
If we subtract 8 from 9, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 2

Going ahead to step 5:
2 goes into 18 9 times with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 28349.0
If we subtract 18 from 18, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 2

Let's proceed to step 6:
7 divided by 2 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 283493.0
The remainder is 1 after subtracting 6 from 7.
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.
Put 5 as the next digit of the answer. 
Result so far: 283493.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:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 283493.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.

Going ahead to step 9:
2 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 283493.5
Subtract 0 from 0 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.

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