45879 divided by 5 
The aim is to understand the frequency of 5 in 45879.

Moving on to step 1:
The number 5 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 5

Advancing to step 2:
45 divided by 5 is 9 with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 45 away from 45, we end up with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 5

Going ahead to step 3:
5 goes into 8 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 91.0
Deduct 5 from 8 and we're left with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 5

Going ahead to step 4:
37 divided by 5 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 917.0
If we subtract 35 from 37, we get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 5

Moving on to step 5:
29 divided by 5 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 9175.0
Subtracting 25 from 29 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.

Let's proceed to step 6:
5 can be fit into 40 8 times, resulting in a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 9175.8
If we take 40 away from 40, 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.

Moving on to step 7:
When dividing 0 by 5, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 9175.8
Subtract 0 from 0 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.

Moving on to step 8:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 9175.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.

The final outcome is 9175.8, with a leftover of 0.0.