We divide 404188 by 5
The aim is to understand the frequency of 5 in 404188.

Step 1:
When dividing 4 by 5, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 5

On to step 2:
5 goes into 40 8 times with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 40 from 40 leaves us with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 5

Going ahead to step 3:
If we divide 4 by 5, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 80.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 5

On to step 4:
The number 5 fits into 41 8 times, leaving a remainder of 1.
The next digit of our result is 8. 
Result so far: 808.0
Deduct 40 from 41 and we're left with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 5

Going ahead to step 5:
18 divided by 5 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 8083.0
If we take 15 away from 18, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 5

Moving on to step 6:
5 goes into 38 7 times with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 80837.0
If we take 35 away from 38, we end up 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 5 is 6 with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 80837.6
If we take 30 away from 30, 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:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 80837.6
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 9:
0 divided by 5 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 80837.6
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.

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