We divide 331268 by 2
The aim is to understand the frequency of 2 in 331268.

Going ahead to step 1:
2 goes into 3 1 times with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 2 from 3 to get 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 2

Advancing to step 2:
If we divide 13 by 2, we get 6 and a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtract 12 from 13 to get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

Advancing to step 3:
11 divided by 2 is 5 with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 165.0
If we subtract 10 from 11, we get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 2

On to step 4:
If we divide 12 by 2, we get 6 and a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 1656.0
If we subtract 12 from 12, we get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 2

Going ahead to step 5:
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: 16563.0
The remainder is 0 after subtracting 6 from 6.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 2

Moving on to step 6:
The number 2 fits into 8 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 165634.0
If we subtract 8 from 8, 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 7:
When dividing 0 by 2, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 165634.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.

Moving on to step 8:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 165634.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.

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