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

On to step 1:
The number 2 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 2

Going ahead to step 2:
When dividing 17 by 2, we get 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtract 16 from 17 to get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 2

Advancing to step 3:
When dividing 18 by 2, we get 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 89.0
The remainder is 0 after subtracting 18 from 18.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 2

Step 4:
2 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 890.0
Subtracting 0 from 0 leaves us with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 2

Going ahead to step 5:
2 can be fit into 4 2 times, resulting in a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 8902.0
The remainder is 0 after subtracting 4 from 4.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 2

Advancing to step 6:
7 divided by 2 is 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 89023.0
Subtract 6 from 7 to get 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:
2 goes into 10 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 89023.5
If we take 10 away from 10, 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.

Advancing to step 8:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 89023.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.

Going ahead to step 9:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 89023.5
The remainder is 0 after subtracting 0 from 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 quotient of the division is 89023.5, and the remainder is 0.0.