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

Going ahead to step 1:
7 divided by 27 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 27

Advancing to step 2:
79 divided by 27 is 2 with a remainder of 25.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 54 from 79 and we're left with 25.
Take the next digit (7) from the dividend and append it to 25, then repeat: 257 / 27

Going ahead to step 3:
The number 27 fits into 257 9 times, leaving a remainder of 14.
Use 9 as the next digit of our solution. 
Result so far: 29.0
Subtract 243 from 257 to get 14.
Fetch the next digit (4) from the dividend, attach it to 14 and continue: 144 / 27

Let's proceed to step 4:
27 goes into 144 5 times with a remainder of 9.
Record the quotient 5 as the next digit in the result. 
Result so far: 295.0
Subtracting 135 from 144 leaves us with 9.
Grab the next digit (1) from the dividend, add it to 9, then carry on: 91 / 27

On to step 5:
91 divided by 27 is 3 with a remainder of 10.
The next digit of our result is 3. 
Result so far: 2953.0
Subtract 81 from 91 to get 10.
Grab the next digit (4) from the dividend, add it to 10, then carry on: 104 / 27

On to step 6:
27 can be fit into 104 3 times, resulting in a remainder of 23.
The next digit of our result is 3. 
Result so far: 29533.0
If we take 81 away from 104, 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.

Moving on to step 7:
27 can be fit into 230 8 times, resulting in a remainder of 14.
The next digit of our result is 8. 
Result so far: 29533.8
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.

Moving on to step 8:
140 divided by 27 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 29533.85
The remainder is 5 after subtracting 135 from 140.
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 9:
The number 27 fits into 50 1 times, leaving a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 29533.851
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 10:
If we divide 230 by 27, we get 8 and a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 29533.8518
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 11:
140 divided by 27 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 29533.85185
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.

Moving on to step 12:
27 can be fit into 50 1 times, resulting in a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 29533.851851
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.

Advancing to step 13:
When dividing 230 by 27, we get 8 with a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 29533.8518518
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.

Step 14:
If we divide 140 by 27, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 29533.85185185
The remainder is 5 after subtracting 135 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 29533.85185185, and the remainder is 5e-09.