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.

A368546 Alternative version of the Markov tree A327345.

Original entry on oeis.org

5, 13, 29, 34, 194, 433, 169, 89, 1325, 7561, 2897, 6466, 37666, 14701, 985, 233, 9077, 135137, 51641, 294685, 4400489, 1686049, 43261, 96557, 8399329, 48928105, 3276509, 1278818, 7453378, 499393, 5741, 610, 62210, 2423525, 925765, 13782649, 537169541
Offset: 0

Views

Author

William P. Orrick, Jan 04 2024

Keywords

Comments

The Markov tree is a complete, infinite binary tree. Vertices are labeled by triples. The root vertex is (1, 5, 2). The left child of (a, b, c) is (a, 3*a*b - c, b); its right child is (b, 3*b*c - a, c). The sequence is a triangle read by rows consisting of the middle element of each triple, which is always the largest element of the triple. Row r contains 2^r elements.
The tree contains contains exactly one representative of each class of permutation equivalent nonsingular solutions to Markov's equation, a^2 + b^2 + c^2 = 3 * a * b * c. Nonsingular solutions are those in which a, b, and c are three distinct numbers. The two singular triples (1, 1, 1) and (1, 2, 1) are omitted in this sequence.
A consequence of Markov's equation is that the recurrence for the tree may be reformulated as follows: the left child of (a, b, c) is (a, (a^2 + b^2) / c, b); its right child is (b, (b^2 + c^2) / a, c).
An open problem is to prove the uniqueness conjecture, which asserts that the largest element of a triple determines the other two.
Frobenius proposed assigning a rational number index in (0,1) to each vertex of the tree, and hence to each term in this sequence. This is the Farey index, obtained by assigning the triple (0/1, 1/2, 1/1) to the root vertex and using the following rules to assign triples to the rest of the tree: the vertex labeled (u/v, w/x, y/z) with w = u + u and x = v + z has left child (u/v, (u+w)/(v+x), w/x) and right child (w/x, (w+y)/(x+z), y/z). The Farey index is the center element of the triple. Each rational number in (0, 1) appears as the Farey index of exactly one vertex of the tree. The index of a(n) is A007305(n+2) / A007306(n+2).
A sequence of leftward steps in the tree produces odd-indexed Fibonacci numbers, A001519, which have Farey indices of the form 1 / n. A sequence of rightward steps in the tree produces odd-indexed Pell numbers, A001653, which have Farey indices of the form (n - 1) / n. A sequence of leftward steps followed by a single rightward step produces A350922, corresponding to Farey indices of the form 2 / (2 * n + 1). Alternating steps right, left, right, left, right, ... produces A064098, which corresponds to Farey indices of the form F(n) / F(n + 1), where F(n) is the n-th Fibonacci number.

