login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A202084 Class number of sqrt(-n). 2
1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 4, 2, 1, 4, 1, 1, 2, 4, 2, 3, 2, 1, 6, 1, 1, 6, 4, 3, 1, 4, 4, 2, 1, 2, 6, 4, 2, 8, 4, 1, 1, 2, 4, 5, 1, 1, 1, 2, 2, 6, 2, 4, 4, 4, 2, 3, 2, 6, 8, 1, 1, 8, 8, 1, 4, 8, 4, 7, 1, 4, 10, 1, 1, 8, 4, 5, 2, 1, 4, 3, 4, 4, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
For class number of sqrt(n) see A202053.
LINKS
Eric Weisstein's World of Mathematics, Class Number.
MATHEMATICA
Table[NumberFieldClassNumber[Sqrt[-n]], {n, 100}]
PROG
(Sage)
def A202084(n):
s = squarefree_part(n)
t = s if s % 4 < 2 else 4 * s
return QuadraticField(t, 'a').class_number()
print([A202084(-n) for n in range(1, 87)]) # Mo Li, Sep 10 2023
CROSSREFS
Cf. A202053.
Sequence in context: A066422 A274888 A239702 * A337763 A109072 A100727
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 11 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 09:56 EDT 2024. Contains 371967 sequences. (Running on oeis4.)