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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132419 Period 6: repeat 1, 1, -2, -1, -1, 2. 1
1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1, 2, 1, 1, -2, -1, -1 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

A061347, 1, 1, -2, followed by its opposite.

LINKS

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

FORMULA

a(n)=(1/6)*{(n mod 6)-[(n+1) mod 6]-[(n+3) mod 6]+[(n+4) mod 6]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Nov 19 2007

PROG

(PARI) a(n)=[1, 1, -2, -1, -1, 2][n%6+1] \\ Charles R Greathouse IV, Jun 02 2011

CROSSREFS

Sequence in context: A122876 A100063 A057079 * A131556 A107751 A132367

Adjacent sequences:  A132416 A132417 A132418 * A132420 A132421 A132422

KEYWORD

sign,easy,less

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Nov 13 2007

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 09:15 EST 2012. Contains 205753 sequences.