OFFSET
1,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
From Michael De Vlieger, Oct 17 2018: (Start)
10 is in the sequence because 10 in base 9 is "11"; these digits are nondecreasing.
12 is not in the sequence because its base-9 digits "13" increase. (End)
MATHEMATICA
Select[Range[0, 2000], Max[Differences[IntegerDigits[#, 9]]]<=0&] (* Vincenzo Librandi, Dec 26 2012 *)
Select[Range[0, 261], GreaterEqual@@IntegerDigits[#, 9]&] (* Ray Chandler, Jan 06 2014 *)
Select[Range@ 200, AllTrue[Differences@ IntegerDigits[#, 9], # <= 0 &] &] (* Michael De Vlieger, Oct 17 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved