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

Step 1:
9 divided by 27 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 27

Let's proceed to step 2:
27 goes into 98 3 times with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 81 away from 98, we end up with 17.
Include the next digit (1) from the dividend after 17, then repeat: 171 / 27

Step 3:
If we divide 171 by 27, we get 6 and a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 36.0
Subtracting 162 from 171 leaves us with 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 27

Going ahead to step 4:
94 divided by 27 is 3 with a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 363.0
Subtract 81 from 94 to get 13.
Take the next digit (0) from the dividend and append it to 13, then repeat: 130 / 27

On to step 5:
If we divide 130 by 27, we get 4 and a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 3634.0
Subtracting 108 from 130 leaves us with 22.
Fetch the next digit (1) from the dividend, attach it to 22 and continue: 221 / 27

Step 6:
The number 27 fits into 221 8 times, leaving a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 36348.0
Deduct 216 from 221 and we're left 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.

Moving on to step 7:
27 can be fit into 50 1 times, resulting in a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 36348.1
If we take 27 away from 50, we end up 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.

On to step 8:
The number 27 fits into 230 8 times, leaving a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 36348.18
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.

Advancing to step 9:
When dividing 140 by 27, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 36348.185
If we take 135 away from 140, we end up 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.

Advancing to step 10:
When dividing 50 by 27, we get 1 with a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 36348.1851
Deduct 27 from 50 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.

Moving on to step 11:
27 goes into 230 8 times with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 36348.18518
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.

Going ahead to step 12:
140 divided by 27 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 36348.185185
If we subtract 135 from 140, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 13:
50 divided by 27 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 36348.1851851
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.

On to step 14:
27 can be fit into 230 8 times, resulting in a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 36348.18518518
Subtracting 216 from 230 leaves us 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.

After the division, we end up with 36348.18518518 and a remainder of 1.4e-08.