OFFSET
1,1
LINKS
C. K. Caldwell, Prime Curios
EXAMPLE
2161 and 211 (delete a digit from 2161) are both primes with period 30, so 2161 is in the sequence.
MATHEMATICA
pL[n_] := MultiplicativeOrder[10, n]; hQ[n_] := Block[{s, d = IntegerDigits@n, pe}, s = Union@ Select[FromDigits /@ (Delete[d, #] & /@ Range@ Length@d), PrimeQ]; If[s != {}, pe = pL@n; s = Select[s, pe == pL@# &]]; s != {}]; Select[
Prime@ Range[10^5], hQ] (* Giovanni Resta, Jan 06 2014 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
G. L. Honaker and Jud McCranie, Feb 03 2006
EXTENSIONS
a(5)-a(30) from Giovanni Resta, Jan 06 2014
STATUS
approved