We divide 507157 by 89
We want to divide 507157 by 89.

Step 1:
89 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
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 / 89

Let's proceed to step 2:
If we divide 50 by 89, we get 0 and a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Append the next digit (7) from the dividend to 50 and continue with: 507 / 89

Moving on to step 3:
507 divided by 89 is 5 with a remainder of 62.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 445 from 507 leaves us with 62.
Bring next digit (1) of the dividend behind the 62 and repeat the process: 621 / 89

Going ahead to step 4:
89 can be fit into 621 6 times, resulting in a remainder of 87.
Put 6 as the next digit of the answer. 
Result so far: 56.0
Subtract 534 from 621 to get 87.
Grab the next digit (5) from the dividend, add it to 87, then carry on: 875 / 89

Let's proceed to step 5:
875 divided by 89 is 9 with a remainder of 74.
Put 9 as the next digit of the answer. 
Result so far: 569.0
Deduct 801 from 875 and we're left with 74.
Fetch the next digit (7) from the dividend, attach it to 74 and continue: 747 / 89

On to step 6:
747 divided by 89 is 8 with a remainder of 35.
The next digit of our result is 8. 
Result so far: 5698.0
Subtracting 712 from 747 leaves us 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.

Let's proceed to step 7:
When dividing 350 by 89, we get 3 with a remainder of 83.
Write down 3 as next digit of the result. 
Result so far: 5698.3
If we subtract 267 from 350, we get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 8:
830 divided by 89 is 9 with a remainder of 29.
The next digit of our result is 9. 
Result so far: 5698.39
If we take 801 away from 830, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
89 goes into 290 3 times with a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 5698.393
Deduct 267 from 290 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 10:
If we divide 230 by 89, we get 2 and a remainder of 52.
Record the quotient 2 as the next digit in the result. 
Result so far: 5698.3932
Subtract 178 from 230 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 11:
89 goes into 520 5 times with a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 5698.39325
The remainder is 75 after subtracting 445 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Advancing to step 12:
The number 89 fits into 750 8 times, leaving a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 5698.393258
If we take 712 away from 750, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 13:
380 divided by 89 is 4 with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 5698.3932584
Subtract 356 from 380 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 14:
If we divide 240 by 89, we get 2 and a remainder of 62.
The next digit of our result is 2. 
Result so far: 5698.39325842
Subtracting 178 from 240 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

The quotient of the division is 5698.39325842, and the remainder is 6.2e-08.