We look at the division of 887124 by 5 
The aim is to understand the frequency of 5 in 887124.

Let's proceed to step 1:
The number 5 fits into 8 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 5 from 8 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 5

Going ahead to step 2:
5 can be fit into 38 7 times, resulting in a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we subtract 35 from 38, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 5

Let's proceed to step 3:
37 divided by 5 is 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 177.0
If we take 35 away from 37, we end up with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 5

On to step 4:
When dividing 21 by 5, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 1774.0
Subtracting 20 from 21 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 5

Going ahead to step 5:
If we divide 12 by 5, we get 2 and a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 17742.0
If we take 10 away from 12, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 5

On to step 6:
When dividing 24 by 5, we get 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 177424.0
Subtract 20 from 24 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
The number 5 fits into 40 8 times, leaving a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 177424.8
If we take 40 away from 40, 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.

Step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 177424.8
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.

Advancing to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 177424.8
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 final result is 177424.8 with a remainder of 0.0.