10 for Tot=2 to 999 20 for X=1 to Tot-1 30 N=Tot-X 40 Lhs=X^N+2^N+1:Rhs=X^(N+1)+2^(N+1)+1 50 if Rhs @ Lhs=0 then print X;N,Lhs;Rhs 60 next 70 next
finds only
4 1 7 21 11 1 14 126
for x, n, first expression, second expression.
blackjack
flooble's webmaster puzzle