We divide 517586 by 9
Our goal is to divide 517586 by 9.

Going ahead to step 1:
5 divided by 9 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 9

Moving on to step 2:
9 can be fit into 51 5 times, resulting in a remainder of 6.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we take 45 away from 51, we end up with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 9

On to step 3:
67 divided by 9 is 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 57.0
If we subtract 63 from 67, we get 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 9

Going ahead to step 4:
The number 9 fits into 45 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 575.0
The remainder is 0 after subtracting 45 from 45.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 9

Step 5:
9 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 5750.0
If we take 0 away from 8, we end up with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 9

Step 6:
9 can be fit into 86 9 times, resulting in a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 57509.0
If we subtract 81 from 86, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 7:
If we divide 50 by 9, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 57509.5
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
If we divide 50 by 9, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 57509.55
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

After the division, we end up with 57509.55 and a remainder of 0.005.