(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences® (OEIS®)
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!)

Revision History for A112300

(Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A112300 Expansion of x * (1 - x)^2 * (1 - x^2) / (1 - x^6) in powers of x.
(history; published version)
#9 by Harvey P. Dale at Tue Jul 09 13:53:18 EDT 2019
STATUS

editing

approved

#8 by Harvey P. Dale at Tue Jul 09 13:53:15 EDT 2019
MATHEMATICA

PadRight[{}, 120, {1, -2, 0, 2, -1, 0}] (* Harvey P. Dale, Jul 09 2019 *)

STATUS

approved

editing

#7 by Michael Somos at Mon May 04 16:08:56 EDT 2015
STATUS

editing

approved

#6 by Michael Somos at Mon May 04 16:08:37 EDT 2015
NAME

Expansion of x( * (1- - x)^2( * (1- - x^2)/() / (1- - x^6) in powers of x.

FORMULA

Multiplicative with a(2^e) = 2(-*(-1)^e if e>0, a(3^e) = 0 if e>0, a(p^e) = 1 if p == 1 (mod 6), a(p^e) = (-1)^e if p == 5 (mod 6).

G.f.: x( * (1- - x)^2( / ((1- - x + x^2)/() * (1- + x + x^6). a(n)=-a(3-n)=a(n+6). a(3n)=0.2)). - _Michael Somos_, May 04 2015

G.f.: -(f(x) + 3*f(-x)) / 2 where f(x) := x / (1 - x + x^2). - Michael Somos, May 04 2015

a(n) = -a(3 - n) = a(n+6), a(3*n) = 0 for all n in Z.

EXAMPLE

G.f. = x - 2*x^2 + 2*x^4 - x^5 + x^7 - 2*x^8 + 2*x^10 - x^11 + x^13 - 2*x^14 + ...

MATHEMATICA

a[ n_] := {0, 1, -2, 0, 2, -1} [[ Mod[n, 6] + 1]]; (* Michael Somos, May 04 2015 *)

PROG

(PARI) ) {a(n)=[) = [0, , 1, -, -2, , 0, , 2, -, -1][n%6+ + 1]]};

STATUS

approved

editing

Discussion
Mon May 04 16:08
Michael Somos: Added more info. Light and space edits.
#5 by Charles R Greathouse IV at Wed Apr 30 01:37:35 EDT 2014
AUTHOR

_Michael Somos, _, Sep 02 2005

Discussion
Wed Apr 30 01:37
OEIS Server: https://oeis.org/edit/global/2183
#4 by Charles R Greathouse IV at Wed Sep 26 04:13:50 EDT 2012
STATUS

editing

approved

#3 by Charles R Greathouse IV at Wed Sep 26 04:13:47 EDT 2012
KEYWORD

sign,easy,mult

STATUS

approved

editing

#2 by N. J. A. Sloane at Fri Feb 24 03:00:00 EST 2006
FORMULA

Euler transform of length 6 sequence [ -2,-, -1,, 0,, 0,, 0,, 1].

KEYWORD

sign,mult,new

#1 by N. J. A. Sloane at Wed Sep 21 03:00:00 EDT 2005
NAME

Expansion of x(1-x)^2(1-x^2)/(1-x^6) in powers of x.

DATA

1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0, 2, -1, 0, 1, -2, 0

OFFSET

1,2

FORMULA

Euler transform of length 6 sequence [ -2,-1,0,0,0,1].

Multiplicative with a(2^e) = 2(-1)^e if e>0, a(3^e) = 0 if e>0, a(p^e) = 1 if p == 1 (mod 6), a(p^e) = (-1)^e if p == 5 (mod 6).

G.f.: x(1-x)^2(1-x^2)/(1-x^6). a(n)=-a(3-n)=a(n+6). a(3n)=0.

PROG

(PARI) a(n)=[0, 1, -2, 0, 2, -1][n%6+1]

KEYWORD

sign,mult

AUTHOR

Michael Somos, Sep 02 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 August 26 16:22 EDT 2024. Contains 375459 sequences. (Running on oeis4.)