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-6 of 6 results.

A368134 Characteristic numbers of Markov triples in the binary tree A368546.

Original entry on oeis.org

2, 5, 12, 13, 75, 179, 70, 34, 507, 2923, 1120, 2673, 15571, 6089, 408, 89, 3468, 51709, 19760, 113922, 1701181, 651838, 16725, 39916, 3472225, 20226717, 1354498, 529673, 3087111, 206855, 2378, 233, 23763, 925943, 353702, 5273811, 205543262, 78545995, 770133
Offset: 0

Views

Author

William P. Orrick, Jan 11 2024

Keywords

Comments

The characteristic number u of a Markov triple (r, m, s) is the solution in (0, m) of r * x == s (mod m). It satisfies u^2 == -1 (mod m), so that v = (u^2 + 1) / m is also an integer. The other solution in (0,m) of u^2 == -1 (mod m), namely m - u, is always greater than u, so u < m / 2.
The Markov tree may be formulated in terms of a set of Cohn matrices. There is a one-parameter family of such sets, parametrized by an integer c. Given a vertex of the Markov tree with Farey triple (x, y, z) and Markov triple (r, m, s), producing characteristic number u and v = (u^2 + 1) / m, the Cohn matrix C_y(c) with parameter c is
[ c * m + u m ]
[(3 * c - c^2) * m - (2 * c - 3) * u - v (3 - c) * m - u].
Then the vertex is associated with a triple of Cohn matrices, (R, R S, S), where R = C_x(c), RS = C_y(c), and S = C_z(c). See A368546 for a description of Farey and Markov triples. The left child of the vertex is associated with the triple (R, R^2 S, RS) and the right child with (RS, R S^2, S).

Examples

			The initial rows of the binary tree are
                                  2
             5                                       12
   13                 75                    179                70
34    507        2923   1120            2673  15571       6089   408
		

References

  • Martin Aigner, Markov's theorem and 100 years of the uniqueness conjecture. A mathematical journey from irrational numbers to perfect matchings. Springer, 2013. x+257 pp. ISBN: 978-3-319-00887-5; 978-3-319-00888-2 MR3098784

Crossrefs

Cf. A368546.

Programs

  • SageMath
    rowM = [[1,5,2]]
    rowU = [[0,2,1]]
    a368134 = [2]
    for rw in range(1,6):
        prevRowM = rowM
        prevRowU = rowU
        rowM = []
        rowU = []
        for i in range(len(prevRowM)):
            [r,m,s] = prevRowM[i]
            [t,u,v] = prevRowU[i]
            ltM = [r,3*r*m - s,m]
            rtM = [m,3*m*s - r,s]
            ltU = [t,3*r*u - v,u]
            rtU = [u,3*u*s - t,v]
            rowM = rowM + [ltM,rtM]
            rowU = rowU + [ltU,rtU]
            a368134 = a368134 + [ltU[1],rtU[1]]
    a368134

Formula

Recurrence: The left child of the Markov triple (r, m, s) is (r, 3rm - s, m); the right child is (m, 3ms - r, s). The corresponding triple of characteristic numbers (t, u, v) has left child (t, 3ru - v, u) and right child (u, 3us - t, v). Initial Markov triple: (1, 5, 2), initial characteristic number triple: (0, 2, 1).

A064098 a(n+1) = (a(n)^2 + a(n-1)^2)/a(n-2), with a(1) = a(2) = a(3) = 1.

Original entry on oeis.org

1, 1, 1, 2, 5, 29, 433, 37666, 48928105, 5528778008357, 811537892743746482789, 13460438563050022083842073547074914, 32770967840592833551621556305285371426044732591005957081
Offset: 1

Views

Author

Santi Spadaro, Sep 16 2001

Keywords

Comments

