We divide 500506 by 27
We want to divide 500506 by 27.

Advancing to step 1:
5 divided by 27 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 27

Let's proceed to step 2:
The number 27 fits into 50 1 times, leaving a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 27 away from 50, we end up with 23.
Include the next digit (0) from the dividend after 23, then repeat: 230 / 27

Going ahead to step 3:
If we divide 230 by 27, we get 8 and a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtract 216 from 230 to get 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 27

Advancing to step 4:
27 can be fit into 145 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 185.0
Subtracting 135 from 145 leaves us with 10.
Fetch the next digit (0) from the dividend, attach it to 10 and continue: 100 / 27

Going ahead to step 5:
If we divide 100 by 27, we get 3 and a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 1853.0
The remainder is 19 after subtracting 81 from 100.
Take the next digit (6) from the dividend and append it to 19, then repeat: 196 / 27

On to step 6:
196 divided by 27 is 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 18537.0
Subtracting 189 from 196 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
The number 27 fits into 70 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 18537.2
The remainder is 16 after subtracting 54 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
27 goes into 160 5 times with a remainder of 25.
The next digit of our result is 5. 
Result so far: 18537.25
Deduct 135 from 160 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
The number 27 fits into 250 9 times, leaving a remainder of 7.
The next digit of our result is 9. 
Result so far: 18537.259
Deduct 243 from 250 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 10:
If we divide 70 by 27, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 18537.2592
The remainder is 16 after subtracting 54 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
27 can be fit into 160 5 times, resulting in a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 18537.25925
The remainder is 25 after subtracting 135 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 12:
27 goes into 250 9 times with a remainder of 7.
The next digit of our result is 9. 
Result so far: 18537.259259
Subtract 243 from 250 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 13:
27 can be fit into 70 2 times, resulting in a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 18537.2592592
Subtracting 54 from 70 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 14:
160 divided by 27 is 5 with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 18537.25925925
The remainder is 25 after subtracting 135 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The final outcome is 18537.25925925, with a leftover of 2.5e-08.