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

Going ahead to step 1:
If we divide 3 by 5, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 5

Advancing to step 2:
38 divided by 5 is 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Deduct 35 from 38 and we're left with 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 5

Advancing to step 3:
5 can be fit into 35 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 77.0
If we subtract 35 from 35, we get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 5

Let's proceed to step 4:
5 goes into 8 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 771.0
Subtract 5 from 8 to get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 5

Let's proceed to step 5:
5 goes into 39 7 times with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 7717.0
If we take 35 away from 39, we end up with 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 5

Let's proceed to step 6:
If we divide 48 by 5, we get 9 and a remainder of 3.
The next digit of our result is 9. 
Result so far: 77179.0
If we subtract 45 from 48, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
If we divide 30 by 5, we get 6 and a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 77179.6
Subtracting 30 from 30 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 8:
0 divided by 5 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 77179.6
The remainder is 0 after subtracting 0 from 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 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 77179.6
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.

Our division results in 77179.6 with a remaining 0.0.