login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A102264
Smallest prime for which 2^n exactly divides the class number h(-4p).
0
5, 17, 41, 257, 521, 4481, 9521, 21929, 72089, 531977, 1256009, 5014169, 20879129, 70993529, 258844361, 866941841, 3771185921
OFFSET
1,1
PROG
(Sage)
def a(n):
for p in Primes():
if QuadraticField(-p).class_number().valuation(2)==n:
return p # Robin Visser, May 25 2024
CROSSREFS
Cf. A006641.
Sequence in context: A111268 A346706 A106973 * A122035 A052350 A318826
KEYWORD
nonn,more
AUTHOR
N. J. A. Sloane, Feb 19 2005
EXTENSIONS
a(10)-a(17) from Robin Visser, May 25 2024
STATUS
approved