Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112300
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112300 Expansion of x(1-x)^2(1-x^2)/(1-x^6) in powers of x. +0
1
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 (list; graph; listen)
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.

PROGRAM

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

CROSSREFS

Sequence in context: A069848 A118682 A083054 this_sequence A049239 A036580 A101674

Adjacent sequences: A112297 A112298 A112299 this_sequence A112301 A112302 A112303

KEYWORD

sign,mult

AUTHOR

Michael Somos, Sep 02 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research