login
A057169
Least integer with the same nonzero decimal digits as n and one more 0 digit.
2
10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 200, 102, 202, 203, 204, 205, 206, 207, 208, 209, 300, 103, 203, 303, 304, 305, 306, 307, 308, 309, 400, 104, 204, 304, 404, 405, 406, 407, 408, 409, 500, 105
OFFSET
1,1
LINKS
MAPLE
f:= proc(n) local L, m, p;
L:= convert(n, base, 10);
m:= nops(L);
L:= sort(subs(0=NULL, L));
p:= nops(L);
10^m*L[1]+add(L[j]*10^(p-j), j=2..p)
end proc:
map(f, [$1..100]); # Robert Israel, May 06 2018
CROSSREFS
Decimal analog of A057168. Cf. A004185.
Sequence in context: A209932 A011540 A098394 * A330562 A328783 A342855
KEYWORD
nonn,easy,base,look
AUTHOR
N. J. A. Sloane, Sep 15 2000
EXTENSIONS
Definition corrected by Robert Israel, May 06 2018
STATUS
approved