Let's divide 884317 by 5
The aim is to understand the frequency of 5 in 884317.

Going ahead to step 1:
When dividing 8 by 5, we get 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 5 from 8 leaves us with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 5

On to step 2:
5 can be fit into 38 7 times, resulting in a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 35 from 38 to get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 5

Moving on to step 3:
If we divide 34 by 5, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 176.0
If we take 30 away from 34, we end up with 4.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 5

Advancing to step 4:
When dividing 43 by 5, we get 8 with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 1768.0
Subtract 40 from 43 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 5

Moving on to step 5:
If we divide 31 by 5, we get 6 and a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 17686.0
The remainder is 1 after subtracting 30 from 31.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 5

On to step 6:
If we divide 17 by 5, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 176863.0
Deduct 15 from 17 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 7:
20 divided by 5 is 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 176863.4
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.

Moving on to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 176863.4
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.

Step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 176863.4
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 176863.4 with a remainder of 0.0.