

A107409


Each term is sum of three previous terms mod 10.


0



0, 1, 2, 3, 6, 1, 0, 7, 8, 5, 0, 3, 8, 1, 2, 1, 4, 7, 2, 3, 2, 7, 2, 1, 0, 3, 4, 7, 4, 5, 6, 5, 6, 7, 8, 1, 6, 5, 2, 3, 0, 5, 8, 3, 6, 7, 6, 9, 2, 7, 8, 7, 2, 7, 6, 5, 8, 9, 2, 9, 0, 1, 0, 1, 2, 3, 6, 1, 0, 7, 8, 5, 0, 3, 8, 1, 2, 1, 4, 7, 2, 3, 2, 7, 2, 1, 0, 3, 4, 7, 4, 5, 6, 5, 6, 7, 8, 1, 6, 5, 2, 3, 0, 5, 8
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


COMMENTS

The sequence has period: {0,1,2,3,6,1,0,7,8,5,0,3,8,1,2,1,4,7,2,3,2,7,2,1,0,3,4,7,4,5,6,5,6,7,8,1,6,5,2,3,0,5,8,3,6,7,6,9,2,7,8,7,2,7,6,5,8,9,2,9,0,1} of length = 62.


LINKS

Table of n, a(n) for n=0..104.


FORMULA

a(n)=mod(a(n1)+a(n2)+a(n3), 10); a(1)=0, a(2)=1;a(3)=2.


MATHEMATICA

s={a=0, b=1, c=2}; Do[d=Mod[a+b+c, 10]; s=Append[s, d]; a=b; b=c; c=d, {m, 200}]; s


CROSSREFS

Sequence in context: A232930 A217100 A241293 * A268603 A226871 A178483
Adjacent sequences: A107406 A107407 A107408 * A107410 A107411 A107412


KEYWORD

nonn


AUTHOR

Zak Seidov, May 25 2005


STATUS

approved



