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

Going ahead to step 1:
9 divided by 27 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 27

On to step 2:
If we divide 98 by 27, we get 3 and a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 81 from 98, we get 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 27

Let's proceed to step 3:
The number 27 fits into 177 6 times, leaving a remainder of 15.
Use 6 as the next digit of our solution. 
Result so far: 36.0
The remainder is 15 after subtracting 162 from 177.
Take the next digit (2) from the dividend and append it to 15, then repeat: 152 / 27

Going ahead to step 4:
152 divided by 27 is 5 with a remainder of 17.
The next digit of our result is 5. 
Result so far: 365.0
The remainder is 17 after subtracting 135 from 152.
Take the next digit (6) from the dividend and append it to 17, then repeat: 176 / 27

On to step 5:
27 goes into 176 6 times with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 3656.0
Subtract 162 from 176 to get 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 27

Advancing to step 6:
27 goes into 140 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 36565.0
Subtracting 135 from 140 leaves us 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 7:
27 can be fit into 50 1 times, resulting in a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 36565.1
Subtract 27 from 50 to 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.

Step 8:
When dividing 230 by 27, we get 8 with a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 36565.18
Subtract 216 from 230 to get 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 9:
140 divided by 27 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 36565.185
Subtract 135 from 140 to 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.

Step 10:
27 can be fit into 50 1 times, resulting in a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 36565.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.

Advancing to step 11:
27 goes into 230 8 times with a remainder of 14.
The next digit of our result is 8. 
Result so far: 36565.18518
Deduct 216 from 230 and we're left 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.

On to step 12:
When dividing 140 by 27, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 36565.185185
Subtract 135 from 140 to 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.

Going ahead to step 13:
When dividing 50 by 27, we get 1 with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 36565.1851851
Subtracting 27 from 50 leaves us 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 14:
27 can be fit into 230 8 times, resulting in a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 36565.18518518
Subtract 216 from 230 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 36565.18518518, and the remainder is 1.4e-08.