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-2 of 2 results.

A113487 Numbers k such that 17*k + 2 is prime.

Original entry on oeis.org

0, 1, 3, 13, 15, 21, 27, 33, 37, 43, 55, 57, 61, 75, 85, 87, 91, 93, 103, 105, 111, 127, 135, 141, 145, 157, 171, 177, 181, 187, 213, 217, 223, 231, 241, 243, 247, 255, 265, 273, 283, 297, 301, 303, 313, 325, 345, 355, 363, 373, 385, 387, 415, 421, 423, 441, 451
Offset: 1

Views

Author

Parthasarathy Nambi, Jan 09 2006

Keywords

Examples

			If n=187 then 17*n + 2 = 3181 (prime).
		

Crossrefs

Cf. A113115.

Programs

Extensions

More terms from Stefan Steinerberger, Mar 18 2006
More terms from Franklin T. Adams-Watters, Aug 29 2006

A113169 Primes p such that 13*p + 2 is also prime.

Original entry on oeis.org

3, 5, 17, 29, 47, 53, 59, 113, 137, 173, 227, 239, 257, 269, 347, 353, 389, 419, 449, 467, 479, 509, 557, 563, 599, 677, 719, 743, 827, 839, 953, 977, 983, 1013, 1019, 1103, 1109, 1163, 1193, 1217, 1223, 1259, 1277, 1289, 1307, 1373, 1427, 1487
Offset: 1

Views

Author

Parthasarathy Nambi, Jan 06 2006

Keywords

Comments

Except for 3, all terms == 5 (mod 6). - Robert Israel, Sep 06 2018

Examples

			If p=173 then 13*p + 2 = 2251 (prime).
		

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(3000)|  IsPrime(13*p+2)] // Vincenzo Librandi, Jan 29 2011
    
  • Maple
    select(t -> isprime(t) and isprime(13*t+2), [3,seq(i,i=5..10000,6)]); # Robert Israel, Sep 06 2018
  • PARI
    forprime(p=3, 1e4, if(isprime(13*p+2), print1(p, ", "))); \\ Altug Alkan, Sep 07 2018
Showing 1-2 of 2 results.