1. Introduction. Consider an n-ary positive definite integral quadratic form
We consider the n x n symmetric matrix A the (i,j)-element of which is aij (but the diagonal elements are 2aii's),
and define the discriminant disc(Q) of Q to be the determinant of the matrix A.
We often identify a form Q and the numbers aij's as follows:
[ a11, a22 : a12 ] when n = 2
[ a11, a22, a33 : a12, a13, a23 ] when n = 3
[ a11, a22, a33, a44 : a12, a13, a14, a23, a24, a34 ] when n = 4
2. Binary Subforms
Suppose that Q represents 1 and 2. Then Q represents a binary form x12 + 2x22 +ax1x2 for some integer a.
Since Q is positive definite, we see that a = 0, -1, 1, 2, -2. By a suitable change of variables we can get the following three forms.
Lemma 1. If Q represents 1 and 2, then Q represents one of the following binary forms:
D = 4, [ 1, 1 : 0 ], e = 3
D = 7, [ 1, 2 : 1 ], e = 4
D = 8, [ 1, 2 : 0 ], e = 5
Remark. Let Q be a binary positive definite integral quadratic form which represents 1,2,..,m. Then m <= 4. And Q(x1,x2) = x12 + 2x22 represents 1,2,3,4.
3. Ternary Subforms
Suppose that Q represents 1,..,5. Then, by Lemma 1, we see that Q represents one of the following ternary forms:
[ 1, 1, 3 : 0, a, b ]
[ 1, 2, 3 : 1, a, b ]
[ 1, 2, 5 : 0, a, b ]
The integers a and b are restricted by the positive definiteness. In the first case the discriminant of the ternary form is 24 - 2(a2 + b2) > 0. Similarly we see that 42 -4a2 + 2ab - 2b2 > 0 in the second case and 80 - 4a2 - 2b2 > 0 in the third case.
Lemma 2. If Q represents 1,2,3,4,5, then Q represents one of the following 27 ternary forms:
| disc | a11 | a22 | a33 | a12 | a13 | a23 | e |
| 20 | 1 | 1 | 3 | 0 | 1 | 1 | 6 |
| 22 | 1 | 1 | 3 | 0 | 1 | 0 | 22 |
| 24 | 1 | 1 | 3 | 0 | 0 | 0 | 6 |
| 24 | 1 | 2 | 2 | 1 | 1 | 1 | 6 |
| 26 | 1 | 2 | 2 | 1 | 0 | 1 | 13 |
| 28 | 1 | 2 | 2 | 1 | 0 | 0 | 5 |
| 30 | 1 | 2 | 2 | 0 | 0 | 1 | 10 |
| 32 | 1 | 2 | 2 | 0 | 0 | 0 | 7 |
| 34 | 1 | 2 | 3 | 1 | 1 | 2 | 17 |
| 36 | 1 | 2 | 3 | 0 | 1 | 2 | 14 |
| 38 | 1 | 2 | 3 | 1 | 1 | 1 | 10 |
| 40 | 1 | 2 | 3 | 1 | 0 | 1 | 5 |
| 42 | 1 | 2 | 3 | 0 | 1 | 1 | 7 |
| 42 | 1 | 2 | 3 | 1 | 0 | 0 | 6 |
| 44 | 1 | 2 | 3 | 0 | 1 | 0 | 10 |
| 46 | 1 | 2 | 3 | 0 | 0 | 1 | 23 |
| 48 | 1 | 2 | 3 | 0 | 0 | 0 | 10 |
| 56 | 1 | 2 | 4 | 0 | 0 | 2 | 7 |
| 58 | 1 | 2 | 4 | 0 | 1 | 1 | 29 |
| 62 | 1 | 2 | 4 | 0 | 0 | 1 | 31 |
| 64 | 1 | 2 | 4 | 0 | 0 | 0 | 14 |
| 68 | 1 | 2 | 5 | 0 | 1 | 2 | 10 |
| 72 | 1 | 2 | 5 | 0 | 0 | 2 | 7 |
| 74 | 1 | 2 | 5 | 0 | 1 | 1 | 29 |
| 76 | 1 | 2 | 5 | 0 | 1 | 0 | 10 |
| 78 | 1 | 2 | 5 | 0 | 0 | 1 | 13 |
| 80 | 1 | 2 | 5 | 0 | 0 | 0 | 10 |
Proposition 1. Let Q be a ternary positive definite integral quadratic form which represents 1,2,..,m. Then m <= 30. And Q(x1,x2,x3) = x12 + 2x22 + 4x32 + x2x3 represents 1,2,..,30.
4. Quaternary forms
If Q is a quaternary positive definite integral quadratic form, then Q has its (reduced) symmetric matrix A:
| 2a11 | a12 | a13 | a14 |
| a12 | 2a22 | a23 | a24 |
| a13 | a23 | 2a33 | a34 |
| a14 | a22 | a23 | 2a44 |