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

On to step 1:
When dividing 5 by 27, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 27

Step 2:
27 can be fit into 52 1 times, resulting in a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 27 away from 52, we end up with 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 27

Going ahead to step 3:
250 divided by 27 is 9 with a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtracting 243 from 250 leaves us with 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 27

Step 4:
The number 27 fits into 75 2 times, leaving a remainder of 21.
Put 2 as the next digit of the answer. 
Result so far: 192.0
Subtract 54 from 75 to get 21.
Fetch the next digit (0) from the dividend, attach it to 21 and continue: 210 / 27

On to step 5:
27 can be fit into 210 7 times, resulting in a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 1927.0
Subtracting 189 from 210 leaves us with 21.
Bring next digit (2) of the dividend behind the 21 and repeat the process: 212 / 27

Step 6:
If we divide 212 by 27, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 19277.0
Deduct 189 from 212 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.

Step 7:
When dividing 230 by 27, we get 8 with a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 19277.8
If we take 216 away from 230, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
27 goes into 140 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 19277.85
Subtracting 135 from 140 leaves us 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 9:
27 goes into 50 1 times with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 19277.851
If we subtract 27 from 50, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 10:
27 can be fit into 230 8 times, resulting in a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 19277.8518
The remainder is 14 after subtracting 216 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
When dividing 140 by 27, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 19277.85185
The remainder is 5 after subtracting 135 from 140.
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 27, we get 1 with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 19277.851851
Subtract 27 from 50 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 13:
27 can be fit into 230 8 times, resulting in a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 19277.8518518
If we subtract 216 from 230, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 14:
27 goes into 140 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 19277.85185185
Subtracting 135 from 140 leaves us 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.

The final outcome is 19277.85185185, with a leftover of 5e-09.