OFFSET
1,2
FORMULA
a(n) = A011539(n - 44) for n >= 53. - David A. Corneth, Jul 11 2020
EXAMPLE
a(10) = 31 which has the largest digit (in base 10) 3. So a(11) must contain a 3 and be larger than 31. The least positive integer with these properties is 32. So a(10 + 1) = a(11) = 1. - David A. Corneth, Jul 11 2020
MATHEMATICA
nli[n_]:=Module[{x=Max[IntegerDigits[n]], k=n+1}, While[FreeQ[ IntegerDigits[ k], x], k++]; k]; NestList[nli, 1, 70] (* Harvey P. Dale, Jul 11 2020 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Eric Angelini, Oct 26 2004
EXTENSIONS
Name corrected by David A. Corneth, Jul 11 2020
STATUS
approved