50145 ÷ 27 
The aim is to understand the frequency of 27 in 50145.

On to 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
Deduct 0 from 5 and we're left with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 27

Going ahead to step 2:
When dividing 50 by 27, we get 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 27 from 50 and we're left with 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 27

Let's proceed to step 3:
231 divided by 27 is 8 with a remainder of 15.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we take 216 away from 231, we end up with 15.
Grab the next digit (4) from the dividend, add it to 15, then carry on: 154 / 27

Step 4:
27 can be fit into 154 5 times, resulting in a remainder of 19.
Record the quotient 5 as the next digit in the result. 
Result so far: 185.0
The remainder is 19 after subtracting 135 from 154.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 27

On to step 5:
When dividing 195 by 27, we get 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 1857.0
Subtract 189 from 195 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 6:
27 can be fit into 60 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 1857.2
Subtract 54 from 60 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
27 can be fit into 60 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 1857.22
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 1857.22 with a remainder of 0.006.