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

On to step 1:
The number 2 fits into 7 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 6 from 7, we get 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 2

On to step 2:
The number 2 fits into 17 8 times, leaving a remainder of 1.
The next digit of our result is 8. 
Result so far: 38.0
Subtracting 16 from 17 leaves us with 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 2

Let's proceed to step 3:
If we divide 19 by 2, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 389.0
Deduct 18 from 19 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 2

Moving on to step 4:
2 goes into 16 8 times with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 3898.0
Deduct 16 from 16 and we're left with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 2

Let's proceed to step 5:
The number 2 fits into 4 2 times, leaving a remainder of 0.
The next digit of our result is 2. 
Result so far: 38982.0
If we subtract 4 from 4, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 2

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: 389823.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:
When dividing 10 by 2, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 389823.5
Deduct 10 from 10 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.

Let's proceed to step 8:
2 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 389823.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.

Let's proceed to step 9:
When dividing 0 by 2, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 389823.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.

The final result is 389823.5 with a remainder of 0.0.