OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(1) = 5 because 5 is the greater of the twin primes (3, 5) and 3*5 - 2 = 13 is the greater of the twin primes (11, 13).
MATHEMATICA
Select[Range[3, 126000], And @@ PrimeQ[{#, # - 2, 3# - 2, 3# - 4}] &] (* Amiram Eldar, Dec 23 2019 *)
PROG
(Magma) [p:p in PrimesInInterval(3, 130000)| IsPrime(p-2) and IsPrime(3*p-2) and IsPrime(3*p-4)]; // Marius A. Burtea, Dec 23 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, May 07 2010
EXTENSIONS
Definition corrected, 1231 and 1483 inserted, and all values above 3000 corrected by R. J. Mathar, May 10 2010
Terms corrected to match definition by D. S. McNeil, May 10 2010
Name corrected by Amiram Eldar, Dec 23 2019
STATUS
approved