OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
(71,73) are twin primes, and 5 * 71 + 6 = 19^2 is a square of a prime, which adds 71 to the sequence.
(9767,9769) are twin primes, 5 * 9767 + 6 = 221^2, but 221 = 13 * 17 is not prime, so 9767 is not in the sequence.
MATHEMATICA
Select[Transpose[Select[Partition[Prime[Range[430000]], 2, 1], Last[#]- First[#] ==2&]][[1]], PrimeQ[Sqrt[5#+6]]&] (* Harvey P. Dale, Apr 22 2011 *)
Select[(Select[Range[5569], PrimeQ]^2 - 6)/5, And @@ PrimeQ[# + {0, 2}] &] (* Amiram Eldar, Dec 24 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), Mar 20 2010
EXTENSIONS
Definition simplified, cross-references to unrelated sequences removed - R. J. Mathar, Nov 01 2010
STATUS
approved