We divide 797999 by 27
The aim is to understand the frequency of 27 in 797999.

Step 1:
When dividing 7 by 27, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 27

Let's proceed to step 2:
27 can be fit into 79 2 times, resulting in a remainder of 25.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 54 from 79, we get 25.
Fetch the next digit (7) from the dividend, attach it to 25 and continue: 257 / 27

On to step 3:
27 goes into 257 9 times with a remainder of 14.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
If we take 243 away from 257, we end up with 14.
Append the next digit (9) from the dividend to 14 and continue with: 149 / 27

On to step 4:
If we divide 149 by 27, we get 5 and a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 295.0
Deduct 135 from 149 and we're left with 14.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 27

Going ahead to step 5:
The number 27 fits into 149 5 times, leaving a remainder of 14.
Use 5 as the next digit of our solution. 
Result so far: 2955.0
If we subtract 135 from 149, we get 14.
Grab the next digit (9) from the dividend, add it to 14, then carry on: 149 / 27

Advancing to step 6:
If we divide 149 by 27, we get 5 and a remainder of 14.
Use 5 as the next digit of our solution. 
Result so far: 29555.0
If we take 135 away from 149, 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.

Step 7:
The number 27 fits into 140 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 29555.5
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.

Let's proceed to step 8:
If we divide 50 by 27, we get 1 and a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 29555.51
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.

Moving on to step 9:
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: 29555.518
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 10:
27 can be fit into 140 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 29555.5185
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.

Advancing to step 11:
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: 29555.51851
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.

Step 12:
27 goes into 230 8 times with a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 29555.518518
The remainder is 14 after subtracting 216 from 230.
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 13:
If we divide 140 by 27, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 29555.5185185
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.

Step 14:
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: 29555.51851851
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.

The final result is 29555.51851851 with a remainder of 2.3e-08.