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

On to step 1:
27 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 27

Step 2:
If we divide 39 by 27, we get 1 and a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 27 from 39, we get 12.
Bring next digit (7) of the dividend behind the 12 and repeat the process: 127 / 27

Let's proceed to step 3:
The number 27 fits into 127 4 times, leaving a remainder of 19.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 108 from 127 leaves us with 19.
Fetch the next digit (8) from the dividend, attach it to 19 and continue: 198 / 27

On to step 4:
The number 27 fits into 198 7 times, leaving a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 147.0
Subtract 189 from 198 to get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 27

On to step 5:
When dividing 98 by 27, we get 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 1473.0
If we take 81 away from 98, we end up with 17.
Bring next digit (2) of the dividend behind the 17 and repeat the process: 172 / 27

Going ahead to step 6:
27 goes into 172 6 times with a remainder of 10.
The number 6 becomes the next digit in our result. 
Result so far: 14736.0
If we take 162 away from 172, 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.

Step 7:
100 divided by 27 is 3 with a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 14736.3
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.

Going ahead to step 8:
27 goes into 190 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 14736.37
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.

Advancing to step 9:
27 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 14736.37
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.

Advancing to step 10:
100 divided by 27 is 3 with a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 14736.3703
Subtracting 81 from 100 leaves us 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.

Going ahead to step 11:
27 goes into 190 7 times with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 14736.37037
The remainder is 1 after subtracting 189 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
The number 27 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 14736.37037
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.

Moving on to step 13:
100 divided by 27 is 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 14736.3703703
Subtracting 81 from 100 leaves us 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.

Going ahead to step 14:
The number 27 fits into 190 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 14736.37037037
Deduct 189 from 190 and we're left 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.

Our division results in 14736.37037037 with a remaining 1e-09.