This sequence was introduced by Dana Scott but possibly studied earlier by others. - James Propp, Jan 27 2005
Sequence gives the upper-left entries of the respective matrices
[1 1] [1 0] [2 1] [5 2] [29 12] [433 179] [37666 15571]
[1 2] [0 1] [1 1] [2 1] [12 5] [179 74] [15571 6437], ...
satisfying the recurrence M(n) = M(n-1) M(n-3)^(-1) M(n-1) (note that the Fibonacci numbers satisfy the additive version of this recurrence). - James Propp, Jan 27 2005
Define b(1) = b(2) = b(3) = 1; b(n) = (b(n-1) + b(n-2))^2/b(n-3); then a(n) = sqrt(b(n)). - Benoit Cloitre, Jul 28 2002
Any 3 successive terms of the sequence satisfy the Markov equation x^2 + y^2 + z^2 = 3 xyz. Therefore from the 3rd term on this is a subsequence of the Markov numbers, A002559. Also, we conjecture that the limit of log(log(a(n)))/n is log((sqrt(5) + 1)/2). - Martin Giese (martin.giese(AT)oeaw.ac.at), Oct 13 2005
A subsequence of the Markoff numbers A002559. - Andrew Hone, Jan 16 2006
The recursion exhibits the Laurent phenomenon. Let F(n) = Fibonacci(n), e(n) = F(n) - 1, a(1) = a1, a(2) = a2, a(3) = a3, a(n) = (a(n-1)^2 + a(n-3)^2) / a(n-3), b(n) = a(n) * a1^e(n-1) * a2^e(n-2) * a3^e(n-3). Then b(n) for n > 1 is an irreducible polynomial in {a1^2, a2^2, a3^2}, b(n) = (b(n-1)^2 + (b(n-2) * a1^F(n-4) * a2^F(n-5) * a3^F(n-6))^2) / b(n-3), and a(n) = a(n-1) * a(n-2) * (a1^2 + a2^2 + a3^2) / (a1 * a2 * a3) - a(n-3). - Michael Somos, Jan 12 2013
Starting with n = 5, a(n) is the largest number in row n - 5 of the Markov tree, A368546. These numbers are obtained by descending the tree in alternating right and left steps; their Farey indices (see A368546 for the definition) are ratios of successive Fibonacci numbers, 1/2, 2/3, 3/5, 5/8, ... See Aigner, Proposition 10.2. - Wouter Meeussen and William P. Orrick, Feb 11 2024

Examples

			G.f. = x + x^2 + x^3 + 2*x^4 + 5*x^5 + 29*x^6 + 433*x^7 + 37666*x^8 + ...
		

References

  • Martin Aigner, Markov's theorem and 100 years of the uniqueness conjecture. A mathematical journey from irrational numbers to perfect matchings. Springer, 2013. x+257 pp. ISBN: 978-3-319-00887-5; 978-3-319-00888-2 MR3098784

Crossrefs

Markov tree: A327345, A368546.

Programs

  • Magma
    [n le 3 select 1 else (Self(n-1)^2 + Self(n-2)^2)/Self(n-3): n in [1..16]]; // G. C. Greubel, Nov 07 2024
    
  • Maple
    f:=proc(n) option remember; global K; local i;
    if n <= K then 1
    else add(f(n-i)^2,i=1..K-1)/f(n-K); fi; end;
    K:=3;
    [seq(f(n),n=1..10)]; # N. J. A. Sloane, Mar 17 2017
  • Mathematica
    a[n_]:= (a[n-1]^2 +a[n-2]^2)/a[n-3]; a[1]=a[2]=a[3]=1; Array[a, 13] (* Or *)
    a[n_]:= 3*a[n-1]*a[n-2] - a[n-3]; a[1]= a[2]= a[3]= 1; Array[a, 13] (* Robert G. Wilson v, Dec 26 2012 *)
    nxt[{a_,b_,c_}]:={b,c,(c^2+b^2)/a}; NestList[nxt,{1,1,1},15][[;;,1]] (* Harvey P. Dale, Jul 07 2025 *)
  • PARI
    {a(n) = if( n<1, n = 4-n); if( n<4, 1, 3 * a(n-1) * a(n-2) - a(n-3))}; /* Michael Somos, Jan 12 2013 */
    
  • PARI
    { a=a3=a2=a1=1; for (n = 1, 18, if (n>3, a=(a1^2 + a2^2)/a3; a3=a2; a2=a1; a1=a); write("b064098.txt", n, " ", a) ) } /* Harry J. Smith, Sep 06 2009 */
    
  • SageMath
    def A064098(n):
        def a(n): return 1 if n<4 else (a(n-1)^2 + a(n-2)^2)/a(n-3)
        return a(n)
    [A064098(n) for n in range(16)] # G. C. Greubel, Nov 07 2024

Formula

Conjecture: lim_{n -> infinity} log(log(a(n)))/n exists = 0.48.... - Benoit Cloitre, Aug 07 2002. This is true - see below.
For this subsequence of the Markoff numbers, we have 2^(F(n-1) - 1) < a(n) < 3^(F(n-1) - 1) for n > 4, where F(n) are the Fibonacci numbers with F(0)=0, F(1)=1, F(n+1) = F(n) + F(n-1). Hence log(log(a(n)))/n tends to log((1 + sqrt(5))/2) as previously conjectured. - Andrew Hone, Jan 16 2006
a(n) = 3 * a(n-1) * a(n-2) - a(n-3). a(4-n) = a(n) for all n in Z. - Michael Somos, Jan 12 2013
a(n) ~ 1/3 * c^(((1 + sqrt(5))/2)^n), where c = 1.2807717799265504005186306582930649245... . - Vaclav Kotesovec, May 06 2015

