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

Going ahead to step 1:
1 divided by 5 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 5

Step 2:
14 divided by 5 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 10 from 14, we get 4.
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.
Write down 9 as next digit of the result. 
Result so far: 29.0
Subtract 45 from 49 to get 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 5

Step 4:
The number 5 fits into 44 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 298.0
Deduct 40 from 44 and we're left with 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 5

Advancing to step 5:
If we divide 45 by 5, we get 9 and a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 2989.0
Deduct 45 from 45 and we're left with 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 5

Advancing to step 6:
If we divide 9 by 5, we get 1 and a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 29891.0
The remainder is 4 after subtracting 5 from 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
5 goes into 40 8 times with a remainder of 0.
The next digit of our result is 8. 
Result so far: 29891.8
Deduct 40 from 40 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.

Moving on to step 8:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 29891.8
If we subtract 0 from 0, 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.

Let's proceed to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 29891.8
If we subtract 0 from 0, 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.

The final result is 29891.8 with a remainder of 0.0.