We look at the division of 364636 by 2 
The aim is to understand the frequency of 2 in 364636.

Advancing to step 1:
When dividing 3 by 2, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 2 from 3 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 2

Moving on to step 2:
2 can be fit into 16 8 times, resulting in a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we take 16 away from 16, we end up with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 2

Advancing to step 3:
4 divided by 2 is 2 with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 182.0
Subtract 4 from 4 to get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 2

Step 4:
6 divided by 2 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 1823.0
If we subtract 6 from 6, we get 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 2

Going ahead to step 5:
The number 2 fits into 3 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 18231.0
Subtract 2 from 3 to get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 2

On to step 6:
When dividing 16 by 2, we get 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 182318.0
Subtract 16 from 16 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.

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

Step 8:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 182318.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.

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