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!)
A098395 a(n) is the next larger integer including the highest digit of a(n-1), a(1) = 1. 1
1, 10, 11, 12, 20, 21, 22, 23, 30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45, 50, 51, 52, 53, 54, 55, 56, 60, 61, 62, 63, 64, 65, 66, 67, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 109, 119, 129, 139, 149 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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
Cf. A011539.
Sequence in context: A154770 A320601 A305130 * A207968 A207671 A154328
KEYWORD
nonn,base,easy
AUTHOR
Eric Angelini, Oct 26 2004
EXTENSIONS
Name corrected by David A. Corneth, Jul 11 2020
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 May 3 20:47 EDT 2024. Contains 372225 sequences. (Running on oeis4.)