We're dividing 366584 by 5 
We're looking to find how many times 5 goes into 366584.

On to step 1:
5 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 5

Let's proceed to step 2:
The number 5 fits into 36 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Deduct 35 from 36 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 5

Moving on to step 3:
When dividing 16 by 5, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 73.0
The remainder is 1 after subtracting 15 from 16.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 5

Step 4:
When dividing 15 by 5, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 733.0
Deduct 15 from 15 and we're left with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 5

Going ahead to step 5:
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: 7331.0
If we take 5 away from 8, we end up with 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 5

Step 6:
If we divide 34 by 5, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 73316.0
The remainder is 4 after subtracting 30 from 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
40 divided by 5 is 8 with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 73316.8
Subtract 40 from 40 to 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.
Write down 0 as next digit of the result. 
Result so far: 73316.8
Subtract 0 from 0 to 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.

Step 9:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 73316.8
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.

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