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

Advancing to step 1:
27 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 27

Let's proceed to step 2:
27 can be fit into 58 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 54 from 58 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 27

Step 3:
The number 27 fits into 40 1 times, leaving a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtract 27 from 40 to get 13.
Bring next digit (5) of the dividend behind the 13 and repeat the process: 135 / 27

Let's proceed to step 4:
135 divided by 27 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 215.0
Deduct 135 from 135 and we're left with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 27

Moving on to step 5:
When dividing 7 by 27, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 2150.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (0) from the dividend after 7, then repeat: 70 / 27

On to step 6:
When dividing 70 by 27, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 21502.0
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.

Going ahead to step 7:
160 divided by 27 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 21502.5
The remainder is 25 after subtracting 135 from 160.
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 8:
27 goes into 250 9 times with a remainder of 7.
The next digit of our result is 9. 
Result so far: 21502.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:
70 divided by 27 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 21502.592
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.

Advancing to step 10:
27 goes into 160 5 times with a remainder of 25.
The next digit of our result is 5. 
Result so far: 21502.5925
The remainder is 25 after subtracting 135 from 160.
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.
The number 9 becomes the next digit in our result. 
Result so far: 21502.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.

Let's proceed to step 12:
27 can be fit into 70 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 21502.592592
If we subtract 54 from 70, we 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 13:
If we divide 160 by 27, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 21502.5925925
Subtracting 135 from 160 leaves us 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.

Going ahead to step 14:
27 can be fit into 250 9 times, resulting in a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 21502.59259259
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.

After the division, we end up with 21502.59259259 and a remainder of 7e-09.