Examples

			The initial levels of the tree are as follows. (See p. 47 of Aigner's book.)
                               (1,5,2)
             (1,13,5)                              (5,29,2)
   (1,34,13)         (13,194,5)         (5,433,29)             (29,169,2)
(1,        (34,     (13,     (194,    (5,       (433,       (29,       (169,
 89,        1325,    7561,    2897,    6466,     37666,      14701,     985,
 ,34)        13)      194)     5)       433)      29)         169)       2)
		

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

Other presentations of the Markov numbers, Markov triples, or the Markov tree: A002559, A253809, A291694, A305313, A305314, A327345.
Subsequences in the Markov tree: A001519, A001653, A350922, A064098.
Farey tree: A007305, A007306.

Programs

  • Python
    def Mtree(x): return(x[0],(3*x[0]*x[1])-x[2],x[1]), (x[1],(3*x[1]*x[2])-x[0],x[2])
    def A368546_rowlist(maxrow):
        A,B = [[(1,5,2)]],[]
        for n in range(maxrow+1):
            A.append([])
            for j in A[n]:
                B.append(max(j))
                for k in Mtree(j):
                    A[n+1].append(k)
        return(B) # John Tyler Rascoe, Feb 09 2024
  • SageMath
    def stripUpToFirst1(w):
        x = w
        while x % 2 == 0:
            x = x // 2
        return(x // 2)
    def stripUpToFirst0(w):
        x = w
        while x % 2 == 1:
            x = x // 2
        if x == 0:
            return(None)
        else:
            return(x // 2)
    @CachedFunction
    def markovNumber(w):
        if w == None:
            return(2)
        elif w == 0:
            return(1)
        elif w == 1:
            return(5)
        elif w % 2 == 0:
            return(3*markovNumber(stripUpToFirst1(w))*markovNumber(w//2) - markovNumber(stripUpToFirst0(w//2)))
        else:
            return(3*markovNumber(stripUpToFirst0(w))*markovNumber(w//2) - markovNumber(stripUpToFirst1(w//2)))
    [markovNumber(w) for w in range(1,38)]
    

A351372 Array of triples (x,y,z) satisfy the Diophantine equation (x+y)^2 + (y+z)^2 + (z+x)^2 = 12*x*y*z, 1 <= x <= y <= z. (sorted by z).

Original entry on oeis.org

1, 1, 1, 1, 1, 3, 1, 3, 13, 1, 13, 61, 3, 13, 217, 1, 61, 291, 1, 291, 1393, 3, 217, 3673, 13, 61, 4683, 1, 1393, 6673, 13, 217, 16693, 1, 6673, 31971, 3, 3673, 62221, 61, 291, 106153, 1, 31971, 153181, 13, 4683, 360517, 1, 153181, 733933, 3, 62221, 1054081
Offset: 1

Views

Author

Seiichi Manyama, Feb 15 2022

Keywords

Examples

			The array of triples begins:
  ( 1,    1,     1),
  ( 1,    1,     3),
  ( 1,    3,    13),
  ( 1,   13,    61),
  ( 3,   13,   217),
  ( 1,   61,   291),
  ( 1,  291,  1393),
  ( 3,  217,  3673),
  (13,   61,  4683),
  ( 1, 1393,  6673),
  (13,  217, 16693),
  ...
		

Crossrefs

Cf. A291694.

Programs

  • PARI
    N=5000;
    for(k=1, N, for(j=1, k, for(i=1, j, if(i*j>k, break); if((i+j)^2+(j+k)^2+(k+i)^2==12*i*j*k, print1(i, ", ", j, ", ", k, ", ")))));
    
  • Python
    from math import isqrt
    from itertools import count, islice
    def A351372_gen(): # generator of terms
        for z in count(1):
            z2 = z**2
            for y in range(1,z+1):
                a = isqrt(d := 3*y**2*(12*z2 - 4*z - 1) - 3*z2*(4*y + 1) - 2*y*z)
                if a**2 == d:
                    x, r = divmod(12*y*z - 2*y - 2*z - 2*a,4)
                    if y <= x <= z and r == 0:
                        yield from (y,x,z)
    A351372_list = list(islice(A351372_gen(),21)) # Chai Wah Wu, Feb 16 2022

Extensions

More terms from Chai Wah Wu, Feb 16 2022

A377739 Array of positive integer triples (x,y,z) where the sum of their cubes equals another cubic number.

Original entry on oeis.org

3, 4, 5, 1, 6, 8, 6, 8, 10, 2, 12, 16, 9, 12, 15, 3, 10, 18, 7, 14, 17, 12, 16, 20, 4, 17, 22, 3, 18, 24, 18, 19, 21, 11, 15, 27, 15, 20, 25, 4, 24, 32, 18, 24, 30, 6, 20, 36, 14, 28, 34, 2, 17, 40, 6, 32, 33, 21, 28, 35, 16, 23, 41, 5, 30, 40, 3, 36, 37, 27, 30, 37, 24, 32, 40, 8, 34, 44, 29, 34, 44, 6, 36, 48, 12, 19, 53, 27, 36, 45, 36, 38, 42
Offset: 1

Views

Author

Luke Voyles, Nov 05 2024

Keywords

Comments

The Shiraishi theorem demonstrated that there were an infinite number of cubic number triples whose sum equaled a cubic number (A226903). Through an analysis of the cubic number triples found by Russell and Gwyther, another way to prove that there are an infinite number of cubic number triples who sum equals a cubic number appeared. For any triple, one can add a zero to the end of the three numbers. The new three numbers will also equal a cubic number. For example, 3^3+4^3+5^3=6^3 can be transformed into 30^3+40^3+50^3=60^3. The number of zeros that are consistently applied to each of the numbers who cubic numbers will always create new cubic numbers. For example, 30^3+40^3+50^3=60^3 can become 300^3+400^3+500^3=600^3 and 3000^3+4000^3+5000^3=6000^3, and so on. Through experiments, the formula holds true for Pythagorean triples and Pythagorean quadruples as well. To apply the method to Pythagorean triples, 3^2+4^2=5^2 can be transformed into 30^2+40^2=50^2, 300^2+400^2=500^2, and so on. For Pythagorean quadruples, 3^2+4^2+12^2=13^2 can be transformed into 30^2+40^2+120^2=130^2 and then to 300^2+400^2+1200^2=1300^2. The property holds even beyond the second and third powers. For example, 3530^4=300^4+1200^4+2720^4+3150^4 just as 353^4=30^4+120^4+272^4+315^4. Additionally, 1440^5=270^5+840^5+1100^5+1330^5 just as 144^5=27^5+84^5+110^5+133^5. Once one set is found, it appears there can be an infinite number of similar sets for any power through this method.
The list of Russell and Gwyther also reveals that the cube of 38 can be represented as the sum of the cubes of nine unique positive integers. This is because 38^3=3^3+4^3+5^3+7^3+14^3+17^3+18^3+24^3+30^3.

Examples

			3^3+4^3+5^3=6^3
1^3+6^3+8^3=9^3
6^3+8^3+10^3=12^3
2^3+12^3+16^3=18^3
9^3+12^3+15^3=18^3
		

Crossrefs

The sum of each cubic number triple produce the sequence A023042. The comments produce another method to produce an infinite number of cubic number triples whose sum equals a cube that the method shown by Shiraishi according to A226903. The comments discuss qualities of Pythagorean triples A103606 and Pythagorean quadruples A096907. The title's structure drew inspiration from A291694.

Formula

If a^3+b^3+c^3=d^3, then any specific number k that has a zero as the last digit will make k(d^3) another cubic number through the formula k(a^3)+k(b^3)+k(c^3)=k(d^3)
Showing 1-3 of 3 results.