OFFSET
1,2
COMMENTS
Partial sums of A077422. - R. J. Mathar, Nov 27 2011
Indices of centered pentagonal numbers (A005891) which are also centered hexagonal numbers (A003215). - Colin Barker, Feb 07 2015
LINKS
Colin Barker, Table of n, a(n) for n = 1..746
Index entries for linear recurrences with constant coefficients, signature (23,-23,1).
FORMULA
a(n+2) = 22*a(n+1)-a(n)-10 ; a(n+1)=11*a(n)-5+(120*a(n)^2-120*a(n)+36)^0.5
G.f. x*(-1+11*x) / ( (x-1)*(x^2-22*x+1) ). - R. J. Mathar, Nov 27 2011
MATHEMATICA
Table[Cos[n*ArcCos[11]] // Round, {n, 0, 15}] // Accumulate (* Jean-François Alcover, Dec 19 2013, after R. J. Mathar *)
LinearRecurrence[{23, -23, 1}, {1, 12, 253}, 20] (* Harvey P. Dale, Jul 04 2018 *)
PROG
(PARI) Vec(x*(11*x-1)/((x-1)*(x^2-22*x+1)) + O(x^100)) \\ Colin Barker, Feb 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Richard Choulet, Oct 16 2007
EXTENSIONS
More terms from Paolo P. Lava, Aug 06 2008
STATUS
approved