OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
nextp:= proc(L) local m, i, j, r, rj;
for m from 2 while L[m-1] <= L[m] do od:
r:= 10:
for j from 1 to m-1 do
if L[j] > L[m] and L[j] < r then
r:= L[j]; rj:= j;
fi
od;
[ op(sort([seq(L[i], i={$1..m} minus {rj})], `>`)), r, seq(L[i], i=m+1..nops(L))]
end proc:
A[1]:= 10012233445566778899:
L:= convert(A[1], base, 10):
for n from 2 to 100 do
L:= nextp(L);
A[n]:= add(L[i]*10^(i-1), i=1..nops(L));
od:
seq(A[i], i=1..100); # Robert Israel, Feb 25 2019
PROG
(PARI) is_A215876(N)={my(c=vector(10)); for(k=1, #N=Vecsmall(Str(N)), c[N[k]-47]++); vecmin(c)>1}
CROSSREFS
KEYWORD
AUTHOR
M. F. Hasler, Aug 25 2012
STATUS
approved