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-10 of 13 results. Next

A307372 One half of the row length of A324251: one half of the length of the reduced principal cycle for discriminant 4*D(n), with D(n) = A000037(n).

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 1, 1, 5, 2, 1, 1, 1, 3, 1, 3, 3, 2, 1, 1, 1, 2, 5, 1, 4, 2, 2, 2, 1, 1, 1, 1, 1, 3, 1, 5, 4, 3, 6, 2, 1, 1, 1, 3, 5, 3, 2, 1, 3, 7, 3, 2, 11, 2, 1, 1, 1, 5, 1
Offset: 1

Views

Author

Wolfdieter Lang, Apr 19 2019

Keywords

Comments

This is a subsequence of A226166. See the formula.
For details on the cycles for the principal form F_p(n) = FR(n), the first reduced form of the not reduced Pell form F(n) = [1, 0, -D(n)], see A324251, also for references and a W. Lang link with Table 1, last column LCR(n) = 2*a(n).

Crossrefs

Formula

a(n) equals one half of the length of the reduced principal cycle of discriminant 4*D(n), with D(n) = A000037(n), for n >= 1.
a(n) = A226166(e(n)), where e(n) is the n-th even term of A079896, for n >= 1.

A307359 Class number a(n) of indefinite binary quadratic forms with discriminant 4*A000037(n) for n >= 1.

Original entry on oeis.org

1, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 4, 1, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 1, 4, 2, 2, 2, 4, 4, 3, 2, 4, 4, 1, 4, 2, 2, 2, 2, 2, 4, 2, 4, 2, 1, 2, 4, 4, 2, 2, 2, 4, 1, 2, 4, 2, 4, 2, 2, 2, 4, 2, 4, 1, 2, 4, 2, 2, 4, 6, 4, 4, 2, 4, 2, 2, 4, 4, 1, 4, 4, 2, 2, 2, 4, 4, 1, 2, 8, 3, 4, 2, 4, 4, 2
Offset: 1

Views

Author

Wolfdieter Lang, Apr 04 2019

Keywords

Comments

This is a subsequence of A087048, See the formula.
This sequence is relevant for the Pell forms [1, 0, - D(n)], with D(n) = A000037(n) and discriminant 4*D(n).
The Buell reference, Table 2B, pp. 241-243, gives only the class numbers, called there H, for A000037(n) squarefree and not congruent to 1 modulo 4. E.g., a(3), related to discriminant 4*5 = 20, is not treated there; also a(6) for discriminant 32 = 4*(2*2^2) does not appear there.
For the a(n) cycles of primitive reduced forms of discriminant 4*A000037(n) see the W. lang link in A324251, Table 2 and Table 1, for n = 1..30. - Wolfdieter Lang, Apr 19 2019

Examples

			a(1) = 1 because 4*A000037(1) = 4*2 = 8 = A079896(e(1)) with e(1) = 1 and A087048(1) = 1.
a(12) = 4 because the twelfth even number of A079896 is 60 at position e(12) = 22, and A087048(22) = 4.
The cycle for discriminant 8 is [[1, 2, -1], [-1, 2, 1]].
The four 2-cycles for discriminant 60 are  [[1, 6, -6], [-6, 6, 1]], [[-1, 6, 6], [6, 6, -1]], [[2, 6, -3], [-3, 6, 2]] and  [[-2, 6, 3], [3, 6, -2]].
		

References

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

Crossrefs

Programs

  • SageMath
    def a(n):
        i, D, S = 1, 4*n + 4*floor(1/2 + sqrt(n)), []
        for b in range(1, isqrt(D)+1):
            if ((D-b^2)%4 != 0): continue
            for a in Integer((D-b^2)/4).divisors():
                if gcd([a, b, (D-b^2)/(4*a)]) > 1: continue
                Q = BinaryQF(a, b, -(D-b^2)/(4*a))
                if all([(not Q.is_equivalent(t)) for t in S]): S.append(Q)
        return len(S)  # Robin Visser, Jun 01 2025

Formula

a(n) gives the number of distinct cycles of primitive reduced forms of discriminant 4*A000037(n).
a(n) = A087048(e(n)), with e(n) the position of the n-th even term of A079896, for n >= 1.

Extensions

a(40) corrected and more terms from Robin Visser, Jun 01 2025

A344231 Positive integers k properly represented by the positive definite binary quadratic form X^2 + 5*Y^2 = k, in increasing order.

