Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A159058
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A159058 A102370(n) modulo 8 . +0
1
0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0, 3, 6, 5, 4, 7, 2, 1, 0 (list; graph; listen)
OFFSET

0,2

COMMENT

Simple periodic sequence .

FORMULA

a(n)=a(n+8) , a(0)=0, a(1)=3, a(2)=6, a(3)=5, a(4)=4, a(5)=7, a(6)=2, a(7)=1 .

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

CROSSREFS

Cf. A102370

Sequence in context: A159066 A159057 A159067 this_sequence A102370 A106109 A123688

Adjacent sequences: A159055 A159056 A159057 this_sequence A159059 A159060 A159061

KEYWORD

nonn

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Apr 04 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 December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research