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!)
A023258 Primes that remain prime through 2 iterations of function f(x) = 6x + 7. 2
5, 17, 29, 37, 89, 127, 199, 229, 269, 347, 359, 379, 397, 499, 769, 809, 929, 947, 977, 1049, 1087, 1129, 1277, 1279, 1367, 1409, 1439, 1489, 1499, 1607, 1609, 1787, 2017, 2039, 2089, 2399, 2539, 2707, 2819, 2837, 2957, 3089, 3109, 3217, 3229, 3389, 3499 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes p such that 6*p+7 and 36*p+49 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
FORMULA
a(n) = 7 or 9 (mod 10) for n > 1. - John Cerkan, Sep 14 2016
MATHEMATICA
nrpQ[n_]:=AllTrue[Rest[NestList[6#+7&, n, 2]], PrimeQ]; Select[Prime[ Range[ 500]], nrpQ] (* Harvey P. Dale, Oct 12 2020 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(6*n+7) and IsPrime(36*n+49)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
Subsequence of A023222, A153218. - John Cerkan, Sep 14 2016
Sequence in context: A068829 A090403 A096705 * A030554 A017581 A068230
KEYWORD
nonn
AUTHOR
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 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)