OFFSET
1,2
COMMENTS
Based on a prime digits function modulo 10, reduced here to modulo 3.
Appears to be 12-periodic for n>3.
FORMULA
ar={1, 2, 3} a(n)=b(m, i) = 1 + Mod[ar[[i]]*(1 + Mod[m, 3]), 3]
MATHEMATICA
ar = {1, 2, 3} f[n_] := 1 + Mod[ar*(1 + Mod[n, 3]), 3] br = NestList[f, ar, Floor[200/3]] a = Flatten[br]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Apr 12 2005
STATUS
approved