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

Let's proceed to step 1:
8 divided by 4 is 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 0 after subtracting 8 from 8.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 4

Moving on to step 2:
4 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 4

Going ahead to step 3:
If we divide 18 by 4, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 204.0
If we take 16 away from 18, we end up with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 4

Going ahead to step 4:
4 can be fit into 24 6 times, resulting in a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 2046.0
If we subtract 24 from 24, we get 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 4

Going ahead to step 5:
7 divided by 4 is 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 20461.0
Deduct 4 from 7 and we're left with 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 4

Going ahead to step 6:
4 can be fit into 32 8 times, resulting in a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 204618.0
Deduct 32 from 32 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.

Advancing to step 7:
0 divided by 4 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 204618.0
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.

On to step 8:
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: 204618.0
If we subtract 0 from 0, 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.

Our division results in 204618.0 with a remaining 0.0.