OFFSET
1,1
COMMENTS
Primes of the form 10n+1 such that 10n+3, 10n+7, and 10n+9 are composite. - Charles R Greathouse IV, Sep 06 2012
LINKS
V. Raman, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ 4n log n. - Charles R Greathouse IV, Sep 06 2012
MATHEMATICA
t = {}; Do[ps = Select[Range[10*n, 10*n + 9], PrimeQ]; If[ps == {10*n + 1}, AppendTo[t, ps[[1]]]], {n, 0, 588}]; t (* T. D. Noe, Sep 04 2012 *)
Select[10*Range[500]+1, PrimeQ[#]&&AllTrue[#+{2, 6, 8}, CompositeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 01 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
V. Raman, Sep 03 2012
STATUS
approved