login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166148 a(n) = (9*n^2 + 9*n - 16)/2. 2
1, 19, 46, 82, 127, 181, 244, 316, 397, 487, 586, 694, 811, 937, 1072, 1216, 1369, 1531, 1702, 1882, 2071, 2269, 2476, 2692, 2917, 3151, 3394, 3646, 3907, 4177, 4456, 4744, 5041, 5347, 5662, 5986, 6319, 6661, 7012, 7372, 7741, 8119, 8506, 8902, 9307, 9721, 10144 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = a(n-1) + 9*n with n > 1, a(1)=1.
From Vincenzo Librandi, Mar 15 2012: (Start)
G.f.: x*(1+16*x-8*x^2)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
E.g.f.: (1/2)*(9*x^2 + 18*x - 16)*exp(x). - G. C. Greubel, May 01 2016
Sum_{n>=1} 1/a(n) = 1/8 + (2*Pi/(3*sqrt(73)))*tan(sqrt(73)*Pi/6). - Amiram Eldar, Feb 20 2023
MATHEMATICA
CoefficientList[Series[(1+16x-8x^2)/(1-x)^3, {x, 0, 50}], x] (* or *) LinearRecurrence[{3, -3, 1}, {1, 19, 46}, 50] (* Vincenzo Librandi, Mar 15 2012 *)
PROG
(PARI) a(n)=9*binomial(n+1, 2)-8 \\ Charles R Greathouse IV, Jan 11 2012
(Magma) I:=[1, 19, 46]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..40]]; // Vincenzo Librandi, Mar 15 2012
CROSSREFS
Sequence in context: A115249 A325451 A135029 * A059657 A048970 A068474
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 08 2009
EXTENSIONS
New name from Charles R Greathouse IV, Jan 11 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 18:43 EDT 2024. Contains 371765 sequences. (Running on oeis4.)