A082111 a(n) = n^2 + 5*n + 1.
1, 7, 15, 25, 37, 51, 67, 85, 105, 127, 151, 177, 205, 235, 267, 301, 337, 375, 415, 457, 501, 547, 595, 645, 697, 751, 807, 865, 925, 987, 1051, 1117, 1185, 1255, 1327, 1401, 1477, 1555, 1635, 1717, 1801, 1887, 1975, 2065, 2157, 2251, 2347, 2445, 2545, 2647
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..5000
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Programs
-
Mathematica
Table[n^2 + 5*n + 1,{n,0,80}] (* Vladimir Joseph Stephan Orlovsky, Apr 19 2011 *) LinearRecurrence[{3,-3,1},{1,7,15},80] (* Harvey P. Dale, Apr 22 2012 *)
-
PARI
a(n)=n^2+5*n+1 \\ Charles R Greathouse IV, Jun 17 2017
Formula
a(n) = 2*n + a(n-1) + 4 (with a(0)=1). - Vincenzo Librandi, Aug 08 2010
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(0)=1, a(1)=7, a(2)=15. - Harvey P. Dale, Apr 22 2012
Sum_{n>=0} 1/a(n) = 8/15 + Pi*tan(sqrt(21)*Pi/2)/sqrt(21) = 1.424563592286456286... . - Vaclav Kotesovec, Apr 10 2016
From G. C. Greubel, Jul 19 2017: (Start)
G.f.: (1 + 4*x - 3*x^2)/(1 - x)^3.
E.g.f.: (x^2 + 6*x + 1)*exp(x). (End)
Extensions
New title (using given formula) from Hugo Pfoertner, Oct 08 2020
Comments