OFFSET
0,1
LINKS
EXAMPLE
p = 229 is the smallest prime congruent to 5 modulo 8 such that Q(sqrt(p)) has class number 3, so a(1) = 229.
PROG
(PARI) a(n) = forprime(p=2, oo, if(p%8==5 && qfbclassno(p)==2*n+1, return(p)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Jul 20 2022
STATUS
approved