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

Advancing to step 1:
If we divide 5 by 4, we get 1 and a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 4 from 5.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 4

Advancing to step 2:
When dividing 16 by 4, we get 4 with a remainder of 0.
The next digit of our result is 4. 
Result so far: 14.0
Subtract 16 from 16 to get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 4

Let's proceed to step 3:
4 divided by 4 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 141.0
Deduct 4 from 4 and we're left with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 4

Step 4:
If we divide 0 by 4, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1410.0
Deduct 0 from 0 and we're left with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 4

Advancing to step 5:
0 divided by 4 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14100.0
The remainder is 0 after subtracting 0 from 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 4

Let's proceed to step 6:
4 goes into 9 2 times with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 141002.0
The remainder is 1 after subtracting 8 from 9.
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 4 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 141002.2
If we subtract 8 from 10, we 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.

Moving on to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 141002.25
Subtract 20 from 20 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.

Step 9:
4 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 141002.25
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.

Moving on to step 10:
4 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 141002.25
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 141002.25 with a remaining 0.0.