OFFSET
1,1
COMMENTS
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 1..1500
Chris Caldwell, The Prime Glossary, Weakly prime
G. L. Honaker, Jr. and Chris Caldwell, Prime Curios! 212159
G. L. Honaker, Jr. and Chris Caldwell, Prime Curios! 17171...58369 (1000-digits)
Terence Tao, A remark on primality testing and decimal expansions, Journal of the Australian Mathematical Society 91:3 (2011), pp. 405-413.
MATHEMATICA
primeProof[n_] := Module[{d, e, isPP, num}, d=IntegerDigits[n]; isPP=True; Do[e=d; e[[i]]=j; num=FromDigits[e]; If[num != n && PrimeQ[num], isPP=False; Break[]], {i, Length[d]}, {j, 0, 9}]; isPP]; Select[Range[1, 1000000, 2], Mod[#, 5] > 0 && primeProof[#] &] (* T. D. Noe, Feb 26 2011 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Arkadiusz Wesolowski, Feb 25 2011
STATUS
approved