We divide 845864 by 5
The aim is to understand the frequency of 5 in 845864.

Moving on to step 1:
When dividing 8 by 5, we get 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 3 after subtracting 5 from 8.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 5

Moving on to step 2:
5 can be fit into 34 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we subtract 30 from 34, we get 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 5

Step 3:
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: 169.0
Deduct 45 from 45 and we're left with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 5

Moving on to step 4:
8 divided by 5 is 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1691.0
If we subtract 5 from 8, we get 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 5

Going ahead to step 5:
5 can be fit into 36 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 16917.0
Subtract 35 from 36 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 5

Let's proceed to step 6:
The number 5 fits into 14 2 times, leaving a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 169172.0
The remainder is 4 after subtracting 10 from 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
5 goes into 40 8 times with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 169172.8
The remainder is 0 after subtracting 40 from 40.
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 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 169172.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.

Advancing to step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 169172.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 169172.8 and a remainder of 0.0.