OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Prime[Range[256]], PrimeQ[(#-1)/(5-Mod[#, 4])]& ] (* Jean-François Alcover, Jul 16 2012 *)
PROG
(PARI) forprime(p=1, 1619, if (((p%4==3) && isprime((p-1)/2)==1) || ((p%4==1) && isprime((p-1)/4)), print1(p, ", "))) \\ Jinyuan Wang, Feb 09 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 12 2004
STATUS
approved