Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A158459
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A158459 A simple periodic sequence . +0
2
0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0 (list; graph; listen)
OFFSET

0,2

COMMENT

A102370(n) modulo 4 .

a(n)=1.5-0.5*(-1)^n+sin(n*Pi/2)-cos(n*Pi/2) [From Richard Choulet (richardchoulet(AT)yahoo.fr), Apr 07 2009]

FORMULA

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

a(n)=(1/2)*{(n mod 4)+[(n+1) mod 4]+[(n+2) mod 4]-[(n+3) mod 4]}, with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Mar 30 2009]

CROSSREFS

Sequence in context: A023445 A068494 A083721 this_sequence A031251 A128317 A084269

Adjacent sequences: A158456 A158457 A158458 this_sequence A158460 A158461 A158462

KEYWORD

nonn

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Mar 19 2009

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research