We look at the division of 508965 by 89 
We want to figure out the number of times 508965 can be divided by 89.

On to step 1:
89 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 89

Let's proceed to step 2:
The number 89 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Append the next digit (8) from the dividend to 50 and continue with: 508 / 89

Moving on to step 3:
508 divided by 89 is 5 with a remainder of 63.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 445 away from 508, we end up with 63.
Fetch the next digit (9) from the dividend, attach it to 63 and continue: 639 / 89

Going ahead to step 4:
639 divided by 89 is 7 with a remainder of 16.
Use 7 as the next digit of our solution. 
Result so far: 57.0
If we take 623 away from 639, we end up with 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 89

Let's proceed to step 5:
89 can be fit into 166 1 times, resulting in a remainder of 77.
The next digit of our result is 1. 
Result so far: 571.0
The remainder is 77 after subtracting 89 from 166.
Fetch the next digit (5) from the dividend, attach it to 77 and continue: 775 / 89

Let's proceed to step 6:
89 goes into 775 8 times with a remainder of 63.
The next digit of our result is 8. 
Result so far: 5718.0
If we take 712 away from 775, we end up with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Advancing to step 7:
89 goes into 630 7 times with a remainder of 7.
The next digit of our result is 7. 
Result so far: 5718.7
The remainder is 7 after subtracting 623 from 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 8:
70 divided by 89 is 0 with a remainder of 70.
The number 0 becomes the next digit in our result. 
Result so far: 5718.7
Subtracting 0 from 70 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Step 9:
If we divide 700 by 89, we get 7 and a remainder of 77.
Write down 7 as next digit of the result. 
Result so far: 5718.707
The remainder is 77 after subtracting 623 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Advancing to step 10:
89 can be fit into 770 8 times, resulting in a remainder of 58.
Write down 8 as next digit of the result. 
Result so far: 5718.7078
Deduct 712 from 770 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 11:
580 divided by 89 is 6 with a remainder of 46.
Use 6 as the next digit of our solution. 
Result so far: 5718.70786
If we subtract 534 from 580, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 12:
89 can be fit into 460 5 times, resulting in a remainder of 15.
The next digit of our result is 5. 
Result so far: 5718.707865
If we subtract 445 from 460, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 13:
The number 89 fits into 150 1 times, leaving a remainder of 61.
Record the quotient 1 as the next digit in the result. 
Result so far: 5718.7078651
Deduct 89 from 150 and we're left with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 14:
When dividing 610 by 89, we get 6 with a remainder of 76.
The number 6 becomes the next digit in our result. 
Result so far: 5718.70786516
If we take 534 away from 610, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

After the division, we end up with 5718.70786516 and a remainder of 7.6e-08.