OFFSET
1,1
COMMENTS
For a subset of this list, restricted only to primes, see A247845.
All terms == 5 or 7 (mod 10). - Robert Israel, Mar 10 2025
LINKS
Robert Israel, Table of n, a(n) for n = 1..1000
EXAMPLE
5 is in the sequence as it generates the prime quadruplet 5^2-2*5-4=11; 5^2-2*5-2=13; 5^2-2*5+2=17; and, 5^2-2*5+4=19.
MAPLE
filter:= p -> andmap(isprime, [p^2-2*p-4, p^2-2*p-2, p^2-2*p+2, p^2-2*p+4]):
select(filter, [seq(seq(10*i+j, j=[5, 7]), i=0..10^6)]);
PROG
(PARI) lista(nn) = {vk = [-2, -1, 1, 2]; for (p = 2, nn, nb = 0; for (k = 1, 4, nb += isprime(p^2-2*p+2*vk[k]); ); if (nb == 4, print1(p, ", ")); ); } \\ Michel Marcus, Sep 26 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray G. Opao, Sep 25 2014
EXTENSIONS
More terms from Michel Marcus, Sep 26 2014
STATUS
approved
