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.

A076300 Numbers k such that prime(k) + s*k is prime, s=5.

Original entry on oeis.org

1, 2, 6, 8, 10, 12, 14, 18, 30, 36, 38, 40, 48, 50, 52, 54, 64, 66, 68, 72, 74, 78, 80, 84, 96, 110, 118, 120, 122, 124, 134, 142, 148, 150, 154, 160, 178, 184, 186, 188, 198, 204, 210, 214, 220, 224, 228, 238, 240, 242, 246, 250, 252, 254, 258, 260, 268, 270
Offset: 1

Views

Author

Zak Seidov, Oct 05 2002

Keywords

Examples

			2 is in the sequence because p(2) + 5*2 = 3 + 10 = 13 is prime.
		

Crossrefs

Cf. A064402 (s=1), A076297 (s=2), A076298 (s=3), A076299 (s=4).

Programs

  • Magma
    [n: n in [0..500]| IsPrime(NthPrime(n) +5*n)]; // Vincenzo Librandi, Apr 06 2011
    
  • Mathematica
    Select[Range[300],PrimeQ[Prime[#]+5#]&] (* Harvey P. Dale, Nov 27 2013 *)
  • PARI
    select(x->isprime(x), vector(500, n, prime(n) + 5*n), 1) \\ Michel Marcus, Jan 15 2015
    
  • PARI
    isok(n) = isprime(prime(n) + 5*n); \\ Michel Marcus, May 05 2018