Original entry on oeis.org

1, 5, 6, 9, 14, 21, 29, 30, 41, 45, 46, 49, 54, 61, 69, 70, 81, 86, 89, 94, 101, 105, 109, 126, 129, 134, 141, 145, 149, 161, 166, 174, 181, 189, 201, 205, 206, 214, 229, 230, 241, 245, 246, 249, 254, 261, 269, 270, 281, 294, 301, 305, 309, 321, 326, 329, 334, 345, 349, 366, 369, 381, 389, 401, 405
Offset: 1

Views

Author

Wolfdieter Lang, Jun 10 2021

Keywords

Comments

This is one of the bisections of sequence A343238. The other sequence is A344232.
This is a proper subsequence of A020669.
The primes in this sequence are given in A033205.
Discriminant Disc = -20 = -4*5. Class number h(-20) = A000003(5) = 2. The reduced primitive forms representing the two proper (determinant = +1) equivalence classes are the present principal form F1 = [1, 0, 5] and F2 = [2, 2, 3] treated in A344232.
A positive integer k is properly represented by some primitive form of Disc = -20 if and only if the congruence s^2 + 20 == 0 (mod 4*k) has a solution. See, e.g., Buell Proposition 41, p. 50, or Scholz-Schoeneberg Satz 74, p. 105. That is, x^2 + 5 == 0 (mod k), with s = 2*x. For the representative solutions x from {0, 1, ..., k-1}, with k from A343238, see A343239. These solutions x determine the so-called representative parallel primitive forms (rpapfs) [k, 2*x, (x^2 + 5)/k] representing k. They are properly equivalent (via so called R(t)-transformations) to one of the reduced forms F1 or F2. (See also W. Lang's links in A225953 and A324251, but there indefinite forms are considered.)
In order to find out which k from A343238 is represented either by form F1 or F2 the two generic multiplicative characters of Disc = -20, namely Legendre(k|p), with the odd prime p = 5 which divides Disc = -20, and Jacobi(-1|k) can be used. See Buell, pp. 51-52. They lead to the two classes of genera of Disc -20.
The present genus I, the principal one, has for odd primes p, not 5, the values Legendre(p|5) = Legendre(5|p) = +1 and Jacobi(-1|p) = Legendre(-1|p) = +1, leading for odd primes not equal to 5 to A033205. The prime 2 is not represented. The prime 5 is trivially represented. For the other genus II these two characters have values -1. There prime 2 is represented.
For composite k the prime number factorization is used, and for powers of primes the lifting theorem is employed (see, e.g., Apostol, p. 121, Theorem 5.30). The solution for prime 2 represented by form F2 = [2, 2, 3] (from the other genus II) is not liftable to powers of 2. The solution for prime 5 is also not liftable (proof by induction). The solutions of the other primes from A033205 and A106865 are uniquely liftable to powers of these primes. See A343238 for all properly represented k for Disc = -20.
For the present genus I the properly represented integers k are given by 2^a*5^b*Product_{j=1..PI} (pI_j)^(eI(j))*Product_{k=1..PII} (pII_k)^(eII(k)), with a and b from {0, 1} but if PI = PII = 0 (empty products are 1) then a = b = 0 giving a(1) = 1. The odd primes pI_j are from A033205 (== {1, 9} (mod 20)), the primes pII_k are from the odd primes of A106865 (== {3, 7}(mod 20)). The exponents of the second product are restricted: if a = 1 then PII >= 1 and Sum_{k=1..PII} eII(k) is odd. If a = 0 then PII >= 0, and if PII >= 1 then this sum is even.
Neighboring numbers k (twins) begin: [5, 6], [29, 30], [45, 46], [69, 70], [205, 206], [229, 230], [245, 246], [269, 270], [405, 406], ...
For the solutions (X, Y) of F2 = [1, 0, 5] properly representing k = a(n) see A344233.

References

  • Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, pp 121 - 122.
  • D. A. Buell, Binary Quadratic Forms, Springer, 1989.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, Sammlung Göschen Band 5131, Walter de Gruyter, 1973.

Crossrefs

A324252 Triangle T(n, k) read by rows from 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, 1, 0, 0, 2, 0, 0, 0, 1, 0, 0, 2, 0, 0
Offset: 1

Views

Author

Wolfdieter Lang, Apr 20 2019

Keywords

Comments

The array A(n, k) gives the number of the representative parallel binary quadratic primitive forms for discriminant Disc(n) = 4*D(n) = 4*A000037(n) and representation of positive integer k which are (properly) equivalent to the Pell form F(n) = [1, 0, -D(n)].
For the definition of representative parallel primitive forms for discriminant Disc > 0 (the indefinte 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.
Among them the parallel forms which are equivalent to the reduced principal form F_p(n) = [1, 2*s(n), -(D(n) - s(n))^2], with s(n) = A000194(n), are important to find all solutions (x, y) with gcd(x, y) = 1 (proper) of the Pell form F(n) = [1, 0, -D(n)] with Disc(F(n)) = 4*D(n) > 0 representing a positive integer k. The number of these parallel forms pa(n, k) gives the number of the proper fundamental solutions. The general solution is obtained from the fundamental solutions with the help of integer powers of the automorphic matrix corresponding to the cycle determined by the reduced principal form F_p(n).
Thus the array A(n,k) gives the number of proper families (also called classes) of solutions of the Pell equation x^2 - Dn(n)*y^2 = k, for positive integer k. The positions of the nonzero entries in row n give the list of the k values for which proper solutions exist.
These position lists are A057126 (conjecture) and A243655, for k = 1 and 2.
The first column has only 1s, showing that every Pell form [1, 0, -D(n)] represents k = +1, and that there is only one family of proper solutions.

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 0 0 0 0 1 0 0 0  0  0  0  2  0  0
3,   5:      1 0 0 2 1 0 0 0 0  0  2  0  0  0  0
4,   6:      1 0 1 0 0 0 0 0 0  2  0  0  0  0  0
5,   7:      1 1 0 0 0 0 0 0 2  0  0  0  0  0  0
6,   8:      1 0 0 0 0 0 0 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:      1 0 0 0 2 0 0 0 0  0  0  0  0  2  0
9,  12:      1 0 0 1 0 0 0 0 0  0  0  0  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 0 0 0 0 0  0  2  0  0  0  0
12, 15:      1 0 0 0 0 0 0 0 0  1  0  0  0  0  0
13, 17:      1 0 0 0 0 0 0 2 0  0  0  0  2  0  0
14, 18:      1 0 0 0 0 0 2 0 1  0  0  0  0  0  0
15, 19:      1 0 0 0 2 2 0 0 2  0  0  0  0  0  0
16, 20:      1 0 0 0 1 0 0 0 0  0  0  0  0  0  0
17, 21:      1 0 0 2 0 0 1 0 0  0  0  0  0  0  2
18, 22:      1 0 2 0 0 0 0 0 2  0  1  0  0  2  0
19, 23:      1 1 0 0 0 0 0 0 0  0  0  0  2  0  0
20, 24:      1 0 0 0 0 0 0 0 0  0  0  1  0  0  0
...
-------------------------------------------------------------
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:     1 1
3:     1 0 0
4:     1 0 0 0
5:     1 0 0 0 0
6:     1 1 1 2 0 0
7:     1 0 0 0 1 1 2
8:     1 0 0 0 0 0 0 0
9:     1 0 0 0 0 0 0 0 0
10:    1 0 0 0 0 0 0 0 0  0
11:    1 0 0 0 0 0 0 0 0  0  0
12:    1 1 2 1 2 2 0 0 0  0  0  0
13:    1 0 0 2 0 0 0 1 2  2  2  0  0
14:    1 0 0 0 0 0 0 0 0  0  0  0  2  2
15:    1 0 0 0 0 0 0 0 2  0  0  0  0  0  0
16:    1 0 0 0 0 0 0 0 0  1  0  0  0  0  0  0
17:    1 0 0 0 0 0 0 0 0  0  0  0  0  0  0  0  2
18:    1 0 0 0 0 0 0 0 2  0  0  0  0  0  0  0  0  0
19:    1 0 0 0 2 0 0 0 0  0  0  0  0  0  0  0  0  0  0
20:    1 1 2 2 1 2 2 2 0  0  0  0  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(5, 9) = 2 = T(13, 9) because D(5) = 7, and the Pell form F(5) with disc(F(5)) = 4*7 = 28 representing k = +9 has 2 families (classes) of proper solutions generated from the two positive fundamental positive solutions (x10, y10) = (11, 4) and (x20, y20) = (4, 1). They are obtained from the trivial solutions of the parallel forms [9, 8, 1] and [9, 10, 2], respectively. See the W. Lang link in A324251, section 3.
		

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

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 >= 1, with D(n) = A000037(n), for n >= 1.

A358946 Positive integers that are properly represented by each primitive binary quadratic form of discriminant 28 that is properly equivalent to the principal form [1, 4, -3].

Original entry on oeis.org

1, 2, 9, 18, 21, 29, 37, 42, 53, 57, 58, 74, 81, 93, 106, 109, 113, 114, 133, 137, 141, 149, 162, 177, 186, 189, 193, 197, 217, 218, 226, 233, 249, 261, 266, 274, 277, 281, 282, 298, 309, 317, 329, 333, 337, 354, 361, 373, 378, 386, 389, 393, 394, 401, 413, 417, 421, 434, 449, 457, 466, 477, 498, 501
Offset: 1

Views

Author

Wolfdieter Lang, Jan 10 2023

Keywords

Comments

This is a subsequence of A242662, excluding the primitive forms of discriminant 28 with only improper representations of k, like k = 4, 8, 16, 25, 32, ... .
An indefinite binary quadratic primitive form F = a*x^2 + b*x*y + c*y^2 (gcd(a, b, c) = 1) with discriminant Disc = b^2 - 4*a*c = 28 = 2^2*7 is denoted by [a, b, c], or in matrix notation by MF = Matrix([[a, b/2], [b/2, c]]). Hence F = X*MF*X^T (T for transposed), where X = (x, y). See the two links for details and references.
Properly equivalent forms F' and F are related by a matrix R of determinant +1 like MF' = R^T*MF*R, and X'^T = R^{-1}*X^T.
Each primitive form, properly equivalent to the reduced principal form F_p = [1, 4, -3] for Disc = 28 (used in A242662), represents the given nonnegative k = a(n) values (and only these) properly with X = (x, y) and gcd(x, y) = 1. Modulo an overall sign change in X one can choose x nonnegative.
There are 8 = A082174(8) primitive reduced forms of Disc = 28 leading to 2 = A087048(8) (class number) cycles each of period 4, namely the principal cycle CyP = [[1, 4, -3], [-3, 2, 2], [2, 2, -3], [-3, 4, 1]] and the one (with outer signs flipped) CyP' = [[-1, 4, 3], [3, 2, -2], [-2, 2, 3], [3, 4, -1]].
There are A358947(n) representative parallel primitive forms (rpapfs) of discriminant Disc = 28 for k = a(n). This gives the number of proper fundamental representations X = (x, y), with x >= 0, of each primitive form [a, b, c], properly equivalent to the principal form F_p of Disc = 28.
For the negative integers k properly represented by primitive forms [a, b, c] properly equivalent to the principal form of Disc = 28 see A359476. The corresponding number of fundamental proper representations is given in A359477.
This and the three related sequences originated from a proposal by Klaus Purath proving that the form FKP := [1, -2, -6] of Disc = 28 represents k = k(m) = m^2 - 7 = A028881(m), for m >= 3, with the two fundamental representations X1(m) = (m+1, 1) and X2(m) = (11*m - 29, 3*m - 8). This form FKP is properly equivalent to the principal form F_p with R = Matrix([[1, -3], [0, 1]]). Hence all k = a(n) are represented by the form FKP, and A028881 is a subsequence of the present one.

Examples

			k = 9 = a(3): F = FPell = [1, 0, -7] is properly equivalent to F_p = [1, 4, -3] by two so-called half-reduced right neighbor R(t)-transformations, with the matrix R = R(t) = Matrix([[0, -1], [1, t]]), first with t = 0 then with t = 2. For FPell representing k = 9 with x > 0 and y > 0 see X_1(9, i) = (A307168(i), A307169(i)) and X_2(9, i) = (A307172(i), A307173(i)), for i >= 0. There are also the representations with y -> -y arising from the opposite fundamental solutions.
The 2 = A358947(3) rpapfs are F1 = [9, 8, 1] and F2 = [9, 10, 2]. They lead by proper equivalence transformations to a form of the above given principal cycle CyP. F1 -> [1, 4, -3] = F_p with matrix R(6), and F2 -> [2, 2, -3] with R(3). See the FIGURE, p. 10, of the linked paper.
Besides the primitive forms FPell, F1, F2 and the four forms of CyP also F' = [-7, 0, 1], and all primitive and properly equivalent forms represent k = 9. See the mentioned FIGURE, where FPa1 = F1, FPa1 = F2, Fpa2' = F_p^{(2)} = [2, 2, -3] and FPa2'' = F_p^{(3)} = [-3, 4, 1].
		

Crossrefs

A307236 One half of the number of primitive reduced binary quadratic forms for discriminant 4*A000037(n), for n >= 1.

Original entry on oeis.org

1, 2, 1, 2, 4, 2, 4, 2, 2, 5, 4, 4, 1, 2, 6, 2, 6, 6, 4, 6, 4, 2, 4, 5, 6, 8, 4, 4, 10, 4, 7, 2, 8, 6, 3, 4, 10, 8, 6, 12, 4, 4, 4, 8, 6, 5, 6, 8, 6, 6, 12, 6, 10, 11, 4, 4, 6, 8, 10, 2, 8, 10, 8, 8, 7, 8, 8, 12, 6, 8, 16, 6, 10, 2, 6, 12, 10, 4, 12, 5
Offset: 1

Views

Author

Wolfdieter Lang, Mar 30 2019

Keywords

Comments

This is a subset of one half of A082174. See the formula.
This sequence is also one half of the total length of the A307359(n) cycles for discriminant 4*D(n), with D(n) = A000037(n). See the W. Lang link in A324251, Table 2, last column SigmaL(n) = 2*a(n). - Wolfdieter Lang, Apr 19 2019

Examples

			a(5) = 4 because the fifth even term of A079896 is at position e(5) = 8, and A082174(8)/2 = 4.
The 2*a(5) = 8 primitive reduced forms for discriminant 4*A000037(5) = 4*7 = 28 are [[-2, 2, 3], [2, 2, -3], [-3, 2, 2], [3, 2, -2], [-1, 4, 3], [1, 4, -3], [-3, 4, 1], [3, 4, -1]].
The preceding 8 forms give the 2 = A307359(5) 4-cycles CR(5) = [[1, 4, -3], [-3, 2, 2], [2, 2, -3], [-3, 4, 1]], the principal cycle with the principal reduced form [1, 4, -3], and the 4-cycle obtained from this by a sign flip of the outer form entries. - _Wolfdieter Lang_, Apr 19 2019
		

Crossrefs

Formula

a(n) = A082174(e(n))/2, with e(n) the position of the n-th even term of A079896.

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.

A327343 a(n) gives the number of representative parallel primitive forms for binary quadratic forms of discriminant Disc(n) = 9*m(n)^2 - 4 and representation of -m(n)^2, with m(n) = A002559(n) (Markoff numbers).

Original entry on oeis.org

1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, 2, 2, 4, 2, 4, 2, 4, 4, 4, 2, 2, 4, 2, 4, 4, 4, 2, 4, 8, 8, 4, 2, 4, 2, 2, 4, 4, 4, 4, 8, 2, 2, 8, 2, 2, 4, 8, 4, 4, 4, 8, 4, 2, 8, 8, 4, 8, 2, 8, 8, 4, 4, 4, 8, 2, 4, 4, 4, 4, 4, 4, 2, 8, 4, 2, 16, 2, 4, 4, 16, 4, 2, 8, 8, 16, 8, 2, 2, 4, 4, 4, 2, 8, 4, 8, 4
Offset: 1

Views

Author

Wolfdieter Lang, Sep 13 2019

Keywords

Comments

For the definition of parallel forms for an indefinite binary quadratic form with discriminant Disc and representation of an integer k see, e.g., the Buell, Scholz-Schoeneberg references or the W. Lang link, section 3, with a scanning prescription.
For the Markoff case Disc(n) = 9*m(n) - 4 = b(n)*(b(n)+2), with m = A002559 and b = A324250.
The Markoff form MF(n;x,y) = x^2 - 3*m(n)*x*y + y^2, also written as MF(n) = [1, -3*m(n), 1], representing -m(n)^2, has as first reduced form the principal form F_p(n;X,Y) = X^2 + b(n)*X*Y - b(n)*Y^2, or F_p(n) = [1, b(n), -b(n)], where the connection is X = x-y, Y = x, or x = Y, y = Y - X. Hence X <= 0 for x <= y.
Only proper solutions (gcd(X, Y) = 1) are of interest. Also only primitive representative parallel forms FPa(n;i), for i = 1, 2, ..., #FPa(n), are considered.
In the present case it is possible to give directly the prescription for the primitive representative parallel forms (rpapfs). This is done for the even m(n) == 2 (mod 32) case and the odd case m(n) == 1 (mod 4) separately.
These rpapfs are written as FPa(n;i) = [-m(n)^2, B(n,i), -C(n,i)]. Their number a(n) = #FPa(n) can be found from congruences with an application of the Chinese remainder theorem and the lifting theorem (see Apostol, Theorem 5.26, pp. 118-119, and Theorem 5.30, pp. 121-122 (only part (a) is effective here)). The existence of two solutions for each odd prime modulus is important as input for the lifting to higher prime powers. For each of the singular cases m(1) = 1 and m(2) = 2, without odd prime divisors, there is only one rpapf.
The Frobenius-Markoff uniqueness conjecture is certainly true for m(n) if a(n) = 1 or a(n) = 2. In the latter case the two rpapfs have to be equivalent to the principal form F_p(n), because the known solution implied by the ordered triple MT(n) = (x(n), y(n), m(n)) has an unordered partner solution which after ordering becomes (x(n), y'(n), m(n')) with y'(n) = m(n) and m(n') = 3*x(n)*m(n) - y(n) >= m(n).
See A327344 for details on the congruences which determine the rpapfs.

