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

Let's proceed to step 1:
If we divide 9 by 4, we get 2 and a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 8 from 9 and we're left with 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 4

Going ahead to step 2:
If we divide 19 by 4, we get 4 and a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
Subtract 16 from 19 to get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 4

On to step 3:
When dividing 33 by 4, we get 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 248.0
Subtracting 32 from 33 leaves us with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 4

Going ahead to step 4:
When dividing 11 by 4, we get 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2482.0
If we subtract 8 from 11, we get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 4

Moving on to step 5:
When dividing 38 by 4, we get 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 24829.0
Deduct 36 from 38 and we're left with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 4

Step 6:
The number 4 fits into 29 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 248297.0
The remainder is 1 after subtracting 28 from 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
When dividing 10 by 4, we get 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 248297.2
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.

Moving on to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 248297.25
If we take 20 away from 20, 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 9:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 248297.25
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.

Step 10:
If we divide 0 by 4, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 248297.25
Deduct 0 from 0 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.

Our division results in 248297.25 with a remaining 0.0.