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

Moving on to step 1:
If we divide 9 by 4, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 8 away from 9, we end up with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 4

Going ahead to step 2:
If we divide 18 by 4, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
The remainder is 2 after subtracting 16 from 18.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 4

Let's proceed to step 3:
The number 4 fits into 24 6 times, leaving a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 246.0
If we subtract 24 from 24, we get 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 4

Moving on to step 4:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2460.0
If we take 0 away from 0, we end up with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 4

Going ahead to step 5:
8 divided by 4 is 2 with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 24602.0
If we subtract 8 from 8, we get 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 4

Step 6:
When dividing 7 by 4, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 246021.0
Deduct 4 from 7 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
30 divided by 4 is 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 246021.7
Deduct 28 from 30 and we're left 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.

Going ahead to step 8:
4 can be fit into 20 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 246021.75
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.

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

On to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 246021.75
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.

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