The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A053842 (Sum of digits of n written in base 7) modulo 7. 1
 0, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 0, 2, 3, 4, 5, 6, 0, 1, 3, 4, 5, 6, 0, 1, 2, 4, 5, 6, 0, 1, 2, 3, 5, 6, 0, 1, 2, 3, 4, 6, 0, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 0, 2, 3, 4, 5, 6, 0, 1, 3, 4, 5, 6, 0, 1, 2, 4, 5, 6, 0, 1, 2, 3, 5, 6, 0, 1, 2, 3, 4, 6, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, 0, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS a(n) is the sixth row of the array in A141803, so a(n) = A141803(A052905(n+2)) for n > 0. - 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 a(n) = A010876(A053828(n)). - Andrey Zabolotskiy, May 18 2016 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 Cf. A010060. Sequence in context: A277545 A190596 A338880 * A010885 A338480 A234533 Adjacent sequences:  A053839 A053840 A053841 * A053843 A053844 A053845 KEYWORD base,nonn AUTHOR Henry Bottomley, Mar 28 2000 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 20 00:58 EDT 2021. Contains 347577 sequences. (Running on oeis4.)