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