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

Moving on to step 1:
5 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 5

Advancing to step 2:
29 divided by 5 is 5 with a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 25 from 29 and we're left with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 5

Moving on to step 3:
5 can be fit into 41 8 times, resulting in a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 58.0
If we subtract 40 from 41, we get 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 5

Advancing to step 4:
5 goes into 14 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 582.0
Subtracting 10 from 14 leaves us with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 5

Step 5:
5 goes into 45 9 times with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 5829.0
Subtract 45 from 45 to get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 5

Let's proceed to step 6:
When dividing 4 by 5, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 58290.0
Subtracting 0 from 4 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
40 divided by 5 is 8 with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 58290.8
Subtract 40 from 40 to 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.

Step 8:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 58290.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.

Step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 58290.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.

After the division, we end up with 58290.8 and a remainder of 0.0.