We're dividing 506564 by 85 
Let's see how many times 85 fits into 506564.

Advancing to step 1:
85 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 85

Moving on to step 2:
The number 85 fits into 50 0 times, leaving a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Append the next digit (6) from the dividend to 50 and continue with: 506 / 85

Moving on to step 3:
When dividing 506 by 85, we get 5 with a remainder of 81.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 425 away from 506, we end up with 81.
Include the next digit (5) from the dividend after 81, then repeat: 815 / 85

Advancing to step 4:
The number 85 fits into 815 9 times, leaving a remainder of 50.
Record the quotient 9 as the next digit in the result. 
Result so far: 59.0
Subtract 765 from 815 to get 50.
Grab the next digit (6) from the dividend, add it to 50, then carry on: 506 / 85

On to step 5:
When dividing 506 by 85, we get 5 with a remainder of 81.
The next digit of our result is 5. 
Result so far: 595.0
If we subtract 425 from 506, we get 81.
Include the next digit (4) from the dividend after 81, then repeat: 814 / 85

Let's proceed to step 6:
85 can be fit into 814 9 times, resulting in a remainder of 49.
The number 9 becomes the next digit in our result. 
Result so far: 5959.0
If we subtract 765 from 814, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Let's proceed to step 7:
85 can be fit into 490 5 times, resulting in a remainder of 65.
Write down 5 as next digit of the result. 
Result so far: 5959.5
Subtracting 425 from 490 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

On to step 8:
If we divide 650 by 85, we get 7 and a remainder of 55.
Write down 7 as next digit of the result. 
Result so far: 5959.57
Subtract 595 from 650 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 9:
85 goes into 550 6 times with a remainder of 40.
Put 6 as the next digit of the answer. 
Result so far: 5959.576
If we subtract 510 from 550, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 10:
85 goes into 400 4 times with a remainder of 60.
Record the quotient 4 as the next digit in the result. 
Result so far: 5959.5764
Subtract 340 from 400 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 11:
85 can be fit into 600 7 times, resulting in a remainder of 5.
The next digit of our result is 7. 
Result so far: 5959.57647
Deduct 595 from 600 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.

Let's proceed to step 12:
When dividing 50 by 85, we get 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 5959.57647
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 13:
500 divided by 85 is 5 with a remainder of 75.
The number 5 becomes the next digit in our result. 
Result so far: 5959.5764705
Subtracting 425 from 500 leaves us 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.

Going ahead to step 14:
85 can be fit into 750 8 times, resulting in a remainder of 70.
Put 8 as the next digit of the answer. 
Result so far: 5959.57647058
If we subtract 680 from 750, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

The quotient of the division is 5959.57647058, and the remainder is 7e-08.