login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=0..104.

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: A016541 A230453 A098876 * A292378 A320835 A276183

Adjacent sequences:  A143274 A143275 A143276 * A143278 A143279 A143280

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 21 23:41 EST 2020. Contains 332113 sequences. (Running on oeis4.)