(In reply to
Solution by Dej Mar)
I found something different (Dej Mar made a mistake considering the two numbers (square and cube) separately.)
Joining the two numbers, we have these factors:
(2^3 x 251) x ( 7^2 x 41)
So, to have a square and a cube, we need M = 2^3 x 7^4 x 251^3 x 41^2 = 510,588,495,274,648.
Edited to say that is the number Charlie found, too. I missed it.
Edited on October 6, 2008, 12:03 pm

Posted by pcbouhid
on 20081006 10:53:38 