|
|
A023765
|
|
Nialpdromes: digits in base 9 are in nonincreasing order.
|
|
2
|
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 18, 19, 20, 27, 28, 29, 30, 36, 37, 38, 39, 40, 45, 46, 47, 48, 49, 50, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 90, 91, 162, 171, 172, 180, 181, 182, 243, 252, 253, 261
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
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
|
|
|
|