Extensions

Entry improved by comments from Michael Somos, Sep 25 2001

A350922 a(0) = 2, a(1) = 5, and a(n) = 7*a(n-1) - a(n-2) - 4 for n >= 2.

Original entry on oeis.org

2, 5, 29, 194, 1325, 9077, 62210, 426389, 2922509, 20031170, 137295677, 941038565, 6449974274, 44208781349, 303011495165, 2076871684802, 14235090298445, 97568760404309, 668746232531714, 4583654867317685, 31416837838692077, 215334210003526850, 1475922632185995869
Offset: 0

Views

Author

Max Alekseyev, Jan 22 2022

Keywords

Comments

One of 10 linear second-order recurrence sequences satisfying (a(n)*a(n-1)-1) * (a(n)*a(n+1)-1) = (a(n)+1)^4 and together forming A350916.
From William P. Orrick, Dec 20 2023: (Start)
Every term is a Markov number (see A002559) and, for n > 1, corresponds to a node of the Markov tree A368546 whose sibling and ancestors are all odd-indexed Fibonacci numbers. For n > 1, a(n) is the label of the node obtained from the root by going left n - 2 times and then right. Its Farey index, described in the comments to A368546, is 2 / (2*n - 1).
For instance, a(3) = 194 comes from going left once from the root node of the Markov tree and then right, which corresponds to the sequence of Markov numbers 5, 13, 194. The corresponding sequence of Farey indices is 1/2, 1/3, 2/5. The sibling of the final node corresponds to Markov number 34 and Farey index 1/4. (End)

Crossrefs

Other sequences satisfying (a(n)*a(n-1)-1) * (a(n)*a(n+1)-1) = (a(n)+1)^4: A103974, A350917, A350919, A350920, A350921, A350923, A350924, A350925, A350926.

Programs

  • Mathematica
    CoefficientList[Series[(2 - x)*(1 - 5*x)/((1 - x)*(1 - 7*x + x^2)), {x, 0, 22}],x] (* James C. McMahon, Dec 22 2023 *)

Formula

G.f.: (2 - x)*(1 - 5*x)/((1 - x)*(1 - 7*x + x^2)). - Stefano Spezia, Jan 22 2022
a(n) = 3*A049684(n) + 2 = 3*A064170(n+2) - 1. - Hugo Pfoertner, Jan 22 2022
a(n) = 3*A000045(2*n - 1) * A000045(2*n + 1) - 1 = A000045(2*n - 1)^2 + A000045(2*n + 1)^2. - William P. Orrick, Jan 08 2023

A122946 a(0)=a(1)=0, a(2)=2; for n >= 3, a(n) = a(n-1) + 4*a(n-3).

Original entry on oeis.org

0, 0, 2, 2, 2, 10, 18, 26, 66, 138, 242, 506, 1058, 2026, 4050, 8282, 16386, 32586, 65714, 131258, 261602, 524458, 1049490, 2095898, 4193730, 8391690, 16775282, 33550202, 67116962, 134218090, 268418898, 536886746, 1073759106, 2147434698, 4294981682, 8590018106
Offset: 0

Views

Author

Benoit Cloitre, Oct 24 2006

Keywords

Comments

See lemma 5.2 of Reznick's preprint.
Conjecture: count of even Markov numbers in generation n (with generations 0, 1 and 2 labeled as {5}, {13, 29} and {34, 194, 433, 169}. (Checked up to generation 20.) - Wouter Meeussen, Jan 16 2024
Wouter Meeussen's conjecture is true. Proof: label the Markov tree with Markov triples according to the scheme described at A368546. Mod 2, the triples are: row 0: (1,1,0); row 1: (1,1,1), (1,1,0); row 2: (1,0,1), (1,0,1), (1,1,1), (1,1,0); row 3: (1,1,0), (0,1,1), (1,1,0), (0,1,1), (1,0,1), (1,0,1), (1,1,1), (1,1,0); etc. Note that the Markov number labels of the tree (the center numbers of the triples) in rows 0 and 1 include no even numbers, while those in row 2 include two even numbers. Observing that the second triple in row 1 and the first four triples in row 3 are the same or the reverse of the root triple, and noting that every vertex in row 3 and beyond is in a subtree with one of these triples as root, the recurrence follows. - William P. Orrick, Mar 05 2024

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{1,0,4},{0,0,2},36] (* James C. McMahon, Jan 16 2024 *)
  • PARI
    a0=a1=0;a2=2;for(n=3,50,a3=a2+4*a0;a0=a1;a1=a2;a2=a3;print1(a3,","))

