The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A003642 Number of genera of imaginary quadratic field with discriminant -k, k = A191483(n).
(Formerly M0211)
3
1, 1, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 4, 4, 2, 2, 2, 2, 4, 2, 2, 4, 2, 2, 2, 4, 4, 4, 4, 2, 2, 4, 4, 2, 4, 2, 2, 4, 2, 2, 2, 4, 8, 2, 2, 4, 2, 4, 2, 2, 4, 4, 4, 2, 2, 4, 4, 2, 4, 2, 2, 4, 2, 2, 4, 8, 2, 4, 2, 4, 4, 2, 2, 4, 4, 4, 4, 2, 2, 2, 4, 2, 4, 2, 4, 8, 4, 2, 4, 2, 4, 4, 2, 2, 4, 2, 4, 4, 2, 4, 4, 4, 2, 2, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
REFERENCES
D. A. Buell, Binary Quadratic Forms. Springer-Verlag, NY, 1989, pp. 224-241.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
FORMULA
a(n) = 2^(omega(A191483(n)) - 1). - Jianing Song, Jul 24 2018
MATHEMATICA
2^(PrimeNu[Select[Range[1000], Mod[#, 4] == 0 && SquareFreeQ[#/4] && Mod[#, 16] != 12&]] - 1) (* Jean-François Alcover, Jul 25 2019, after Andrew Howroyd in A191483 *)
PROG
(PARI) for(n=1, 1000, if(isfundamental(-n) && n%2==0, print1(2^(omega(n) - 1), ", "))) \\ Andrew Howroyd, Jul 24 2018
CROSSREFS
Cf. A001221 (omega), A003640, A003641, A191483.
Sequence in context: A369978 A083261 A003648 * A100007 A104369 A051702
KEYWORD
nonn
AUTHOR
EXTENSIONS
Name clarified by Jianing Song, Jul 24 2018
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 June 12 14:48 EDT 2024. Contains 373331 sequences. (Running on oeis4.)