OFFSET
0,2
COMMENTS
The sequence satisfies the Pell equation a(n)^2 - 18 * A202299(n+1)^2 = 1. - Vincenzo Librandi, Dec 19 2011
Also numbers n such that n - 1 and 2*n + 2 are squares. - Arkadiusz Wesolowski, Mar 15 2015
This sequence {a(n)} gives all the nonnegative integer solutions of the Pell equation a(n)^2 - 32*(3*A091761(n))^2 = +1. - Wolfdieter Lang, Mar 09 2019
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..600 (terms 0..200 from Vincenzo Librandi)
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (34,-1).
FORMULA
a(n) = (r^n + 1/r^n)/2 with r = 17 + sqrt(17^2-1).
a(n) = 16*A001110(n) + 1 = A001541(2n) = (4*A001109(n))^2 + 1 = 3*A001109(2n-1) - A001109(2n-2) = A001109(2n) - 3*A001109(2n-1).
a(n) = T(n, 17) = T(2*n, 3) with T(n, x) Chebyshev's polynomials of the first kind. See A053120. T(n, 3)= A001541(n).
G.f.: (1-17*x)/(1-34*x+x^2).
G.f.: (1 - 17*x / (1 - 288*x / (17 - x))). - Michael Somos, Apr 05 2019
a(n) = cosh(2n*arcsinh(sqrt(8))). - Herbert Kociemba, Apr 24 2008
a(n) = (a^n + b^n)/2 where a = 17 + 12*sqrt(2) and b = 17 - 12*sqrt(2); sqrt(a(n)-1)/4 = A001109(n). - James R. Buddenhagen, Dec 09 2011
a(-n) = a(n). - Michael Somos, May 28 2014
a(n) = sqrt(1 + 32*9*A091761(n)^2), n >= 0. See one of the Pell comments above. - Wolfdieter Lang, Mar 09 2019
EXAMPLE
G.f. = 1 + 17*x + 577*x^2 + 19601*x^3 + 665857*x^4 + 22619537*x^5 + ...
MATHEMATICA
LinearRecurrence[{34, -1}, {1, 17}, 30] (* Vincenzo Librandi, Dec 18 2011 *)
a[ n_] := ChebyshevT[ 2 n, 3]; (* Michael Somos, May 28 2014 *)
PROG
(Sage) [lucas_number2(n, 34, 1)/2 for n in range(0, 15)] # Zerinvary Lajos, Jun 27 2008
(Magma) I:=[1, 17]; [n le 2 select I[n] else 34*Self(n-1)-Self(n-2): n in [1..20]]; // Vincenzo Librandi, Dec 18 2011
(Maxima) makelist(expand(((17+sqrt(288))^n+(17-sqrt(288))^n))/2, n, 0, 15); // Vincenzo Librandi, Dec 18 2011
(PARI) {a(n) = polchebyshev( n, 1, 17)}; /* Michael Somos, Apr 05 2019 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Aug 16 2000
EXTENSIONS
More terms from James A. Sellers, Sep 07 2000
Chebyshev comments from Wolfdieter Lang, Nov 29 2002
STATUS
approved