close
login
A317992
2-rank of the narrow class group of real quadratic field Q(sqrt(k)), k squarefree > 1.
17
0, 1, 0, 1, 1, 1, 1, 0, 1, 2, 0, 1, 1, 1, 1, 1, 0, 2, 1, 1, 1, 2, 0, 1, 2, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 0, 1, 1, 2, 1, 1, 2, 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, 2, 0, 2, 1, 1, 2, 0, 0, 2, 1, 2, 1, 1, 0, 2, 2, 0, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 0, 2, 1, 1, 1
OFFSET
2,10
COMMENTS
The p-rank of a finite abelian group G is equal to log_p(#{x belongs to G : x^p = 1}) where p is a prime number. In this case, G is the narrow class group of Q(sqrt(k)) or the form class group of indefinite binary quadratic forms with discriminant k, and #{x belongs to G : x^p = 1} is the number of genera of Q(sqrt(k)) (cf. A317990).
This is the analog of A319662 for real quadratic fields.
Not to be confused with A391437, which gives the 2-ranks of the *class groups* of real quadratic fields. - Jianing Song, Dec 09 2025
LINKS
Rick L. Shepherd, Binary quadratic forms and genus theory, Master of Arts Thesis, University of North Carolina at Greensboro, 2013.
FORMULA
For omega(k) the number of distinct prime divisors of k:
- a(n) = omega(A005117(n)) - 1 if A005117(n) == 1 (mod 4);
- a(n) = omega(4*A005117(n)) - 1 = omega(A005117(n)) - 1 if A005117(n) == 2 (mod 4);
- a(n) = omega(4*A005117(n)) - 1 = omega(A005117(n)) if A005117(n) == 3 (mod 4). [Corrected by Jianing Song, Dec 10 2025]
MATHEMATICA
f[n_] := PrimeNu[n] - 1 + If[Mod[n, 4] > 1, Mod[n, 2], 0]; f /@ Select[Range[2, 200], SquareFreeQ] (* Amiram Eldar, Mar 28 2026 *)
PROG
(PARI) for(n=2, 200, if(issquarefree(n), print1(omega(n*if(n%4>1, 4, 1)) - 1, ", ")))
CROSSREFS
Cf. A005117, A319662 (for imaginary quadratic fields).
Sequences related to the class groups of real quadratic fields:
| Class groups | Form class groups |
-------------+-------------------------------+-------------------------------+
Fundamental | 2-rank: A391436, A391437 | 2-rank: A317991, this seq. |
disc. only | # of genera: A391426, A391435 | # of genera: A317989, A317990 |
(A003658) | Exponent <= 2: A391417 | Exponent <= 2: A391422 |
-------------+-------------------------------+-------------------------------+
All disc. | 2-rank: A391439 | 2-rank: A391441 |
(A079896) | # of genera: A391438 | # of genera: A391440 |
| Exponent <= 2: A391419 | Exponent <= 2: A390079 |
For a list of sequences related to the class numbers of real quadratic fields, see A087048.
Sequence in context: A134541 A286627 A182071 * A228085 A154782 A265196
KEYWORD
nonn
AUTHOR
Jianing Song, Oct 03 2018
EXTENSIONS
Offset corrected by Jianing Song, Mar 31 2019
STATUS
approved