We're dividing 584738 by 5 
The aim is to understand the frequency of 5 in 584738.

Moving on to step 1:
5 goes into 5 1 times with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 5 from 5 leaves us with 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 5

Step 2:
8 divided by 5 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 11.0
Subtracting 5 from 8 leaves us with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 5

Step 3:
If we divide 34 by 5, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 116.0
Subtract 30 from 34 to get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 5

Advancing to step 4:
47 divided by 5 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 1169.0
Subtracting 45 from 47 leaves us with 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 5

Let's proceed to step 5:
When dividing 23 by 5, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 11694.0
Subtract 20 from 23 to get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 5

Advancing to step 6:
38 divided by 5 is 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 116947.0
If we subtract 35 from 38, 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.

Moving on to step 7:
5 goes into 30 6 times with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 116947.6
If we subtract 30 from 30, 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.

Moving on to step 8:
0 divided by 5 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 116947.6
Deduct 0 from 0 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.

Step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 116947.6
Deduct 0 from 0 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.

Our division results in 116947.6 with a remaining 0.0.