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

Going ahead to step 1:
The number 27 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 27

Step 2:
If we divide 50 by 27, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 27 from 50 and we're left with 23.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 27

Going ahead to step 3:
When dividing 234 by 27, we get 8 with a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Subtracting 216 from 234 leaves us with 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 27

Going ahead to step 4:
When dividing 180 by 27, we get 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 186.0
The remainder is 18 after subtracting 162 from 180.
Include the next digit (8) from the dividend after 18, then repeat: 188 / 27

Step 5:
When dividing 188 by 27, we get 6 with a remainder of 26.
Put 6 as the next digit of the answer. 
Result so far: 1866.0
Subtracting 162 from 188 leaves us with 26.
Grab the next digit (2) from the dividend, add it to 26, then carry on: 262 / 27

Step 6:
262 divided by 27 is 9 with a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 18669.0
If we subtract 243 from 262, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
When dividing 190 by 27, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 18669.7
Subtracting 189 from 190 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 8:
The number 27 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 18669.7
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
100 divided by 27 is 3 with a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 18669.703
If we subtract 81 from 100, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 10:
190 divided by 27 is 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 18669.7037
Subtract 189 from 190 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 11:
When dividing 10 by 27, we get 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 18669.7037
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 12:
The number 27 fits into 100 3 times, leaving a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 18669.703703
Deduct 81 from 100 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 13:
If we divide 190 by 27, we get 7 and a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 18669.7037037
Subtracting 189 from 190 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 14:
27 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 18669.7037037
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 18669.7037037, with a leftover of 1e-08.