OFFSET
1,1
COMMENTS
Eighth diagonal of A144562.
2*a(n) + 52 is a square.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 2*A116711(n+3).
G.f.: -2*x*(3*x-4)*(x-3)/(x-1)^3.
From Amiram Eldar, Mar 02 2023: (Start)
Sum_{n>=1} 1/a(n) = 35/468 - cot(sqrt(13)*Pi)*Pi/(4*sqrt(13)).
Sum_{n>=1} (-1)^(n+1)/a(n) = 121/468 + cosec(sqrt(13)*Pi)*Pi/(4*sqrt(13)). (End)
MATHEMATICA
Table[2n^2+16n+6, {n, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {24, 46, 72}, 50] (* Harvey P. Dale, Dec 27 2011 *)
PROG
(PARI) a(n)=2*n^2+16*n+6 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Jan 12 2009
EXTENSIONS
Corrected (a(31) added) by Harvey P. Dale, Dec 27 2011
STATUS
approved