We're dividing 5986571 by 985 
We're looking to find how many times 985 goes into 5986571.

Let's proceed to step 1:
If we divide 5 by 985, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 985

Going ahead to step 2:
985 goes into 59 0 times with a remainder of 59.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 59 and we're left with 59.
Take the next digit (8) from the dividend and append it to 59, then repeat: 598 / 985

On to step 3:
If we divide 598 by 985, we get 0 and a remainder of 598.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 598, we get 598.
Grab the next digit (6) from the dividend, add it to 598, then carry on: 5986 / 985

Step 4:
If we divide 5986 by 985, we get 6 and a remainder of 76.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Deduct 5910 from 5986 and we're left with 76.
Append the next digit (5) from the dividend to 76 and continue with: 765 / 985

Step 5:
985 can be fit into 765 0 times, resulting in a remainder of 765.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
Subtract 0 from 765 to get 765.
Include the next digit (7) from the dividend after 765, then repeat: 7657 / 985

Moving on to step 6:
985 goes into 7657 7 times with a remainder of 762.
Use 7 as the next digit of our solution. 
Result so far: 607.0
If we take 6895 away from 7657, we end up with 762.
Include the next digit (1) from the dividend after 762, then repeat: 7621 / 985

Going ahead to step 7:
985 can be fit into 7621 7 times, resulting in a remainder of 726.
Use 7 as the next digit of our solution. 
Result so far: 6077.0
Subtract 6895 from 7621 to get 726.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7260, and continue the process.

Going ahead to step 8:
985 goes into 7260 7 times with a remainder of 365.
Put 7 as the next digit of the answer. 
Result so far: 6077.7
Subtract 6895 from 7260 to get 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

On to step 9:
985 can be fit into 3650 3 times, resulting in a remainder of 695.
The number 3 becomes the next digit in our result. 
Result so far: 6077.73
Subtracting 2955 from 3650 leaves us with 695.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6950, and continue the process.

Let's proceed to step 10:
985 goes into 6950 7 times with a remainder of 55.
The number 7 becomes the next digit in our result. 
Result so far: 6077.737
Deduct 6895 from 6950 and we're left with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 11:
When dividing 550 by 985, we get 0 with a remainder of 550.
Write down 0 as next digit of the result. 
Result so far: 6077.737
Subtracting 0 from 550 leaves us with 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

Let's proceed to step 12:
985 can be fit into 5500 5 times, resulting in a remainder of 575.
Write down 5 as next digit of the result. 
Result so far: 6077.73705
If we subtract 4925 from 5500, we get 575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5750, and continue the process.

Advancing to step 13:
When dividing 5750 by 985, we get 5 with a remainder of 825.
The number 5 becomes the next digit in our result. 
Result so far: 6077.737055
Subtracting 4925 from 5750 leaves us with 825.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8250, and continue the process.

The final result is 6077.737055 with a remainder of 8.25e-05.