This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A070958 Numbers n such that the largest digit of n is the same as the largest digit of (sum of digits of n). 2
 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 199, 200, 288, 289, 298, 300, 377, 378, 379, 387, 397, 400, 466, 467, 468, 469, 476, 486, 496, 500, 555, 556, 557, 558, 559, 565, 575, 585, 595, 600, 646, 647, 648, 649, 655, 664, 674 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS Nathaniel Johnston, Table of n, a(n) for n = 1..10000 Eric Weisstein's World of Mathematics, Digit Sum EXAMPLE (Largest digit of 397) = (largest digit of 3+9+7 = 19) = 9, therefore 397 is a term. MAPLE A070958 := proc(n) option remember: local d, k: if(n=1)then return 0:fi: for k from procname(n-1)+1 do d:=convert(k, base, 10): if(max(op(d)) = max(op(convert(add(d[j], j=1..nops(d)), base, 10))))then return k: fi: od: end: seq(A070958(n), n=1..100); # Nathaniel Johnston, May 05 2011 CROSSREFS Cf. A107085. Sequence in context: A080459 A093475 A032571 * A051596 A071061 A037124 Adjacent sequences:  A070955 A070956 A070957 * A070959 A070960 A070961 KEYWORD nonn,easy,base AUTHOR Reinhard Zumkeller, May 16 2002; revised May 11 2005 EXTENSIONS Corrected by Alexandre Wajnberg, May 11 2005 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 August 25 04:05 EDT 2019. Contains 326318 sequences. (Running on oeis4.)