Determine all possible triplets (A,B,C) of positive integers
AB + BC = CA
Prove that there are no others.
(In reply to re: Near Misses
by Ady TZIDON)
10 for Tot=2 to 9999
20 for A=1 to Tot-2
30 for B=A to Tot-A-1
50 if A^B+B^C=C^A then print A;B;C
which checks all A, B and C up to a total of 9999 finds no other solution than 1,1,2 for A,B,C.
Edited on March 9, 2014, 6:55 pm
Posted by Charlie
on 2014-03-09 18:55:13