A256825 Numbers with digits in strictly decreasing order containing digit 1.
1, 10, 21, 31, 41, 51, 61, 71, 81, 91, 210, 310, 321, 410, 421, 431, 510, 521, 531, 541, 610, 621, 631, 641, 651, 710, 721, 731, 741, 751, 761, 810, 821, 831, 841, 851, 861, 871, 910, 921, 931, 941, 951, 961, 971, 981, 3210, 4210, 4310, 4321, 5210, 5310, 5321
Offset: 1
Examples
21 is in sequence because there are numbers m such that A256824(m) = 21 (for m = 2, 22, 121, 211, 2111, ...).
Links
- Jaroslav Krizek, Table of n, a(n) for n = 1..512 (complete list)
Programs
-
Excel
[Row n = 1 … 1023; Column A: A(n) = A009995(n); Column B: B(n) = =IF(FIND("1";A(n);1)>0;A(n)); Arrangement of column B]
-
PARI
lista(nn) = for (n=1, nn, if ((d = digits(n)) && ((sd=vecsort(d,,8))==Vecrev(d)) && vecsearch(sd, 1), print1(n, ", "))); \\ Michel Marcus, Apr 11 2015
Comments