We're dividing 510502 by 27 
We want to divide 510502 by 27.

Going ahead to step 1:
27 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 27

Going ahead to step 2:
27 can be fit into 51 1 times, resulting in a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 27 away from 51, we end up with 24.
Bring next digit (0) of the dividend behind the 24 and repeat the process: 240 / 27

Advancing to step 3:
If we divide 240 by 27, we get 8 and a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 216 from 240 to get 24.
Bring next digit (5) of the dividend behind the 24 and repeat the process: 245 / 27

Let's proceed to step 4:
The number 27 fits into 245 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 189.0
Deduct 243 from 245 and we're left with 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 27

Advancing to step 5:
20 divided by 27 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 1890.0
If we subtract 0 from 20, we get 20.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 27

Moving on to step 6:
The number 27 fits into 202 7 times, leaving a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 18907.0
Subtract 189 from 202 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
When dividing 130 by 27, we get 4 with a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 18907.4
Subtract 108 from 130 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.

Let's proceed to step 8:
220 divided by 27 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 18907.48
Subtracting 216 from 220 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 27 is 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 18907.481
Deduct 27 from 40 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 10:
When dividing 130 by 27, we get 4 with a remainder of 22.
Use 4 as the next digit of our solution. 
Result so far: 18907.4814
Subtracting 108 from 130 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 11:
When dividing 220 by 27, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 18907.48148
If we take 216 away from 220, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 12:
The number 27 fits into 40 1 times, leaving a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 18907.481481
Subtract 27 from 40 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 13:
27 goes into 130 4 times with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 18907.4814814
Subtracting 108 from 130 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 14:
27 goes into 220 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 18907.48148148
The remainder is 4 after subtracting 216 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 18907.48148148 with a remainder of 4e-09.