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

Let's proceed to step 1:
5 goes into 8 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 3 after subtracting 5 from 8.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 5

Let's proceed to step 2:
35 divided by 5 is 7 with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 17.0
The remainder is 0 after subtracting 35 from 35.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 5

Let's proceed to step 3:
5 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 170.0
If we take 0 away from 0, we end up with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 5

Let's proceed to step 4:
5 can be fit into 5 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1701.0
Deduct 5 from 5 and we're left with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 5

Advancing to step 5:
5 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 17010.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 5

Moving on to step 6:
When dividing 41 by 5, we get 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 170108.0
If we take 40 away from 41, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
5 can be fit into 10 2 times, resulting in a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 170108.2
If we take 10 away from 10, 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.

Going ahead to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 170108.2
If we take 0 away from 0, 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.

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: 170108.2
If we take 0 away from 0, 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.

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