OFFSET
1,2
COMMENTS
FORMULA
a(n)=pi(A030284(n))
MATHEMATICA
d=2; e=3; b={2, 3}; id[t_]:=IntegerDigits[t]; Do[p=Prime[n]; If[Intersection[Union[id[d], id[e]], id[p]]=={}, b=Append[b, n]; d=e; e=p], {n, 100000}]; b
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 24 2005
STATUS
approved