Let's divide 586213 by 5
We want to divide 586213 by 5.

On to step 1:
The number 5 fits into 5 1 times, leaving a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 0 after subtracting 5 from 5.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 5

Let's proceed to step 2:
If we divide 8 by 5, we get 1 and 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 (6) from the dividend, attach it to 3 and continue: 36 / 5

Let's proceed to step 3:
If we divide 36 by 5, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 117.0
Deduct 35 from 36 and we're left with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 5

Step 4:
5 goes into 12 2 times with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 1172.0
The remainder is 2 after subtracting 10 from 12.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 5

Let's proceed to step 5:
5 can be fit into 21 4 times, resulting in a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 11724.0
If we subtract 20 from 21, we get 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 5

On to step 6:
The number 5 fits into 13 2 times, leaving a remainder of 3.
The next digit of our result is 2. 
Result so far: 117242.0
If we subtract 10 from 13, 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.

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

Advancing to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 117242.6
If we subtract 0 from 0, 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.

On to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 117242.6
If we subtract 0 from 0, 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.

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