There is an infinite number of rational solutions $$a=\left(\frac{n+1}{n}\right)^n,\;\;b=\left(\frac{n+1}{n}\right)^{n+1},\;\;n\in\mathbb{Z},\;\;0\neq n\neq -1.$$ For a proof that these are all the rational solutions, see this posting.
Carlo Beenakker
- 188.2k
- 18
- 448
- 651