Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134668
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134668 Period 6: repeat 1, -1, 0, 0, -1, 1 . +0
1
1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0, 0, -1, 1, 1, -1, 0 (list; graph; listen)
OFFSET

0,1

FORMULA

First differences of A134667.

a(n)=(1/6)*{-2*[(n+1) mod 6]+[(n+2) mod 6]-[(n+4) mod 6]+2*[(n+5) mod 6]}, with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Jan 28 2008

Euler transform of length 6 sequence [ -1, 0, 0, -1, 0, 1]. - Michael Somos Feb 08 2008

a(-1-n) = a(n). - Michael Somos Feb 08 2008

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

EXAMPLE

1 - x - x^4 + x^5 + x^6 - x^7 - x^10 + x^11 + x^12 - x^13 - x^16 + ...

PROGRAM

(PARI) {a(n) = [1, -1, 0, 0, -1, 1][n%6+1]} /* Michael Somos Feb 08 2008 */

CROSSREFS

Sequence in context: A068434 A127015 A068432 this_sequence A092444 A039963 A058840

Adjacent sequences: A134665 A134666 A134667 this_sequence A134669 A134670 A134671

KEYWORD

sign,easy

AUTHOR

Paul Curtz (bpcrtz(AT)free;fr), Jan 26 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research