Wednesday, February 21, 2024

Product of three consecutive positive integers

 Can the product of three positive consecutive integers be a perfect square?




Scroll down for a solution



.


Assume the three integers are $n-1, n, n+1$ and that $(n-1)n(n+1)  = n(n^2-1)$ is a perfect square.


Since $n$ is relatively prime to both $n-1$ and $n+1$ (and hence their product $n^2-1$), we must have that $n^2-1$ is a perfect square too.