Examples

			n = 6: m(6) = 34 = 2*17, a(6) = 2. The (primitive) reduced principal form is F_p(6) = [1, 100, -100], and both representative parallel primitive forms are connected to this form via an equivalence transformation. The two proper fundamental solutions with X < 0 of F_p(6) = -34^2 are (X, Y)_1 = (-12, 1) and (X, Y)_2 = (-88, 1). They belong to the ordered Markoff triple MT(6) = (1, 13, 34) and the unordered one (1, 89, 34), respectively. The latter triple has 89 = 3*1*34 - 13, and is the ordered triple (1, 34, 89), not of interest in the search for ordered solution with maximum m(6).
Note that there are other proper fundamental positive solutions coming from the imprimitive form F = [4, 96, -74], namely (X, Y)_3 = (19, 26) and (X, Y)_4 = (133, 178) which are not counted here.
n = 12: m(12) = 610 = 2*5*61, a(12) = 4. The reduced principal form F_p(12) = [1, 1828, -1828], representing -610^2, has only two proper fundamental solutions with X < 0, Y > 0: (X, Y)_1 = (-232, 1), corresponding to the ordered Markoff triple MT(12) = (1, 233, 610), and (X, Y)_2 = (-1596, 1), corresponding to the unordered triple (1, 1597, 610). These solutions follow from the rpapfs [-372100, 742836, -370735] with t-tuple (-1, 231) and [-372100, 1364, 1] with t-tuple (1596), respectively.  The other two such proper fundamental solutions are (X, Y)_3 = (-6, 25) for the reduced form F(12) = [625, 1664, -232], and (X, Y)_4 = (-25, 6) for the associated form Fbar(12) = [-232, 1664, 625], both  representing -m(12)^2. These last two reduced forms belong to different (associated) 8-cycles. The corresponding rpapfs are [-372100, 623764, -261407] and [-372100, 120436, -9743].
		

