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

Moving on to step 1:
5 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 5

Let's proceed to step 2:
The number 5 fits into 40 8 times, leaving a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 40 from 40 and we're left with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 5

Let's proceed to step 3:
When dividing 5 by 5, we get 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
Subtract 5 from 5 to get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 5

Step 4:
The number 5 fits into 8 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 811.0
The remainder is 3 after subtracting 5 from 8.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 5

On to step 5:
5 goes into 35 7 times with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 8117.0
Subtract 35 from 35 to get 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 5

Moving on to step 6:
The number 5 fits into 9 1 times, leaving a remainder of 4.
The next digit of our result is 1. 
Result so far: 81171.0
If we take 5 away from 9, we end up 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.

On to step 7:
If we divide 40 by 5, we get 8 and a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 81171.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.

On to step 8:
0 divided by 5 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 81171.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.

Advancing to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 81171.8
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 81171.8, and the remainder is 0.0.