OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: (16 - 31*x + 17*x^2)/(1 - x)^3.
a(n) = a(-n) = 3*a(n-1) - 3*a(n-2) + a(n-3) = a(n-1) + 2*n - 1.
From Amiram Eldar, Nov 03 2020: (Start)
Sum_{n>=0} 1/a(n) = (1 + 4*Pi*coth(4*Pi))/32.
Sum_{n>=0} (-1)^n/a(n) = (1 + 4*Pi*cosech(4*Pi))/32. (End)
MATHEMATICA
Table[n^2 + 16, {n, 0, 60}]
PROG
(Magma) [n^2+16: n in [0..60]];
(Haskell)
a241751 = (+ 16) . (^ 2) -- Reinhard Zumkeller, Apr 11 2015
(PARI) a(n)=n^2+16 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 01 2014
STATUS
approved