OFFSET
1,1
COMMENTS
LINKS
Karl-Heinz Hofmann, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 7 (mod 8). - Hugo Pfoertner, Dec 25 2021
EXAMPLE
(31*3 + 1)/2 = 47. Both 31 and 47 are primes of the form 4*k+3. Thus 31 is a term.
MATHEMATICA
Select[4*Range[0, 1000] + 3, PrimeQ[#] && Mod[(q = (3*# + 1)/2), 4] == 3 && PrimeQ[q] &] (* Amiram Eldar, Dec 24 2021 *)
PROG
(PARI) isok(p) = isprime(p) && ((p%4)==3) && isprime(q=(3*p+1)/2) && ((q%4)==3); \\ Michel Marcus, Dec 23 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Karl-Heinz Hofmann, Dec 23 2021
STATUS
approved