Aufgabe:
Bestimme natürliche Zahlen x und y bis 1000 so, dass x²=y³ ist. x>1 und y>1 (Vermeidung des Trivialfalls).
Quelle: https://twitter.com/HansruediWidmer/status/705633887322447872
Lösung:
1/* Bestimme natürliche Zahlen x und y bis 1000 so, dass x²=y³ ist. x>1 und y>1 (Vermeidung des Trivial- falls). */; for x:2 thru 1000 do for y:2 thru 1000 do if x^2=y^3 then display([x,y]);
Berechnung mit http://maxima.cesga.es: