We look at the division of 458797 by 2 
The aim is to understand the frequency of 2 in 458797.

Let's proceed to step 1:
If we divide 4 by 2, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 4 from 4 and we're left with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 2

On to step 2:
2 can be fit into 5 2 times, resulting in a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Deduct 4 from 5 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Going ahead to step 3:
The number 2 fits into 18 9 times, leaving a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 229.0
If we subtract 18 from 18, we get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 2

Moving on to step 4:
If we divide 7 by 2, we get 3 and a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 2293.0
Deduct 6 from 7 and we're left with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 2

Step 5:
19 divided by 2 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 22939.0
Deduct 18 from 19 and we're left with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 2

Let's proceed to step 6:
When dividing 17 by 2, we get 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 229398.0
Subtracting 16 from 17 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.

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

Let's proceed to step 8:
2 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 229398.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 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 229398.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.

After the division, we end up with 229398.5 and a remainder of 0.0.