OFFSET
0,2
COMMENTS
The possible positive nonsquare discriminants of binary quadratic forms are given in A079896.
For the definition of Zagier-reduced binary quadratic forms, see A257003.
A form is primitive if its coefficients are relatively prime.
The row sums give A257004(n), the number of primitive Zagier-reduced forms of discriminant D(n).
The number of entries in row n is A087048(n), the class number of primitive forms of discriminant D(n).
REFERENCES
D. B. Zagier, Zetafunktionen und quadratische Körper, Springer, 1981.
FORMULA
EXAMPLE
The table a(n,k) begins:
0: 1 5 1 1
1: 2 8 1 2
2: 2 1 12 2 3
3: 3 13 1 3
4: 5 17 1 5
5: 4 20 1 4
6: 3 1 21 2 4
7: 4 2 24 2 6
8: 5 2 28 2 7
9: 5 29 1 5
10: 4 1 32 2 5
11: 6 4 33 2 10
12: 7 37 1 7
13: 6 4 40 2 10
14: 11 41 1 11
15: 6 3 44 2 9
16: 5 1 45 2 6
17: 6 2 48 2 8
18: 10 52 1 10
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Barry R. Smith, Apr 20 2015
STATUS
approved