login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023244 Primes that remain prime through 2 iterations of the function f(x) = 2x + 7. 4
2, 5, 17, 23, 53, 83, 137, 197, 227, 257, 293, 317, 347, 383, 467, 593, 647, 677, 683, 797, 857, 953, 1163, 1193, 1217, 1607, 1877, 1907, 1913, 1997, 2063, 2207, 2237, 2843, 2903, 3023, 3257, 3323, 3557, 3947, 4133, 4253, 4517, 4583, 4643, 4967, 5087, 5387 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes p such that 2*p+7 and 4*p+21 are also primes. - Vincenzo Librandi, Aug 04 2010

LINKS

John Cerkan, Table of n, a(n) for n = 1..10000

FORMULA

a(n) == 5 (mod 6), for n > 1. - John Cerkan, Sep 12 2016

MATHEMATICA

Select[Prime@ Range[10^3], Times @@ Boole@ PrimeQ@ NestList[2 # + 7 &, #, 2] > 0 &] (* Michael De Vlieger, Sep 12 2016 *)

PROG

(MAGMA) [n: n in [0..100000] | IsPrime(n) and IsPrime(2*n+7) and IsPrime(4*n+21)] // Vincenzo Librandi, Aug 04 2010

CROSSREFS

Subsequence of A023206 and A105760.

Sequence in context: A176247 A158721 A118501 * A188535 A176582 A023867

Adjacent sequences:  A023241 A023242 A023243 * A023245 A023246 A023247

KEYWORD

nonn

AUTHOR

David W. Wilson

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 18 20:45 EDT 2021. Contains 345121 sequences. (Running on oeis4.)