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-3 of 3 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.

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.

A307378 Irregular triangle T(n, k) read by rows: row n gives the periods of the cycles of binary quadratic forms of discriminant 4*D(n), with D(n) = A000037(n).

Original entry on oeis.org

2, 2, 2, 2, 2, 2, 4, 4, 2, 2, 2, 6, 2, 2, 2, 2, 10, 4, 4, 2, 2, 2, 2, 2, 2, 2, 6, 6, 2, 2, 6, 6, 6, 6, 4, 4, 2, 2, 4, 4, 2, 6, 2, 2, 4, 4, 10, 2, 2, 4, 4, 8, 8, 4, 4, 4, 4, 4, 4, 6, 6, 2, 2, 2, 2, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 2, 4, 4, 6, 2, 2, 2, 2, 10, 10, 8, 8, 6, 6, 12, 12, 4, 4, 2, 2, 2, 2, 2, 6, 2, 2, 6, 6, 6, 6
Offset: 1

Views

Author

Wolfdieter Lang, Apr 21 2019

Keywords

Comments

The length of row n is 2*A307236(n). This is the number of primitive reduced binary quadratic forms of discriminant 4*D(n), with D(n) = A000037(n).
The number of cycles in row n is A307359(n), the class number h(n) of binary quadratic forms of discriminant 4*D(n).
The principal cycle starts with F_p(n) = [1, 2*s(n), -(D(n) -s(n))^2], with s(n) = A000194(n). Its period is A307372(n). This is the only cycle (the class number is 1) for n = 1, 3, 10, 13, 24, ...
For class number h(n) >= 2 the cycles come mostly in pairs of cycles which can be transformed into each other by a sign flip operation on the outer entries of the forms of the cycle (called outer sign flip). Exceptions occur if cycles are identical with their outer sign flipped ones. This happens, e.g., for n = 7 with two cycles: one of length 2 (the principal cycle CR(2)) and one of length 6. This 6-cycle is also identical to the outer sign flipped one. See the example below.
See the Buell and Scholz-Schoeneberg references for cycles and class number, and also the W. Lang link given in A324251, with Table 2.

Examples

			The irregular triangle T(n, k) begins:
n,  D(n) \k   1  2  3  4 ...              2*A307236
---------------------------------------------------
1,   2:       2                              2
2,   3:       2  2                           4
3,   5:       2                              2
4,   6:       2  2                           4
5,   7:       4  4                           8
6,   8:       2  2                           4
7,  10:       2  6                           8
8,  11:       2  2                           4
9,  12:       2  2                           4
10, 13:      10                             10
11, 14:       4  4                           8
12, 15:       2  2  2  2                     8
13, 17:       2                              2
14, 18:       2  2                           4
15, 19:       6  6                          12
16, 20:       2  2                           4
17, 21:       6  6                          12
18, 22:       6  6                          12
19, 23:       4  4                           8
20, 24:       2  2  4  4                    12
...
---------------------------------------------------
n = 1, D(1) = 2: the only cycle is the principal 2-cycle [[1, 2, -1],[-1, 2, 1]] with discriminant 8.
n = 2, D(2) = 3: besides the principal 2-cycle [[1, 2, -2], [-2, 2, 1]] there is another 2-cycle with sign flips in the outer form entries [[2, 2, -1], [-1, 2, 2]], all with discriminant 12.
n = 7, D(7) = 10: the principal 2-cycle CR(7) is ([1, 6, -1], [-1, 6, 1]). The other 6-cyle is ([3, 4, -2], [-2, 4, 3], [3, 2, -3], [-3, 4, 2], [2, 4, -3], [-3, 2, 3]). Both cycles are invariant under outer entries sign flips.
		

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

Formula

T(n, k) = length of k-th cycle of reduced forms of discriminant 4*D(n), with D(n) = A000037(n).
Showing 1-3 of 3 results.