Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A151899
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A151899 Periodic with period 6: repeat [0,0,1,1,1,2]. +0
3
0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1 (list; graph; listen)
OFFSET

0,6

FORMULA

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

MAPLE

f := proc(n) local j; j:=n mod 6; if (j<=1) then 0 elif (j<=4) then 1 else 2; fi; end;

CROSSREFS

Cf. A151902, A151904-A151907.

Sequence in context: A037880 A140698 A124764 this_sequence A079632 A002654 A113652

Adjacent sequences: A151896 A151897 A151898 this_sequence A151900 A151901 A151902

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Jul 31 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:49 EST 2009. Contains 167811 sequences.


AT&T Labs Research