We look at the division of 422366 by 4 
The aim is to understand the frequency of 4 in 422366.

Advancing to step 1:
The number 4 fits into 4 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 4 away from 4, we end up with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 4

Advancing to step 2:
2 divided by 4 is 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 4

Going ahead to step 3:
If we divide 22 by 4, we get 5 and a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 105.0
Subtracting 20 from 22 leaves us with 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 4

Let's proceed to step 4:
4 goes into 23 5 times with a remainder of 3.
The next digit of our result is 5. 
Result so far: 1055.0
The remainder is 3 after subtracting 20 from 23.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 4

Step 5:
4 goes into 36 9 times with a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 10559.0
The remainder is 0 after subtracting 36 from 36.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 4

Going ahead to step 6:
When dividing 6 by 4, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 105591.0
Subtracting 4 from 6 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.

Let's proceed 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: 105591.5
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.

Advancing to step 8:
If we divide 0 by 4, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 105591.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:
0 divided by 4 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 105591.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.

The quotient of the division is 105591.5, and the remainder is 0.0.