My question is this:
$y^2 = \frac{x^5 - 1}{x-1}$ & $x,y \in \mathbb{Z}$
Source: BdMO 2016 Regionals Set 1 Question 3.
An equation in $\mathbb{Z}$ I think this is the exact same question. Actually I didn't get the solution in the link. Please don't mark as duplicate.
I tried solving this same problem by writing code; there seems to be $6$ solution pairs to this equation. How do I get the $6$ solutions mathematically? I indeed need a full solution. Please help.