OFFSET
0,3
COMMENTS
a(n) is the sixth row of the array in A141803. - Andrey Zabolotskiy, May 18 2016
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Robert Walker, Self Similar Sloth Canon Number Sequences
FORMULA
MATHEMATICA
Table[Mod[Plus @@ IntegerDigits[n, 7], 7], {n, 0, 50}] (* G. C. Greubel, Nov 02 2017 *)
PROG
(PARI) a(n) = vecsum(digits(n, 7)) % 7; \\ Michel Marcus, May 18 2016
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Mar 28 2000
STATUS
approved