cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A113115 Primes p such that 17*p + 2 is also prime.

Original entry on oeis.org

3, 13, 37, 43, 61, 103, 127, 157, 181, 223, 241, 283, 313, 373, 421, 463, 523, 541, 577, 607, 631, 661, 673, 787, 811, 853, 883, 1021, 1087, 1093, 1153, 1231, 1237, 1297, 1303, 1531, 1567, 1741, 1753, 1777, 1783, 1867, 2113, 2131, 2143, 2161
Offset: 1

Views

Author

Parthasarathy Nambi, Jan 03 2006

Keywords

Comments

Intersection of A000040 and A113487. - Iain Fox, Feb 27 2018

Examples

			If p=223 then 17*p + 2 = 3793 (prime).
		

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(3000)|  IsPrime(17*p+2)] // Vincenzo Librandi, Jan 29 2011
    
  • Mathematica
    Select[Prime[Range[400]],PrimeQ[17#+2]&] (* Harvey P. Dale, Jul 17 2021 *)
  • PARI
    lista(nn) = forprime(p=3, nn, if(isprime(17*p + 2), print1(p, ", "))) \\ Iain Fox, Feb 27 2018
Showing 1-1 of 1 results.