We're dividing 518767 by 27 
The aim is to understand the frequency of 27 in 518767.

Step 1:
If we divide 5 by 27, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 27

On to step 2:
The number 27 fits into 51 1 times, leaving a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 27 from 51 to get 24.
Append the next digit (8) from the dividend to 24 and continue with: 248 / 27

Moving on to step 3:
27 goes into 248 9 times with a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 19.0
The remainder is 5 after subtracting 243 from 248.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 27

On to step 4:
57 divided by 27 is 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 192.0
Subtracting 54 from 57 leaves us with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 27

Going ahead to step 5:
27 goes into 36 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1921.0
Subtract 27 from 36 to get 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 27

Step 6:
27 can be fit into 97 3 times, resulting in a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 19213.0
If we take 81 away from 97, we end up 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.

On to step 7:
27 can be fit into 160 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 19213.5
If we subtract 135 from 160, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
If we divide 250 by 27, we get 9 and a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 19213.59
Subtracting 243 from 250 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.

Advancing to step 9:
If we divide 70 by 27, we get 2 and a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 19213.592
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.

On to step 10:
When dividing 160 by 27, we get 5 with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 19213.5925
Subtract 135 from 160 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 11:
The number 27 fits into 250 9 times, leaving a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 19213.59259
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.

On to step 12:
When dividing 70 by 27, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 19213.592592
Subtract 54 from 70 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 13:
The number 27 fits into 160 5 times, leaving a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 19213.5925925
If we take 135 away from 160, we end up 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.

Advancing to step 14:
The number 27 fits into 250 9 times, leaving a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 19213.59259259
Subtracting 243 from 250 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.

Our division results in 19213.59259259 with a remaining 7e-09.