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.

A165810 Primes p such that 18*p+1 is also a prime.

Original entry on oeis.org

2, 7, 11, 17, 29, 41, 59, 71, 79, 97, 127, 137, 139, 149, 151, 181, 197, 199, 241, 251, 277, 281, 307, 337, 347, 367, 379, 401, 431, 479, 491, 541, 569, 587, 659, 701, 709, 757, 797, 809, 821, 827, 829, 857, 877, 881, 947, 991, 1021, 1051, 1109, 1117, 1129, 1151, 1229
Offset: 1

Views

Author

Vincenzo Librandi, Sep 28 2009

Keywords

Examples

			For p=2, 18*p+1=37. For p=7, 18*p+1=127. For p=11, 18*p+1=199.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[1000]],PrimeQ[18#+1]&]  (* Harvey P. Dale, Mar 06 2011 *)

Formula

a(n) = (A165811(n)-1)/18.

Extensions

Extended by R. J. Mathar, Oct 16 2009

A165811 Primes of the form 18*p+1, where p is also a prime.

Original entry on oeis.org

37, 127, 199, 307, 523, 739, 1063, 1279, 1423, 1747, 2287, 2467, 2503, 2683, 2719, 3259, 3547, 3583, 4339, 4519, 4987, 5059, 5527, 6067, 6247, 6607, 6823, 7219, 7759, 8623, 8839, 9739, 10243, 10567, 11863, 12619, 12763, 13627, 14347, 14563, 14779, 14887
Offset: 1

Views

Author

Vincenzo Librandi, Sep 28 2009

Keywords

Examples

			p=2 contributes 37=18*2+1. p=7 contributes 127=18*7+1. p=11 contributes 199=18*11+1
		

Crossrefs

Programs

  • Magma
    [a: p in PrimesInInterval(2, 1000) | IsPrime(a) where a is 18*p + 1]; // Vincenzo Librandi, Oct 13 2012
  • Mathematica
    Select[Table[18p + 1, {p, Prime[Range[400]]}], PrimeQ] (* Vincenzo Librandi, Oct 13 2012 *)

Formula

a(n) = 1+18*A165810(n).

Extensions

Extended by R. J. Mathar, Oct 16 2009
Showing 1-2 of 2 results.