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

Step 1:
When dividing 1 by 2, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 2

Going ahead to step 2:
17 divided by 2 is 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtracting 16 from 17 leaves us with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 2

On to step 3:
2 goes into 13 6 times with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 86.0
Subtracting 12 from 13 leaves us with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 2

Moving on to step 4:
2 goes into 15 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 867.0
Subtracting 14 from 15 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 2

Going ahead to step 5:
2 can be fit into 12 6 times, resulting in a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 8676.0
The remainder is 0 after subtracting 12 from 12.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 2

Going ahead to step 6:
The number 2 fits into 9 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 86764.0
Subtracting 8 from 9 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
2 can be fit into 10 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 86764.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.

On to step 8:
0 divided by 2 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 86764.5
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.

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: 86764.5
Subtracting 0 from 0 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.

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