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

Advancing to step 1:
The number 27 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 27

Going ahead to step 2:
27 goes into 49 1 times with a remainder of 22.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 27 from 49 leaves us with 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 27

Advancing to step 3:
If we divide 227 by 27, we get 8 and a remainder of 11.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we take 216 away from 227, we end up with 11.
Grab the next digit (7) from the dividend, add it to 11, then carry on: 117 / 27

Step 4:
The number 27 fits into 117 4 times, leaving a remainder of 9.
Record the quotient 4 as the next digit in the result. 
Result so far: 184.0
If we take 108 away from 117, we end up with 9.
Grab the next digit (0) from the dividend, add it to 9, then carry on: 90 / 27

On to step 5:
When dividing 90 by 27, we get 3 with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 1843.0
Subtract 81 from 90 to get 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 27

Advancing to step 6:
The number 27 fits into 97 3 times, leaving a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 18433.0
The remainder is 16 after subtracting 81 from 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
The number 27 fits into 160 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 18433.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.

On to step 8:
The number 27 fits into 250 9 times, leaving a remainder of 7.
Put 9 as the next digit of the answer. 
Result so far: 18433.59
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.

Going ahead to step 9:
If we divide 70 by 27, we get 2 and a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 18433.592
Deduct 54 from 70 and we're left 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.

Moving on to step 10:
If we divide 160 by 27, we get 5 and a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 18433.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.

Moving on to step 11:
If we divide 250 by 27, we get 9 and a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 18433.59259
If we subtract 243 from 250, we get 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 12:
27 can be fit into 70 2 times, resulting in a remainder of 16.
The next digit of our result is 2. 
Result so far: 18433.592592
The remainder is 16 after subtracting 54 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 13:
When dividing 160 by 27, we get 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 18433.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.

Going ahead to step 14:
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: 18433.59259259
The remainder is 7 after subtracting 243 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The quotient of the division is 18433.59259259, and the remainder is 7e-09.