Let's divide 503987 by 85
Let's see how many times 85 fits into 503987.

On to step 1:
The number 85 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 85

Step 2:
The number 85 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Append the next digit (3) from the dividend to 50 and continue with: 503 / 85

Step 3:
85 can be fit into 503 5 times, resulting in a remainder of 78.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 425 from 503 to get 78.
Bring next digit (9) of the dividend behind the 78 and repeat the process: 789 / 85

Going ahead to step 4:
85 can be fit into 789 9 times, resulting in a remainder of 24.
Write down 9 as next digit of the result. 
Result so far: 59.0
Subtracting 765 from 789 leaves us with 24.
Append the next digit (8) from the dividend to 24 and continue with: 248 / 85

Let's proceed to step 5:
If we divide 248 by 85, we get 2 and a remainder of 78.
The next digit of our result is 2. 
Result so far: 592.0
Subtract 170 from 248 to get 78.
Fetch the next digit (7) from the dividend, attach it to 78 and continue: 787 / 85

Step 6:
85 can be fit into 787 9 times, resulting in a remainder of 22.
The next digit of our result is 9. 
Result so far: 5929.0
Subtract 765 from 787 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
When dividing 220 by 85, we get 2 with a remainder of 50.
Write down 2 as next digit of the result. 
Result so far: 5929.2
If we subtract 170 from 220, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 8:
500 divided by 85 is 5 with a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 5929.25
If we take 425 away from 500, we end up with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 9:
85 can be fit into 750 8 times, resulting in a remainder of 70.
Record the quotient 8 as the next digit in the result. 
Result so far: 5929.258
The remainder is 70 after subtracting 680 from 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 10:
If we divide 700 by 85, we get 8 and a remainder of 20.
Put 8 as the next digit of the answer. 
Result so far: 5929.2588
The remainder is 20 after subtracting 680 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 5929.2588 and a remainder of 0.0002.