I am trying to prove that the following Diophantine equation is impossible in positive integers, but i keep failing. $6+n(7n^2-1)=k^2$.
NOTE: it has a negative solution so i don't think working with modulos will help.
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityI am trying to prove that the following Diophantine equation is impossible in positive integers, but i keep failing. $6+n(7n^2-1)=k^2$.
NOTE: it has a negative solution so i don't think working with modulos will help.
With substitution $m=n+1$, the equation becomes $m(7m^2-21m+20)=k^2$. Put $m=du^2$, $7m^2-21m+20=dv^2$, with $d$ a positive divisor of $20$ and $u$, $v$ coprime positive integers. Then we get $7du^4-21u^2+20/d=v^2$.
When $d=1$, the last equation is impossible because $5$ is quadratic non-residue modulo $7$. The same argument works for $d=2$ or $4$. If $d=5$, then note that $u$ must be odd, otherwise $v$ would be also even, in contradiction with the requirement $\gcd (u,v)=1$. But for odd $u$ one has $35u^4-21u^2+4 \equiv 2 \pmod 4$, while any even square is multiple of $4$. A similar argument eliminates the possibility $d=10$.
It remains to solve in coprime integers the equation $140u^4 -21u^2+1=v^2$. Multiplication by $(140u)^2$ results in the elliptic equation $Y^2=X^3-21X^2+140X$, whose integer points are obtained with the following SAGE lines
sage: E = EllipticCurve([0,-21,0,140,0])
sage: E.integral_points(both_signs=True)
The output [(0 : 0 : 1)] means that there are no non-zero solutions to the elliptic equation and therefore for the initial equation.