We look at the division of 370487 by 27 
The aim is to understand the frequency of 27 in 370487.

Step 1:
27 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 27

Advancing to step 2:
27 goes into 37 1 times with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 27 away from 37, we end up with 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 27

Step 3:
100 divided by 27 is 3 with a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtracting 81 from 100 leaves us with 19.
Append the next digit (4) from the dividend to 19 and continue with: 194 / 27

Let's proceed to step 4:
194 divided by 27 is 7 with a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 137.0
The remainder is 5 after subtracting 189 from 194.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 27

Moving on to step 5:
27 can be fit into 58 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 1372.0
Subtracting 54 from 58 leaves us with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 27

Advancing to step 6:
When dividing 47 by 27, we get 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 13721.0
If we subtract 27 from 47, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 7:
27 goes into 200 7 times with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 13721.7
If we take 189 away from 200, we end up 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.

Going ahead to step 8:
The number 27 fits into 110 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 13721.74
Deduct 108 from 110 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
If we divide 20 by 27, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 13721.74
If we take 0 away from 20, we end up 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.

On to step 10:
200 divided by 27 is 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 13721.7407
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.

Moving on to step 11:
27 goes into 110 4 times with a remainder of 2.
The next digit of our result is 4. 
Result so far: 13721.74074
Deduct 108 from 110 and we're left with 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 12:
If we divide 20 by 27, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 13721.74074
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.

Let's proceed to step 13:
When dividing 200 by 27, we get 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 13721.7407407
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.

Advancing to step 14:
110 divided by 27 is 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 13721.74074074
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.

The final outcome is 13721.74074074, with a leftover of 2e-09.