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

On to step 1:
The number 27 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 27

Let's proceed to step 2:
27 can be fit into 87 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 6 after subtracting 81 from 87.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 27

On to step 3:
27 goes into 60 2 times with a remainder of 6.
The next digit of our result is 2. 
Result so far: 32.0
Deduct 54 from 60 and we're left with 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 27

Advancing to step 4:
The number 27 fits into 65 2 times, leaving a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 322.0
If we take 54 away from 65, we end up with 11.
Take the next digit (8) from the dividend and append it to 11, then repeat: 118 / 27

Step 5:
118 divided by 27 is 4 with a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 3224.0
If we take 108 away from 118, we end up with 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 27

Step 6:
The number 27 fits into 107 3 times, leaving a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 32243.0
Subtracting 81 from 107 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
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: 32243.9
Subtract 243 from 260 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 8:
27 can be fit into 170 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 32243.96
Subtracting 162 from 170 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
27 goes into 80 2 times with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 32243.962
Subtract 54 from 80 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
27 goes into 260 9 times with a remainder of 17.
Write down 9 as next digit of the result. 
Result so far: 32243.9629
The remainder is 17 after subtracting 243 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 11:
If we divide 170 by 27, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 32243.96296
Subtracting 162 from 170 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
When dividing 80 by 27, we get 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 32243.962962
Deduct 54 from 80 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 13:
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: 32243.9629629
If we take 243 away from 260, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 14:
The number 27 fits into 170 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 32243.96296296
If we subtract 162 from 170, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 32243.96296296, with a leftover of 8e-09.