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

On to step 1:
When dividing 1 by 27, we get 0 with 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.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 27

On to step 2:
17 divided by 27 is 0 with a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Append the next digit (0) from the dividend to 17 and continue with: 170 / 27

Let's proceed to step 3:
170 divided by 27 is 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 162 from 170 to get 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 27

On to step 4:
27 goes into 82 3 times with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 63.0
If we subtract 81 from 82, we get 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 27

Let's proceed to step 5:
If we divide 13 by 27, we get 0 and a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 630.0
Subtract 0 from 13 to get 13.
Take the next digit (3) from the dividend and append it to 13, then repeat: 133 / 27

Advancing to step 6:
27 goes into 133 4 times with a remainder of 25.
The next digit of our result is 4. 
Result so far: 6304.0
If we subtract 108 from 133, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 7:
27 can be fit into 250 9 times, resulting in a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 6304.9
Subtracting 243 from 250 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 8:
When dividing 70 by 27, we get 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 6304.92
If we subtract 54 from 70, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
The number 27 fits into 160 5 times, leaving a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 6304.925
If we subtract 135 from 160, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 10:
The number 27 fits into 250 9 times, leaving a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 6304.9259
If we take 243 away from 250, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 11:
When dividing 70 by 27, we get 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 6304.92592
If we take 54 away from 70, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
160 divided by 27 is 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 6304.925925
If we take 135 away from 160, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 13:
250 divided by 27 is 9 with a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 6304.9259259
Deduct 243 from 250 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 14:
When dividing 70 by 27, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 6304.92592592
Subtract 54 from 70 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 6304.92592592 with a remaining 1.6e-08.