988040 divided by 4 
The aim is to understand the frequency of 4 in 988040.

Going ahead to step 1:
4 goes into 9 2 times with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 8 from 9 to get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 4

Moving on to step 2:
When dividing 18 by 4, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtract 16 from 18 to get 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 4

Going ahead to step 3:
4 can be fit into 28 7 times, resulting in a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 247.0
Subtract 28 from 28 to get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 4

Going ahead to step 4:
0 divided by 4 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 2470.0
Subtracting 0 from 0 leaves us with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 4

Moving on to step 5:
4 divided by 4 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 24701.0
Subtracting 4 from 4 leaves us with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 4

On to step 6:
0 divided by 4 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 247010.0
Subtracting 0 from 0 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.

Moving on to step 7:
When dividing 0 by 4, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 247010.0
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.

Step 8:
4 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 247010.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.

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