login
This site is supported by donations to The OEIS Foundation.

 

Logo


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: A255827 A277545 A190596 * A010885 A234533 A053828

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 16:28 EST 2018. Contains 299356 sequences. (Running on oeis4.)