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

Advancing to step 1:
2 divided by 2 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 2 from 2, we get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 2

Going ahead to step 2:
If we divide 8 by 2, we get 4 and a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 14.0
The remainder is 0 after subtracting 8 from 8.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 2

Step 3:
2 goes into 4 2 times with a remainder of 0.
The next digit of our result is 2. 
Result so far: 142.0
If we take 4 away from 4, we end up with 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 2

Let's proceed to step 4:
When dividing 9 by 2, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 1424.0
If we subtract 8 from 9, we get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 2

Advancing to step 5:
If we divide 13 by 2, we get 6 and a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 14246.0
If we take 12 away from 13, we end up with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 2

Let's proceed to step 6:
2 goes into 11 5 times with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 142465.0
Subtract 10 from 11 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.

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

Step 8:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 142465.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.

Going ahead to step 9:
2 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 142465.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 142465.5 and a remainder of 0.0.