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.

A177017 Primes prime(n) such that prime(n) + prime(n+1) + 1 is also prime.

Original entry on oeis.org

5, 7, 13, 17, 19, 23, 29, 37, 47, 53, 67, 79, 83, 97, 103, 109, 113, 131, 137, 163, 173, 181, 197, 227, 229, 251, 257, 269, 283, 293, 307, 313, 359, 383, 389, 401, 409, 421, 439, 449, 457, 467, 479, 491, 503, 509, 587, 593, 599, 613, 617, 643, 647, 659, 677
Offset: 1

Views

Author

Vincenzo Librandi, May 22 2010

Keywords

Crossrefs

Programs

  • Magma
    [NthPrime(n): n in [1..200] | IsPrime(NthPrime(n)+NthPrime(n+1)+1)]; // Vincenzo Librandi, Aug 26 2012
  • Mathematica
    Select[Prime[Range[200]],PrimeQ[#+NextPrime[#]+1]&] (* Vincenzo Librandi, Aug 26 2012 *)
    Transpose[Select[Partition[Prime[Range[300]],2,1],PrimeQ[Total[#]+1]&]][[1]] (* Harvey P. Dale, Apr 16 2013 *)

Extensions

Edited and corrected by N. J. A. Sloane, Jun 22 2010