We divide 497097 by 4
The aim is to understand the frequency of 4 in 497097.

Moving on to step 1:
If we divide 4 by 4, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 0 after subtracting 4 from 4.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 4

Let's proceed to step 2:
4 can be fit into 9 2 times, resulting in a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 8 from 9 to get 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 4

Advancing to step 3:
When dividing 17 by 4, we get 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 124.0
If we subtract 16 from 17, we get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 4

Going ahead to step 4:
4 can be fit into 10 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 1242.0
If we subtract 8 from 10, we get 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 4

On to step 5:
The number 4 fits into 29 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 12427.0
The remainder is 1 after subtracting 28 from 29.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 4

Advancing to step 6:
The number 4 fits into 17 4 times, leaving a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 124274.0
The remainder is 1 after subtracting 16 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
10 divided by 4 is 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 124274.2
Subtract 8 from 10 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
If we divide 20 by 4, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 124274.25
If we take 20 away from 20, 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 9:
If we divide 0 by 4, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 124274.25
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 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 124274.25
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 quotient of the division is 124274.25, and the remainder is 0.0.