login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117573 Expansion of (1+2x^2)/((1-x)(1-x^2)(1-x^3)). 1
1, 1, 4, 5, 8, 11, 15, 18, 24, 28, 34, 40, 47, 53, 62, 69, 78, 87, 97, 106, 118, 128, 140, 152, 165, 177, 192, 205, 220, 235, 251, 266, 284, 300, 318, 336, 355, 373, 394, 413, 434, 455, 477, 498, 522, 544, 568, 592, 617, 641, 668 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Partial sums of A117572.

LINKS

Table of n, a(n) for n=0..50.

Index entries for linear recurrences with constant coefficients, signature (1, 1, 0, -1, -1, 1).

FORMULA

a(n) = a(n-1) + a(n-2) - a(n-4) - a(n-5) + a(n-6).

a(n) = sqrt(3)*cos(2*Pi*n/3+Pi/6)/9 - sin(2*Pi*n/3+Pi/6)/3 + 3*cos(Pi*n)/8 + (6n^2+20n+15)/24.

a(n) = floor((9*(-1)^n + 6*n^2 + 20*n + 23)/24). - Tani Akinari, Nov 09 2012

a(n) = 1 - n/4 + n^2/4 + 3/2*floor(n/2) + floor((n+1)/3). - Vaclav Kotesovec, Jun 15 2014

MATHEMATICA

CoefficientList[Series[(1+2x^2)/((1-x)(1-x^2)(1-x^3)), {x, 0, 50}], x] (* or *) LinearRecurrence[{1, 1, 0, -1, -1, 1}, {1, 1, 4, 5, 8, 11}, 60] (* Harvey P. Dale, Jun 06 2013 *)

CROSSREFS

Sequence in context: A285566 A293790 A190778 * A256535 A249669 A144062

Adjacent sequences:  A117570 A117571 A117572 * A117574 A117575 A117576

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Mar 29 2006

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:15 EDT 2019. Contains 322380 sequences. (Running on oeis4.)