We're dividing 12489589 by 585 
The aim is to understand the frequency of 585 in 12489589.

Step 1:
When dividing 1 by 585, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 585

Moving on to step 2:
585 can be fit into 12 0 times, resulting in a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Fetch the next digit (4) from the dividend, attach it to 12 and continue: 124 / 585

Moving on to step 3:
When dividing 124 by 585, we get 0 with a remainder of 124.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 124 leaves us with 124.
Include the next digit (8) from the dividend after 124, then repeat: 1248 / 585

Let's proceed to step 4:
585 goes into 1248 2 times with a remainder of 78.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 1170 from 1248 and we're left with 78.
Bring next digit (9) of the dividend behind the 78 and repeat the process: 789 / 585

Let's proceed to step 5:
If we divide 789 by 585, we get 1 and a remainder of 204.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Deduct 585 from 789 and we're left with 204.
Append the next digit (5) from the dividend to 204 and continue with: 2045 / 585

Moving on to step 6:
2045 divided by 585 is 3 with a remainder of 290.
The next digit of our result is 3. 
Result so far: 213.0
Deduct 1755 from 2045 and we're left with 290.
Include the next digit (8) from the dividend after 290, then repeat: 2908 / 585

Going ahead to step 7:
585 goes into 2908 4 times with a remainder of 568.
Put 4 as the next digit of the answer. 
Result so far: 2134.0
Subtract 2340 from 2908 to get 568.
Append the next digit (9) from the dividend to 568 and continue with: 5689 / 585

Step 8:
If we divide 5689 by 585, we get 9 and a remainder of 424.
Record the quotient 9 as the next digit in the result. 
Result so far: 21349.0
If we subtract 5265 from 5689, we get 424.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4240, and continue the process.

Step 9:
The number 585 fits into 4240 7 times, leaving a remainder of 145.
Use 7 as the next digit of our solution. 
Result so far: 21349.7
Subtract 4095 from 4240 to get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Moving on to step 10:
1450 divided by 585 is 2 with a remainder of 280.
Use 2 as the next digit of our solution. 
Result so far: 21349.72
Subtract 1170 from 1450 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Advancing to step 11:
The number 585 fits into 2800 4 times, leaving a remainder of 460.
Use 4 as the next digit of our solution. 
Result so far: 21349.724
Deduct 2340 from 2800 and we're left with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Let's proceed to step 12:
The number 585 fits into 4600 7 times, leaving a remainder of 505.
Use 7 as the next digit of our solution. 
Result so far: 21349.7247
The remainder is 505 after subtracting 4095 from 4600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

Step 13:
The number 585 fits into 5050 8 times, leaving a remainder of 370.
Write down 8 as next digit of the result. 
Result so far: 21349.72478
Subtracting 4680 from 5050 leaves us with 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

On to step 14:
If we divide 3700 by 585, we get 6 and a remainder of 190.
The next digit of our result is 6. 
Result so far: 21349.724786
Subtract 3510 from 3700 to get 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Step 15:
585 goes into 1900 3 times with a remainder of 145.
The next digit of our result is 3. 
Result so far: 21349.7247863
If we take 1755 away from 1900, we end up with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Going ahead to step 16:
When dividing 1450 by 585, we get 2 with a remainder of 280.
Write down 2 as next digit of the result. 
Result so far: 21349.72478632
Subtract 1170 from 1450 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Our division results in 21349.72478632 with a remaining 2.8e-07.