login
The OEIS is supported by the many generous donors 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. - Andrey Zabolotskiy, May 18 2016
LINKS
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)