All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Integer Division (Posted on 2024-09-09) Difficulty: 2 of 5
For how many integers n is n/(100-n) also an integer?

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution | Comment 1 of 2
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
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information