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!)
A166593 Partial sums of A166592. 0
0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0, 1, 4, 6, 9, 10, 10, 9, 6, 4, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: x(1+3x+x^2)/((1-x)(1-x^2+x^4)) = x(1+3x+x^2)/(1-x-x^2+x^3+x^4-x^5).
a(n) = a(n-1) + a(n-2) - a(n-3) - a(n-4) + a(n-5).
a(n) = (sqrt(8) - sqrt(6))*cos(5*Pi*n/6 + 5*Pi/12)-(sqrt(8) + sqrt(6))*cos(Pi*n/6 + Pi/12) + 5.
a(n + 12) = a(n). - G. C. Greubel, May 18 2016
MATHEMATICA
LinearRecurrence[{1, 1, -1, -1, 1}, {0, 1, 4, 6, 9}, 25] (* G. C. Greubel, May 18 2016 *)
CROSSREFS
Sequence in context: A163297 A051679 A010378 * A196269 A124785 A010404
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 17 2009
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 27 18:01 EDT 2024. Contains 372020 sequences. (Running on oeis4.)