login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216299 Numbers k such that 10k+1 is composite but 10k+3, 10k+7, 10k+9 are all prime. 1
22, 61, 85, 142, 166, 169, 178, 199, 268, 316, 415, 451, 478, 541, 682, 775, 787, 862, 1045, 1111, 1237, 1387, 1618, 1720, 1738, 2014, 2035, 2074, 2131, 2215, 2305, 2362, 2410, 2710, 2773, 2938, 3013, 3055, 3271, 3334, 3361, 3412, 3652, 4012, 4042, 4069 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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 + 3, 10*n + 7, 10*n + 9}, AppendTo[t, n]], {n, 0, 4978}]; t (* T. D. Noe, Sep 03 2012 *)
Select[Range[4100], CompositeQ[10#+1]&&AllTrue[10#+{3, 7, 9}, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 14 2019 *)
PROG
(Magma) [k:k in [1..4100]| not IsPrime(10*k+1) and forall{m:m in [3, 7, 9]| IsPrime(10*k+m)}]; // Marius A. Burtea, Feb 02 2020
CROSSREFS
Sequence in context: A044124 A044505 A156797 * A255431 A221595 A051874
KEYWORD
nonn
AUTHOR
V. Raman, Sep 03 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)