n >= 0 because if n were negative, the ratio would be between 0 and -1.
n/(100-n) = k where k is an integer
n = 100k - kn
100k = (k+1)n
n = 100k / (k+1)
I found 12 with p&p searching for a few minutes:
0, 50, 75, 80, 90, 95, 200, 150, 125, 120, 110, 105
But thought I would miss some looking manually so I used a short program and found a total of 18:
[0, 50, 75, 80, 90, 95, 96, 98, 99, 101, 102, 104, 105, 110, 120, 125, 150, 200]
|
Posted by Larry
on 2024-09-09 13:00:22 |