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

Home > Numbers
Box and cube rooted (Posted on 2020-12-14) Difficulty: 2 of 5
Find the number of positive integers n such that 1 ≤ n ≤ 1000 and n is divisible by [n1/3]

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 7
A short program finds 166 solutions.
[edit:  error, see Charlie's post]

count = 0
for n in range(1,1001):
    if n % int(n**(1/3)) == 0:
        count += 1
print(count)
 ----------
I checked different ranges for M where 1 ≤ n ≤ M

M             number
10                  9
100              39
1000           166
10000         729
100000     3301
1000000  15151

Edited on December 15, 2020, 4:40 pm
  Posted by Larry on 2020-12-14 10:26:37

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 (0)
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