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

Let's proceed to step 1:
If we divide 9 by 27, we get 0 and a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (1) from the dividend and append it to 9, then repeat: 91 / 27

On to step 2:
The number 27 fits into 91 3 times, leaving a remainder of 10.
The next digit of our result is 3. 
Result so far: 3.0
If we take 81 away from 91, we end up with 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 27

Moving on to step 3:
The number 27 fits into 107 3 times, leaving a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 33.0
Subtracting 81 from 107 leaves us with 26.
Fetch the next digit (8) from the dividend, attach it to 26 and continue: 268 / 27

Moving on to step 4:
If we divide 268 by 27, we get 9 and a remainder of 25.
The next digit of our result is 9. 
Result so far: 339.0
Deduct 243 from 268 and we're left with 25.
Fetch the next digit (3) from the dividend, attach it to 25 and continue: 253 / 27

Going ahead to step 5:
If we divide 253 by 27, we get 9 and a remainder of 10.
The next digit of our result is 9. 
Result so far: 3399.0
The remainder is 10 after subtracting 243 from 253.
Grab the next digit (1) from the dividend, add it to 10, then carry on: 101 / 27

On to step 6:
101 divided by 27 is 3 with a remainder of 20.
Use 3 as the next digit of our solution. 
Result so far: 33993.0
The remainder is 20 after subtracting 81 from 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 7:
When dividing 200 by 27, we get 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 33993.7
Subtracting 189 from 200 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 8:
27 goes into 110 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 33993.74
Subtracting 108 from 110 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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

Advancing to step 10:
When dividing 200 by 27, we get 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 33993.7407
Subtracting 189 from 200 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 11:
27 can be fit into 110 4 times, resulting in a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 33993.74074
If we take 108 away from 110, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 12:
When dividing 20 by 27, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 33993.74074
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
200 divided by 27 is 7 with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 33993.7407407
Subtract 189 from 200 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 14:
27 goes into 110 4 times with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 33993.74074074
The remainder is 2 after subtracting 108 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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