OFFSET
1,2
EXAMPLE
Reading 0, 1, 1, 4, 7, 19, 40, 97, 217, 508, 1159, 2683, 6160, 14209, ... modulo n=7 gives 0, 1, 1, 4, 0, 5, 5, 6, 0, 4, 4, 2, 0, 6, 6, 3, 0, 2, 2, 1, 0, 3, 3, 5, 0, 1, 1, 4, 0, 5, 5, 6, 0, 4, 4, 2, 0, 6, 6, 3, 0, ... with period a(n=7)=24.
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Mar 24 2010
EXTENSIONS
a(9) corrected by R. J. Mathar, Apr 18 2010
STATUS
approved