References

  • Martin Aigner, Markov's Theorem and 100 Years of the Uniqueness Conjecture, Springer, 2013.
  • Tom M. Apostol, Introduction to Analytic Number Theory, 1976, Springer.
  • D. A. Buell, Binary quadratic forms, 1989, Springer, p. 49 (f').
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, 5. Aufl., de Gruyter, Berlin, New York, 1973, p. 105, eq. 129.

Crossrefs

Formula

a(n) = 2^A327342(n), n >= 1, where A327342(n) is the number of distinct odd primes dividing m(n).
a(n) = number of representative parallel primitive forms (rpapfs) for discriminant Disc(n) = 9*m(n)^2 - 4 = b(n)*(b(n) + 4), with m(n) = A002559(n) and b(n) = A324250(n).

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.

A378710 Positive numbers k such that -k is properly represented by the Pell Form x^2 - 15*y^2.

Original entry on oeis.org

6, 11, 14, 15, 35, 51, 59, 71, 86, 110, 119, 131, 134, 159, 179, 191, 206, 215, 231, 239, 251, 254, 294, 311, 326, 335, 339, 359, 366, 371, 374, 411, 419, 431, 446, 479, 491, 519, 515, 519, 539, 566, 590, 591, 599, 614, 635, 654, 659, 671, 686
Offset: 1

Views

Author

Wolfdieter Lang, Dec 13 2024

Keywords

Comments

This is a subsequence of A237606. There the uninteresting numbers that have improper representations are also recorded.
The primes in the sequence are given in A141302.
A primitive indefinite form F(a,b,c;x,y) = a*x^2 + b*x*y + c*y^2, or [a, b, c] with gcd(a, b, c) = 1 and even discriminant Disc = b^2 - 4*a*c = 60 = 4*D, D = 15, has class number A307359(12) = 4. The four reduced 2-cycle forms are the principal cycle CR = {[1, 6, -6], [6, 6,-1]}, CRhat = {[-1, 6, 6], [-6, 6,1]}, (outer signs flipped), Cy ={[2, 6, -3], [-3, 6, 2]} and Cyhat ={[-2, 6, 3], [3, 6, -2]}.
A proper representation of an integer k (not 0) by such a form F is determined by the rpapfs (representative parallel primitive forms) FPa(k, j) = [k, 2*j, (j^2 - 15)/k], where j from {0, 1, ...,|k|-1} is determined by the congruence j^2 - 15 = = 0 (mod |k|).
The equivalence transformations R(t) of a form F = [a, b, c] is [c , -b +2*c*t, 1 - b*t + c*t^2]. This corresponds to R(t) = Matrix([0, -1], [1, t]). Half-reduced R-transformations use the choice t = ceiling((8 + b)/(2*c) - 1), if c > 0, and t = floor(1 - (8 + b)/(2*|c|)) if c < 0. (c = 0 is not considered because Disc becomes a square).
Because any form F of Disc = 60 represents a negative integer -k if it is equivalent to one of the rpapfs FPa(-k, j), the allowed values are
k = 2^{e_2}*3^{e_3}*5^{e_5}*Product_{i=1..P} p_i^{e_j}, where p_i is an odd prime >= 7 from the sequence A097956 or A038887(n), n >= 4, the p with Legendre(15, p) = +1. The exponents for 2, 3, and 5 are from {0, 1} (these primes are not liftable to powers) and e_i >= 0 (p_i is uniquely liftable to powers, see the Apostol reference), but not all exponents should be 0, because -1 is not represented. The number of infinite families of proper solutions (x, y), with positive values y, is 2^(P).
The present sequence is a proper subset of these generally allowed k values. One has to check if the rpapfs Fpa(-k, j) reach the principal cycle CR, then if so k is a member of the present sequence. This is because the Pell form FPell = [1, 0, -15] reaches (taking t to be first 0 then 3) the cycle member CR(1) = [1, 6, -6], the reduced principal form.
For details see the W. Lang paper in the links.
For the fundamental proper positive solutions of the infinite families for - a(n) see A378711. Note that -a(n) may also have improper solutions besides the proper ones whenever even powers of primes satisfying Legendre(15, p) = +1 appear, e.g., the first instance being -294 = -2*3*7^2).

