We're dividing 497042 by 5 
The aim is to understand the frequency of 5 in 497042.

Let's proceed to step 1:
5 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 5

On to step 2:
When dividing 49 by 5, we get 9 with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 45 from 49 leaves us with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 5

Going ahead to step 3:
The number 5 fits into 47 9 times, leaving a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 99.0
Subtracting 45 from 47 leaves us with 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 5

Step 4:
20 divided by 5 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 994.0
Deduct 20 from 20 and we're left with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 5

Step 5:
5 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 9940.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 5

Moving on to step 6:
If we divide 42 by 5, we get 8 and a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 99408.0
Subtracting 40 from 42 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
5 goes into 20 4 times with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 99408.4
Subtracting 20 from 20 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:
0 divided by 5 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 99408.4
Subtract 0 from 0 to 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.

Let's proceed to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 99408.4
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.

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