A057169 Least integer with the same nonzero decimal digits as n and one more 0 digit.
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
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Programs
-
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
Extensions
Definition corrected by Robert Israel, May 06 2018