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.

A249624 Numbers n such that the sum of n and the least prime>n (A151800(n)) is prime.

Original entry on oeis.org

0, 1, 2, 6, 8, 14, 18, 20, 24, 30, 34, 36, 38, 48, 50, 54, 64, 68, 78, 80, 84, 94, 96, 98, 104, 110, 114, 124, 132, 134, 138, 144, 154, 156, 164, 174, 182, 188, 198, 208, 210, 216, 220, 228, 230, 248, 252, 258, 260, 270, 284, 294, 300, 306, 308, 314, 322, 328, 330, 336, 344, 360
Offset: 1

Views

Author

Antonio Roldán, Dec 03 2014

Keywords

Examples

			50 is in the sequence because A151800(50)=53, and 50+53=103 is prime.
		

Crossrefs

Programs

  • PARI
    {for(i=0,10^3,k=i+nextprime(i+1);if(isprime(k),print1(i,", ")))}