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

Going ahead to step 1:
8 divided by 2 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 8 from 8 leaves us with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 2

Advancing to step 2:
When dividing 6 by 2, we get 3 with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 43.0
Subtracting 6 from 6 leaves us with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 2

Step 3:
The number 2 fits into 4 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 432.0
Subtracting 4 from 4 leaves us with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 2

Let's proceed to step 4:
2 can be fit into 7 3 times, resulting in a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 4323.0
If we subtract 6 from 7, we get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

Going ahead to step 5:
If we divide 11 by 2, we get 5 and a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 43235.0
Subtract 10 from 11 to get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 2

Advancing to step 6:
If we divide 15 by 2, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 432357.0
Deduct 14 from 15 and we're left with 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.
The number 5 becomes the next digit in our result. 
Result so far: 432357.5
Subtracting 10 from 10 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.

Moving on to step 8:
2 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 432357.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.

On to step 9:
2 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 432357.5
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.

The final outcome is 432357.5, with a leftover of 0.0.