662540 ÷ 2 
The aim is to understand the frequency of 2 in 662540.

Step 1:
2 can be fit into 6 3 times, resulting in a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 6 from 6 leaves us with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 2

On to step 2:
The number 2 fits into 6 3 times, leaving a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 33.0
Deduct 6 from 6 and we're left with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 2

Step 3:
The number 2 fits into 2 1 times, leaving a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 331.0
Subtracting 2 from 2 leaves us with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 2

Moving on to step 4:
5 divided by 2 is 2 with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 3312.0
Subtract 4 from 5 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 2

On to step 5:
When dividing 14 by 2, we get 7 with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 33127.0
If we take 14 away from 14, we end up with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 2

Step 6:
2 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 331270.0
Deduct 0 from 0 and we're left 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.

On 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: 331270.0
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.

Step 8:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 331270.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.

The final outcome is 331270.0, with a leftover of 0.0.