2

Does anybody know the all positive integer solution of $$ a^x-b^y=2 $$ under the condition $$ x \geq 2, y\geq2 $$

I didn't find any solution without $$ x=5,y=3,a=2,b=3 $$

Bart Michels
  • 26,355

1 Answers1

2

See Catalan's conjecture (Mihăilescu's theorem) for $a^x-b^y=1$, where it's also written about the general $a^x-b^y=n$.

https://oeis.org/A076427 says there's exactly one solution when $a^x,b^y<10^{18}$.

The solution is $(a,b,x,y)=(3,5,3,2)$.

user236182
  • 13,324