We're dividing 874226 by 4 
The aim is to understand the frequency of 4 in 874226.

Advancing to step 1:
If we divide 8 by 4, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 8 from 8, we get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 4

Moving on to step 2:
7 divided by 4 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
The remainder is 3 after subtracting 4 from 7.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 4

Moving on to step 3:
34 divided by 4 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 218.0
Subtracting 32 from 34 leaves us with 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 4

Let's proceed to step 4:
The number 4 fits into 22 5 times, leaving a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 2185.0
If we subtract 20 from 22, we get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 4

On to step 5:
4 can be fit into 22 5 times, resulting in a remainder of 2.
The next digit of our result is 5. 
Result so far: 21855.0
Subtract 20 from 22 to get 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 4

Let's proceed to step 6:
The number 4 fits into 26 6 times, leaving a remainder of 2.
The next digit of our result is 6. 
Result so far: 218556.0
If we take 24 away from 26, we end up 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:
When dividing 20 by 4, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 218556.5
Deduct 20 from 20 and we're left 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:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 218556.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.

Let's proceed to step 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 218556.5
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.

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