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

Home > Numbers
Add to Cube, get Square 2 (Posted on 2023-12-18) Difficulty: 3 of 5
Find the maximum value of a positive integer m, such that m3+8 is a perfect square.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution Comment 1 of 1
for m=1:99999
  sq=m^3+8;
  sr=round(sqrt(sq));
  if sr^2==sq
    disp([m sq sr])
  end
end

for m=sym(100000):2000000
  sq=m^3+8;
  sr=round(sqrt(sq));
  if sr^2==sq
    disp([m sq sr])
  end
end

finds only

           m       m^3+8      sq root  
           1           9           3
           2          16           4
          46       97344         312
          
so it appears that 46 is the maximum such m.          

Edited on December 18, 2023, 12:58 pm
  Posted by Charlie on 2023-12-18 12:38:20

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