501068 divided by 27 
The aim is to understand the frequency of 27 in 501068.

On to step 1:
The number 27 fits into 5 0 times, leaving 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.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 27

Going ahead to step 2:
50 divided by 27 is 1 with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 27 from 50 and we're left with 23.
Append the next digit (1) from the dividend to 23 and continue with: 231 / 27

Let's proceed to step 3:
When dividing 231 by 27, we get 8 with a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we take 216 away from 231, we end up with 15.
Take the next digit (0) from the dividend and append it to 15, then repeat: 150 / 27

Moving on to step 4:
150 divided by 27 is 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 185.0
Subtract 135 from 150 to get 15.
Bring next digit (6) of the dividend behind the 15 and repeat the process: 156 / 27

On to step 5:
If we divide 156 by 27, we get 5 and a remainder of 21.
Record the quotient 5 as the next digit in the result. 
Result so far: 1855.0
Subtracting 135 from 156 leaves us with 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 27

Let's proceed to step 6:
27 goes into 218 8 times with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 18558.0
If we subtract 216 from 218, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
If we divide 20 by 27, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 18558.0
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
27 can be fit into 200 7 times, resulting in a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 18558.07
Deduct 189 from 200 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 9:
The number 27 fits into 110 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 18558.074
Subtract 108 from 110 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
When dividing 20 by 27, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 18558.074
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
If we divide 200 by 27, we get 7 and a remainder of 11.
The next digit of our result is 7. 
Result so far: 18558.07407
If we subtract 189 from 200, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 12:
27 goes into 110 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 18558.074074
If we subtract 108 from 110, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 13:
The number 27 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 18558.074074
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
The number 27 fits into 200 7 times, leaving a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 18558.07407407
Subtracting 189 from 200 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The quotient of the division is 18558.07407407, and the remainder is 1.1e-08.