We divide 585371 by 87
Our goal is to divide 585371 by 87.

Moving on to step 1:
When dividing 5 by 87, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 87

Advancing to step 2:
87 goes into 58 0 times with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Append the next digit (5) from the dividend to 58 and continue with: 585 / 87

Advancing to step 3:
If we divide 585 by 87, we get 6 and a remainder of 63.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 63 after subtracting 522 from 585.
Append the next digit (3) from the dividend to 63 and continue with: 633 / 87

On to step 4:
If we divide 633 by 87, we get 7 and a remainder of 24.
Put 7 as the next digit of the answer. 
Result so far: 67.0
If we take 609 away from 633, we end up with 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 87

Let's proceed to step 5:
247 divided by 87 is 2 with a remainder of 73.
Put 2 as the next digit of the answer. 
Result so far: 672.0
Deduct 174 from 247 and we're left with 73.
Grab the next digit (1) from the dividend, add it to 73, then carry on: 731 / 87

On to step 6:
When dividing 731 by 87, we get 8 with a remainder of 35.
The next digit of our result is 8. 
Result so far: 6728.0
If we take 696 away from 731, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 7:
350 divided by 87 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 6728.4
The remainder is 2 after subtracting 348 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
20 divided by 87 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 6728.4
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
200 divided by 87 is 2 with a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 6728.402
If we take 174 away from 200, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 10:
87 can be fit into 260 2 times, resulting in a remainder of 86.
The number 2 becomes the next digit in our result. 
Result so far: 6728.4022
Subtract 174 from 260 to get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final result is 6728.4022 with a remainder of 0.00086.