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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070635 n mod (sum of digits of n). 9
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 4, 3, 2, 1, 0, 9, 0, 0, 2, 3, 0, 4, 2, 0, 8, 7, 0, 3, 2, 3, 6, 3, 0, 7, 5, 3, 0, 1, 0, 1, 4, 0, 6, 3, 0, 10, 0, 3, 3, 5, 0, 5, 1, 9, 6, 3, 0, 5, 6, 0, 4, 10, 6, 2, 12, 9, 0, 7, 0, 3, 8, 3, 11, 7, 3, 15, 0, 0, 2, 6, 0, 7, 2, 12, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,14

COMMENTS

a(A005349(n)) = 0. - Reinhard Zumkeller, Mar 10 2008

A188641(n) = A000007(a(n)); a(a065877(n)) > 0. [Reinhard Zumkeller, Apr 07 2011]

a(A138791(n)) = n and a(m) <> n for m < A138791(n). [Reinhard Zumkeller, Nov 07 2011]

LINKS

_Reinhard Zumkeller_, Table of n, a(n) for n = 1..10000

MAPLE

P:=proc(n) local i, k, w; for i from 1 by 1 to n do w:=0; k:=i; while k>0 do w:=w+k-trunc(k/10)*10; k:=trunc(k/10); od; print(i mod w); od; end: P(1000); # Paolo P. Lava, Feb 06 2007

MATHEMATICA

Table[Mod[n, Total[IntegerDigits[n]]], {n, 100}] (* Harvey P. Dale, Mar 11 2013 *)

PROG

(Haskell)

a070635 n = n `mod` (a007953 n)

-- Reinhard Zumkeller, Apr 07 2011

CROSSREFS

Cf. A007953.

Cf. A199238.

Sequence in context: A182425 A071692 A030586 * A110366 A090284 A093580

Adjacent sequences:  A070632 A070633 A070634 * A070636 A070637 A070638

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, May 13 2002

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 19 21:56 EDT 2013. Contains 225436 sequences.