cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A324251 Irregular triangle read by rows: parameters of the principal cycle of discriminant 4*D(n), with D(n) = A000037(n).

Original entry on oeis.org

-2, 2, -1, 2, -4, 4, -2, 4, -1, 1, -1, 4, -1, 4, -6, 6, -3, 6, -2, 6, -1, 1, -1, 1, -6, 1, -1, 1, -1, 6, -1, 2, -1, 6, -1, 6, -8, 8, -4, 8, -2, 1, -3, 1, -2, 8, -2, 8, -1, 1, -2, 1, -1, 8, -1, 2, -4, 2, -1, 8, -1, 3, -1, 8, -1, 8, -10, 10, -5, 10, -3, 2, -3, 10, -2, 1, -1, 2, -10, 2, -1, 1, -2, 10, -2, 10
Offset: 1

Views

Author

Wolfdieter Lang, Apr 19 2019

Keywords

Comments

The row length of this irregular triangle is 2*A307372(n).
The indefinite binary quadratic Pell form is F = [1, 0, -D(n)], with D(n) = A000037(n) (D not a square). This form is not reduced (see the Buell or Scholz-Schoeneberg references, and the W. Lang link in A225953 for the definition).
The first reduced form, obtained after two equivalence transformations, is FR(n) = [1, 2*s(n), -(D(n) - s(n)^2)] where s(n) = A000194(n) = D(n) - n, for n >= 1. Hence FR(n) = [1, 2*s(n), -(n - s(n)*(s(n)-1))]. For the two transformations invoving R(t) = matrix([0, -1], [1, t]), first with t = 0 then with t = s(n) see a comment in A000194, and the proposition in the W. Lang link given below. FR(n) is the principal form F_p(n) of discriminant 4*D(n).
Each reduced form FR(n) leads to a cycle of reduced forms with (primitive) period P(n) = 2*p(n) = 2*A307372(n). The sequence of R-transformations is given by the parameter tuple (t_1(n), ..., t_{2*p(n)}(n)) with alternating signs which give the row entries T(n, k) = t_k(n). See also Table 2 of the W. Lang link.
The automorphic transformation is obtained by the matrix Auto(n) = R(t_1(n))*R(t_2(n))*...*R(t_{2*p(n)}(n)). Together with the matrix B(n) := R(0)*R(s(n)) = Matrix([-1, s(n)], [0, -1]) one finds all solutions of the Pell equation x^2 - D(n)*y^2 = +1. For each n >= 1 there is one family (also called class) of proper solutions. The general solution is (x(n;j), y(n;j))^T = B(n)*(Auto(n))^j*(1,0)^T, for integer j (T for transposed). One can always choose x >= 1 by an overall sign flip in x and y.
For the general Pell equation x^2 - D(n)*y^2 = N, for integer N, the parallel forms equivalent to FR(n) become important. For details see the W. Lang link given below, section 3.

Examples

			The irregular triangle T(n, k) begins:
n,  D(n) \k   1   2   3   4   5   6   7   8   9  10 ...   2*A324252(n)
----------------------------------------------------------------------
1,   2:      -2   2                                           2
2,   3:      -1   2                                           2
3,   5:      -4   4                                           2
4,   6:      -2   4                                           2
5,   7:      -1   1  -1   4                                   4
6,   8:      -1   4                                           2
7,  10:      -6   6                                           2
8,  11:      -3   6                                           2
9,  12:      -2   6                                           2
10, 13:      -1   1  -1   1  -6   1  -1   1  -1   6          10
11, 14:      -1   2  -1   6                                   4
12, 15:      -1   6                                           2
13, 17:      -8   8                                           2
14, 18:      -4   8                                           2
15, 19:      -2   1  -3   1  -2   8                           6
16, 20:      -2   8                                           2
17, 21:      -1   1  -2   1  -1   8                           6
18, 22:      -1   2  -4   2  -1   8                           6
19, 23:      -1   3  -1   8                                   4
20, 24:      -1   8                                           2
...
--------------------------------------------------------------------
The  forms for the cycle CR(5) for D(5) = 7 (discriminant 28) are:
FR(5) = [1, 4, -3], the transformation with R(-1) produces FR1(5) = [-3, 2, 2], from this R(1) leads to FR2(5) = [2, 2, -3], then with R(-1) to FR3(5) = [-3, 4, 1], and with R(4) back to FR(5).
		

