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

Step 1:
1 divided by 5 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 5

Let's proceed to step 2:
5 can be fit into 14 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 4 after subtracting 10 from 14.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 5

Going ahead to step 3:
If we divide 49 by 5, we get 9 and a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 29.0
Subtract 45 from 49 to get 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 5

Going ahead to step 4:
The number 5 fits into 45 9 times, leaving a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 299.0
Subtracting 45 from 45 leaves us with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 5

On to step 5:
If we divide 8 by 5, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 2991.0
Subtract 5 from 8 to get 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 5

Advancing to step 6:
5 goes into 30 6 times with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 29916.0
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.

Advancing to step 7:
0 divided by 5 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 29916.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.

On to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 29916.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.

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