OFFSET
0,2
COMMENTS
a(-1) = -1. - Artur Jasinski, Feb 10 2010
5*a(n) gives the x-values in the solution to the Pell equation x^2 - 26*y^2 = -1. - Colin Barker, Aug 24 2013
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Tanya Khovanova, Recursive Sequences
Giovanni Lucca, Integer Sequences and Circle Chains Inside a Hyperbola, Forum Geometricorum (2019) Vol. 19, 11-16.
Index entries for linear recurrences with constant coefficients, signature (102,-1).
FORMULA
G.f.: (1 + x)/(1 - 102*x + x^2).
a(n) = S(n, 2*51) + S(n-1, 2*51) = S(2*n, 2*sqrt(26)), with Chebyshev polynomials of the 2nd kind. See A049310 for the triangle of S(n, x)= U(n, x/2) coefficients. S(-1, x) := 0 =: U(-1, x).
a(n) = ((-1)^n)*T(2*n+1, 5*i)/(5*i) with the imaginary unit i and Chebyshev polynomials of the first kind. See the T-triangle A053120.
a(n) = 102*a(n-1) - a(n-2) for n > 1; a(0)=1, a(1)=103. - Philippe Deléham, Nov 18 2008
a(n) = (1/5)*sinh((2*n-1)*arcsinh(5)), n >= 1. - Artur Jasinski, Feb 10 2010
EXAMPLE
(x,y) = (5,1), (515,101), (52525,10301), ... give the positive integer solutions to x^2 - 26*y^2 = -1.
MATHEMATICA
Table[(1/5) Round[N[Sinh[(2 n - 1) ArcSinh[5]], 100]], {n, 1, 50}] (* Artur Jasinski, Feb 10 2010 *)
CoefficientList[Series[(1 + x)/(1 - 102 x + x^2), {x, 0, 40}], x] (* Vincenzo Librandi, Apr 13 2014 *)
LinearRecurrence[{102, -1}, {1, 103}, 20] (* Harvey P. Dale, Aug 20 2017 *)
PROG
(PARI) x='x+O('x^99); Vec((1+x)/(1-102*x+x^2)) \\ Altug Alkan, Apr 05 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Aug 31 2004
EXTENSIONS
More terms from Harvey P. Dale, Aug 20 2017
STATUS
approved