OFFSET
1,2
COMMENTS
This sequence lists the same terms as A108571, but ordered first by the largest digit in the number, then by size. This way, a truncation to the first 1, 5, 80, 14381,... terms is this very same sequence for bases b=2, 3, 4, 5, ...
EXAMPLE
In base 2, the only number with this property is a(1) = 1.
In base 3, this property is again satisfied by 1, but also by the 4 additional terms 22, 122, 212 and 221. They are listed "as such" (without conversion from base 3 to base 10) as a(2),...,a(5).
In base 4, there are 75 more terms (involving three digits "3"), listed as a(6),...,a(80).
PROG
(PARI) a=[]; for(d=1, 3, n=[10^d\9*d]; for(i=1, #a, t=vector(d+#s=digits(a[i]), j, 10^j)~\10; forvec(v=vector(d, j, [1, #t]), c=0; n=concat(n, vector(#t, j, if(setsearch(v, j), d, s[c++]))*t), 2)); a=concat(a, vecsort(n))); a \\ M. F. Hasler, Sep 25 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Sep 22 2014
STATUS
approved