OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
20 is a term since 20^2 + 20 - 1 = 419, 419 and 421 are twin primes, 21^2 + 21 - 1 = 461, and 461 and 463 are also twin primes.
MATHEMATICA
Select[ Range[510397], PrimeQ[ #^2 + # - 1] && PrimeQ[ #^2 + # + 1] && PrimeQ[ #^2 + 3# + 1] && PrimeQ[ #^2 + 3# + 3] & ]
Select[Range[412000], AllTrue[Flatten[{#^2+#+{1, -1}, (#+1)(#+1)+#+{0, 2}}], PrimeQ]&] (* Harvey P. Dale, Feb 12 2022 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Pierre CAMI, Nov 11 2003
EXTENSIONS
Corrected and extended by Ray Chandler and Robert G. Wilson v, Nov 12 2003
STATUS
approved