login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112299 Expansion of x * (1 - x) * (1 - x^2) * (1 - x^3) / (1 - x^8) in powers of x. 0
1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1, -1, -1, 0, 1, 1, -1, 0, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Periodic with period length 8.

Sum_{k>=1} a(k)/k = Pi/8 [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Oct 20 2009]

LINKS

M. Somos, Rational Function Multiplicative Coefficients

Index to sequences with linear recurrences with constant coefficients, signature (0,-1,0,-1,0,-1).

FORMULA

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

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

G.f.: x * (1 + x + x^2) * (1 - x)^2 /( (1 + x^2) * (1 + x^4)). a(n) = -a(4 - n) = a(n + 8). a(4*n) = 0.

EXAMPLE

x - x^2 - x^3 + x^5 + x^6 - x^7 + x^9 - x^10 - x^11 + x^13 + x^14 - x^15 + ...

PROG

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

CROSSREFS

Sequence in context: A132350 A076213 A120525 * A014677 A175087 A127872

Adjacent sequences:  A112296 A112297 A112298 * A112300 A112301 A112302

KEYWORD

sign,mult

AUTHOR

Michael Somos, Sep 02 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.