We're dividing 341762 by 2 
The aim is to understand the frequency of 2 in 341762.

Going ahead to step 1:
3 divided by 2 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we take 2 away from 3, we end up with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 2

Advancing to step 2:
When dividing 14 by 2, we get 7 with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 14 from 14 to get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 2

Step 3:
2 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 170.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 2

Advancing to step 4:
If we divide 17 by 2, we get 8 and a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 1708.0
If we take 16 away from 17, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 2

Going ahead to step 5:
When dividing 16 by 2, we get 8 with a remainder of 0.
The next digit of our result is 8. 
Result so far: 17088.0
Subtracting 16 from 16 leaves us with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 2

Advancing to step 6:
When dividing 2 by 2, we get 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 170881.0
If we subtract 2 from 2, 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.

Going ahead 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: 170881.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.

Let's proceed to step 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 170881.0
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.

The final outcome is 170881.0, with a leftover of 0.0.