Formula

a(n) = (1/7)*2^(-2 + n/2)*(7*2^(n/2) - 7*cos(n*(Pi - arctan(sqrt(7)))) + 5*sqrt(7)*sin(n*(-Pi + arctan(sqrt(7))))). - Zak Seidov, Oct 26 2006
G.f.: 2*x^2 / ((1-2*x)*(2*x^2+x+1)). - Colin Barker, Jun 20 2013
a(n) = 2 * A089977(n-2) for n >= 2. - Alois P. Heinz, Jan 16 2024
From A.H.M. Smeets, Jan 16 2024: (Start)
Limit_{n -> oo} a(n)/a(n-1) = 2.
a(n) = 2^(n-2) + A110512(n-2), for n >= 2. (End)

Extensions

Entries checked by Zak Seidov, Oct 26 2006

A370164 The number of residues mod n that occur among the Markov numbers.

Original entry on oeis.org

1, 2, 2, 2, 5, 4, 4, 3, 6, 10, 8, 4, 13, 8, 10, 5, 17, 12, 16, 10, 8, 16, 20, 6, 25, 26, 18, 8, 29, 20, 28, 9, 16, 34, 20, 12, 37, 32, 26, 15, 41, 16, 40, 16, 30, 40, 44, 10, 28, 50, 34, 26, 53, 36, 40, 12, 32, 58, 56, 20, 61, 56, 24, 18, 65, 32, 64, 34, 40
Offset: 1

Views

Author

Keywords

Comments