References

  • D. A. Buell, Binary Quadratic Forms. Springer-Verlag, NY, 1989, p. 21.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, 5. Aufl., de Gruyter, Berlin, New York, 1973, p. 112.

Crossrefs

Formula

T(n, k) = t_k(n), the k-th entry of the t-tuple for the R-transformations of the principal cycle for discriminant 4*D(n), with D(n) = A000037(n). See the comments above.

A307303 Triangle T(n, k) read as upwards antidiagonals of array A, where A(n, k) is the number of families (also called classes) of proper solutions of the Pell equation x^2 - D(n)*y^2 = -k, for k >= 1.

Original entry on oeis.org

1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1, 0, 2, 0, 1, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 0, 2, 0
Offset: 1

Views

Author

Wolfdieter Lang, Apr 20 2019

Keywords

Comments

For details see A324252 which gives the array for the numbers of families of proper solutions of x^2 - D(n)*y^2 = k for positive integers k. See also the W. Lang link in A324251, section 3.
The D(n) values for nonzero entries in column k = 1 are given in A003814 (representation of -1).
The position list for nonzero entries in row n = 1 is A057126 (conjecture).

Examples

			The array A(n, k) begins:
n,  D(n) \k  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 ...
-------------------------------------------------------------------
1,   2:      1  1  0  0  0  0  2  0  0  0  0  0  0  2  0
2,   3:      0  1  1  0  0  0  0  0  0  0  2  0  0  0  0
3,   5:      1  0  0  2  1  0  0  0  0  0  2  0  0  0  0
4,   6:      0  1  0  0  2  1  0  0  0  0  0  0  0  0  2
5,   7:      0  0  2  0  0  2  1  0  0  0  0  0  0  1  0
6,   8:      0  0  0  1  0  0  2  1  0  0  0  0  0  0  0
7,  10:      1  0  0  0  0  2  0  0  2  1  0  0  0  0  2
8,  11:      0  1  0  0  0  0  2  0  0  2  1  0  0  0  0
9,  12:      0  0  1  0  0  0  0  2  0  0  2  1  0  0  0
10, 13:      1  0  2  2  0  0  0  0  2  0  0  4  1  0  0
11, 14:      0  0  0  0  2  0  1  0  0  2  0  0  2  1  0
12, 15:      0  0  0  0  0  1  0  0  0  0  2  0  0  2  1
13, 17:      1  0  0  0  0  0  0  2  0  0  0  0  2  0  0
14, 18:      0  1  0  0  0  0  0  0  2  0  0  0  0  2  0
15, 19:      0  1  2  0  0  0  0  0  0  2  0  0  0  0  4
16, 20:      0  0  0  1  0  0  0  0  0  0  2  0  0  0  0
17, 21:      0  0  1  0  2  0  0  0  0  0  0  2  0  0  0
18, 22:      0  1  0  0  0  0  2  0  0  0  0  0  2  0  0
19, 23:      0  0  0  0  0  0  0  0  0  0  2  0  0  2  0
20, 24:      0  0  0  0  0  0  0  1  0  0  0  0  0  0  2
-------------------------------------------------------------------
The triangle T(n, k) begins:
n\k   1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 ..
1:    1
2:    0  1
3:    1  1  0
4:    0  0  1  0
5:    0  1  0  0  0
6:    0  0  0  2  0  0
7:    1  0  2  0  1  0  2
8:    0  0  0  0  2  0  0  0
9:    0  1  0  1  0  1  0  0  0
10:   1  0  0  0  0  2  0  0  0  0
11:   0  0  1  0  0  0  1  0  0  0  0
12:   0  0  2  0  0  2  2  0  0  0  2  0
13:   1  0  0  2  0  0  0  1  0  0  2  0  0
14:   0  0  0  0  0  0  2  0  0  0  0  0  0  2
15:   0  1  0  0  2  0  0  0  2  0  0  0  0  0  0
16:   0  1  0  0  0  0  0  2  0  1  0  0  0  0  0  0
17:   0  0  2  0  0  1  1  0  0  2  0  0  0  0  0  0  2
18:   0  0  0  0  0  0  0  0  2  0  1  0  0  1  2  0  0  0
19:   0  1  1  1  0  0  0  0  0  0  2  0  0  0  0  0  0  0  0
20:   0  0  0  0  0  0  0  2  0  2  0  1  0  0  0  0  0  0  0  0
...
For this triangle more than the shown columns of the array have been used.
----------------------------------------------------------------------------
A(5, 6) = 2 = T(10, 6)  because D(5) =  7, and the Pell form F(5) with disc(F(5)) = 4*7 = 28 representing k = -6 has 2 families (classes) of proper solutions generated from the two positive fundamental positive solutions (x10, y10) = (13, 5) and  (x20, y20) = (1, 1). They are obtained from the trivial solutions of the parallel forms [-6, 2, 1] and [-6, 10, -3], respectively.
		

