118171 divided by 2 
The aim is to understand the frequency of 2 in 118171.

Going ahead to step 1:
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: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

On to step 2:
The number 2 fits into 11 5 times, leaving a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 1 after subtracting 10 from 11.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 2

Going ahead to step 3:
The number 2 fits into 18 9 times, leaving a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 59.0
The remainder is 0 after subtracting 18 from 18.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 2

Moving on to step 4:
The number 2 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 590.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 2

Let's proceed to step 5:
The number 2 fits into 17 8 times, leaving a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 5908.0
The remainder is 1 after subtracting 16 from 17.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 2

Let's proceed to step 6:
The number 2 fits into 11 5 times, leaving a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 59085.0
Deduct 10 from 11 and we're left 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.

Let's proceed to step 7:
10 divided by 2 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 59085.5
If we subtract 10 from 10, 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 8:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 59085.5
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.

Going ahead to step 9:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 59085.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.

In conclusion, the division gives 59085.5 with a balance of 0.0.