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

Step 1:
When dividing 2 by 2, we get 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 0 after subtracting 2 from 2.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 2

On to step 2:
If we divide 3 by 2, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtract 2 from 3 to get 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 2

Going ahead to step 3:
2 can be fit into 15 7 times, resulting in a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 117.0
If we take 14 away from 15, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 2

Step 4:
If we divide 16 by 2, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 1178.0
Deduct 16 from 16 and we're left with 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 2

Moving on to step 5:
When dividing 6 by 2, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 11783.0
If we subtract 6 from 6, we get 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 2

Advancing to step 6:
The number 2 fits into 4 2 times, leaving a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 117832.0
Subtracting 4 from 4 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.

Let's proceed to step 7:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 117832.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:
0 divided by 2 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 117832.0
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 117832.0, with a leftover of 0.0.