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

Let's proceed to step 1:
If we divide 1 by 27, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 27

Going ahead to step 2:
27 goes into 15 0 times with a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 27

Step 3:
The number 27 fits into 158 5 times, leaving a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 135 from 158 to get 23.
Take the next digit (6) from the dividend and append it to 23, then repeat: 236 / 27

Going ahead to step 4:
236 divided by 27 is 8 with a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 58.0
Deduct 216 from 236 and we're left with 20.
Include the next digit (5) from the dividend after 20, then repeat: 205 / 27

Moving on to step 5:
If we divide 205 by 27, we get 7 and a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 587.0
Subtracting 189 from 205 leaves us with 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 27

Going ahead to step 6:
27 goes into 161 5 times with a remainder of 26.
The number 5 becomes the next digit in our result. 
Result so far: 5875.0
If we subtract 135 from 161, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
260 divided by 27 is 9 with a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 5875.9
The remainder is 17 after subtracting 243 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 8:
170 divided by 27 is 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 5875.96
If we take 162 away from 170, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
80 divided by 27 is 2 with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 5875.962
Subtracting 54 from 80 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
If we divide 260 by 27, we get 9 and a remainder of 17.
Write down 9 as next digit of the result. 
Result so far: 5875.9629
Subtract 243 from 260 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 11:
If we divide 170 by 27, we get 6 and a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 5875.96296
If we take 162 away from 170, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
80 divided by 27 is 2 with a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 5875.962962
The remainder is 26 after subtracting 54 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 13:
If we divide 260 by 27, we get 9 and a remainder of 17.
Write down 9 as next digit of the result. 
Result so far: 5875.9629629
The remainder is 17 after subtracting 243 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 14:
170 divided by 27 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 5875.96296296
The remainder is 8 after subtracting 162 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 5875.96296296 and a remainder of 8e-09.