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

On to step 1:
The number 5 fits into 5 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 0 after subtracting 5 from 5.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 5

On to step 2:
The number 5 fits into 7 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtracting 5 from 7 leaves us with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 5

Let's proceed to step 3:
When dividing 28 by 5, we get 5 with a remainder of 3.
The next digit of our result is 5. 
Result so far: 115.0
Subtract 25 from 28 to get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 5

Let's proceed to step 4:
5 can be fit into 33 6 times, resulting in a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 1156.0
Subtract 30 from 33 to get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 5

Let's proceed to step 5:
When dividing 39 by 5, we get 7 with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 11567.0
If we subtract 35 from 39, we get 4.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 5

On to step 6:
5 goes into 43 8 times with a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 115678.0
Subtracting 40 from 43 leaves us with 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:
The number 5 fits into 30 6 times, leaving a remainder of 0.
The next digit of our result is 6. 
Result so far: 115678.6
The remainder is 0 after subtracting 30 from 30.
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:
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: 115678.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.

Step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 115678.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.

Our division results in 115678.6 with a remaining 0.0.