is never an even perfect square for
ProvedMathlibGap.chebyshev_T_eval_ne_sq_of_evendiophantine-equationsnumber-theory
Let be the Chebyshev polynomial of the first kind, let be an integer and let be a natural number. Then is not the square of an even integer: for every even integer ,
For the numbers are the first coordinates of the solutions of the Pell equation , whose fundamental solution is . The statement is therefore the case of even and of a theorem that goes back to Ljunggren (1942) and that Cohn (1997) states as follows: the only possible solutions of are and , where is the first coordinate of the fundamental solution. The second value is odd.
Preamble
import Mathlib
Formal statement
theorem MathlibGap.chebyshev_T_eval_ne_sq_of_even (a : ℤ) (ha : 1 < a) (n : ℕ) (hn : 1 < n) (x : ℤ) (hx : Even x) :
(Polynomial.Chebyshev.T ℤ (n : ℤ)).eval a ≠ x ^ 2 := by sorrySource
J. H. E. Cohn, The Diophantine equation x^4 - Dy^2 = 1, II, Acta Arithmetica 78 (1997), 401-403, Theorem on p. 401 with D = a^2 - 1 (restricted to even x), http://matwbn.icm.edu.pl/ksiazki/aa/aa78/aa7847.pdf; W. Ljunggren, Uber die Gleichung x^4 - Dy^2 = 1, Arch. Math. Naturv. 45 (5) (1942), 61-70