Determine all possible pair(s) (X, Y)
of positive integers that satisfy this equation.
XXX = YY
: The order of calculation in XXX
is as given in this article
(In reply to improved program
Rather than incrementing y by 1 to get to ever higher values needed for y, it's better to calculate the approximate needed y for a given x, and try the integer below and the integer above. That way, the following program goes up to x=800, needing values of y with over 2000 digits:
10 point 16
20 for X=2 to 800
70 if abs(Y-PrevY)<0.0000000000000000000001 then goto *FoundOne
115 if abs(Lhs-Y1*log(Y1))<0.000000001 then print X,Y,Lhs,Y1*log(Y1)
116 if abs(Lhs-Y2*log(Y2))<0.000000001 then print X,Y,Lhs,Y2*log(Y2)
It still does not find any pairs beyond (1,1).
Posted by Charlie
on 2009-03-18 15:50:28