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!)
A111915 Expansion of -x^2*(x-1)*(x^2-x+1)*(x+x^2+1)/(1-x^4+x^8). 3
0, 0, 1, -1, 1, -1, 2, -2, 1, -1, 1, -1, 0, 0, -1, 1, -1, 1, -2, 2, -1, 1, -1, 1, 0, 0, 1, -1, 1, -1, 2, -2, 1, -1, 1, -1, 0, 0, -1, 1, -1, 1, -2, 2, -1, 1, -1, 1, 0, 0, 1, -1, 1, -1, 2, -2, 1, -1, 1, -1, 0, 0, -1, 1, -1, 1, -2, 2, -1, 1, -1, 1, 0, 0, 1, -1, 1, -1, 2, -2, 1, -1, 1, -1, 0, 0, -1, 1, -1, 1, -2, 2, -1, 1, -1, 1, 0, 0, 1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
It appears that a(n) has period 24.
This is true, as (1-x^4+x^8) is the cyclotomic polynomial for n=24. - Joerg Arndt, Feb 03 2017
LINKS
FORMULA
G.f.: -x^2*(x-1)*(x^2-x+1)*(x+x^2+1)/(1-x^4+x^8).
MATHEMATICA
CoefficientList[Series[-x^2*(x - 1)*(x^2 - x + 1)*(x + x^2 + 1)/(1 - x^4 + x^8), {x, 0, 100}], x] (* Wesley Ivan Hurt, Feb 03 2017 *)
PROG
(PARI) a(n)=[0, 0, 1, -1, 1, -1, 2, -2, 1, -1, 1, -1, 0, 0, -1, 1, -1, 1, -2, 2, -1, 1, -1, 1][n%24+1] \\ Charles R Greathouse IV, Feb 03 2017
CROSSREFS
Sequence in context: A343453 A051031 A181059 * A066520 A088526 A334091
KEYWORD
easy,less,sign
AUTHOR
Creighton Dement, Aug 20 2005
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)