References

  • D. A. Buell, Binary Quadratic Forms, Springer, 1989.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, 5. Aufl., de Gruyter, Berlin, New York, 1973.

Crossrefs

Cf. A000037, A000194, A003814, A057126, A324252 (positive k), A324251.

Formula

T(n, k) = A(n-k+1, k) for 1 <= k <= n, with A(n,k) the number of proper (positive) fundamental solutions of the Pell equation x^2 - D(n)*y^2 = -k for k >= 1, with D(n) = A000037(n), for n >= 1. Each such fundamental solution generates a family of proper solutions.

A339881 Fundamental nonnegative solution x(n) of the Diophantine equation x^2 - A045339(n)*y^2 = -2, for n >= 1.

Original entry on oeis.org

0, 1, 3, 13, 59, 23, 221, 9, 31, 103, 8807, 8005, 2047, 527593, 15, 1917, 11759, 9409, 52778687, 801, 113759383, 16437, 21, 1275, 305987, 67, 286025, 12656129, 261, 13458244873, 1381, 719175577, 1410305, 77, 13041, 5580152383, 313074529583, 186079, 1175615653, 949, 1434867510253, 186757799729, 11127596791, 116231
Offset: 1

Views

Author

Wolfdieter Lang, Dec 22 2020

Keywords

Comments

