OFFSET
1,1
COMMENTS
A proper subset of A306084.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
101 is a member of the sequence because it has an even digit, 0, and with its removal, the resulting number 11 is a prime.
MAPLE
filter:= proc(n) local L, Lp;
if not isprime(n) then return false fi;
L:= convert(n, base, 10);
Lp:= subs([0=NULL, 2=NULL, 4=NULL, 6=NULL, 8=NULL], L);
if L = Lp then return false fi;
isprime(add(Lp[i]*10^(i-1), i=1..nops(Lp)))
end proc:
select(filter, [seq(n, n=11..1000, 2)]); # Robert Israel, Jul 04 2018
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@ n}, Select[id, EvenQ] != {} && PrimeQ[ FromDigits[ Select[id, OddQ]] ]]; Select[Prime@ Range@ 160, fQ]
PROG
(PARI) isok(p) = isprime(p) && (d=digits(p)) && #select(x->!(x%2), d) && isprime(fromdigits(select(x->(x % 2), d))); \\ Michel Marcus, Jun 22 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov and Robert G. Wilson v, Jun 20 2018
STATUS
approved