Examples

			-2, -3, and -5 are not in the sequence because the rpapfs are [-2, 2, 7] reaching after two R(t)-steps with t values -0 and  -1 the cycle member Cyhat(1), [-3, 0, 5] reaching with t values 0  and 1 Cy(1), and [-5, 0, 3] reaches with t = 0 Cyhat(2), respectively.
-a(1) = -6 = -2*3 is represented because [-6, 6, 1] = CR(2) (already a reduced form). There is only one infinite family of proper solutions with y > 0 (an ambiguous case) with fundamental solution (x, y) = (3, 1).
There is no solution representing  -10 = -2*5, because [-10, 10, -1] leads with t = -8 to CRhat(1).
-a(11) = - 119 has the four rpapfs [-119, 54, -6], [-119, 82, -14], [-119, 156, -51], and [-119, 184, -71]. They lead with t = -5,  t = -3, 4, t = -1, 2, 2, and t = -1, 3 to members CR(2), CR(1), CR(1), and CR(2), respectively.
		

References

  • T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1986. Theorem 5.10, pp, 121-122.
  • A. Buell, Binary Quadratic Forms. Springer-Verlag, NY, 1989, pp. 21 - 34.
  • Trygve Nagell, Introduction to Number Theory, 2nd edition, Chelsea Publishing Company, 1964, pp. 195 - 212.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, 5. Aufl., de Gruyter, Berlin, New York, 1973, chapter IV, pp. 97 - 126.

Crossrefs

Showing 1-10 of 13 results. Next