Let's divide 562290 by 4
The aim is to understand the frequency of 4 in 562290.

Step 1:
4 can be fit into 5 1 times, resulting in a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 4 away from 5, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 4

Going ahead to step 2:
16 divided by 4 is 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we subtract 16 from 16, we get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 4

Let's proceed to step 3:
4 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 4

Advancing to step 4:
4 goes into 22 5 times with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 1405.0
Subtracting 20 from 22 leaves us with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 4

Going ahead to step 5:
If we divide 29 by 4, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 14057.0
Deduct 28 from 29 and we're left with 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 4

Advancing to step 6:
10 divided by 4 is 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 140572.0
Subtracting 8 from 10 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.

Advancing to step 7:
If we divide 20 by 4, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 140572.5
If we subtract 20 from 20, 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.

Step 8:
4 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 140572.5
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.

Going ahead to step 9:
4 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 140572.5
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.

In conclusion, the division gives 140572.5 with a balance of 0.0.