OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0, 1060, 0, -1).
FORMULA
G.f.: -(x^2-23*x-1) / (x^4-1060*x^2+1). - Colin Barker, Nov 29 2013
a(n) = 1060*a(n-2) - a(n-4) for n>3. - Vincenzo Librandi, Jan 12 2014
MATHEMATICA
Denominator[Convergents[Sqrt[531], 40]] (* Vincenzo Librandi, Jan 12 2014 *)
LinearRecurrence[{0, 1060, 0, -1}, {1, 23, 1059, 24380}, 20] (* Harvey P. Dale, Oct 06 2023 *)
PROG
(Magma) I:=[1, 23, 1059, 24380]; [n le 4 select I[n] else 1060*Self(n-2)-Self(n-4): n in [1..20]]; // Vincenzo Librandi, Jan 12 2014
CROSSREFS
KEYWORD
nonn,frac,easy,less
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 29 2013
STATUS
approved