Let's divide 768431 by 2
The aim is to understand the frequency of 2 in 768431.

On to step 1:
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: 3.0
Deduct 6 from 7 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 2

Going ahead to step 2:
2 goes into 16 8 times with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
Deduct 16 from 16 and we're left with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 2

On to step 3:
2 goes into 8 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 384.0
If we take 8 away from 8, we end up with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 2

On to step 4:
2 can be fit into 4 2 times, resulting in a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 3842.0
The remainder is 0 after subtracting 4 from 4.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 2

Step 5:
If we divide 3 by 2, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 38421.0
The remainder is 1 after subtracting 2 from 3.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 2

Let's proceed to step 6:
If we divide 11 by 2, we get 5 and a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 384215.0
The remainder is 1 after subtracting 10 from 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
10 divided by 2 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 384215.5
The remainder is 0 after subtracting 10 from 10.
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.
The next digit of our result is 0. 
Result so far: 384215.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.

On to step 9:
When dividing 0 by 2, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 384215.5
The remainder is 0 after subtracting 0 from 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 384215.5, with a leftover of 0.0.