login
A027691
a(n) = n^2 + n + 6.
5
6, 8, 12, 18, 26, 36, 48, 62, 78, 96, 116, 138, 162, 188, 216, 246, 278, 312, 348, 386, 426, 468, 512, 558, 606, 656, 708, 762, 818, 876, 936, 998, 1062, 1128, 1196, 1266, 1338, 1412, 1488, 1566, 1646, 1728, 1812, 1898, 1986, 2076, 2168, 2262, 2358, 2456, 2556
OFFSET
0,1
FORMULA
a(n) = 2*n + a(n-1), with a(0)=6. - Vincenzo Librandi, Aug 05 2010
Sum_{n>=0} 1/a(n) = Pi*tanh(Pi*sqrt(23)/2)/sqrt(23). - Amiram Eldar, Jan 17 2021
From Elmo R. Oliveira, Oct 28 2024: (Start)
G.f.: 2*(3 - 5*x + 3*x^2)/(1 - x)^3.
E.g.f.: (2*(3 + x) + x^2)*exp(x).
a(n) = 2*A152950(n+1). (End)
MATHEMATICA
Table[n^2+n+6, {n, 0, 100}] (* Vladimir Joseph Stephan Orlovsky, Mar 12 2011 *)
PROG
(PARI) a(n)=n^2+n+6 \\ Charles R Greathouse IV, Jun 17 2017
(GAP) List([0..50], n->n^2+n+6); # Muniru A Asiru, Jul 15 2018
CROSSREFS
KEYWORD
nonn,easy
EXTENSIONS
Offset changed by Charles R Greathouse IV, Jul 25 2010
STATUS
approved