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.

This page as a plain text file.
%I A158318 #7 Apr 10 2015 17:51:48
%S A158318 3,5,11,17,23,47,53,59,71,89,101,113,131,137,149,173,191,197,233,239,
%T A158318 257,311,317,347,383,401,431,443,449,467,479,509,569,593,617,641,683,
%U A158318 719,761,773,827,857,929,941,947,1031,1061,1097,1163,1181,1223,1229
%N A158318 Primes p such that 5p-2 is prime.
%C A158318 Hence 5p are terms in A157931, A062721 and (except of 25) in A043326.
%H A158318 Harvey P. Dale, <a href="/A158318/b158318.txt">Table of n, a(n) for n = 1..1000</a>
%t A158318 Select[Prime[Range[300]],PrimeQ[5#-2]&] (* _Harvey P. Dale_, Apr 10 2015 *)
%o A158318 (PARI) isok(p) = isprime(p) && isprime(5*p-2);  \\ _Michel Marcus_, Oct 16 2013
%Y A158318 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.
%K A158318 nonn
%O A158318 1,1
%A A158318 _Zak Seidov_, Mar 16 2009