login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A068862
Numbers n such that A068861(n) = n.
0
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 31, 48, 51, 68, 71, 88, 91, 108, 307, 309, 511, 688, 711, 888, 911, 1088, 3110, 7111, 10879
OFFSET
1,2
MAPLE
V:= Vector(10^5):
V[1]:= 1: m:= 2:
count:= 1: A[1]:= 1:
L:= [1]:
for n from 2 to 12000 do
for i from m to 10^5 do
if V[i] = 0 then
LL:= convert(i, base, 10);
k:= min(nops(L), nops(LL));
if not has(LL[1..k] - L[1..k], 0) then
V[i]:= n;
if i = m then
for m from m+1 while V[m] <> 0 do od:
fi;
if i = n then
count:= count+1;
A[count]:= n;
fi;
L:= LL;
break
fi
fi
od;
if i = 10^5 + 1 then break fi
od:
seq(A[i], i=1..count); # Robert Israel, Mar 03 2016
CROSSREFS
Sequence in context: A297274 A048322 A048335 * A061729 A286126 A249157
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Mar 13 2002
EXTENSIONS
a(19)-a(30) from Robert Israel, Mar 03 2016
STATUS
approved