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

Moving on to step 1:
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: 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

Moving on to step 2:
If we divide 13 by 2, we get 6 and a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we take 12 away from 13, we end up with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 2

Advancing to step 3:
The number 2 fits into 14 7 times, leaving a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 167.0
If we take 14 away from 14, we end up with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 2

On to step 4:
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: 1671.0
If we subtract 2 from 3, we get 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 2

Let's proceed to step 5:
2 goes into 10 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 16715.0
The remainder is 0 after subtracting 10 from 10.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 2

Going ahead to step 6:
If we divide 1 by 2, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 167150.0
The remainder is 1 after subtracting 0 from 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.
Use 5 as the next digit of our solution. 
Result so far: 167150.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.

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: 167150.5
Deduct 0 from 0 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.

Step 9:
2 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 167150.5
Subtract 0 from 0 to 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 167150.5, with a leftover of 0.0.