We look at the division of 89660015 by 504 
The aim is to understand the frequency of 504 in 89660015.

Let's proceed to step 1:
The number 504 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (9) from the dividend to 8 and continue with: 89 / 504

Let's proceed to step 2:
If we divide 89 by 504, we get 0 and a remainder of 89.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 89, we get 89.
Take the next digit (6) from the dividend and append it to 89, then repeat: 896 / 504

Moving on to step 3:
504 goes into 896 1 times with a remainder of 392.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 504 away from 896, we end up with 392.
Fetch the next digit (6) from the dividend, attach it to 392 and continue: 3926 / 504

Going ahead to step 4:
504 can be fit into 3926 7 times, resulting in a remainder of 398.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
The remainder is 398 after subtracting 3528 from 3926.
Take the next digit (0) from the dividend and append it to 398, then repeat: 3980 / 504

Let's proceed to step 5:
If we divide 3980 by 504, we get 7 and a remainder of 452.
The next digit of our result is 7. 
Result so far: 177.0
The remainder is 452 after subtracting 3528 from 3980.
Fetch the next digit (0) from the dividend, attach it to 452 and continue: 4520 / 504

Let's proceed to step 6:
The number 504 fits into 4520 8 times, leaving a remainder of 488.
The number 8 becomes the next digit in our result. 
Result so far: 1778.0
Subtract 4032 from 4520 to get 488.
Include the next digit (1) from the dividend after 488, then repeat: 4881 / 504

Advancing to step 7:
4881 divided by 504 is 9 with a remainder of 345.
Put 9 as the next digit of the answer. 
Result so far: 17789.0
Deduct 4536 from 4881 and we're left with 345.
Bring next digit (5) of the dividend behind the 345 and repeat the process: 3455 / 504

On to step 8:
504 can be fit into 3455 6 times, resulting in a remainder of 431.
The number 6 becomes the next digit in our result. 
Result so far: 177896.0
The remainder is 431 after subtracting 3024 from 3455.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4310, and continue the process.

On to step 9:
When dividing 4310 by 504, we get 8 with a remainder of 278.
Put 8 as the next digit of the answer. 
Result so far: 177896.8
Subtracting 4032 from 4310 leaves us with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

On to step 10:
504 can be fit into 2780 5 times, resulting in a remainder of 260.
Record the quotient 5 as the next digit in the result. 
Result so far: 177896.85
If we take 2520 away from 2780, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Advancing to step 11:
2600 divided by 504 is 5 with a remainder of 80.
Record the quotient 5 as the next digit in the result. 
Result so far: 177896.855
If we take 2520 away from 2600, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final outcome is 177896.855, with a leftover of 0.008.