A317990 Number of genera of real quadratic field Q(sqrt(k)), k squarefree > 1.
1, 2, 1, 2, 2, 2, 2, 1, 2, 4, 1, 2, 2, 2, 2, 2, 1, 4, 2, 2, 2, 4, 1, 2, 4, 1, 4, 2, 2, 2, 4, 1, 4, 2, 2, 2, 1, 2, 2, 4, 2, 2, 4, 2, 1, 2, 2, 4, 2, 2, 2, 2, 2, 4, 1, 4, 2, 2, 4, 1, 1, 4, 2, 4, 2, 2, 1, 4, 4, 1, 4, 4, 2, 4, 2, 4, 2, 2, 4, 2, 2, 2, 1, 4, 2, 2, 2
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
-
PARI
for(n=2, 200, if(issquarefree(n), print1(2^(omega(n*if(n%4>1, 4, 1)) - 1), ", ")))
Formula
Extensions
Offset corrected by Jianing Song, Mar 31 2019
Comments