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

Going ahead to step 1:
The number 27 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 27

Going ahead to step 2:
If we divide 78 by 27, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 54 from 78 and we're left with 24.
Include the next digit (2) from the dividend after 24, then repeat: 242 / 27

Going ahead to step 3:
27 can be fit into 242 8 times, resulting in a remainder of 26.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Deduct 216 from 242 and we're left with 26.
Fetch the next digit (9) from the dividend, attach it to 26 and continue: 269 / 27

Going ahead to step 4:
If we divide 269 by 27, we get 9 and a remainder of 26.
Record the quotient 9 as the next digit in the result. 
Result so far: 289.0
Subtract 243 from 269 to get 26.
Fetch the next digit (0) from the dividend, attach it to 26 and continue: 260 / 27

On to step 5:
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: 2899.0
If we take 243 away from 260, we end up with 17.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 27

On to step 6:
27 can be fit into 178 6 times, resulting in a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 28996.0
Subtract 162 from 178 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.

Moving on to step 7:
27 can be fit into 160 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 28996.5
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.

Step 8:
If we divide 250 by 27, we get 9 and a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 28996.59
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.

Advancing to step 9:
The number 27 fits into 70 2 times, leaving a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 28996.592
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.

Advancing to step 10:
160 divided by 27 is 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 28996.5925
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.

Let's proceed to step 11:
250 divided by 27 is 9 with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 28996.59259
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.

Advancing to step 12:
27 goes into 70 2 times with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 28996.592592
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 13:
The number 27 fits into 160 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 28996.5925925
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.

Let's proceed to step 14:
250 divided by 27 is 9 with a remainder of 7.
The next digit of our result is 9. 
Result so far: 28996.59259259
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.

Our division results in 28996.59259259 with a remaining 7e-09.