The corresponding y values are given in A339882.
The Diophantine equation x^2 - p*y^2 = -2, of discriminant Disc = 4*p > 0 (indefinite binary quadratic form), with prime p can have proper solutions (gcd(x, y) = 1) only for primes p = 2 and p == 3 (mod 8) by parity arguments.
There are no improper solutions (with g >= 2, g^2 does not divide 2).
The prime p = 2 has just one infinite family of proper solutions with nonnegative x values. The fundamental proper solutions for p = 2 is (0, 1).
If a prime p congruent to 3 modulo 8, (p(n) = A007520(n)) has a solution then it can have only one infinite family of (proper) solutions with positive x value.
This family is self-conjugate (also called ambiguous, having with each solution (x, y) also (x, -y) as solution). This follows from the fact that there is only one representative parallel primitive form (rpapf), namely F_{pa(n)} = [-2, 2, -(p(n) - 1)/2].
The reduced principal form of Disc(n) = 4*p(n) is F_{p(n)} = [1, 2*s(n), -(p(n) - s(n)^2)], with s(n) = A000194(n'(n)), if p(n) = A000037(n'(n)). The corresponding (reduced) principal cycle has length L(n) = 2*A307372(n'(n)).
The number of all cycles, the class number, for Disc(n) is h(n'(n)) = A324252(n'(n)), Note that in the Buell reference, Table 2B in Appendix 2, p. 241, all Disc(n) <= 4*1051 = 4204 have class number 2, except for p = 443, 499, 659 (Disc = 1772, 1996, 26).
See the W. Lang link Table 1 for some principal reduced forms F_{p(n)} (there for p(n) in the D-column, and F_p is called FR(n)) with their t-tuples, giving the automporphic matrix Auto(n) = R(t_1) R(t_1) ... R(t_{L(n)}), where R(t) := Matrix([[0, -1], [1, t]]), and the length of the principal cycle L(n) given above, and in Table 2 for CR(n).
To prove the existence of a solution one would have to show that the rpapf F{pa(n)} is properly equivalent to the principal form F_{pa(n)}.

Examples

			The fundamental solutions [A045339(n), [x = a(n), y = A339882(n)]] begin:
[2, [0, 1]], [3, [1, 1]], [11, [3, 1]], [19, [13, 3]], [43, [59, 9]], [59, [23, 3]], [67, [221, 27]], [83, [9, 1]], [107, [31, 3]], [131, [103, 9]], [139, [8807, 747]], [163, [8005, 627]], [179, [2047, 153]], [211, [527593, 36321]], [227, [15, 1]], [251, [1917, 121]], [283, [11759, 699]], [307, [9409, 537]], [331, [52778687, 2900979]], [347, [801, 43]], [379, [113759383, 5843427]], [419, [16437, 803]], [443, [21, 1]], [467, [1275, 59]], [491, [305987, 13809]], [499, [67, 3]], [523, [286025, 12507]], [547, [12656129, 541137]], [563, [261, 11]], [571, [13458244873, 563210019]], [587, [1381, 57]], [619, [719175577, 28906107]], [643, [1410305, 55617]], [659, [77, 3]], [683, [13041, 499]], [691, [5580152383, 212279001]], [739, [313074529583, 11516632737]], [787, [186079, 6633]], [811, [1175615653, 41281449]], [827, [949, 33]], [859, [1434867510253, 48957047673]], [883, [186757799729, 6284900361]], [907, [11127596791, 369485787]], [947, [116231, 3777]], ...
		

References

  • D. A. Buell, Binary Quadratic Forms, Springer, 1989.

Crossrefs

Cf. A000194, A000037, A000194, A007520, A045339, A307372, A324252, A339882 (y values), A336793 (record y values), A336792 (corresponding odd p numbers).

Formula

Generalized Pell equation: Positive fundamental a(n), with a(n)^2 - A045339(n)*A339882(n)^2 = -2, for n >= 1.

A307377 Array A(n, k) read by upwards antidiagonals giving the number of representative parallel primitive binary quadratic forms for discriminant Disc(n) = 4*D(n), with D(n) = A000037(n), and for representable integer |k| >= 1.

Original entry on oeis.org

1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 2, 0, 0, 1, 0, 2, 0, 1, 1, 2, 1, 1, 0, 0, 2, 0, 0, 0, 1, 1, 2, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 2, 1, 2, 2, 2, 0, 0, 0, 2, 0
Offset: 1

Views

Author

Wolfdieter Lang, Apr 21 2019

Keywords

Comments

For the definition of representative parallel primitive forms (rpapfs) for discriminant Disc > 0 (the indefinite case) and representation of nonzero integers k see the Scholz-Schoeneberg reference, p. 105, or the Buell reference p. 49 (without use of the name parallel). For the procedure to find the primitive representative parallel forms (rpapfs) for Disc(n) = 4*D(n) = 4*A000037(n) and nonzero integer k see the W. Lang link given in A324251, section 3.
Note that the number of rpapfs of a discriminant Disc > 0 for k >= 1 is identical with the one for negative k. These forms differ in the signs of the a and c entries of these forms but not the b >= 0 entry (called an outer sign flip). See some examples below, and the program in the mentioned W. Lang link, section 3.
For the forms counted in the array A(n, k) see Table 3 of the W. Lang link given in A324251, for n = 1..30 and k = 1..10.
Compare the present array with the ones given in A324252 and A307303 for the number of rpapfs for discriminant 4*D(n) and representable positive and negative k, respectively, that are equivalent (under SL(2, Z)) to the reduced principal form F_p = [1, 2*s(n), -(D(n) - s(n)^2)] with s(n) = A000194(n), of the unreduced Pell form F(n) = [1, 0, -D(n)].
The rpapfs not counted in A324252 and A307303 are equivalent to forms of non-principal cycles for discriminant 4*D(n).
The total number of cycles (the class number h(n)) for discriminant 4*D(n) is given in A307359(n).
The array for the length of the periods of these cycles is given in A307378.
One half of the sum of the length of the periods is given in A307236.

Examples

			The array A(n, k) begins:
n,  D(n) \k  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
-------------------------------------------------------------
1,   2:      1 1 0 0 0 0 2 0 0  0  0  0  0  2  0
2,   3:      1 1 1 0 0 1 0 0 0  0  2  0  2  0  0
3,   5:      1 0 0 2 1 0 0 0 0  0  2  0  0  0  0
4,   6:      1 1 1 0 2 1 0 0 0  2  0  0  0  0  2
5,   7:      1 1 2 0 0 2 1 0 2  0  0  0  0  1  0
6,   8:      1 0 0 1 0 0 2 2 0  0  0  0  0  0  0
7,  10:      1 1 2 0 1 2 0 0 2  1  0  0  2  0  2
8,  11:      1 1 0 0 2 0 2 0 0  2  1  0  0  2  0
9,  12:      1 0 1 1 0 0 0 2 0  0  2  1  2  0  0
10, 13:      1 0 2 2 0 0 0 0 2  0  0  4  1  0  0
11, 14:      1 1 0 0 2 0 1 0 0  2  2  0  2  1  0
12, 15:      1 1 1 0 1 1 2 0 0  1  2  0  0  2  1
13, 17:      1 0 0 0 0 0 0 2 0  0  0  0  2  0  0
14, 18:      1 1 0 0 0 0 2 0 3  0  0  0  0  2  0
15, 19:      1 1 2 0 2 2 0 0 2  2  0  0  0  0  4
16, 20:      1 0 0 1 1 0 0 0 0  0  2  0  0  0  0
17, 21:      1 0 1 2 2 0 1 0 0  0  0  2  0  0  2
18, 22:      1 1 2 0 0 2 2 0 2  0  1  0  2  2  0
19, 23:      1 1 0 0 0 0 2 0 0  0  2  0  2  2  0
20, 24:      1 0 1 1 2 0 0 2 0  0  0  1  0  0  2
...
-------------------------------------------------------------
The antidiagonals:
       1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ...
1:     1
2:     1 1
3:     1 1 0
4:     1 0 1 0
5:     1 1 0 0 0
6:     1 1 1 2 0 0
7:     1 0 2 0 1 1 2
8:     1 1 0 0 2 0 0 0
9:     1 1 2 1 0 1 0 0 0
10:    1 0 0 0 0 2 0 0 0  0
11:    1 0 1 0 1 0 1 0 0  0  0
12:    1 1 2 1 2 2 2 0 0  0  2  0
13:    1 1 0 2 0 0 0 2 2  2  2  0  0
14:    1 0 1 0 0 0 2 0 0  0  0  0  2  2
15:    1 1 0 0 2 0 0 0 2  0  0  0  0  0  0
16:    1 1 0 0 1 0 0 2 0  1  0  0  0  0  0  0
17:    1 0 2 0 0 1 1 0 0  2  0  0  0  0  0  0  2
18:    1 0 0 0 0 0 2 0 2  0  1  0  0  1  2  0  0  0
19:    1 1 1 1 2 0 0 0 0  0  2  0  2  0  0  0  0  0  0
20:    1 1 2 2 1 2 2 2 0  2  0  1  0  0  0  0  0  0  0  0
...
For this triangle more of the columns of the array have been used than those that are shown.
-----------------------------------------------------------------------------
A(2, 3) = 1 because the representative parallel primitive form (rpapf) for discriminant 4*D(2) = 12 and k = +3 is [3, 0, -1], and the one for k= -3 is [-3, 0, 1] (sign flip in both, the a and c entries, but leaving the b entry).
A(3, 4) = 2 because the two rpapfs for discriminant 4*D(3) = 20 and k = +4 are [4, 2, -1] and [4, 6, 1], and the two ones for k = -4 are [-4, 2, 1], [-4, 6, -1].
		

References

  • D. A. Buell, Binary Quadratic Forms, Springer, 1989, chapter 3, pp. 21 - 43.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, 5. Aufl., de Gruyter, Berlin, New York, 1973, pp. 112 - 126.

Crossrefs

Showing 1-4 of 4 results.