We're dividing 237254 by 2 
The aim is to understand the frequency of 2 in 237254.

Step 1:
2 divided by 2 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 2 from 2, we get 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 2

On to step 2:
2 can be fit into 3 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Deduct 2 from 3 and we're left with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 2

On to step 3:
When dividing 17 by 2, we get 8 with a remainder of 1.
The next digit of our result is 8. 
Result so far: 118.0
If we subtract 16 from 17, we get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 2

Advancing to step 4:
The number 2 fits into 12 6 times, leaving a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 1186.0
Subtract 12 from 12 to get 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 2

Step 5:
5 divided by 2 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 11862.0
If we take 4 away from 5, we end up with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 2

Moving on to step 6:
2 can be fit into 14 7 times, resulting in a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 118627.0
If we take 14 away from 14, 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 7:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 118627.0
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.

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: 118627.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.

Our division results in 118627.0 with a remaining 0.0.