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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122879 Periodic sequence of period 21. 1
0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2 (list; graph; refs; listen; history; internal format)
OFFSET

1,8

COMMENTS

See related comments in A122878.

FORMULA

a(n+21) = a(n).

a(n)=(1/210)*{21*(n mod 21)+[(n+1) mod 21]+[(n+2) mod 21]-9*[(n+3) mod 21]+[(n+4) mod 21]+[(n+5) mod 21]+[(n+6) mod 21]-9*[(n+7) mod 21]+[(n+8) mod 21]+[(n+9) mod 21)+21*[(n+10) mod 21]+[(n+11) mod 21]+[(n+12) mod 21]+[(n+13) mod 21]-9*[(n+14) mod 21]+[(n+15) mod 21]+[(n+16) mod 21]-9*[(n+17) mod 21]+[(n+18) mod 21]+[(n+19) mod 21]+[(n+20) mod 21]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Oct 23 2008]

CROSSREFS

Cf. A122878.

Sequence in context: A128207 A180958 A037867 * A037866 A205777 A053398

Adjacent sequences:  A122876 A122877 A122878 * A122880 A122881 A122882

KEYWORD

nonn

AUTHOR

Rick L. Shepherd (rshepherd2(AT)hotmail.com), Sep 16 2006

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 13 22:36 EST 2012. Contains 205567 sequences.