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
KEYWORD
nonn,easy,base
AUTHOR
Reinhard Zumkeller, May 16 2002; revised May 11 2005
EXTENSIONS
Corrected by Alexandre Wajnberg, May 11 2005
STATUS
approved