OFFSET
1,1
LINKS
V. Raman, Table of n, a(n) for n = 1..10000
FORMULA
a(n) >> n log^3 n. - Charles R Greathouse IV, Sep 07 2012
MATHEMATICA
t = {}; Do[ps = Select[Range[10*n, 10*n + 9], PrimeQ]; If[ps == {10*n + 1, 10*n + 3, 10*n + 9}, AppendTo[t, n]], {n, 0, 4999}]; t (* T. D. Noe, Sep 03 2012 *)
cprQ[n_]:=Module[{c=10n}, !PrimeQ[c+7]&&And@@PrimeQ[c+{1, 3, 9}]]; Select[ Range[ 4000], cprQ] (* Harvey P. Dale, May 28 2014 *)
Select[Range[4000], Boole[PrimeQ[10 #+{1, 3, 7, 9}]]=={1, 1, 0, 1}&] (* Harvey P. Dale, Dec 09 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
V. Raman, Sep 03 2012
STATUS
approved