Let's divide 259897 by 27
The aim is to understand the frequency of 27 in 259897.

Going ahead to step 1:
2 divided by 27 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 27

Moving on to step 2:
27 goes into 25 0 times with a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 25, we end up with 25.
Include the next digit (9) from the dividend after 25, then repeat: 259 / 27

Let's proceed to step 3:
When dividing 259 by 27, we get 9 with a remainder of 16.
The next digit of our result is 9. 
Result so far: 9.0
The remainder is 16 after subtracting 243 from 259.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 27

Step 4:
If we divide 168 by 27, we get 6 and a remainder of 6.
The next digit of our result is 6. 
Result so far: 96.0
If we subtract 162 from 168, we get 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 27

Moving on to step 5:
69 divided by 27 is 2 with a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 962.0
If we take 54 away from 69, we end up with 15.
Fetch the next digit (7) from the dividend, attach it to 15 and continue: 157 / 27

Step 6:
27 can be fit into 157 5 times, resulting in a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 9625.0
Subtract 135 from 157 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
The number 27 fits into 220 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 9625.8
Subtracting 216 from 220 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
When dividing 40 by 27, we get 1 with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 9625.81
Deduct 27 from 40 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 9:
27 can be fit into 130 4 times, resulting in a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 9625.814
If we subtract 108 from 130, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 10:
27 goes into 220 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 9625.8148
Deduct 216 from 220 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
If we divide 40 by 27, we get 1 and a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 9625.81481
If we subtract 27 from 40, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 12:
The number 27 fits into 130 4 times, leaving a remainder of 22.
Use 4 as the next digit of our solution. 
Result so far: 9625.814814
If we subtract 108 from 130, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 13:
220 divided by 27 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 9625.8148148
If we subtract 216 from 220, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 14:
27 can be fit into 40 1 times, resulting in a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 9625.81481481
Subtract 27 from 40 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

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