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.

A158318 Primes p such that 5p-2 is prime.

Original entry on oeis.org

3, 5, 11, 17, 23, 47, 53, 59, 71, 89, 101, 113, 131, 137, 149, 173, 191, 197, 233, 239, 257, 311, 317, 347, 383, 401, 431, 443, 449, 467, 479, 509, 569, 593, 617, 641, 683, 719, 761, 773, 827, 857, 929, 941, 947, 1031, 1061, 1097, 1163, 1181, 1223, 1229
Offset: 1

Views

Author

Zak Seidov, Mar 16 2009

Keywords

Comments

Hence 5p are terms in A157931, A062721 and (except of 25) in A043326.

Crossrefs

Cf. A043326 Numbers n such that n is a product of two different primes and n-2 is prime, A062721 Numbers n such that n is a product of two primes and n-2 is prime, A157931 Numbers that are both the sum and the product of two primes.

Programs

  • Mathematica
    Select[Prime[Range[300]],PrimeQ[5#-2]&] (* Harvey P. Dale, Apr 10 2015 *)
  • PARI
    isok(p) = isprime(p) && isprime(5*p-2);  \\ Michel Marcus, Oct 16 2013