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!)
A143277 G.f.: Product_{k>0} (1 - x^(3*k))^2 / (1 - x^(3*k - 2)). 0
1, 1, 1, -1, 0, 0, -1, -2, -1, 1, -1, -2, 0, 0, -1, 0, 2, 1, -2, 0, 1, 1, 1, 2, 0, 1, 1, -1, -1, 2, 3, -1, 0, 2, -1, -1, 1, 1, -3, 0, 0, -1, 1, 2, 0, -3, -1, -2, -2, 1, 0, -1, 0, 0, -2, 0, 2, -2, -1, 0, -2, -2, 1, 1, -1, 2, 0, -2, 1, 2, -1, 0, 3, -2, -1, 2, -1, -3, 3, 2, -1, 3, 5, -1, -2, 1, 0, 0, 1, -1, 0, 2, 0, 0, 3, 1, -2, 0, 0, 0, 4, 2, -3, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,8
LINKS
FORMULA
Euler transform of period 3 sequence [ 1, 0, -2, ...].
EXAMPLE
1 + q + q^2 - q^3 - q^6 - 2*q^7 - q^8 + q^9 - q^10 - 2*q^11 - q^14 + ...
PROG
(PARI) {a(n) = if( n<0, 0, polcoeff( prod(k=1, n, (1 - x^k)^([2, -1, 0][k%3 + 1]), 1 + x * O(x^n)), n))}
CROSSREFS
Sequence in context: A230453 A098876 A364891 * A292378 A320835 A276183
KEYWORD
sign
AUTHOR
Michael Somos, Aug 04 2008
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)