A317991 2-rank of the narrow class group of real quadratic field with discriminant A003658(n), n >= 2.
0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 2, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 2, 0, 0, 2, 1, 1, 1, 1, 0, 2, 1, 1, 0, 1, 2, 0, 1, 2, 2, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 2, 1, 1, 1, 1, 2, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 2, 1, 1, 0, 2, 0, 2, 0, 1
Offset: 2
Keywords
Links
- Rick L. Shepherd, Binary quadratic forms and genus theory, Master of Arts Thesis, University of North Carolina at Greensboro, 2013.
Programs
-
Mathematica
PrimeNu[Select[Range[2, 300], NumberFieldDiscriminant[Sqrt[#]] == #&]] - 1 (* Jean-François Alcover, Jul 25 2019 *)
-
PARI
for(n=2, 1000, if(isfundamental(n), print1(omega(n) - 1, ", ")))
Formula
Extensions
Offset corrected by Jianing Song, Mar 31 2019
Comments