|
|
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
|
|
|
FORMULA
|
a(n)=mod(a(n-1)+a(n-2)+a(n-3), 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
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|