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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A162285 Periodic length 8 sequence [1, -1, -1, 1, -1, 1, 1, -1, ...]. 0
1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

FORMULA

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

a(3 - n) = a(n). a(n + 4) = - a(n).

G.f.: (1 - x) * (1 - x^2) / (1 + x^4).

EXAMPLE

1 - x - x^2 + x^3 - x^4 + x^5 + x^6 - x^7 + x^8 - x^9 - x^10 + x^11 + ...

PROG

(PARI) {a(n) = (-1)^(n + (n + 2) \ 4)}

CROSSREFS

A143431(n+2) = a(n).

Sequence in context: A122188 A000012 A158388 * A071935 A096809 A131561

Adjacent sequences:  A162282 A162283 A162284 * A162286 A162287 A162288

KEYWORD

sign

AUTHOR

Michael Somos, Jun 29 2009

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 15 10:06 EST 2012. Contains 205763 sequences.