No Markov number is divisible by any prime congruent to 3 (mod 4). Proof: Let m be a Markov number and let p be an odd prime dividing m. Then there exist positive integers b and c such that m^2 + b^2 + c^2 = 3 * m * b * c (Markov's equation). Furthermore it is known that b and c must be coprime to m. Evaluating Markov's equation (mod p) gives b^2 = -c^2 (mod p), which implies -1 is a square (mod p). This is only possible if p = 1 (mod 4).
Given a prime p congruent to 3 (mod 4) and greater than 3, no Markov number is congruent to 1/3 * (p - 2 * sigma(p)) or 2/3 * (p + sigma(p)) (mod p), where sigma(p) = -1 if p is congruent to 7 (mod 12) and sigma(p) = 1 if p is congruent to 11 (mod 12). Proof: Let m be a Markov number congruent to one of the forbidden residues (mod p). Then evaluating Markov's equation (mod p) using the forms of the forbidden residues above and doing a few simplifications implies that -4 is a square (mod p). This contradicts that p = 3 (mod 4).
The first comment above implies that an odd Markov number is congruent to 1 (mod 4). It has also been shown that any positive even integer satisfying all of the constraints of the first two comments above is congruent to 2 (mod 32).
It is conjectured that, modulo n, all residues not forbidden by the constraints in the three comments above are actually realized by some Markov number. Specifically, mod n the forbidden residues include the following: (1) if p is a prime congruent to 3 (mod 4) that divides n, then any residue congruent to 0 (mod p) or congruent to either of the forbidden residues listed in the second comment (mod p), (2) if 4 divides n, then any odd residue congruent to 3 (mod 4), (3) if 2^r is the highest power of 2 dividing n and 2 <= r <= 5, then any even residue not congruent to 2 (mod 2^r), (4) if 2^r is the highest power of 2 dividing n and r > 5, then any even residue not congruent to 2 (mod 32). It is conjectured that all other residues occur. This has been verified for all n <= 38000.
If the conjecture in the previous comment is correct, then it follows from the Chinese remainder theorem that a(n) may be found by writing n = 2^s * 3^t * u * p_1^r_1 * p_2^r_2 * ... * p_k^r_k, where p_1, ..., p_k are distinct primes greater than 3 and congruent to 3 (mod 4) and r_1, ..., r_k are positive and where the prime divisors of u are all congruent to 1 (mod 4). Then a(n) = u * C_s * D_t * Product_{j=1..k} (p_j - 3) * p_j^(r_j - 1), where C_s = 2^s if s < 2, 1 + 2^(s-2) if 2 <= s <= 5, and 2^(s - 5) + 2^(s - 2) if s > 5, and where D_t = 1 if t = 0 and 2 * 3^(t-1) if t > 0. If the conjecture holds then a(n) is a multiplicative function.

Examples

			If n = 56 = 7 * 8 then, since only the residues 1, 2, 5, 6 are allowed (mod 7) and only the residues 1, 2, 5 are allowed (mod 8), the number of potential residues (mod 56) is 4 * 3 = 12, and these residues are 1, 2, 5, 9, 13, 26, 29, 33, 34, 37, 41, 50. That these residues are realized by Markov numbers is witnessed by 1, 2, 5, 233, 13, 194, 29, 89, 34, 1325, 433, 610.
		

References

  • Martin Aigner, Markov's theorem and 100 years of the uniqueness conjecture. A mathematical journey from irrational numbers to perfect matchings. Springer, 2013. x+257 pp. ISBN: 978-3-319-00887-5; 978-3-319-00888-2 MR3098784.

Crossrefs

Markov numbers: A002559.
Markov tree: A327345, A368546.
Triangle giving list of residues mod n: A370852.

Formula

Conjectured: write n = 2^s * 3^t * u * p_1^r_1 * p_2^r_2 * ... * p_k^r_k, where p_1, ..., p_k are distinct primes greater than 3 and congruent to 3 (mod 4) and r_1, ..., r_k are positive and where the prime divisors of u are all congruent to 1 (mod 4). Then a(n) = u * C_s * D_t * Product_{j=1..k} (p_j - 3) * p_j^(r_j - 1), where C_s = 2^s if s < 2, 1 + 2^(s-2) if 2 <= s <= 5, and 2^(s - 5) + 2^(s - 2) if s > 5, and where D_t = 1 if t = 0 and 2 * 3^(t-1) if t > 0.

A370852 Irregular triangle read by rows: row n is the list of residues mod n that occur among the Markov numbers.

Original entry on oeis.org

0, 0, 1, 1, 2, 1, 2, 0, 1, 2, 3, 4, 1, 2, 4, 5, 1, 2, 5, 6, 1, 2, 5, 1, 2, 4, 5, 7, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 4, 5, 6, 7, 9, 10, 1, 2, 5, 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 5, 6, 8, 9, 12, 13, 1, 2, 4, 5, 7, 8, 10, 11, 13, 14
Offset: 1

Views

Author

Keywords

Comments

Length of row n is A370164(n).

Examples

			The first rows are:
n
1:   0
2:   0  1
3:   1  2
4:   1  2
5:   0  1  2  3  4
6:   1  2  4  5
7:   1  2  5  6
8:   1  2  5
9:   1  2  4  5  7  8
10:  0  1  2  3  4  5  6  7  8  9
11:  1  2  4  5  6  7  9 10
12:  1  2  5 10
13:  0  1  2  3  4  5  6  7  8  9 10 11 12
14:  1  2  5  6  8  9 12 13
15:  1  2  4  5  7  8 10 11 13 14
16:  1  2  5  9 13
17:  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16
18:  1  2  4  5  7  8 10 11 13 14 16 17
19:  1  2  3  4  5  6  8  9 10 11 13 14 15 16 17 18
20:  1  2  5  6  9 10 13 14 17 18
For n = 14 residues congruent to 0, 3, or 4 mod 7 are forbidden. (See comments to A370164 for explanation.) All other residues occur. For example, the Markov numbers 1, 2, 5, 34, 610, 1325, 194, and 13 produce the residues shown in row 14 of the triangle (mod 14).
		

References

  • Martin Aigner, Markov's theorem and 100 years of the uniqueness conjecture. A mathematical journey from irrational numbers to perfect matchings. Springer, 2013. x+257 pp. ISBN: 978-3-319-00887-5; 978-3-319-00888-2 MR3098784.

Crossrefs

Markov numbers: A002559.
Markov tree: A327345, A368546.
Cf. A370164.

Programs

  • SageMath
    def generateAllMarkovTreeResidues(n):
        row = [[1 % n,5 % n,2 % n]]
        residuesFound = []
        triplesFound = []
        while row != []:
            newRow = []
            for trpl in row:
                if trpl[1] not in residuesFound:
                    residuesFound.append(trpl[1])
                if trpl[2] < trpl[0]:
                    trpl.reverse()
                if trpl not in triplesFound:
                    triplesFound.append(trpl)
                    newRow.append([trpl[0],(3*trpl[0]*trpl[1]-trpl[2]) % n,trpl[1]])
                    newRow.append([trpl[1],(3*trpl[1]*trpl[2]-trpl[0]) % n,trpl[2]])
            row = newRow
        residuesFound.sort()
        return(residuesFound)
    [r for n in range(1,16) for r in generateAllMarkovTreeResidues(n)]
Showing 1-6 of 6 results.