We divide 170199 by 2
The aim is to understand the frequency of 2 in 170199.

Step 1:
If we divide 1 by 2, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 2

Step 2:
The number 2 fits into 17 8 times, leaving a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we subtract 16 from 17, we get 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 2

Step 3:
2 goes into 10 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 85.0
Subtract 10 from 10 to get 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 2

On to step 4:
If we divide 1 by 2, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 850.0
If we subtract 0 from 1, we get 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 2

On to step 5:
The number 2 fits into 19 9 times, leaving a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 8509.0
If we subtract 18 from 19, we get 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 2

Going ahead to step 6:
The number 2 fits into 19 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 85099.0
Subtracting 18 from 19 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.

On to 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: 85099.5
Subtract 10 from 10 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:
When dividing 0 by 2, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 85099.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.

Let's proceed to step 9:
2 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 85099.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.

The final result is 85099.5 with a remainder of 0.0.