This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

On arithmetical structures on K9K_{9}

Claire Levaillant
Abstract

We study the arithmetical structures on the complete graph K9K_{9}.
Our method is based on studying the solutions to writing the unit as a sum of 9 unit fractions. We work from the perspective of the diophantine equation and use some elementary properties on the pp-adic valuations. The proofs are assisted by trees and automata.

1 Historical background

Egyptian fractions appear in an ancient Egyptian text, namely the Rhind Mathematical Papyrus, dating back to around 16501650 B.C. [28]. The fact that any positive rational number rr has an Egyptian fraction representation of the form

r=1x1++1xnwith 1x1<<xnr=\frac{1}{x_{1}}+\dots+\frac{1}{x_{n}}\qquad\text{with $1\leq x_{1}<\dots<x_{n}$}

is due to Fibonacci in 12021202, using a greedy algorithm (at each step the algorithm chooses greedily the largest possible unit fraction that can be used in any representation of the remaining fraction) and later rediscovered by Sylvester in [30]. Fibonacci’s greedy algorithm consists of repeatedly performing:

xy=1yx+(y)modxyyx\frac{x}{y}=\frac{1}{\lceil\frac{y}{x}\rceil}+\frac{(-y)\,\text{mod}\,x}{y\lceil\frac{y}{x}\rceil}

Later on, several authors tried to improve the Fibonacci-Sylvester algorithm, for instance by minimizing the number of unit fractions. A non exhaustive list is [15][18][4][5]. Recently, Louwsma and Martino studied the rational numbers with odd greedy expansion of fixed length. Their work appears in [26].

Problems and results concerning Egyptian fractions appear in [15] and [4].
The present paper is concerned with representations of the unit, that is setting r=1r=1 and the xix_{i}’s are not necessarily distinct. We present a new viewpoint for the arithmetic study of the diophantine equation, based on elementary properties on pp-adic numbers. One interest in the solutions to this diophantine equation relies in the fact that finding such solutions to the diophantine equation is equivalent to finding nn positive integers kik_{i}’s with 1in1\leq i\leq n with no common factor such that

kj|i=1nkifor all jk_{j}\bigg{|}\sum_{i=1}^{n}k_{i}\qquad\text{for all $j$}

This problem is itself equivalent to finding an arithmetical structure on the complete graph KnK_{n}, see for instance Theorem 4.44.4 of [23] proven in a more general setting.
Arithmetical structures were originally introduced by Lorenzini in [25] in terms of matrices as a generalization of the Laplacian matrix in order to study intersections of degenerating curves in algebraic geometry. If GG is a finite connected graph with nn vertices and AA is the adjacency matrix of GG, then an arithmetical structure on GG is a pair of vectors (𝐝,𝐫)(\mathbf{d},\mathbf{r}) whose entries are nonnegative and positive integers respectively and the entries of 𝐫\mathbf{r} have no nontrivial common factor, such that:

(diag(𝐝)A)𝐫=𝟎\big{(}diag(\mathbf{d})-A\big{)}\mathbf{r}=\mathbf{0}

The critical group associated with an arithmetical structure [22] generalizes the sandpile group in the special case of the Laplacian matrix which is by definition the difference of the diagonal degree matrix with the adjacency matrix. The sandpile group itself relates to the chip-firing game, see e.g. [16] and [3]. Lorenzini showed in his Lemma 1.61.6 of [25] that any finite, connected graph has a finite number of arithmetical structures. In [6], the authors show that the number of arithmetical structures on the path graph PnP_{n} is given by the Catalan number C(n1)C(n-1) and that the number of arithmetical structures on the cycle graph CnC_{n} is given by the binomial coefficient (2n1n1)\binom{2n-1}{n-1}. In [2], the authors treat the case of graphs corresponding to Dynkin diagrams of type DnD_{n}. For a given n4n\geq 4, they establish the recursive formula:

|Arith(Dn)|=2C(n2)+m=4nB(n3,nm)|SArith(Dm)|,|Arith(D_{n})|=2C(n-2)+\sum_{m=4}^{n}B(n-3,n-m)|SArith(D_{m})|,

where C(n)=1n+1(2nn)C(n)=\frac{1}{n+1}\binom{2n}{n} is the Catalan number, B(n,k)=nk+1n+1(n+kn)B(n,k)=\frac{n-k+1}{n+1}\binom{n+k}{n} is the ballot number and |SArithm(Dm)||SArithm(D_{m})| is the number of smooth arithmetical structures on DmD_{m}. The authors define a smooth arithmetical structure on DnD_{n} by imposing that di2d_{i}\geq 2 at each vertex ii, except possibly at the trivalent vertex say i=ti=t (in fact, they show in their Proposition 2.32.3 that these conditions on the did_{i}’s imply dt=1d_{t}=1). They then come up with bounds for the number of smooth arithmetical structures and ultimately deduce the following bounds for the arithmetical structures on DnD_{n} with n4n\geq 4:

2C(n2)+C(n3)|Arith(Dn)|<2C(n2)+702C(n3)2C(n-2)+C(n-3)\leq|Arith(D_{n})|<2\,C(n-2)+702\,C(n-3)

In [17], the authors deal with arithmetical structures on paths with a doubled edge and conjecture how the number of arithmetical structures grows depending on the path length and the location of the doubled edge.
The importance of arithmetical structures on complete graphs gets reinforced by Conjecture 6.106.10 of [14] which asserts that for any connected simple graph GG with nn vertices, the number of arithmetical structures on GG is at most the number of arithmetical structures on KnK_{n}. The number of arithmetical structures on KnK_{n} appears in the online encyclopedia of integer sequences [27] for n8n\leq 8. In the present paper, we investigate arithmetical structures on K9K_{9} from the perspective of the Diophantine equation, that is we look for solutions to 1/x1++1/x9=11/x_{1}+\dots+1/x_{9}=1 in positive integers xix_{i}’s, i=1,,9i=1,\dots,9. It is shown in [8] that there are exactly five solutions in distinct and odd integers. The solutions in possibly non distinct and possibly even integers have not been investigated so far.
Our paper is structured as follows. We will do some general pp-adic analysis on the Diophantine equation in § 2\S\,2 and then apply it specifically to the case of 99 positive integer variables in § 3\S\,3. Like other authors also did it, we will restrict the study to some specific cases described in § 3\S\,3. Within these specific cases, the method that we use allows to count the number of solutions for the general complete graph KnK_{n} with n9n\geq 9. We wrote a Mathematica program which given the number nn in entry returns this number of solutions. Last, still in the framework of these specific cases, we wrote a program in CAML allowing to obtain the complete list of solutions and applied our program in the cases of K9K13K_{9}-K_{13}.

In the statements below and throughout the paper, (E)n(E)_{n} denotes the Diophantine equation

1x1++1xn=1\frac{1}{x_{1}}+\dots+\frac{1}{x_{n}}=1 (E)n(E)_{n}

Our main results are the following. Theorem 11 deals with n=9n=9 specifically. Theorem 22 provides the count of the solutions for a general n9n\geq 9 using a Mathematica program. Theorem 33 exhibits all the solutions when n=10,11,12,13n=10,11,12,13 using a CAML program.

Theorem 1.

Consider the Diophantine equation (E)9(E)_{9} in distinct integers. There are 5454 solutions to the equation of the form 2αqβ2^{\alpha}q^{\beta} with qq odd prime and α2\alpha\leq 2. These are exhibited along the paper and listed as: X1X17X_{1}-X_{17}, Y1Y_{1}, Y2Y_{2}, Z1Z27Z_{1}-Z_{27}, Z1^\widehat{Z_{1}}, Z2^\widehat{Z_{2}}, Z3^\widehat{Z_{3}}, T1T_{1}, T2T_{2}, T1^\widehat{T_{1}}, UU and VV.

Theorem 2.

Consider the Diophantine equation (E)n(E)_{n} with n9n\geq 9 in distinct integers. The total number of solutions to (E)n(E)_{n} of the form 2αqβ2^{\alpha}q^{\beta} with qq odd prime and α2\alpha\leq 2 gets provided by adding the first seven integers of the output of the Mathematica program of Appendix G plus two (resp plus one) in the case when nn is odd (resp nn is even).

Theorem 3.

The cases of (E)10(E)_{10}, (E)11(E)_{11}, (E)12(E)_{12} and (E)13(E)_{13} in distinct integers using a CAML program.
Consider the Diophantine equation (E)n(E)_{n} with n=10,11,12,13n=10,11,12,13 in distinct integers. There are respectively 101101, 192192, 363363, 692692 solutions to the equation of the form 2αqβ2^{\alpha}q^{\beta} with qq odd prime and α2\alpha\leq 2 whose respective 100100, 190190, 362362 and 690690 first solutions are all exhibited in Appendix E when q=3q=3. The additional solutions are U10U13U_{10}-U_{13} when q=5q=5 and V11,V13V_{11},\,V_{13} respectively corresponding to n=11n=11 and n=13n=13 when q=7q=7, and these solutions get exhibited in § 4\S\,4 of the paper.

2 Arithmetics of arithmetical structures on the complete graph KnK_{n}

The goal of this part is to study for a given prime pp the pp-adic valuations of the positive integers xix_{i}’s when these constitute a solution to the equation (E)n(E)_{n}. We begin our study with the fundamental property stated right below.

Proposition 1.

Let pp be a prime number. If (x1,,xn)(x_{1},\dots,x_{n}) is a solution, then vp(xk)=vp(xl)v_{p}(x_{k})=v_{p}(x_{l}) for some klk\neq l.

Lemma 1.

Let pp be a prime number. If (x1,,xn)(x_{1},\dots,x_{n}) is a solution, then vp(xi)=0v_{p}(x_{i})=0 for some ii or vp(xk)=vp(xl)v_{p}(x_{k})=v_{p}(x_{l}) for some klk\neq l.

Proof of Lemma 11. By assumption, the xix_{i}’s satisfy to

i=1rx1xi^xnx1xn=0\sum_{i=1}^{r}x_{1}\dots\hat{x_{i}}\dots x_{n}-x_{1}\dots x_{n}=0 (1)

The pp-adic absolute value being ultrametric, for any pp-adic numbers a1,,asa_{1},\dots,a_{s}, we have:

vp(a1++as)Min1isvp(ai),v_{p}(a_{1}+\dots+a_{s})\geq Min_{1\leq i\leq s}v_{p}(a_{i}),

with the equality holding when the minimum is unique.
By convention, we have vp(0)=+v_{p}(0)=+\infty. Then (1)(1) implies that:

vp(x1xn)=vp(x1xi^xn),some 1inv_{p}(x_{1}\dots x_{n})=v_{p}(x_{1}\dots\hat{x_{i}}\dots x_{n}),\qquad\text{some $1\leq i\leq n$} (2)

or

vp(x1xi^xn)=vp(x1xj^xn),some 1i<jnv_{p}(x_{1}\dots\hat{x_{i}}\dots x_{n})=v_{p}(x_{1}\dots\hat{x_{j}}\dots x_{n}),\;\;\;\,\text{some $1\leq i<j\leq n$} (3)

Moreover, if (2)(2) holds, then we get vp(xi)=0v_{p}(x_{i})=0 and if (3)(3) holds, we get vp(xi)=vp(xj)v_{p}(x_{i})=v_{p}(x_{j}). \square

Proof of Proposition 11. If pp divides none of the xix_{i}’s, then for all ii with 1in1\leq i\leq n, we have vp(xi)=0v_{p}(x_{i})=0 and so we are done. From now on, suppose that pp divides at least one of the xix_{i}’s. The fact that (x1,,xn)(x_{1},\dots,x_{n}) is a solution forces vp(xi)=0v_{p}(x_{i})=0 for some ii or vp(xk)=vp(xl)v_{p}(x_{k})=v_{p}(x_{l}) for some klk\neq l. In the latter case, we are done. Otherwise, assume without loss of generality that vp(x1)=0v_{p}(x_{1})=0 and factor the diophantine equation as follows.

x1(i=2nx2xi^xnx2xn)+x2xn=0x_{1}(\sum_{i=2}^{n}x_{2}\dots\hat{x_{i}}\dots x_{n}-x_{2}\dots x_{n})+x_{2}\dots x_{n}=0 (4)

It comes:

vp(x2xn)=vp(i=2nx2xi^xnx2xn)v_{p}(x_{2}\dots x_{n})=v_{p}(\sum_{i=2}^{n}x_{2}\dots\hat{x_{i}}\dots x_{n}-x_{2}\dots x_{n}) (5)

By assumption, there exists an integer ss amongst {2,,n}\{2,\dots,n\} such that vp(xs)>0v_{p}(x_{s})>0. Then,

vp(x2xn)>Min2irvp(x2xi^xr)v_{p}(x_{2}\dots x_{n})>Min_{2\leq i\leq r}v_{p}(x_{2}\dots\hat{x_{i}}\dots x_{r}) (6)

In turn, there must exist two integers kk and ll with 2k<ln2\leq k<l\leq n such that:

vp(x2xk^xn)=vp(x2xl^xn)v_{p}(x_{2}\dots\hat{x_{k}}\dots x_{n})=v_{p}(x_{2}\dots\hat{x_{l}}\dots x_{n}) (7)

Then, for these two distinct integers kk and ll, we have vp(xk)=vp(xl)v_{p}(x_{k})=v_{p}(x_{l}) and moreover, these two valuations are non-zero. Hence the straightforward corollary.

Corollary 1.

Let pp be a prime number. If (x1,,xn)(x_{1},\dots,x_{n}) is a solution and pp divides at least one of the xix_{i}’s, then there exist two distinct integers kk and ll such that vp(xk)=vp(xl)v_{p}(x_{k})=v_{p}(x_{l}) and this common valuation is non-zero.

Corollary 2.

Let pp be a prime number. If (x1,,xn)(x_{1},\dots,x_{n}) is a solution, then the highest power of pp occurring as a factor amongst the xix_{i}’s occurs at least twice.

Proof of Corollary 22. If pp divides none of the xix_{i}’s, the result is trivial. Otherwise, by Corollary 11, there exist distinct integers kk and ll with vp(xk)=vp(xl)=α>0v_{p}(x_{k})=v_{p}(x_{l})=\alpha>0. Either α\alpha is the highest integer such that pαp^{\alpha} occurs as a factor amongst the xix_{i}’s, in which case we are done or we have:

Maxj{k,l}vp(xj)>αMax_{j\not\in\{k,l\}}v_{p}(x_{j})>\alpha (8)

Suppose for a contradiction that this maximum is unique and attained at xsx_{s} with s{k,l}s\not\in\{k,l\}.
Write:

xk=pαxkwith pxkxl=pαxlwith pxl\begin{array}[]{cccc}x_{k}&=&p^{\alpha}x^{{}^{\prime}}_{k}&\text{with $p\not|x^{{}^{\prime}}_{k}$}\\ x_{l}&=&p^{\alpha}x^{{}^{\prime}}_{l}&\text{with $p\not|x^{{}^{\prime}}_{l}$}\end{array}

After division by pαp^{\alpha}, the diophantine equation reads:

pαxkxlj{k,l}xj=xkj{k,l}xj+xlj{k,l}xj+m{k,l}pαxkxlj{m,k,l}xjp^{\alpha}x^{{}^{\prime}}_{k}x^{{}^{\prime}}_{l}\prod_{j\not\in\{k,l\}}x_{j}=x^{{}^{\prime}}_{k}\prod_{j\not\in\{k,l\}}x_{j}+x^{{}^{\prime}}_{l}\prod_{j\not\in\{k,l\}}x_{j}+\sum_{m\not\in\{k,l\}}p^{\alpha}x^{{}^{\prime}}_{k}x^{{}^{\prime}}_{l}\prod_{j\not\in\{m,k,l\}}x_{j} (9)

It follows that:

vp(j{k,l}xj)α+j{k,l,s}vp(xj)v_{p}\big{(}\prod_{j\not\in\{k,l\}}x_{j}\big{)}\leq\alpha+\sum_{j\not\in\{k,l,s\}}v_{p}(x_{j}) (10)

This implies vp(xs)αv_{p}(x_{s})\leq\alpha, a contradiction. \square

In what follows, we denote the elementary symmetric functions of a1,,ana_{1},\dots,a_{n} by σi(a1,,an)\sigma_{i}(a_{1},\dots,a_{n}) with 1in1\leq i\leq n. And so by definition,

σi(a1,,an):=1k1<<kinak1aki\sigma_{i}(a_{1},\dots,a_{n}):=\sum_{1\leq k_{1}<\dots<k_{i}\leq n}a_{k_{1}}\dots a_{k_{i}}

Using this notation, the following result holds.

Corollary 3.

Let pp be a prime number and (x1,,xn)(x_{1},\dots,x_{n}) be a solution, with pp dividing at least one of the xix_{i}’s. Suppose the highest power of pp, say pαp^{\alpha}, dividing the xix_{i}’s occurs exactly at indices i1,,isi_{1},\dots,i_{s} with s2s\geq 2 and set for t{1,,s}t\in\{1,\dots,s\}, xit=pαxitx_{i_{t}}=p^{\alpha}x^{{}^{\prime}}_{i_{t}} with p|xitp\not\!|x^{{}^{\prime}}_{i_{t}}.
Then,

Maxj{i1,,is}vp(xj)<αMax_{j\not\in\{i_{1},\dots,i_{s}\}}v_{p}(x_{j})<\alpha

and

pαMaxj{i1,,is}vp(xj)|σs1(xi1,,xis)p^{\alpha-Max_{j\not\in\{i_{1},\dots,i_{s}\}}v_{p}(x_{j})}|\sigma_{s-1}(x^{{}^{\prime}}_{i_{1}},\dots,x^{{}^{\prime}}_{i_{s}})

Moreover, if Maxj{i1,,is}vp(xj)Max_{j\not\in\{i_{1},\dots,i_{s}\}}v_{p}(x_{j}) is unique and positive, then

vp(σs1(xi1,,xis))=αMaxj{i1,,isvp(xj)v_{p}(\sigma_{s-1}(x^{{}^{\prime}}_{i_{1}},\dots,x^{{}^{\prime}}_{i_{s}}))=\alpha-Max_{j\not\in\{i_{1},\dots,i_{s}}v_{p}(x_{j})

Proof of Corollary 33. We will write a similar equation as the one in (9)(9) with a larger number of xix^{{}^{\prime}}_{i}’s involved. We have, after dividing the diophantine equation by p(s1)αp^{(s-1)\alpha}:

σs1(xi1,,xis)j{i1,,is}xj+pαxi1xism{i1,,is}j{m,i1,,is}xj=pαxi1xisj{i1,,is}xj\begin{split}\sigma_{s-1}(x^{{}^{\prime}}_{i_{1}},\dots,x^{{}^{\prime}}_{i_{s}})\prod_{j\not\in\{i_{1},\dots,i_{s}\}}x_{j}&+p^{\alpha}x^{{}^{\prime}}_{i_{1}}\dots x^{{}^{\prime}}_{i_{s}}\sum_{m\not\in\{i_{1},\dots,i_{s}\}}\prod_{j\not\in\{m,i_{1},\dots,i_{s}\}}x_{j}\\ &=p^{\alpha}x^{{}^{\prime}}_{i_{1}}\dots x^{{}^{\prime}}_{i_{s}}\prod_{j\not\in\{i_{1},\dots,i_{s}\}}x_{j}\end{split} (11)

It follows immediately that:

vp(σs1(xi1,,xis))αMaxm{i1,,is}vp(xm),v_{p}(\sigma_{s-1}(x^{{}^{\prime}}_{i_{1}},\dots,x^{{}^{\prime}}_{i_{s}}))\geq\alpha-Max_{m\not\in\{i_{1},\dots,i_{s}\}}v_{p}(x_{m}), (12)

with equality holding when the maximum is unique and positive. \square

Corollary 4.

Let pp be a prime number and (x1,,xn)(x_{1},\dots,x_{n}) be a solution, with pp dividing at least one of the xix_{i}’s. Suppose the highest power of pp, say pαp^{\alpha}, dividing the xix_{i}’s occurs exactly at indices i1,,isi_{1},\dots,i_{s} with s2s\geq 2 and set for t{1,,s}t\in\{1,\dots,s\}, xit=pαxitx_{i_{t}}=p^{\alpha}x^{{}^{\prime}}_{i_{t}} with p|xitp\not\!|x^{{}^{\prime}}_{i_{t}}. Let k1,,ks1k_{1},\dots,k_{s-1} be (s1)(s-1) distinct integers chosen amongst {1,,s}\{1,\dots,s\}. Then,

vp(σs2(xik1,,xiks1))=0v_{p}\big{(}\sigma_{s-2}(x^{{}^{\prime}}_{i_{k_{1}}},\dots,x^{{}^{\prime}}_{i_{k_{s-1}}})\big{)}=0

Proof of Corollary 44. Eq. (11)(11) still holds with a smaller number of xitx^{{}^{\prime}}_{i_{t}}’s involved. In particular, by writing (11)(11) with only (s1)(s-1) of the ss xitx^{{}^{\prime}}_{i_{t}}’s, we see that the maximum that is involved is unique and equal to α\alpha. It yields the result. \square

Corollary 5.

Let pp be a prime number and let (x1,,xn)(x_{1},\dots,x_{n}) be a solution with pp dividing at least one of the xix_{i}’s. Suppose the highest power of pp, say pαp^{\alpha}, occurs at indices i1,,iti_{1},\dots,i_{t} with t2t\geq 2 and set for v{1,,t}v\in\{1,\dots,t\}, xiv=pαxivx_{i_{v}}=p^{\alpha}x^{{}^{\prime}}_{i_{v}} with p|xivp\not\!|x^{{}^{\prime}}_{i_{v}}. Let ss be the highest such tt.
If p|σt1(xi1,,xit)p|\sigma_{t-1}(x^{{}^{\prime}}_{i_{1}},\dots,x^{{}^{\prime}}_{i_{t}}), then either s=ts=t or st+2s\geq t+2.

The latter three corollaries are best illustrated on an example.
When n=11n=11, Burshtein proves that there are exactly 1717 solutions 𝐁𝟏𝐁𝟏𝟕\mathbf{B_{1}}-\mathbf{B_{17}} in distinct integers of the form 3α5β7γ3^{\alpha}5^{\beta}7^{\gamma} and exhibits these solutions in [9]. Consider for instance

𝐁𝟏𝟐={3,5,7,32,32.5.7,52,33,72,72.33,7.52.33},\mathbf{B_{12}}=\{3,5,7,3^{2},3^{2}.5.7,5^{2},3^{3},7^{2},7^{2}.3^{3},7.5^{2}.3^{3}\},

written in terms of prime numbers. Set p=3p=3 and so α=3\alpha=3 using the previous notations. Visibly 333^{3} occurs 33 times as a factor. Obviously, 33 does not divide σ1(7.52,1)=176\sigma_{1}(7.5^{2},1)=176, nor σ1(72,1)=50\sigma_{1}(7^{2},1)=50, nor σ1(72,7.52)=224\sigma_{1}(7^{2},7.5^{2})=224, just like implied by Corollary 44. The highest other 33-adic valuation is 22 and we have v3(σ2(72,7.52,1))=v3(8799)1v_{3}(\sigma_{2}(7^{2},7.5^{2},1))=v_{3}(8799)\geq 1, just like implied by Corollary 33. Set now p=5p=5 and so α=2\alpha=2. Visibly, 525^{2} occurs exactly twice as a factor and indeed, we have 5|1+7.27(=190)5|1+7.27\,(=190)

3 Combinatorics of arithmetical structures on the complete graph K9K_{9} in some restricted cases.

       The case n=9n=9 studied here is special in that when the integers are odd, the minimal length of representation of the unit as an Egyptian fraction is 99. This was first predicted by J. Leech, see [21], pp. 8989. In [8], Burshtein proved that the diophantine equation has exactly 55 solutions that were first identified by S. Yamashita in 19761976, see the online The prime puzzles and problems connection, Problem 3535 entitled ”More wrong turns…” Ronald Graham had once asked André Weil why the Egyptians did this, that is to represent fractions as a sum of unit fractions, and Weil’s answer was ”They took a wrong turn…”
The five solutions in odd and distinct integers copied from [8] are:

{𝐁𝟏={3,5,7,9,11,15,21,231,315}𝐁𝟐={3,5,7,9,11,15,35,45,231}𝐁𝟑={3,5,7,9,11,15,21,135,10395}𝐁𝟒={3,5,7,9,11,15,33,45,385}𝐁𝟓={3,5,7,9,11,15,21,165,693}\left\{\begin{array}[]{l}\mathbf{B_{1}}=\{3,5,7,9,11,15,21,231,315\}\\ \mathbf{B_{2}}=\{3,5,7,9,11,15,35,45,231\}\\ \mathbf{B_{3}}=\{3,5,7,9,11,15,21,135,10395\}\\ \mathbf{B_{4}}=\{3,5,7,9,11,15,33,45,385\}\\ \mathbf{B_{5}}=\{3,5,7,9,11,15,21,165,693\}\end{array}\right.

We are now concerned with searching for solutions when the xix_{i}’s are not necessarily distinct and are possibly even. First and foremost, we will search for solutions with 22 occurring at least twice as a factor.

Lemma 2.

Let (x1,,x9)(x_{1},\dots,x_{9}) be a solution and at least one of the xix_{i}’s is even. The highest power of 22 occurring as a factor amongst the xix_{i}’s must occur an even number of times.

Proof. Using our usual notations, set α\alpha the highest positive 22-adic valuation amongst the xix_{i}’s and let ss denote the number of occurrences. By Corollary 22, we know that 2α2^{\alpha} occurs at least twice as a factor amongst the xix_{i}’s. Without loss of generality, x1=2αx1x_{1}=2^{\alpha}x^{{}^{\prime}}_{1} and x2=2αx2x_{2}=2^{\alpha}x^{{}^{\prime}}_{2} with x1x^{{}^{\prime}}_{1} and x2x^{{}^{\prime}}_{2} both odd. The sum of two odd numbers being even, we have 2|x1+x22|x^{{}^{\prime}}_{1}+x^{{}^{\prime}}_{2}, which by Corollary 55 implies s=2s=2 or s4s\geq 4. Suppose now s2s\neq 2. Without loss of generality, xi=2αxix_{i}=2^{\alpha}x^{{}^{\prime}}_{i} for i=1,,4i=1,\dots,4 and each xix^{{}^{\prime}}_{i} is odd. Now, 22 divides σ3(x1,x2,x3,x4)\sigma_{3}(x^{{}^{\prime}}_{1},x^{{}^{\prime}}_{2},x^{{}^{\prime}}_{3},x^{{}^{\prime}}_{4}) since the latter elementary symmetric function is the sum of 44 odd terms. A new application of Corollary 55 yields s=4s=4 or s6s\geq 6. The result follows from proceeding by induction, since there is an even number of ways of picking 2l12l-1 elements amongst 2l2l elements and a sum of an even number of odd integers is an even integer. \square

For the remainder of our discussion, it will be convenient to denote by αp\alpha_{p} the highest pp-adic valuation of the xix_{i}’s and by sps_{p} the number of occurrence(s) amongst the xix_{i}’s. For instance, we have just shown that s2{0,2,4,6,8}s_{2}\in\{0,2,4,6,8\}.
Set also X:={x1,,x9}X:=\{x_{1},\dots,x_{9}\} as the set of constituents of a solution to the diophantine equation. If along the proofs, we need to refer to solutions with kk vertices with kk not necessarily equal to 99, we will specify it by writing Xn=kX_{n=k} instead of XX.

In what follows, we assume that the xix_{i}’s are distinct and 22 is a divisor.

Lemma 3.

(i) Suppose 2X2\not\in X and α2=1\alpha_{2}=1. Then, there is no solution with only two primes.
    (ii) Suppose 2X2\in X and α2=1\alpha_{2}=1. Then,

𝐙1={2,3,32,33,34,35,36,37,2.37}\mathbf{Z}_{1}=\{2,3,3^{2},3^{3},3^{4},3^{5},3^{6},3^{7},2.3^{7}\}

is the only solution with only two primes.

Lemma 4.

(i)(i) If 2X2\not\in X and α2=2\alpha_{2}=2, then the solutions with only two primes are precisely Y1Y_{1}, Y2Y_{2}, T1T_{1}, T2T_{2} and

𝐓^𝟏\displaystyle\mathbf{\widehat{T}_{1}} :=\displaystyle:= {22,3,2.3,32,2.32,22.32,33,34,2.34}\displaystyle\{2^{2},3,2.3,3^{2},2.3^{2},2^{2}.3^{2},3^{3},3^{4},2.3^{4}\}

(ii)(ii) If 2X2\in X and α2=2\alpha_{2}=2, then the only solutions in 2α.qβ2^{\alpha}.q^{\beta} with q3q\neq 3 are:

𝐕:={2,22,7,2.7,72,2.72,73,2.73,22.73}\mathbf{V}:=\{2,2^{2},7,2.7,7^{2},2.7^{2},7^{3},2.7^{3},2^{2}.7^{3}\}

and

𝐔:={2,22,5,52,53,54,55,56,22.56}\mathbf{U}:=\{2,2^{2},5,5^{2},5^{3},5^{4},5^{5},5^{6},2^{2}.5^{6}\}

The solutions in 2α.3β2^{\alpha}.3^{\beta} are Z^1Z^3\widehat{Z}_{1}-\widehat{Z}_{3}, Z2Z27Z_{2}-Z_{27} and X1X17X_{1}-X_{17}.

We will first prove Lemma 44 and then prove Lemma 33 by using some elements in the proof of Lemma 44.

Proof of Lemma 44. In the proof, there is no distinction between 2X2\in X or 2X2\not\in X. Having 2X2\not\in X is more rare, hence the distinction in the statement itself. We first lay out some general considerations based on α2=2\alpha_{2}=2 and our results of § 2\S\,2. Let qq be an odd divisor. Our assumptions imply that the highest power of qq occurs twice or thrice. We apply Corollary 33 to qq.

If the highest power of qq occurs three times, then q|σ2(1,2,4)=14q|\sigma_{2}(1,2,4)=14. It forces q=7q=7. Moreover, still by Corollary 33, the second largest valuation must be α71\alpha_{7}-1. Further, we can show that this second largest valuation may only occur as {7α71,2.7α71}\{7^{\alpha_{7}-1},2.7^{\alpha_{7}-1}\}. Indeed, in all the other cases, by contracting {7α7,2.7α7,22.7α7}\{7^{\alpha_{7}},2.7^{\alpha_{7}},2^{2}.7^{\alpha_{7}}\} to 22.7α712^{2}.7^{\alpha_{7}-1} and possibly contracting further, we would get a solution of Xn=kX_{n=k} for some adequate k7k\leq 7 with the highest 77-valuation occurring less than three times. Continuing this process inductively, it forces 2X2\in X and moreover, we obtain the result of the first point of (ii)(ii), with s2=2s_{2}=2 the only available option.

Suppose now the highest power of qq occurs exactly twice. Then q|σ1(1,2)=3q|\sigma_{1}(1,2)=3 or q|σ1(1,22)=5q|\sigma_{1}(1,2^{2})=5 or q|σ1(2,22)=2.3q|\sigma_{1}(2,2^{2})=2.3. This implies q=3q=3 or q=5q=5.
In the first case, the last two terms of the sum are either {13α3,12.3α3}\big{\{}\frac{1}{3^{\alpha_{3}}},\frac{1}{2.3^{\alpha_{3}}}\big{\}} or {12.3α3,122.3α3}\big{\{}\frac{1}{2.3^{\alpha_{3}}},\frac{1}{2^{2}.3^{\alpha_{3}}}\big{\}} and the second largest 33-valuation occurring is α31\alpha_{3}-1.
In the second case, the last two terms of the sum are 15α5\frac{1}{5^{\alpha_{5}}} and 122.5α5\frac{1}{2^{2}.5^{\alpha_{5}}}. Again, the second largest 55-valuation occurring is α51\alpha_{5}-1.
We first deal with the case q=5q=5. This time, it will be useful to note that {5α5,22.5α5}\{5^{\alpha_{5}},2^{2}.5^{\alpha_{5}}\} contracts to 22.5α512^{2}.5^{\alpha_{5}-1}. By the same reasoning as for q=7q=7 above, the only option is to have 5α515^{\alpha_{5}-1} in the solution. We then work inductively until getting a solution of Xn=3X_{n=3} of the form {x1,x2,22.5α56}\{x_{1},x_{2},2^{2}.5^{\alpha_{5}-6}\} forcing x1=2x_{1}=2, x2=4x_{2}=4 and α5=6\alpha_{5}=6. Consequently the only possible original solution is UU, provided in point (ii)(ii) of the lemma.
When q=3q=3, we treat both cases evoked above simultaneously and inductively on the number of vertices.

We state below a series of facts on which our discussion will be based.

Fact 1.

Suppose the second highest 33-valuation α31\alpha_{3}-1 occurs exactly once. Then,
(i) It is impossible to have {3α31,223α3,2.3α3}X\{3^{\alpha_{3}-1},2^{2}3^{\alpha_{3}},2.3^{\alpha_{3}}\}\subseteq X.
(ii) If {2.3α31,22.3α3,2.3α3}X\{2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}},2.3^{\alpha_{3}}\}\subseteq X, then the solution of Xn=9X_{n=9} is a solution of Xn=8X_{n=8} ending in {2.3α31,22.3α31}\{2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1}\}.
(iii) It is impossible to have {22.3α31,22.3α3,2.3α3}X\{2^{2}.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}},2.3^{\alpha_{3}}\}\subseteq X.

(iv) If {3α31,3α3,2.3α3}X\{3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\}\subseteq X, then the solution of Xn=9X_{n=9} is a solution of Xn=8X_{n=8} ending in {3α31,2.3α31}\{3^{\alpha_{3}-1},2.3^{\alpha_{3}-1}\}.
(v) It is impossible to have {2.3α31,3α3,2.3α3}X\{2.3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\}\subseteq X.
(vi) If {22.3α31,3α3,2.3α3}X\{2^{2}.3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\}\subseteq X, then the solution of Xn=9X_{n=9} is a solution of Xn=8X_{n=8} ending in {2.3α31,22.3α31}\{2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1}\}.

Fact 2.

(vii) Suppose the second highest 33-valuation α31\alpha_{3}-1 occurs exactly twice.
Then the only possibility is to have {3α31,22.3α31,2.3α3,223α3}X\{3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1},2.3^{\alpha_{3}},2^{2}3^{\alpha_{3}}\}\subseteq X.
Moreover, the solution of Xn=9X_{n=9} is a solution of Xn=7X_{n=7} ending in {2.3α31,3α31}\{2.3^{\alpha_{3}-1},3^{\alpha_{3}-1}\}.

Fact 3.

(viii) The second highest 33-valuation α31\alpha_{3}-1 may not occur exactly thrice for a solution ending in {2.3α3,22.3α3}\{2.3^{\alpha_{3}},2^{2}.3^{\alpha_{3}}\}.
(ix) If the second highest 33-valuation α31\alpha_{3}-1 occurs exactly thrice for a solution ending in {3α3,2.3α3}\{3^{\alpha_{3}},2.3^{\alpha_{3}}\}, then one of the three following situations holds:

(a)If valuation α32 occurs in X, thenα3=4and{𝐙^𝟏:={2,22,2.32,32,33,2.33,22.33,2.34,34}𝐙^𝟐:={2,3,2.32,22.32,33,2.33,22.33,2.34,34}are theonly two solutions.Moreover, Z^1 (resp Z^2) arises when the valuation α32 occurs exactlytwice in Xn=9 as 2.3α32 and 3α2 (resp 2.3α32 and 22.3α32)(b)Valuation α32 does not occur in Xn=9 and we have a solution of Xn=6ending in {2.3α32,22.3α32}\begin{array}[]{l}(a)\;\text{If valuation $\alpha_{3}-2$ occurs in X, then}\\ \\ \alpha_{3}=4\;\text{and}\;\left\{\begin{array}[]{l}\mathbf{\widehat{Z}_{1}}:=\{2,2^{2},2.3^{2},3^{2},3^{3},2.3^{3},2^{2}.3^{3},2.3^{4},3^{4}\}\\ \mathbf{\widehat{Z}_{2}}:=\{2,3,2.3^{2},2^{2}.3^{2},3^{3},2.3^{3},2^{2}.3^{3},2.3^{4},3^{4}\}\end{array}\right.\;\text{are the}\\ \text{only two solutions.}\\ \\ \text{Moreover, $\widehat{Z}_{1}$ (resp $\widehat{Z}_{2}$) arises when the valuation $\alpha_{3}-2$ occurs exactly}\\ \text{twice in $X_{n=9}$ as $2.3^{\alpha_{3}-2}$ and $3^{\alpha_{2}}$ (resp $2.3^{\alpha_{3}-2}$ and $2^{2}.3^{\alpha_{3}-2}$)}\\ \\ (b)\;\text{Valuation $\alpha_{3}-2$ does not occur in $X_{n=9}$ and we have a solution of $X_{n=6}$}\\ \text{ending in $\{2.3^{\alpha_{3}-2},2^{2}.3^{\alpha_{3}-2}\}$}\end{array}

Proof of Fact 11. Let’s treat (i)(i). Such a solution in Xn=9X_{n=9} would provide a solution in Xn=8X_{n=8} ending in {3α31,223α31}\{3^{\alpha_{3}-1},2^{2}3^{\alpha_{3}-1}\}, which is forbidden.
Point (ii)(ii) is straightforward.
Regarding (iii)(iii), if such a solution existed, realize two contractions and obtain a solution in Xn=7X_{n=7} ending in 2.3α312.3^{\alpha_{3}-1} with no other occurrence with valuation α31\alpha_{3}-1. This is impossible.
Point (iv)(iv) is similar to point (ii)(ii) and is likewise straightforward. So is point (vi)(vi).
As for (v)(v), it follows from the same argument as in (iii)(iii) with 2.3α312.3^{\alpha_{3}-1} replaced with 3α313^{\alpha_{3}-1}. \square

Proof of Fact 22. If we had a solution of Xn=9X_{n=9} ending in this following set {3α31,22.3α31,2.3α3,3α3}\{3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1},2.3^{\alpha_{3}},3^{\alpha_{3}}\} or that following set {3α31,2.3α31,22.3α3,2.3α3}\{3^{\alpha_{3}-1},2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}},2.3^{\alpha_{3}}\} (resp {2.3α31,22.3α31,2.3α3,3α3}\{2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1},2.3^{\alpha_{3}},3^{\alpha_{3}}\} or the set {3α31,2.3α31,2.3α3,3α3}\{3^{\alpha_{3}-1},2.3^{\alpha_{3}-1},2.3^{\alpha_{3}},3^{\alpha_{3}}\}, resp {2.3α31,22.3α31,22.3α3,2.3α3}\{2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}},2.3^{\alpha_{3}}\}), then we would have a solution of Xn=8X_{n=8} (resp Xn=7X_{n=7}, resp Xn=6X_{n=6}) ending in {3α31,2.3α31,22.3α31}\{3^{\alpha_{3}-1},2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1}\} (resp 2.3α312.3^{\alpha_{3}-1}, resp 3α313^{\alpha_{3}-1}). None of these situations is permitted. \square

Proof of Fact 33. Suppose first the solution ends in the following set {3α31,2.3α31,22.3α31,22.3α3,2.3α3}\{3^{\alpha_{3}-1},2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}},2.3^{\alpha_{3}}\}. From there, realize two contractions leading to a solution of Xn=7X_{n=7} containing the set {22.3α32,3α31,22.3α31}\{2^{2}.3^{\alpha_{3}-2},3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1}\}. This is impossible.
Suppose now the solution ends in the set {3α31,2.3α31,22.3α31,3α3,2.3α3}\{3^{\alpha_{3}-1},2.3^{\alpha_{3}-1},2^{2}.3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\}. Then, by operating three contractions, we get a solution of Xn=6X_{n=6} which contains {2.3α32,22.3α32}\{2.3^{\alpha_{3}-2},2^{2}.3^{\alpha_{3}-2}\}. The procedure is now the following. By arguments similar to those already used before, there are only three available options. Namely,

  • \clubsuit

    If i{0,1,2}\forall i\in\{0,1,2\}, we have 2i3α32Xn=92^{i}3^{\alpha_{3}-2}\not\in X_{n=9}, then we use induction.

  • \clubsuit\clubsuit

    If {2.3α32,3α32}Xn=9\{2.3^{\alpha_{3}-2},3^{\alpha_{3}-2}\}\subseteq X_{n=9}, then by operating successive contractions, we obtain a solution of Xn=3X_{n=3} containing 223α342^{2}3^{\alpha_{3}-4}. The solutions (in non necessarily distinct integers) are well known from OEIS and are precisely {2,4,4}\{2,4,4\}, {2,3,6}\{2,3,6\} and {3,3,3}\{3,3,3\}. Then the solution of Xn=3X_{n=3} must be {2,4,4}\{2,4,4\} and the exponent α3\alpha_{3} must be equal to 44. Then, the original solution which we are inspecting is Z^1\widehat{Z}_{1}.

  • \clubsuit\clubsuit\clubsuit

    If (22.3α32,2.3α32}Xn=9(2^{2}.3^{\alpha_{3}-2},2.3^{\alpha_{3}-2}\}\subseteq X_{n=9}, then by successive contractions, we obtain a solution of Xn=3X_{n=3} containing 2.3α332.3^{\alpha_{3}-3}. Then, the solution of Xn=3X_{n=3} is {2,3,6}\{2,3,6\} with α3=3\alpha_{3}=3 or α3=4\alpha_{3}=4 or {2,4,4}\{2,4,4\} with α3=3\alpha_{3}=3. The latter possibility must be excluded as it leads to a solution of Xn=9X_{n=9} with non distinct integers. The first situation with α3=3\alpha_{3}=3 must also be excluded for the same reason (since then 2.32.3 would appear twice). Thus, we necessarily have α3=4\alpha_{3}=4, leading to the solution which we denoted by Z^2\widehat{Z}_{2}. \square

We will finish treating Fact 33 (ix)(ix) (b)(b) using induction and the results contained in the three facts.

First and foremost, by Fact 11, only 2.3α332.3^{\alpha_{3}-3} may be the only occurrence of valuation α33\alpha_{3}-3 in Xn=6X_{n=6}. Then, we have a solution of Xn=5X_{n=5} ending in {2.3α33,22.3α33}\{2.3^{\alpha_{3}-3},2^{2}.3^{\alpha_{3}-3}\}. By an application of the three facts, it yields a solution of Xn=3X_{n=3} containing either {22.3α35}\{2^{2}.3^{\alpha_{3}-5}\} or {3α34,2.3α34}\{3^{\alpha_{3}-4},2.3^{\alpha_{3}-4}\}.
In the first case it forces α3=5\alpha_{3}=5 and a solution:

𝐙𝟐𝟓:={2,22,2.3,2.32,34,2.34,22.34,35,2.35}\mathbf{Z_{25}}:=\{2,2^{2},2.3,2.3^{2},3^{4},2.3^{4},2^{2}.3^{4},3^{5},2.3^{5}\}

In the second situation, it also forces α3=5\alpha_{3}=5, hence the original solution:

𝐙𝟐𝟔:={2,3,22.3,2.32,34,2.34,22.34,35,2.35}\mathbf{Z_{26}}:=\{2,3,2^{2}.3,2.3^{2},3^{4},2.3^{4},2^{2}.3^{4},3^{5},2.3^{5}\}

Second, valuation α33\alpha_{3}-3 could be occurring exactly twice in Xn=6X_{n=6}, namely as {3α33,22.3α33}\{3^{\alpha_{3}-3},2^{2}.3^{\alpha_{3}-3}\}. Then, we get a solution of Xn=4X_{n=4} ending in {3α33,2.3α33}\{3^{\alpha_{3}-3},2.3^{\alpha_{3}-3}\} Then, we have α3=5\alpha_{3}=5 and the original solution of Xn=9X_{n=9} is

𝐙𝟐𝟕:={2,3,32,22.32,34,2.34,22.34,35,2.35}\mathbf{Z_{27}}:=\{2,3,3^{2},2^{2}.3^{2},3^{4},2.3^{4},2^{2}.3^{4},3^{5},2.3^{5}\}

We now finish treating (vii)(vii). There are several cases.

Assume first that {3α32,3α31,2.3α31}Xn=7\{3^{\alpha_{3}-2},3^{\alpha_{3}-1},2.3^{\alpha_{3}-1}\}\subseteq X_{n=7} with no other appearance of valuation α32\alpha_{3}-2 in Xn=9X_{n=9}. Recursively, we obtain the set of solutions:

𝐗𝟏𝟎\displaystyle\mathbf{X_{10}} :=\displaystyle:= {2,3,32,33,34,35,22.35,22.36,2.36}\displaystyle\{2,3,3^{2},3^{3},3^{4},3^{5},2^{2}.3^{5},2^{2}.3^{6},2.3^{6}\}
𝐗𝟏𝟏\displaystyle\mathbf{X_{11}} :=\displaystyle:= {2,22,22.3,32,33,34,22.34,2.35,22.35}\displaystyle\{2,2^{2},2^{2}.3,3^{2},3^{3},3^{4},2^{2}.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟏𝟐\displaystyle\mathbf{X_{12}} :=\displaystyle:= {2,22,2.3,22.32,33,34,22.34,2.35,22.35}\displaystyle\{2,2^{2},2.3,2^{2}.3^{2},3^{3},3^{4},2^{2}.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟏𝟑\displaystyle\mathbf{X_{13}} :=\displaystyle:= {2,3,22.3,22.32,33,34,22.34,2.35,22.35}\displaystyle\{2,3,2^{2}.3,2^{2}.3^{2},3^{3},3^{4},2^{2}.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐘𝟐\displaystyle\mathbf{Y_{2}} :=\displaystyle:= {22,3,2.3,22.3,32,33,22.33,2.34,22.34}\displaystyle\{2^{2},3,2.3,2^{2}.3,3^{2},3^{3},2^{2}.3^{3},2.3^{4},2^{2}.3^{4}\}

Assume next that {22.3α32,3α31,2.3α31}Xn=7\{2^{2}.3^{\alpha_{3}-2},3^{\alpha_{3}-1},2.3^{\alpha_{3}-1}\}\subseteq X_{n=7} with no other appearance of valuation α32\alpha_{3}-2 in Xn=9X_{n=9}. Recursively again, we obtain the other set of solutions:

𝐗𝟏𝟒\displaystyle\mathbf{X_{14}} :=\displaystyle:= {2,22,2.3,2.32,22.33,34,22.34,2.35,22.35}\displaystyle\{2,2^{2},2.3,2.3^{2},2^{2}.3^{3},3^{4},2^{2}.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟏𝟓\displaystyle\mathbf{X_{15}} :=\displaystyle:= {2,3,22.3,2.32,22.33,34,22.34,2.35,22.35}\displaystyle\{2,3,2^{2}.3,2.3^{2},2^{2}.3^{3},3^{4},2^{2}.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟏𝟔\displaystyle\mathbf{X_{16}} :=\displaystyle:= {2,3,32,22.32,22.33,34,22.34,2.35,22.35}\displaystyle\{2,3,3^{2},2^{2}.3^{2},2^{2}.3^{3},3^{4},2^{2}.3^{4},2.3^{5},2^{2}.3^{5}\}

Assume last that {3α32,2.3α32,22.3α32,3α31,2.3α31}Xn=7\{3^{\alpha_{3}-2},2.3^{\alpha_{3}-2},2^{2}.3^{\alpha_{3}-2},3^{\alpha_{3}-1},2.3^{\alpha_{3}-1}\}\subseteq X_{n=7}. Then we get a solution of Xn=3X_{n=3} containing 22.3α342^{2}.3^{\alpha_{3}-4}. Thus α3=4\alpha_{3}=4 and the original solution of Xn=9X_{n=9} is:

𝐗𝟏𝟕:={2,22,32,2.32,22.32,33,22.33,2.34,22.34}\mathbf{X_{17}}:=\{2,2^{2},3^{2},2.3^{2},2^{2}.3^{2},3^{3},2^{2}.3^{3},2.3^{4},2^{2}.3^{4}\}

For the processing of Fact 11 (ii)(ii), (iv)(iv), (vi)(vi), we will use the following automaton summarizing all the possibilities described in the three facts, together with induction.

[Uncaptioned image]

Like indicated by the star on the legend of the picture, the automaton is incomplete. There are a few leftover cases which request a special treatment. We treat them below.

Suppose the initial state is {2.3α3,3α3;n=9}\{2.3^{\alpha_{3}},3^{\alpha_{3}};n=9\} and we make a transition to the state {2.3α31,3α31;n=8}\{2.3^{\alpha_{3}-1},3^{\alpha_{3}-1};n=8\}. Suppose the solution of Xn=8X_{n=8} is of the form

{x1,x2,x3,3α32,2.3α32,22.3α32,2.3α31,3α31}\{x_{1},x_{2},x_{3},3^{\alpha_{3}-2},2.3^{\alpha_{3}-2},2^{2}.3^{\alpha_{3}-2},2.3^{\alpha_{3}-1},3^{\alpha_{3}-1}\}

with valuation α33\alpha_{3}-3 occurring exactly twice.
Suppose first the latter valuation occurs as 3α333^{\alpha_{3}-3} and 2.3α332.3^{\alpha_{3}-3} in Xn=9X_{n=9}.
And so, the original solution is:

{x1,3α33,2.3α33,3α32,2.3α32,22.3α32,3α31,3α3,2.3α3}\{x_{1},3^{\alpha_{3}-3},2.3^{\alpha_{3}-3},3^{\alpha_{3}-2},2.3^{\alpha_{3}-2},2^{2}.3^{\alpha_{3}-2},3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\}

By successive contractions, we get a solution of Xn=3X_{n=3} of the form:

{x1,2.3α34,22.3α34}\{x_{1},2.3^{\alpha_{3}-4},2^{2}.3^{\alpha_{3}-4}\}

Then, α3=4\alpha_{3}=4 and x1=22x_{1}=2^{2}. It leads to the solution T^1\widehat{T}_{1} of Lemma 44.
The other possibility is to have:

{x1,2.3α33,22.3α33,3α32,2.3α32,22.3α32,3α31,3α3,2.3α3},\{x_{1},2.3^{\alpha_{3}-3},2^{2}.3^{\alpha_{3}-3},3^{\alpha_{3}-2},2.3^{\alpha_{3}-2},2^{2}.3^{\alpha_{3}-2},3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\},

which by contraction leads to a solution of Xn=3X_{n=3} of the form:

{x1,3α33,2.3α33}\{x_{1},3^{\alpha_{3}-3},2.3^{\alpha_{3}-3}\}

It forces α3=4\alpha_{3}=4 and x1=2x_{1}=2. We therefore obtain a new solution, namely

𝐙^𝟑:={2,2.3,22.3,32,2.32,22.32,33,34,2.34}\mathbf{\widehat{Z}_{3}}:=\{2,2.3,2^{2}.3,3^{2},2.3^{2},2^{2}.3^{2},3^{3},3^{4},2.3^{4}\}

Suppose now we do another transition of the same kind a second time, followed by a transition by 33. And so, we have a tentative solution:

{x1,x2,3α33,2.3α33,22.3α33,3α32,3α31,3α3,2.3α3}\{x_{1},x_{2},3^{\alpha_{3}-3},2.3^{\alpha_{3}-3},2^{2}.3^{\alpha_{3}-3},3^{\alpha_{3}-2},3^{\alpha_{3}-1},3^{\alpha_{3}},2.3^{\alpha_{3}}\}

After inspection by contraction, it is impossible to have

{x1,x2}={2.3α34,3α34}nor to have{x1,x2}={2.3α34,22.3α34}\{x_{1},x_{2}\}=\{2.3^{\alpha_{3}-4},3^{\alpha_{3}-4}\}\;\;\text{nor to have}\;\;\{x_{1},x_{2}\}=\{2.3^{\alpha_{3}-4},2^{2}.3^{\alpha_{3}-4}\}

These were the only additional possibilities to explore with an initial state of the form {3α3,2.3α3}\{3^{\alpha_{3}},2.3^{\alpha_{3}}\}. If the initial state is rather {2.3α3,22.3α3}\{2.3^{\alpha_{3}},2^{2}.3^{\alpha_{3}}\}, then we must transit by 22 first and after inspection, there is no complementary addition to X17X_{17}.
All the additional possibilities have now been investigated, which closes the discussion.

From there, the remaining solutions can be read out from the two trees of appendices A and B with respective roots {2,3α3,3α3}\{2,3^{\alpha_{3}},3^{\alpha_{3}}\} or {2.3α3,22.3α3}\{2.3^{\alpha_{3}},2^{2}.3^{\alpha_{3}}\}.
On the respective trees, we imposed that the first transition on the automaton is by 11, as the cases of transitions by 22 or 33 corresponding to (vii)(vii) and (ix)(b)(ix)(b) were already processed. From the trees, it suffices to follow the path from the root to a given leaf represented by a square in order to get a solution. More explicitly, on the picture view the sets written inside the leaves as triples and conserve the orders in which the integers appear. If the father of a leaf has 44 (resp 55, resp 66) vertices, then take the first two elements (resp the first element, resp the first element determined uniquely by 222^{2} in that case) of the triple, then follow the path up, finally add the root. The solution Z1Z_{1} is the only solution for which α2=1\alpha_{2}=1. This ends the proof of Lemma 44. \square

Below the trees in respective appendices A and B, we listed the solutions in the order in which the leaves appear from left to right. The solutions Z24Z26Z_{24}-Z_{26} (resp X10X17X_{10}-X_{17}) which were listed separately correspond to the leaves of the missing right hand side of the tree with root {2.3α,3α}\{2.3^{\alpha},3^{\alpha}\} (resp {2.3α,22.3α}\{2.3^{\alpha},2^{2}.3^{\alpha}\}). Moreover, these solutions are listed and numbered respecting the same order as before, to be consistent.

We finally deduce Lemma 33 from the elements of proof for Lemma 44.

First and foremost, we must have {2.qαq,qαq}X\{2.q^{\alpha_{q}},q^{\alpha_{q}}\}\subseteq X and q|σ1(1,2)=1+2q|\sigma_{1}(1,2)=1+2. That is q|3q|3. Then q=3q=3. So the solution must end in {2.3α3,3α3}\{2.3^{\alpha_{3}},3^{\alpha_{3}}\}. We then use the automaton with such an initial state. But since 222^{2} is not a factor, the only transition that is allowed is the one getting to the same state again with the exponent decreased by 11. Proceeding inductively, we get a unique solution, namely Z1Z_{1}. \square

In order to allow for generalization when the number of vertices is kk with k>9k>9, we summarized the moves corresponding to \clubsuit\clubsuit and \clubsuit\clubsuit\clubsuit in the proof of Fact 33 into a second automaton. It reads:

[Uncaptioned image]

The next part discusses the case when the number of vertices is greater than 99, based on the general analysis done in the section above, under the same hypotheses as before and in particular under the restriction α22\alpha_{2}\leq 2.

4 Programming with more unknowns.

Consider (E)n(E)_{n} in distinct integers with n>9n>9. Given a solution to (E)n(E)_{n} in xix_{i}’s, suppose 22 is a divisor of the xix_{i}’s with α2=2\alpha_{2}=2. Suppose qq is an odd divisor of the xix_{i}’s and so the highest power of qq appears twice or thrice.

  • \star

    If the highest power of qq appears thrice, the same reasoning as in the proof of Lemma 44 applies to a larger number of unknowns and leads to q=7q=7 with the unique solution when nn is odd:

    𝐕𝐧odd:={2,22,7,2.7,72,2.72,,7n52,2.7n52,7n32,2.7n32,22.7n32}\mathbf{V_{n\,\textbf{odd}}}:=\big{\{}2,2^{2},7,2.7,7^{2},2.7^{2},\dots,7^{\frac{n-5}{2}},2.7^{\frac{n-5}{2}},7^{\frac{n-3}{2}},2.7^{\frac{n-3}{2}},2^{2}.7^{\frac{n-3}{2}}\big{\}}

    When nn is even, there is no solution.

  • \star\star

    If the highest power of qq appears exactly twice, then either q=3q=3 with a solution ending in {2.3α3,22.3α3}\{2.3^{\alpha_{3}},2^{2}.3^{\alpha_{3}}\} or in {3α3,2.3α3}\{3^{\alpha_{3}},2.3^{\alpha_{3}}\}, or q=5q=5 with a solution necessarily ending in {5α5,22.5α5}\{5^{\alpha_{5}},2^{2}.5^{\alpha_{5}}\}. We first treat the latter case. Like before, we know that the second largest 55-valuation occurring must be α51\alpha_{5}-1 and it must occur as 5α515^{\alpha_{5}-1}. This time, working inductively, we see that there is a unique solution for each nn, even or odd, and it reads:

    𝐔𝐧:={2,22,5,52,,5n4,5n3,22.5n3}\mathbf{U_{n}}:=\{2,2^{2},5,5^{2},\dots,5^{n-4},5^{n-3},2^{2}.5^{n-3}\}

    When q=3q=3, we wrote a CAML program which returns the list of all the solutions and also counts them. This program is based on implementing the two automata of § 3\S\,3. It uses a recursive transition function from a state to another state of the automa. As part of this transition function we build inductively a list that keeps track of the solution under construction every time the function gets applied recursively (these additions correspond to the labels on the edges of the trees in Appendices A and B) and the number of integer variables gets decreased accordingly. Ultimately, each list will be a solution to the equation.
    At each step after reaching a new state (corresponding to a node in the tree), the program applies all the possible transition orders. Thus, in the end we obtain all the solutions. By the way the recursion works, the tree gets traversed in depth first.
    Because we proceed from a state in the highest 33-valuation whose value gets only determined after reaching a leaf in the tree, the transition function takes in argument a function which returns the list under construction depending on the highest 33-valuation. The transition function also takes in argument a counter which keeps track of the variation of the exponent inside the list.
    We reach a leaf in the tree when the number of variables left and provided as entry in the transition function reaches a lower bound for a given order. In that case, the transition function adds the very last elements to the list output of the entry function which results into a new function, determines what the highest 33-valuation should be depending on the value of the counter, then applies the new function with that value and returns the print-out of the completed list, that is a solution to the equation. It also increments a counter in order to keep track of the number of solutions, which also gets returned at the end of the procedure.

    Finally we briefly discuss about some of the orders appearing in the program. We recall that the second automaton gets used whenever a solution no longer ends in state one or two after a transition ”Starone” on the first automaton. The orders ”Startwo” and ”Starthree” model the two possible jumps from the first automaton onto the second automaton. As far as the orders ”RedStartwo” and ”RedStarthree”, these may occur only after a Startwo jump took place, or following a RedStartwo move. Namely, when you are in state two on the second automaton, you can either decide to jump back onto the first automaton at the cost of an exponent jump in the solution, or decide to stay on the second automaton, in which case there won’t be any exponent jump in the solution.

    We ran the main program successfully up to 1717 integer variables, though we displayed the results in Appendix E only up to n=13n=13. If we only count the solutions like in Appendices C or D, the program runs fine up to n=30n=30.
    The next section addresses the theoretical count of the solutions.

5 Combinatorics of the number of solutions when the integers are distinct.

When the integers are distinct, the only admissible primes are q=3,5,7q=3,5,7. When q{5,7}q\in\{5,7\}, the number of solutions is well determined, as in § 4\S\,4. When q=3q=3, we have seen that each solution is uniquely determined by a path followed from the root to a leaf on a decision tree with root either {2.3α,22.3α}\{2.3^{\alpha},2^{2}.3^{\alpha}\} or {3α,2.3α}\{3^{\alpha},2.3^{\alpha}\}, where α\alpha is the highest 33-valuation of the solution. Call such respective trees T1T_{1} and T2T_{2}. Our first step in counting the solutions consists of determining the number of nodes of each tree at a given depth that is less than the minimal depth at which the first leaf in the tree appears. We denote the respective numbers by Ni(d)N_{i}(d) with i=1,2i=1,2 at a given admissible depth dd. The number of nodes equals the number of edges at a given depth. Below are the rules governing the number of edges. These rules are read out of the automata. The root is at depth zero and there is zero edge.

0\displaystyle 0 \displaystyle\longrightarrow 2(i=1),  0 5(i=2)\displaystyle 2\;\;(i=1),\;\;0\;\longrightarrow\;5\;\;(i=2) (13)
2\displaystyle 2 \displaystyle\longrightarrow 2+5\displaystyle 2+5 (14)
5\displaystyle 5 \displaystyle\longrightarrow 5+2+2+2+2^+5\displaystyle 5+2+2+2+\widehat{2}+5 (15)
2^\displaystyle\widehat{2} \displaystyle\longrightarrow 5+2+2^\displaystyle 5+2+\widehat{2} (16)

The rules are best illustrated on the tree of Appendix F (done when i=1i=1). We derive:

Proposition 2.

Ni(d)=2a2(d)+5a5(d)+2a2^(d)N_{i}(d)=2a_{2}(d)+5a_{5}(d)+2a_{\widehat{2}}(d) with:

{a2(d)=a2(d1)+3a5(d1)+a2^(d1)a2^(d)=a5(d1)+a2^(d1)a5(d)=a2(d1)+2a5(d1)+a2^(d1)\left\{\begin{array}[]{ccc}a_{2}(d)&=&a_{2}(d-1)+3a_{5}(d-1)+a_{\widehat{2}}(d-1)\\ a_{\widehat{2}}(d)&=&a_{5}(d-1)+a_{\widehat{2}}(d-1)\\ a_{5}(d)&=&a_{2}(d-1)+2a_{5}(d-1)+a_{\widehat{2}}(d-1)\end{array}\right.

and initial conditions:

a2(1)={1if i=10if i=2a5(1)={0if i=11if i=2a2^(1)=0\begin{array}[]{ccc}a_{2}(1)=\begin{cases}1&\text{if $i=1$}\\ 0&\text{if $i=2$}\end{cases}&a_{5}(1)=\begin{cases}0&\text{if $i=1$}\\ 1&\text{if $i=2$}\end{cases}&a_{\widehat{2}}(1)=0\end{array}

These recurrences can be solved using Mathematica.

We obtain a bound for the number of solution 𝒮(n)(q=3)\mathcal{S}(n)(q=3):

N1(dmin(1)(n))+N2(dmin(2)(n)𝒮(n)(q=3)N1(dmax(1)(n))+N2(dmax(2)(n))N_{1}(d^{(1)}_{min}(n))+N_{2}(d^{(2)}_{min}(n)\leq\mathcal{S}(n)(q=3)\leq N_{1}(d^{(1)}_{max}(n))+N_{2}(d^{(2)}_{max}(n))

We derive the following proposition.

Proposition 3.

Bounding the number 𝒮(n)\mathcal{S}(n) of solutions to (E)n(E)_{n} in distinct integers. Let N1N_{1} and N2N_{2} be defined like in Proposition 22.

If n0(mod5)n\equiv 0\pmod{5}, then

N1(n5)+N2(n5)+𝒮(n)δn is even2δn is oddN1(n3)+N2(n3)N_{1}\Big{(}\frac{n}{5}\Big{)}+N_{2}\Big{(}\frac{n}{5}\Big{)}+\leq\mathcal{S}(n)-\delta_{\text{n is even}}-2\delta_{\text{n is odd}}\leq N_{1}(n-3)+N_{2}(n-3)

If n1(mod5)n\equiv 1\pmod{5}, then

N1(n+45)+N2(n15)𝒮(n)δn is even2δn is oddN1(n3)+N2(n3)N_{1}\Big{(}\frac{n+4}{5}\Big{)}+N_{2}\Big{(}\frac{n-1}{5}\Big{)}\leq\mathcal{S}(n)-\delta_{\text{n is even}}-2\delta_{\text{n is odd}}\leq N_{1}(n-3)+N_{2}(n-3)

If n2(mod5)n\equiv 2\pmod{5}, then

N1(n+35)+N2(n+35)𝒮(n)δn is even2δn is oddN1(n3)+N2(n3)N_{1}\Big{(}\frac{n+3}{5}\Big{)}+N_{2}\Big{(}\frac{n+3}{5}\Big{)}\leq\mathcal{S}(n)-\delta_{\text{n is even}}-2\delta_{\text{n is odd}}\leq N_{1}(n-3)+N_{2}(n-3)

If n3(mod5)n\equiv 3\pmod{5}, then

N1(n+25)+N2(n35)𝒮(n)δn is even2δn is oddN1(n3)+N2(n3)N_{1}\Big{(}\frac{n+2}{5}\Big{)}+N_{2}\Big{(}\frac{n-3}{5}\Big{)}\leq\mathcal{S}(n)-\delta_{\text{n is even}}-2\delta_{\text{n is odd}}\leq N_{1}(n-3)+N_{2}(n-3)

If n4(mod5)n\equiv 4\pmod{5}, then

N1(n+65)+N2(n+15)𝒮(n)δn is even2δn is oddN1(n3)+N2(n3)N_{1}\Big{(}\frac{n+6}{5}\Big{)}+N_{2}\Big{(}\frac{n+1}{5}\Big{)}\leq\mathcal{S}(n)-\delta_{\text{n is even}}-2\delta_{\text{n is odd}}\leq N_{1}(n-3)+N_{2}(n-3)

Proof of Proposition 33. The maximal depth of reaching a leaf in the tree is given by a path in the tree of maximal length. Such a path is obtained when the number of unknowns is decreased by only one at each step. This is for instance achieved with a repeated Asterisk operation in T1T_{1} and with a repeated Triangle operation in T2T_{2}. At depth dd, there are ndn-d unknowns and the process stops when nd=4n-d=4, that is d=n4d=n-4. Then dmax(1)(n)=dmax(2)(n)=n3d^{(1)}_{max}(n)=d^{(2)}_{max}(n)=n-3. As for the minimal depth of reaching a leaf, it is provided by the shortest path to a leaf in the tree. We must distinguish between T1T_{1} and T2T_{2}. We start with T1T_{1}. Our best first order is to use the Diamond move. After that we are in State 11 and we may use the Starthree move resulting in a decrease of unknowns by 55 as long as we no longer can.

  • *

    If n25(d1)=8n-2-5(d-1)=8, apply Starthree a last time and reach a leaf. We must have n0(mod5)n\equiv 0\pmod{5} and dmin(1)(n)=n5d^{(1)}_{min}(n)=\frac{n}{5}.

  • **

    If n25(d1)=7n-2-5(d-1)=7, Starthree is no longer available and the best possible option is the Starone order. We must have n4(mod5)n\equiv 4\pmod{5} and we get dmin(1)(n)=n+65d_{min}^{(1)}(n)=\frac{n+6}{5}.

  • ***

    If n25(d1)=6n-2-5(d-1)=6, proceed likewise. We must have n3(mod5)n\equiv 3\pmod{5} and we obtain dmin(1)(n)=n+25d^{(1)}_{min}(n)=\frac{n+2}{5}.

  • ****

    If n25(d1)=5n-2-5(d-1)=5, the last Starthree order should be replaced with a Startwo order in order to be positioned in State 22 and to proceed further on the path itinery with a Diamond order. We must have n2(mod5)n\equiv 2\pmod{5} and we get dmin(1)(n)=n+35d^{(1)}_{min}(n)=\frac{n+3}{5}.

  • *****

    Last, if n25(d1)=4n-2-5(d-1)=4, we have a leaf and no further action is needed. We must have n1(mod5)n\equiv 1\pmod{5} and we get dmin(1)(n)=n+45d^{(1)}_{min}(n)=\frac{n+4}{5}.

When processing T2T_{2}, the only difference with before is that we apply the Starthree moves straightaway. Then n25(d1)n-2-5(d-1) must be replaced with n5dn-5d. Respecting the same order of treatment as before, we obtain the five following possibilities:

(n3(mod5),dmin(2)(n)=n35),(n2(mod5),dmin(2)(n)=n+35),(n1(mod5),dmin(2)(n)=n15),(n0(mod5),dmin(2)(n)=n5),(n4(mod5),dmin(2)(n)=n+15)\begin{array}[]{l}\Big{(}n\equiv 3\pmod{5},d^{(2)}_{min}(n)=\frac{n-3}{5}\Big{)},\Big{(}n\equiv 2\pmod{5},d^{(2)}_{min}(n)=\frac{n+3}{5}\Big{)},\\ \Big{(}n\equiv 1\pmod{5},d^{(2)}_{min}(n)=\frac{n-1}{5}\Big{)},\Big{(}n\equiv 0\pmod{5},d^{(2)}_{min}(n)=\frac{n}{5}\Big{)},\\ \Big{(}n\equiv 4\pmod{5},d^{(2)}_{min}(n)=\frac{n+1}{5}\Big{)}\end{array}

Gathering all the results for both trees leads to the statement of Proposition 33.

In fact, we can precisely count the number of solutions using a Mathematica program. It suffices to keep track of how the number of unknowns varies with the different orders Triangle, Square, Diamond, Asterisk, Starone, Startwo, Starthree, RedStartwo, RedStarthree, respectively abbreviated by tri, sq, dia, ast, St1, St2, St, t and p.

Proposition 4.

The following recursions hold:

ast(n)\displaystyle ast(n) =\displaystyle= ast(n1)+dia(n1)+δn=4\displaystyle ast(n-1)+dia(n-1)+\delta_{n=4}
tri(n)\displaystyle tri(n) =\displaystyle= tri(n1)+sq(n1)+St1(n1)+St2(n1)+St(n1)\displaystyle tri(n-1)+sq(n-1)+St1(n-1)+St2(n-1)+St(n-1)
sq(n)\displaystyle sq(n) =\displaystyle= ast(n1)+dia(n1)\displaystyle ast(n-1)+dia(n-1)
dia(n)\displaystyle dia(n) =\displaystyle= tri(n2)+sq(n2)+St1(n2)+St2(n2)+St(n2)\displaystyle tri(n-2)+sq(n-2)+St1(n-2)+St2(n-2)+St(n-2)
St1(n)\displaystyle St1(n) =\displaystyle= ast(n3)+dia(n3)+δn=6\displaystyle ast(n-3)+dia(n-3)+\delta_{n=6}
St2(n)\displaystyle St2(n) =\displaystyle= ast(n5)+dia(n5)+t(n5)+p(n5)+δn=8\displaystyle ast(n-5)+dia(n-5)+t(n-5)+p(n-5)+\delta_{n=8}
St(n)\displaystyle St(n) =\displaystyle= tri(n5)+sq(n5)+St1(n5)+St2(n5)+St(n5)\displaystyle tri(n-5)+sq(n-5)+St1(n-5)+St2(n-5)+St(n-5)
t(n)\displaystyle t(n) =\displaystyle= ast(n2)+dia(n2)+t(n2)+p(n2)+δn=5\displaystyle ast(n-2)+dia(n-2)+t(n-2)+p(n-2)+\delta_{n=5}
p(n)\displaystyle p(n) =\displaystyle= tri(n2)+sq(n2)+St1(n2)+St2(n2)+St(n2)\displaystyle tri(n-2)+sq(n-2)+St1(n-2)+St2(n-2)+St(n-2)

with initial conditions:

|dia(3)=sq(3)=ast(3)=St(3)=St2(3)=St1(3)=t(3)=p(3)=dia(4)=St(4)=St2(4)=St1(4)=t(4)=p(4)=St(5)=St2(5)=St1(5)=St2(6)=St(6)=St2(7)=St(7)=0tri(3)=1\left|\begin{array}[]{l}dia(3)=sq(3)=ast(3)=St(3)=St2(3)=St1(3)=t(3)=p(3)=dia(4)\\ =St(4)=St2(4)=St1(4)=t(4)=p(4)=St(5)=St2(5)=St1(5)=\\ St2(6)=St(6)=St2(7)=St(7)=0\\ tri(3)=1\end{array}\right.

The system of recurrence equations has a unique solution in nn

(tri(n),sq(n),ast(n),dia(n),St1(n),St2(n),St(n),t(n),p(n))(tri(n),sq(n),ast(n),dia(n),St1(n),St2(n),St(n),t(n),p(n))

Moreover, the sum of the first 77 components of the 99-tuple is precisely the number of solutions 𝒮(n)(q=3)\mathcal{S}(n)(q=3).

Proof of Proposition 44. The left hand sides represent the order you apply with nn unknowns. The right hand side gathers all the orders you may operate after reduction next, with the adequate decreased number of unknowns. If there are not enough unknowns left, it will be impossible to apply a given order and so its contribution to the number of solutions is null. This is conveyed through the initial conditions with equalities to zero. We must now specify the other initial conditions.

  • 1.

    When n=3n=3, Triangle is the only admissible order and it leads to a solution. Hence tri(3)=1tri(3)=1.

  • 2.

    When n=4n=4, Triangle and Asterisk are the only admissible orders, each leading to a solution. We see that we must add a corrective term in the first recurrence equation in order to set ast(4)=1ast(4)=1.

  • 3.

    When n=5n=5, RedStartwo, RedStarthree, Asterisk, Triangle, Square, Diamond are all admissible orders, amongst which only RedStartwo needs a correction in order to have t(5)=1t(5)=1.

  • 4.

    When n=6n=6, we must add Starone to the list of admissible orders and it needs a correction in order to have St1(6)=1St1(6)=1.

  • 5.

    When n=7n=7, no new order gets added.

  • 6.

    When n=8n=8, both Startwo and Starthree get finally added. Only Startwo does need a correction in order to get St2(8)=1St2(8)=1.

The recurrence system has the same order as the number of initial conditions, hence has a unique solution. In order to find out the number of solutions to (E)n(E)_{n} when q=3q=3, we start with nn variables and apply all of Triangle, Square, Starone, Startwo, Starthree, Asterisk, Diamond. This ends the proof. \square

6 Concluding words and prospects.

It would be interesting to generalize the results by offering an algorithm for finding all the distinct solutions of (E)n(E)_{n} with only two prime divisors and of the form 2αqβ2^{\alpha}q^{\beta}. That is we now allow the highest 22-valuation α2\alpha_{2} to satisfy to α23\alpha_{2}\geq 3.

Problem 11. Can we count all the solutions in distinct integers of the form 2αqβ2^{\alpha}q^{\beta} with qq any odd prime ?

It is to expect that dealing with the cases α23\alpha_{2}\geq 3 will be a generalization of the work contained in the present paper, with even more combinatorics involved when it comes to counting all the solutions.

Problem 22. More generally, can we count all the solutions in distinct integers with only two prime divisors ?

In the case of nine integer variables, it is known since [8] that there are only five solutions in distinct odd integers. These were recalled at the beginning of § 3\S\,3. After scrutiny, none of 𝐁𝟏𝐁𝟓\mathbf{B_{1}-B_{5}} is composed of only two prime divisors and the minimum number of prime divisors is 33. Thus, in the case of (E)9(E)_{9}, if we can finish solving Problem 11, we would get the total number of solutions in distinct integers with only two prime divisors.

Problem 22 is tackled in [12] for two or more primes in the case when the primes are set (contrary to in our approach). The authors denote by Tn(p1,,pt)T_{n}(p_{1},\dots,p_{t}) these numbers and one of their main results is the existence of two constants n0n_{0} and cc that depend on the chosen primes, such that for any n>n0n>n_{0}, we have either Tn(p1,,pt)=0T_{n}(p_{1},\dots,p_{t})=0 or Tn(p1,,pt)>cnT_{n}(p_{1},\dots,p_{t})>c^{n}. They leave as an open problem whether there would exist such an upper bound. While providing a lower bound in the special case of Tk(2,3,5)T_{k}(2,3,5), they state some interesting decompositions of 1/a1/a as a sum of two unit fractions when 22 divides aa, involving the prime 33 and four unit fractions when 222^{2} divides aa, involving the primes 22, 33 and 55. These identities namely read:

1a\displaystyle\frac{1}{a} =\displaystyle= 15a4+110a+115a+130a\displaystyle\frac{1}{\frac{5a}{4}}+\frac{1}{10a}+\frac{1}{15a}+\frac{1}{30a} (17)
1a\displaystyle\frac{1}{a} =\displaystyle= 13a2+13a\displaystyle\frac{1}{\frac{3a}{2}}+\frac{1}{3a} (18)

In the case of (E)9(E)_{9}, we show how we can use these identities to derive solutions in 2α3β5γ2^{\alpha}3^{\beta}5^{\gamma}. We expand a solution of (E)3(E)_{3} instead of retracting a solution to one of (E)3(E)_{3} like we did in § 3\S\,3. First and foremost, we have:

12+122+15+15.23+13.5.22+13.5.23=1\frac{1}{2}+\frac{1}{2^{2}}+\frac{1}{5}+\frac{1}{5.2^{3}}+\frac{1}{3.5.2^{2}}+\frac{1}{3.5.2^{3}}=1 (19)

by starting from the solution {2,4,4}\{2,4,4\} of (E)3(E)_{3} and using (17)(17) with a=4a=4. We obtain a solution of (E)6(E)_{6}. From there, each unit fraction containing 222^{2} (resp 22) as a divisor may be expanded using Identity (17)(17) (resp Identity (18)(18)), which yields four solutions in 2α3β5γ2^{\alpha}3^{\beta}5^{\gamma} (resp 55 solutions of (E)7(E)_{7} and at least 535^{3} solutions of (E)9(E)_{9} since 3a3a remains divisible by 22 when aa is divisible by 22).
The authors of [12] also study the special case Tn(3,5,7)T_{n}(3,5,7). They show that:

Tn(3,5,7)Cn62n11T_{n}(3,5,7)\geq C^{n}\sqrt{62}\qquad\forall n\geq 11

In [9], Burshtein showed that T11(3,5,7)=17T_{11}(3,5,7)=17. By confronting both works, we deduce:

Ce111(ln(17)12ln(62)1.072C\leq e^{\frac{1}{11}(ln(17)-\frac{1}{2}ln(62)}\simeq 1.072

Finally, we note that the questions we raise and those raised in [12] are both different from the almost century old questions raised by Erdös. He and Graham had been investigating Egyptian fractions with each denominator having three distinct prime divisors but while doing so they allow the three primes to vary from a unit fraction to the other, cf. eg. [20]. Their work led to a paper [11] involving also Butler in 20152015. Erdös is a co-author though he died twenty years earlier in 19961996. They show that each natural number has a representation in Egyptian fraction with each denominator having three distinct prime divisors. In [10], Burshtein also discusses the case of two distinct prime divisors.

Acknowledgements. Thanks go to Joel Louwsma whose interesting work on arithmetical structures originated the present work. His insight on the Diophantine equation in not necessarily distinct integers and completely different approach allowed the author to identify a small mistake in her original program. Joel Louwsma namely allowed to confront, then confirm by different means than those presented here the counting results of the present paper. He is gratefully acknowledged for that. My Profound, Happy and Sincere thanks go to MF and PA for allowing to identify a missing leaf in the tree of Appendix B. Their generous time and excited dedication allowed to compare the hand solutions written in terms of powers with the computer solutions for n=9n=9 written in terms of integers, thus fixing a count difference of a simple unit and allowing again some verifications on the results. I am indebted for their patience, generosity and success. Finally, my most sincere thanks go to KW for her great encouragements and very kind support.

Appendix A
[Uncaptioned image]\begin{array}[]{cc}\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\text{\psfig{height=284.52756pt}}&\end{array}

𝐗𝟏\displaystyle\mathbf{X_{1}} :=\displaystyle:= {2,22,2.3,2.32,2.33,2.34,2.35,2.36,22.36}\displaystyle\{2,2^{2},2.3,2.3^{2},2.3^{3},2.3^{4},2.3^{5},2.3^{6},2^{2}.3^{6}\}
𝐗𝟐\displaystyle\mathbf{X_{2}} :=\displaystyle:= {2,3,22.3,2.32,2.33,2.34,2.35,2.36,22.36}\displaystyle\{2,3,2^{2}.3,2.3^{2},2.3^{3},2.3^{4},2.3^{5},2.3^{6},2^{2}.3^{6}\}
𝐗𝟑\displaystyle\mathbf{X_{3}} :=\displaystyle:= {2,3,22.32,32,2.33,2.34,2.35,2.36,22.36}\displaystyle\{2,3,2^{2}.3^{2},3^{2},2.3^{3},2.3^{4},2.3^{5},2.3^{6},2^{2}.3^{6}\}
𝐗𝟒\displaystyle\mathbf{X_{4}} :=\displaystyle:= {2,3,32,33,22.33,2.34,2.35,2.36,22.36}\displaystyle\{2,3,3^{2},3^{3},2^{2}.3^{3},2.3^{4},2.3^{5},2.3^{6},2^{2}.3^{6}\}
𝐗𝟓\displaystyle\mathbf{X_{5}} :=\displaystyle:= {2,22,22.3,32,22.32,2.33,2.34,2.35,22.35}\displaystyle\{2,2^{2},2^{2}.3,3^{2},2^{2}.3^{2},2.3^{3},2.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟔\displaystyle\mathbf{X_{6}} :=\displaystyle:= {2,3,32,33,34,22.34,2.35,2.36,22.36}\displaystyle\{2,3,3^{2},3^{3},3^{4},2^{2}.3^{4},2.3^{5},2.3^{6},2^{2}.3^{6}\}
𝐗𝟕\displaystyle\mathbf{X_{7}} :=\displaystyle:= {2,22,22.3,32,33,22.33,2.34,2.35,22.35}\displaystyle\{2,2^{2},2^{2}.3,3^{2},3^{3},2^{2}.3^{3},2.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟖\displaystyle\mathbf{X_{8}} :=\displaystyle:= {2,22,2.3,22.32,33,22.33,2.34,2.35,22.35}\displaystyle\{2,2^{2},2.3,2^{2}.3^{2},3^{3},2^{2}.3^{3},2.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐗𝟗\displaystyle\mathbf{X_{9}} :=\displaystyle:= {2,3,22.3,22.32,33,22.33,2.34,2.35,22.35}\displaystyle\{2,3,2^{2}.3,2^{2}.3^{2},3^{3},2^{2}.3^{3},2.3^{4},2.3^{5},2^{2}.3^{5}\}
𝐘𝟏\displaystyle\mathbf{Y_{1}} :=\displaystyle:= {22,3,2.3,22.3,32,22.32,2.33,2.34,22.34}\displaystyle\{2^{2},3,2.3,2^{2}.3,3^{2},2^{2}.3^{2},2.3^{3},2.3^{4},2^{2}.3^{4}\}

Appendix B
[Uncaptioned image]\begin{array}[]{cc}\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\text{\psfig{height=284.52756pt}}&\end{array}

𝐙𝟏\displaystyle\mathbf{Z_{1}} :=\displaystyle:= {2,3,32,33,34,35,36,37,2.37}\displaystyle\{2,3,3^{2},3^{3},3^{4},3^{5},3^{6},3^{7},2.3^{7}\}
𝐙𝟐\displaystyle\mathbf{Z_{2}} :=\displaystyle:= {2,22,22.3,32,33,34,35,36,2.36}\displaystyle\{2,2^{2},2^{2}.3,3^{2},3^{3},3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟑\displaystyle\mathbf{Z_{3}} :=\displaystyle:= {2,22,2.3,22.32,33,34,35,36,2.36}\displaystyle\{2,2^{2},2.3,2^{2}.3^{2},3^{3},3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟒\displaystyle\mathbf{Z_{4}} :=\displaystyle:= {2,3,22.3,22.32,33,34,35,36,2.36}\displaystyle\{2,3,2^{2}.3,2^{2}.3^{2},3^{3},3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟓\displaystyle\mathbf{Z_{5}} :=\displaystyle:= {2,22,2.3,2.32,22.33,34,35,36,2.36}\displaystyle\{2,2^{2},2.3,2.3^{2},2^{2}.3^{3},3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟔\displaystyle\mathbf{Z_{6}} :=\displaystyle:= {2,3,22.3,2.32,22.33,34,35,36,2.36}\displaystyle\{2,3,2^{2}.3,2.3^{2},2^{2}.3^{3},3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟕\displaystyle\mathbf{Z_{7}} :=\displaystyle:= {2,3,32,22.32,22.33,34,35,36,2.36}\displaystyle\{2,3,3^{2},2^{2}.3^{2},2^{2}.3^{3},3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟖\displaystyle\mathbf{Z_{8}} :=\displaystyle:= {2,22,32,2.32,22.32,33,34,35,2.35}\displaystyle\{2,2^{2},3^{2},2.3^{2},2^{2}.3^{2},3^{3},3^{4},3^{5},2.3^{5}\}
𝐙𝟗\displaystyle\mathbf{Z_{9}} :=\displaystyle:= {2,22,2.3,2.32,2.33,22.34,35,36,2.36}\displaystyle\{2,2^{2},2.3,2.3^{2},2.3^{3},2^{2}.3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟎\displaystyle\mathbf{Z_{10}} :=\displaystyle:= {2,3,22.3,2.32,2.33,22.34,35,36,2.36}\displaystyle\{2,3,2^{2}.3,2.3^{2},2.3^{3},2^{2}.3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟏\displaystyle\mathbf{Z_{11}} :=\displaystyle:= {2,3,32,22.32,2.33,22.34,35,36,2.36}\displaystyle\{2,3,3^{2},2^{2}.3^{2},2.3^{3},2^{2}.3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟐\displaystyle\mathbf{Z_{12}} :=\displaystyle:= {2,3,32,33,22.33,22.34,35,36,2.36}\displaystyle\{2,3,3^{2},3^{3},2^{2}.3^{3},2^{2}.3^{4},3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟑\displaystyle\mathbf{Z_{13}} :=\displaystyle:= {2,22,22.3,32,22.32,22.33,34,35,2.35}\displaystyle\{2,2^{2},2^{2}.3,3^{2},2^{2}.3^{2},2^{2}.3^{3},3^{4},3^{5},2.3^{5}\}
𝐙𝟏𝟒\displaystyle\mathbf{Z_{14}} :=\displaystyle:= {2,22,2.3,33,2.33,22.33,34,35,2.35}\displaystyle\{2,2^{2},2.3,3^{3},2.3^{3},2^{2}.3^{3},3^{4},3^{5},2.3^{5}\}
𝐙𝟏𝟓\displaystyle\mathbf{Z_{15}} :=\displaystyle:= {2,3,22.3,33,2.33,22.33,34,35,2.35}\displaystyle\{2,3,2^{2}.3,3^{3},2.3^{3},2^{2}.3^{3},3^{4},3^{5},2.3^{5}\}
𝐙𝟏𝟔\displaystyle\mathbf{Z_{16}} :=\displaystyle:= {2,22,2.3,2.32,2.33,2.34,22.35,36,2.36}\displaystyle\{2,2^{2},2.3,2.3^{2},2.3^{3},2.3^{4},2^{2}.3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟕\displaystyle\mathbf{Z_{17}} :=\displaystyle:= {2,3,22.3,2.32,2.33,2.34,22.35,36,2.36}\displaystyle\{2,3,2^{2}.3,2.3^{2},2.3^{3},2.3^{4},2^{2}.3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟖\displaystyle\mathbf{Z_{18}} :=\displaystyle:= {2,3,32,22.32,2.33,2.34,22.35,36,2.36}\displaystyle\{2,3,3^{2},2^{2}.3^{2},2.3^{3},2.3^{4},2^{2}.3^{5},3^{6},2.3^{6}\}
𝐙𝟏𝟗\displaystyle\mathbf{Z_{19}} :=\displaystyle:= {2,3,32,33,22.33,2.34,22.35,36,2.36}\displaystyle\{2,3,3^{2},3^{3},2^{2}.3^{3},2.3^{4},2^{2}.3^{5},3^{6},2.3^{6}\}
𝐙𝟐𝟎\displaystyle\mathbf{Z_{20}} :=\displaystyle:= {2,22,22.3,32,22.32,2.33,22.34,35,2.35}\displaystyle\{2,2^{2},2^{2}.3,3^{2},2^{2}.3^{2},2.3^{3},2^{2}.3^{4},3^{5},2.3^{5}\}
𝐙𝟐𝟏\displaystyle\mathbf{Z_{21}} :=\displaystyle:= {2,3,32,33,34,22.34,22.35,36,2.36}\displaystyle\{2,3,3^{2},3^{3},3^{4},2^{2}.3^{4},2^{2}.3^{5},3^{6},2.3^{6}\}
𝐙𝟐𝟐\displaystyle\mathbf{Z_{22}} :=\displaystyle:= {2,22,22.3,32,33,22.33,22.34,35,2.35}\displaystyle\{2,2^{2},2^{2}.3,3^{2},3^{3},2^{2}.3^{3},2^{2}.3^{4},3^{5},2.3^{5}\}
𝐙𝟐𝟑\displaystyle\mathbf{Z_{23}} :=\displaystyle:= {2,22,2.3,22.32,33,22.33,22.34,35,2.35}\displaystyle\{2,2^{2},2.3,2^{2}.3^{2},3^{3},2^{2}.3^{3},2^{2}.3^{4},3^{5},2.3^{5}\}
𝐙𝟐𝟒\displaystyle\mathbf{Z_{24}} :=\displaystyle:= {2,3,22.3,22.32,33,22.33,22.34,35,2.35}\displaystyle\{2,3,2^{2}.3,2^{2}.3^{2},3^{3},2^{2}.3^{3},2^{2}.3^{4},3^{5},2.3^{5}\}
𝐓𝟏\displaystyle\mathbf{T_{1}} :=\displaystyle:= {22,3,2.3,22.3,32,22.32,22.33,34,2.34}\displaystyle\{2^{2},3,2.3,2^{2}.3,3^{2},2^{2}.3^{2},2^{2}.3^{3},3^{4},2.3^{4}\}
𝐓𝟐\displaystyle\mathbf{T_{2}} :=\displaystyle:= {22,3,2.3,22.3,32,33,34,35,2.35}\displaystyle\{2^{2},3,2.3,2^{2}.3,3^{2},3^{3},3^{4},3^{5},2.3^{5}\}

Appendix C. Program in CAML for counting the solutions


let p n = power 3.0 n;;                            (* defines 3^n *)


type Order = Triangle | Square | Asterisk | Diamond | Starone | Startwo | Starthree
             | RedStartwo | RedStarthree ;;

                                                   (* defines the type Order *)

let rec transition (state,n,order) =

      match (state,n,order) with

            (1,n,_) when n=4 -> incre()

            |(2,n,_) when n=4 -> incre()

            |(1,n,Triangle) when n=5 ->  transition (1,4,Triangle)

            |(1,n,Square) when n=5 -> transition (2,4,Asterisk)

            |(2,n,Asterisk) when n=5  ->  transition (2,4,Asterisk)

            |(2,n,Diamond) when n=5 ->  incre()

            |(2,n,RedStartwo) when n=5 -> incre()

            |(2,n,RedStarthree) when n=5 -> incre()

            |(2,n,Diamond) when n=6 -> transition (1,4,Triangle)

            |(1,n,Starone) when n=6 -> incre()

            |(2,n,RedStartwo) when n=6 -> incre()

            |(2,n,RedStarthree) when n=6 -> transition (1,n-2,Triangle)

            |(1,n,Triangle) when n=6 -> transition (1,5,Triangle);
                                        transition (1,5,Square)

            |(2,n,Diamond) when n=7 -> transition (1,5,Triangle);
                                       transition (1,5,Square)

            |(1,n,Starone) when n=7 -> incre()

            |(2,n,RedStarthree) when n=7 -> transition (1,n-2,Triangle);
                                            transition (1,n-2,Square)

            |(1,n,Triangle) when (n=7 or n=8) -> transition (1,n-1,Triangle);
                                                 transition (1,n-1,Square);
                                                 transition (1,n-1,Starone)

            |(1,n,Startwo) when n=8 -> incre()

            |(1,n,Starthree) when n=8 -> incre()

            |(2,n,Diamond) when (n=8 or n=9) -> transition (1,n-2,Triangle);
                                                transition (1,n-2,Square);
                                                transition (1,n-2,Starone)

            |(2,n,RedStarthree) when (n=8 or n=9) -> transition (1,n-2,Triangle);
                                                     transition (1,n-2,Square);
                                                     transition (1,n-2,Starone)

            |(1,n,Startwo) when n=9 -> incre()

            |(1,n,Starthree) when n=9 -> incre()

            |(1,n,Starthree) when n=10 -> transition (1,n-5,Triangle);
                                          transition (1,n-5,Square)

            |(1,n,Starthree) when (n=11 or n=12) -> transition (1,n-5,Triangle);
                                                    transition (1,n-5,Square);
                                                    transition (1,n-5,Starone)

            |(1,n,Triangle) when n>7 -> transition (1,n-1,Triangle);
                                        transition (1,n-1,Square);
                                        transition (1,n-1,Starone);
                                        transition (1,n-1,Startwo);
                                        transition (1,n-1,Starthree)

            |(2,n,Asterisk) when n>5 -> transition (2,n-1,Asterisk);
                                        transition (2,n-1,Diamond)

            |(2,n,Diamond) when n>9 -> transition (1,n-2,Triangle);
                                       transition (1,n-2,Square);
                                       transition (1,n-2,Starone);
                                       transition (1,n-2,Startwo);
                                       transition (1,n-2,Starthree)

            |(1,n,Square) when n>5 -> transition(2,n-1,Asterisk);
                                      transition(2,n-1,Diamond)

            |(1,n,Starone) when n>7 -> transition (2,n-3,Asterisk);
                                       transition (2,n-3,Diamond)

            |(1,n,Startwo) when n>9 -> transition (2,n-5,Asterisk);
                                       transition (2,n-5,Diamond);
                                       transition (2,n-5,RedStartwo);
                                       transition (2,n-5,RedStarthree)

            |(1,n,Starthree) when n>12 -> transition (1,n-5,Triangle);
                                          transition (1,n-5,Square);
                                          transition (1,n-5,Starone);
                                          transition (1,n-5,Startwo);
                                          transition (1,n-5,Starthree)

            |(2,n,RedStartwo) when n>6 -> transition (2,n-2,Asterisk);
                                          transition (2,n-2,Diamond);
                                          transition (2,n-2,RedStartwo);
                                          transition (2,n-2,RedStarthree)


            |(2,n,RedStarthree) when n>9 -> transition (1,n-2,Triangle);
                                            transition (1,n-2,Square);
                                            transition (1,n-2,Starone);
                                            transition (1,n-2,Startwo);
                                            transition (1,n-2,Starthree)

            |(_,_,_) -> failwith "error";;

let N m = (* Returns the number of solutions in 2^a.3^b with a<3 for m variables *)
 let ct = ref 0 and cc = ref 0 and ceu = ref 0 and ced = ref 0 and cet = ref 0 and
     ca = ref 0 and cd = ref 0
      in
       let S m order =  (* with m the number of variables *)
        let c = ref 0
         in
        let incre()= c:= !(c) +1
       in
       match order with
        Triangle -> begin transition (1,m,Triangle);
                   ct:= !c end
       |Square -> begin transition (1,m,Square);
                 cc:= !c end
       |Starone -> begin transition (1,m,Starone);
                  ceu:= !c end
       |Startwo -> begin transition (1,m,Startwo);
                  ced:= !c end
       |Starthree -> begin transition (1,m,Starthree);
                    cet:= !c end
       |Asterisk -> begin transition (2,m,Asterisk);
                   ca:= !c end
       |Diamond -> begin transition (2,m,Diamond);
                  cd:= !c end
       |_ -> failwith("error")

        in

      S m Triangle; S m Square; S m Starone; S m Startwo; S m Starthree;
      S m Asterisk; S m Diamond;
      let total = !(ct) + !(cc)+ !(ceu)+ !(ced)+ !(cet)+ !(ca)+ !(cd)
         in
         print_string("There are ");print_int(total);print_string(" solutions");;

Compiling:

p : float -> float = <fun>
#Type Order defined.
#N : int -> unit = <fun>

Running the program:

#N(9);;
There are 52 solutions- : unit = ()
#N(22);;
There are 228102 solutions- : unit = ()
#N(30);;
There are 39590576 solutions- : unit = ()
#

Appendix D. Program in CAML for counting the solutions up to a given n


let list_number_of_solutions_up_to k = (* solutions in 2^a3^b with a<3 and
                                          k the number of variables *)
  let aux m =
 let ct = ref 0 and cc = ref 0 and ceu = ref 0 and ced = ref 0 and cet = ref 0 and
     ca = ref 0 and cd = ref 0
 in
  let S m order =
   let c = ref 0
   in
  let incre()= c:= !(c) +1
   in
    match order with
       Triangle -> begin transition (1,m,Triangle);
                   ct:= !c end
      |Square -> begin transition (1,m,Square);
                 cc:= !c end
      |Starone -> begin transition (1,m,Starone);
                  ceu:= !c end
      |Startwo -> begin transition (1,m,Startwo);
                  ced:= !c end
      |Starthree -> begin transition (1,m,Starthree);
                    cet:= !c end
      |Asterisk -> begin transition (2,m,Asterisk);
                   ca:= !c end
      |Diamond -> begin transition (2,m,Diamond);
                  cd:= !c end
      |_ -> failwith("error")

        in

      S m Triangle; S m Square; S m Starone; S m Startwo; S m Starthree;
      S m Asterisk; S m Diamond;
      !(ct) + !(cc)+ !(ceu)+ !(ced)+ !(cet)+ !(ca)+ !(cd)

             in
                for n = 9 to k
                     do
                     print_string("(");print_int(n);
                     print_string(",");print_int(aux(n));print_string(")");
                     print_newline()
                     done;;

Compiling:

p : float -> float = <fun>
#Type Order defined.
#list_number_of_solutions_up_to : int -> unit = <fun>

Running the program:

#list_number_of_solutions_up_to(35);;
#(9,52)
(10,100)
(11,190)
(12,362)
(13,690)
(14,1314)
(15,2504)
(16,4770)
(17,9088)
(18,17314)
(19,32986)
(20,62844)
(21,119728)
(22,228102)
(23,434572)
(24,827932)
(25,1577348)
(26,3005110)
(27,5725234)
(28,10907522)
(29,20780642)
(30,39590576)
(31,75426626)
(32,143700256)
(33,273772866)
(34,521582802)
(35,993701908)
- : unit = ()
#

Appendix E. Program in CAML applied to KnK_{n} with n=9,10,11,12,13n=9,10,11,12,13


let print_list l =                                 (* prints the elements
                                                   of an integer list as a set *)
  let rec p_list l = match l with
      []-> failwith("error")
     |[a] -> begin print_int a ; print_string "}" end
     |t::q -> begin print_int t; print_string ","; p_list q end
  in
  begin print_string "{"; p_list l end;;

let X m = (* Main program, returns the list of all the solutions in 2^a.3^b with a<3 *)
 let ct = ref 0 and cc = ref 0 and ceu = ref 0 and ced = ref 0 and cet = ref 0 and
     ca = ref 0 and cd = ref 0
 in
  let S m order =  (* with m the number of variables *)
   let c = ref 0
   in
  let incre()= c:= !(c) +1
   in
   let rec transition (state,n,order) compteur g =

      match (state,n,order) with
              (1,n,_) when n=4 -> begin incre(); let new_f = fun a -> 2::3::(g(a))
                                   in
                                   print_list(new_f(compteur +1));
                                   print_newline() end

             |(2,n,_) when n=4 -> begin incre(); let new_f = fun a -> 2::4::(g(a))
                                  in
                                 print_list(new_f(compteur));
                                 print_newline() end

             |(1,n,Triangle) when n=5 -> let new_f = fun
                              a -> (int_of_float(p(float_of_int(a-compteur))))::g(a)
                               in
                               transition (1,4,Triangle) (compteur+1) new_f

             |(1,n,Square) when n=5 -> let new_f = fun
                           a -> (4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                           in
                           transition (2,4,Asterisk) (compteur +1) new_f

             |(2,n,Asterisk) when n=5  -> let new_f = fun
                          a -> (2*(int_of_float(p(float_of_int(a-compteur)))))::g(a)
                          in
                          transition (2,4,Asterisk) (compteur +1) new_f

             |(2,n,Diamond) when n=5 -> begin incre(); let new_f = fun
                          a -> 2::(int_of_float(p(float_of_int(a-compteur))))
                               ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                          in
                          print_list(new_f(compteur +1));
                          print_newline() end

             |(2,n,RedStartwo) when n=5 -> begin incre(); let new_f= fun
                         a -> 4::int_of_float(p(float_of_int(a-compteur)))
                              ::2*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                       in
                                        print_list(new_f(compteur+1));
                                        print_newline() end

             |(2,n,RedStarthree) when n=5 -> begin incre(); let new_f= fun
                         a -> 2::int_of_float(p(float_of_int(a-compteur)))
                              ::2*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                       in
                                        print_list(new_f(compteur+1));
                                        print_newline() end

             |(2,n,Diamond) when n=6 -> let new_f = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))
                               ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                           in
                            transition (1,4,Triangle) (compteur +1) new_f

             |(1,n,Starone) when n=6 -> begin incre() ; let new_f = fun
                          a -> 4::(int_of_float(p(float_of_int(a-compteur))))
                          ::(2*int_of_float(p(float_of_int(a-compteur))))
                          ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                           in
                            print_list(new_f(compteur +1));
                            print_newline() end

             |(1,n,Triangle) when n=6 -> let new_f = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))::g(a)
                          in
                          transition (1,5,Triangle) (compteur +1) new_f;
                          transition (1,5,Square) (compteur + 1) new_f

             |(2,n,RedStartwo) when n=6 -> begin incre(); let new_f= fun
                        a -> 2::4::int_of_float(p(float_of_int(a-compteur)))
                              ::2*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                      in
                                       print_list(new_f(compteur+2));
                                       print_newline() end

             |(2,n,RedStarthree) when n=6 -> let new_f = fun
                        a -> 2*int_of_float(p(float_of_int(a-compteur)))::
                             4*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                   in
                                  transition (1,n-2,Triangle) (compteur+1) new_f

             |(2,n,Diamond) when n=7 -> let new_f = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))
                               ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                          in
                          transition (1,5,Triangle) (compteur +1) new_f;
                          transition (1,5,Square) (compteur +1) new_f

             |(1,n,Starone) when n=7 -> begin incre(); let new_f = fun
                          a -> [2;4;int_of_float(p(float_of_int(a-compteur)));
                                2*int_of_float(p(float_of_int(a-compteur)));
                                4*int_of_float(p(float_of_int(a-compteur)))]@(g(a))
                          in
                          print_list(new_f(compteur +2)); print_newline() end

             |(2,n,RedStarthree) when n=7 -> let new_f = fun
                        a -> 2*int_of_float(p(float_of_int(a-compteur)))::
                             4*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                   in
                                  transition (1,n-2,Triangle) (compteur+1) new_f;
                                  transition (1,n-2,Square) (compteur+1) new_f

             |(1,n,Triangle) when (n=7 or n=8) -> let new_f = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))::g(a)
                          in
                          transition (1,n-1,Triangle) (compteur +1) new_f;
                          transition (1,n-1,Square) (compteur +1) new_f;
                          transition (1,n-1,Starone) (compteur +1) new_f

             |(1,n,Startwo) when n=8 -> begin incre(); let new_f = fun
                          a -> [4;int_of_float(p(float_of_int(a-compteur-1)));
                                2*int_of_float(p(float_of_int(a-compteur-1)));
                                int_of_float(p(float_of_int(a-compteur)));
                                2*int_of_float(p(float_of_int(a-compteur)));
                                4*int_of_float(p(float_of_int(a-compteur)))]@g(a)
                                            in
                                           print_list(new_f(compteur +2));
                                           print_newline() end

             |(1,n,Starthree) when n=8 -> begin incre(); let new_f = fun
                          a -> [2;2*int_of_float(p(float_of_int(a-compteur-1)));
                                4*int_of_float(p(float_of_int(a-compteur-1)));
                                int_of_float(p(float_of_int(a-compteur)));
                                2*int_of_float(p(float_of_int(a-compteur)));
                                4*int_of_float(p(float_of_int(a-compteur)))]@g(a)
                                            in
                                           print_list(new_f(compteur +2));
                                           print_newline() end

            |(2,n,Diamond) when (n=8 or n=9) -> let new_f = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))
                               ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                               in
                               transition (1,n-2,Triangle) (compteur +1) new_f;
                               transition (1,n-2,Square) (compteur +1) new_f;
                               transition (1,n-2,Starone) (compteur +1) new_f

            |(2,n,RedStarthree) when (n=8 or n=9) -> let new_f = fun
                        a -> 2*int_of_float(p(float_of_int(a-compteur)))::
                             4*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                   in
                                  transition (1,n-2,Triangle) (compteur+1) new_f;
                                  transition (1,n-2,Square) (compteur+1) new_f;
                                  transition (1,n-2,Starone) (compteur+1) new_f

            |(1,n,Startwo) when n=9 -> begin incre(); let new_f = fun
                          a -> [2;4;int_of_float(p(float_of_int(a-compteur-1)));
                                2*int_of_float(p(float_of_int(a-compteur-1)));
                                int_of_float(p(float_of_int(a-compteur)));
                                2*int_of_float(p(float_of_int(a-compteur)));
                                4*int_of_float(p(float_of_int(a-compteur)))]@(g(a))
                                       in
                                        print_list(new_f(compteur +3));
                                        print_newline() end

            |(1,n,Starthree) when n=9 -> begin incre(); let new_f = fun
                          a -> [2;3;2*int_of_float(p(float_of_int(a-compteur-1)));
                                4*int_of_float(p(float_of_int(a-compteur-1)));
                                int_of_float(p(float_of_int(a-compteur)));
                                2*int_of_float(p(float_of_int(a-compteur)));
                                4*int_of_float(p(float_of_int(a-compteur)))]@(g(a))
                                       in
                                        print_list(new_f(compteur +3));
                                        print_newline() end

            |(1,n,Starthree) when n=10 -> let new_f= fun
                         a -> [2*int_of_float(p(float_of_int(a-compteur-1)));
                               4*(int_of_float(p(float_of_int(a-compteur-1))));
                               int_of_float(p(float_of_int(a-compteur)));
                               2*(int_of_float(p(float_of_int(a-compteur))));
                               4*(int_of_float(p(float_of_int(a-compteur))))]@(g(a))
                                   in
                                  transition (1,n-5,Triangle) (compteur +2) new_f;
                                  transition (1,n-5,Square) (compteur +2) new_f

            |(1,n,Starthree) when (n=11 or n=12) -> let new_f = fun
                         a -> [2*int_of_float(p(float_of_int(a-compteur-1)));
                               4*(int_of_float(p(float_of_int(a-compteur-1))));
                               int_of_float(p(float_of_int(a-compteur)));
                               2*(int_of_float(p(float_of_int(a-compteur))));
                               4*(int_of_float(p(float_of_int(a-compteur))))]@(g(a))
                                   in
                                  transition (1,n-5,Triangle) (compteur +2) new_f;
                                  transition (1,n-5,Square) (compteur +2) new_f;
                                  transition (1,n-5,Starone) (compteur +2) new_f

            |(1,n,Triangle) when n>7 -> let new_tr = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))::g(a)
                                   in
                                  transition (1,n-1,Triangle) (compteur+1) new_tr;
                                  transition (1,n-1,Square) (compteur + 1) new_tr;
                                  transition (1,n-1,Starone) (compteur +1) new_tr;
                                  transition (1,n-1,Startwo) (compteur +1) new_tr;
                                  transition (1,n-1,Starthree) (compteur +1) new_tr

            |(2,n,Asterisk) when n>5 -> let new_as = fun
                          a -> (2*(int_of_float(p(float_of_int(a-compteur)))))::g(a)
                                   in
                                  transition (2,n-1,Asterisk) (compteur +1) new_as;
                                  transition (2,n-1,Diamond) (compteur +1) new_as

            |(2,n,Diamond) when n>9 -> let new_di = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))
                               ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                                   in
                                  transition (1,n-2,Triangle) (compteur +1) new_di;
                                  transition (1,n-2,Square) (compteur +1) new_di;
                                  transition (1,n-2,Starone) (compteur +1) new_di;
                                  transition (1,n-2,Startwo) (compteur +1) new_di;
                                  transition (1,n-2,Starthree) (compteur +1) new_di

            |(1,n,Square) when n>5 -> let new_sq = fun
                          a -> (4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                                  in
                                 transition(2,n-1,Asterisk) (compteur +1) new_sq;
                                 transition(2,n-1,Diamond) (compteur +1) new_sq

            |(1,n,Starone) when n>7 -> let new_so = fun
                          a -> (int_of_float(p(float_of_int(a-compteur))))
                               ::(2*int_of_float(p(float_of_int(a-compteur))))
                               ::(4*int_of_float(p(float_of_int(a-compteur))))::g(a)
                                   in
                                  transition (2,n-3,Asterisk) (compteur +2) new_so;
                                  transition (2,n-3,Diamond) (compteur +2) new_so

            |(1,n,Startwo) when n>9 -> let new_sd = fun
                          a -> [int_of_float(p(float_of_int(a-compteur-1)));
                               2*(int_of_float(p(float_of_int(a-compteur-1))));
                               int_of_float(p(float_of_int(a-compteur)));
                               2*(int_of_float(p(float_of_int(a-compteur))));
                               4*(int_of_float(p(float_of_int(a-compteur))))]@(g(a))
                                   in
                                  transition (2,n-5,Asterisk) (compteur +3) new_sd;
                                  transition (2,n-5,Diamond) (compteur +3) new_sd;
                                  transition (2,n-5,RedStartwo) (compteur+2) new_sd;
                                  transition (2,n-5,RedStarthree) (compteur+2) new_sd

            |(2,n,RedStartwo) when n>6 -> let new_rd= fun
                         a -> int_of_float(p(float_of_int(a-compteur)))::
                              2*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                   in
                                  transition (2,n-2,Asterisk) (compteur +2) new_rd;
                                  transition (2,n-2,Diamond) (compteur +2) new_rd;
                                  transition (2,n-2,RedStartwo) (compteur+1) new_rd;
                                  transition (2,n-2,RedStarthree) (compteur+1) new_rd

            |(2,n,RedStarthree) when n>9 -> let new_rt = fun
                        a -> 2*int_of_float(p(float_of_int(a-compteur)))::
                             4*int_of_float(p(float_of_int(a-compteur)))::g(a)
                                   in
                                  transition (1,n-2,Triangle) (compteur+1) new_rt;
                                  transition (1,n-2,Square) (compteur+1) new_rt;
                                  transition (1,n-2,Starone) (compteur+1) new_rt;
                                  transition (1,n-2,Startwo) (compteur+1) new_rt;
                                  transition (1,n-2,Starthree) (compteur+1) new_rt

            |(1,n,Starthree) when n>12 -> let new_st = fun
                         a -> [2*int_of_float(p(float_of_int(a-compteur-1)));
                               4*(int_of_float(p(float_of_int(a-compteur-1))));
                               int_of_float(p(float_of_int(a-compteur)));
                               2*(int_of_float(p(float_of_int(a-compteur))));
                               4*(int_of_float(p(float_of_int(a-compteur))))]@(g(a))
                                   in
                                  transition (1,n-5,Triangle) (compteur +2) new_st;
                                  transition (1,n-5,Square) (compteur +2) new_st;
                                  transition (1,n-5,Starone) (compteur +2) new_st;
                                  transition (1,n-5,Startwo) (compteur +2) new_st;
                                  transition (1,n-5,Starthree) (compteur +2) new_st

            |(_,_,_) -> failwith "error"

    in
    match order with
    Triangle -> begin transition (1,m,Triangle) 1
   (fun a-> [int_of_float(p(float_of_int(a)));2*int_of_float(p(float_of_int(a)))]);
    ct:= !c end
   |Square -> begin transition (1,m,Square) 1
   (fun a -> [int_of_float(p(float_of_int(a)));2*int_of_float(p(float_of_int(a)))]);
    cc:= !c end
   |Starone -> begin transition (1,m,Starone) 1
   (fun a -> [int_of_float(p(float_of_int(a)));2*int_of_float(p(float_of_int(a)))]);
    ceu:= !c end
   |Startwo -> begin transition (1,m,Startwo) 1
   (fun a -> [int_of_float(p(float_of_int(a)));2*int_of_float(p(float_of_int(a)))]);
    ced:= !c end
   |Starthree -> begin transition (1,m,Starthree) 1
   (fun a -> [int_of_float(p(float_of_int(a)));2*int_of_float(p(float_of_int(a)))]);
    cet:= !c end
   |Asterisk -> begin transition (2,m,Asterisk) 1
   (fun a -> [2*int_of_float(p(float_of_int(a)));4*int_of_float(p(float_of_int(a)))]);
    ca:= !c end
   |Diamond -> begin transition (2,m,Diamond) 1
   (fun a -> [2*int_of_float(p(float_of_int(a)));4*int_of_float(p(float_of_int(a)))]);
    cd:= !c end
   |_ -> failwith("error")

        in

      S m Triangle; S m Square; S m Starone; S m Startwo; S m Starthree;
           S m Asterisk; S m Diamond;
             let total = !(ct) + !(cc)+ !(ceu)+ !(ced)+ !(cet)+ !(ca)+ !(cd) in
           print_string("There are ");print_int(total);print_string(" solutions");;

Compiling:

p : float -> float = <fun>
#print_list : int list -> unit = <fun>
#Type Order defined.
#X : int -> unit = <fun>


Running the program:

#X(9);;
{2,3,9,27,81,243,729,2187,4374}
{2,4,12,9,27,81,243,729,1458}
{2,4,6,36,27,81,243,729,1458}
{2,3,12,36,27,81,243,729,1458}
{4,3,6,12,9,27,81,243,486}
{2,4,6,18,108,81,243,729,1458}
{2,3,12,18,108,81,243,729,1458}
{2,3,9,36,108,81,243,729,1458}
{2,4,9,18,36,27,81,243,486}
{2,4,6,18,54,324,243,729,1458}
{2,3,12,18,54,324,243,729,1458}
{2,3,9,36,54,324,243,729,1458}
{2,3,9,27,108,324,243,729,1458}
{2,4,12,9,36,108,81,243,486}
{2,4,6,27,54,108,81,243,486}
{2,3,12,27,54,108,81,243,486}
{4,3,6,9,18,36,27,81,162}
{2,6,12,9,18,36,27,81,162}
{2,4,6,18,54,162,972,729,1458}
{2,3,12,18,54,162,972,729,1458}
{2,3,9,36,54,162,972,729,1458}
{2,3,9,27,108,162,972,729,1458}
{2,4,12,9,36,54,324,243,486}
{2,3,9,27,81,324,972,729,1458}
{2,4,12,9,27,108,324,243,486}
{2,4,6,36,27,108,324,243,486}
{2,3,12,36,27,108,324,243,486}
{4,3,6,12,9,36,108,81,162}
{2,4,6,18,81,162,324,243,486}
{2,3,12,18,81,162,324,243,486}
{2,3,9,36,81,162,324,243,486}
{2,4,9,18,27,54,108,81,162}
{2,3,18,36,27,54,108,81,162}
{2,4,6,18,54,162,486,1458,2916}
{2,3,12,18,54,162,486,1458,2916}
{2,3,9,36,54,162,486,1458,2916}
{2,3,9,27,108,162,486,1458,2916}
{2,4,12,9,36,54,162,486,972}
{2,3,9,27,81,324,486,1458,2916}
{2,4,12,9,27,108,162,486,972}
{2,4,6,36,27,108,162,486,972}
{2,3,12,36,27,108,162,486,972}
{4,3,6,12,9,36,54,162,324}
{2,3,9,27,81,243,972,1458,2916}
{2,4,12,9,27,81,324,486,972}
{2,4,6,36,27,81,324,486,972}
{2,3,12,36,27,81,324,486,972}
{4,3,6,12,9,27,108,162,324}
{2,4,6,18,108,81,324,486,972}
{2,3,12,18,108,81,324,486,972}
{2,3,9,36,108,81,324,486,972}
{2,4,9,18,36,27,108,162,324}
There are 52 solutions- : unit = ()

#X(10);;
{2,3,9,27,81,243,729,2187,6561,13122}
{2,4,12,9,27,81,243,729,2187,4374}
{2,4,6,36,27,81,243,729,2187,4374}
{2,3,12,36,27,81,243,729,2187,4374}
{4,3,6,12,9,27,81,243,729,1458}
{2,4,6,18,108,81,243,729,2187,4374}
{2,3,12,18,108,81,243,729,2187,4374}
{2,3,9,36,108,81,243,729,2187,4374}
{2,4,9,18,36,27,81,243,729,1458}
{2,4,6,18,54,324,243,729,2187,4374}
{2,3,12,18,54,324,243,729,2187,4374}
{2,3,9,36,54,324,243,729,2187,4374}
{2,3,9,27,108,324,243,729,2187,4374}
{2,4,12,9,36,108,81,243,729,1458}
{2,4,6,27,54,108,81,243,729,1458}
{2,3,12,27,54,108,81,243,729,1458}
{4,3,6,9,18,36,27,81,243,486}
{2,6,12,9,18,36,27,81,243,486}
{2,4,6,18,54,162,972,729,2187,4374}
{2,3,12,18,54,162,972,729,2187,4374}
{2,3,9,36,54,162,972,729,2187,4374}
{2,3,9,27,108,162,972,729,2187,4374}
{2,4,12,9,36,54,324,243,729,1458}
{2,3,9,27,81,324,972,729,2187,4374}
{2,4,12,9,27,108,324,243,729,1458}
{2,4,6,36,27,108,324,243,729,1458}
{2,3,12,36,27,108,324,243,729,1458}
{4,3,6,12,9,36,108,81,243,486}
{2,4,6,18,81,162,324,243,729,1458}
{2,3,12,18,81,162,324,243,729,1458}
{2,3,9,36,81,162,324,243,729,1458}
{2,4,9,18,27,54,108,81,243,486}
{2,3,18,36,27,54,108,81,243,486}
{2,4,6,18,54,162,486,2916,2187,4374}
{2,3,12,18,54,162,486,2916,2187,4374}
{2,3,9,36,54,162,486,2916,2187,4374}
{2,3,9,27,108,162,486,2916,2187,4374}
{2,4,12,9,36,54,162,972,729,1458}
{2,3,9,27,81,324,486,2916,2187,4374}
{2,4,12,9,27,108,162,972,729,1458}
{2,4,6,36,27,108,162,972,729,1458}
{2,3,12,36,27,108,162,972,729,1458}
{4,3,6,12,9,36,54,324,243,486}
{2,3,9,27,81,243,972,2916,2187,4374}
{2,4,12,9,27,81,324,972,729,1458}
{2,4,6,36,27,81,324,972,729,1458}
{2,3,12,36,27,81,324,972,729,1458}
{4,3,6,12,9,27,108,324,243,486}
{2,4,6,18,108,81,324,972,729,1458}
{2,3,12,18,108,81,324,972,729,1458}
{2,3,9,36,108,81,324,972,729,1458}
{2,4,9,18,36,27,108,324,243,486}
{2,4,6,18,54,243,486,972,729,1458}
{2,3,12,18,54,243,486,972,729,1458}
{2,3,9,36,54,243,486,972,729,1458}
{2,3,9,27,108,243,486,972,729,1458}
{2,4,12,9,36,81,162,324,243,486}
{2,4,6,27,54,81,162,324,243,486}
{2,3,12,27,54,81,162,324,243,486}
{4,3,6,9,18,27,54,108,81,162}
{2,3,6,9,18,27,54,108,81,162}
{2,3,9,54,108,81,162,324,243,486}
{2,4,12,18,36,27,54,108,81,162}
{2,4,6,18,54,162,486,1458,4374,8748}
{2,3,12,18,54,162,486,1458,4374,8748}
{2,3,9,36,54,162,486,1458,4374,8748}
{2,3,9,27,108,162,486,1458,4374,8748}
{2,4,12,9,36,54,162,486,1458,2916}
{2,3,9,27,81,324,486,1458,4374,8748}
{2,4,12,9,27,108,162,486,1458,2916}
{2,4,6,36,27,108,162,486,1458,2916}
{2,3,12,36,27,108,162,486,1458,2916}
{4,3,6,12,9,36,54,162,486,972}
{2,3,9,27,81,243,972,1458,4374,8748}
{2,4,12,9,27,81,324,486,1458,2916}
{2,4,6,36,27,81,324,486,1458,2916}
{2,3,12,36,27,81,324,486,1458,2916}
{4,3,6,12,9,27,108,162,486,972}
{2,4,6,18,108,81,324,486,1458,2916}
{2,3,12,18,108,81,324,486,1458,2916}
{2,3,9,36,108,81,324,486,1458,2916}
{2,4,9,18,36,27,108,162,486,972}
{2,3,9,27,81,243,729,2916,4374,8748}
{2,4,12,9,27,81,243,972,1458,2916}
{2,4,6,36,27,81,243,972,1458,2916}
{2,3,12,36,27,81,243,972,1458,2916}
{4,3,6,12,9,27,81,324,486,972}
{2,4,6,18,108,81,243,972,1458,2916}
{2,3,12,18,108,81,243,972,1458,2916}
{2,3,9,36,108,81,243,972,1458,2916}
{2,4,9,18,36,27,81,324,486,972}
{2,4,6,18,54,324,243,972,1458,2916}
{2,3,12,18,54,324,243,972,1458,2916}
{2,3,9,36,54,324,243,972,1458,2916}
{2,3,9,27,108,324,243,972,1458,2916}
{2,4,12,9,36,108,81,324,486,972}
{2,4,6,27,54,108,81,324,486,972}
{2,3,12,27,54,108,81,324,486,972}
{4,3,6,9,18,36,27,108,162,324}
{2,6,12,9,18,36,27,108,162,324}
There are 100 solutions- : unit = ()

#X(11);;
{2,3,9,27,81,243,729,2187,6561,19683,39366}
{2,4,12,9,27,81,243,729,2187,6561,13122}
{2,4,6,36,27,81,243,729,2187,6561,13122}
{2,3,12,36,27,81,243,729,2187,6561,13122}
{4,3,6,12,9,27,81,243,729,2187,4374}
{2,4,6,18,108,81,243,729,2187,6561,13122}
{2,3,12,18,108,81,243,729,2187,6561,13122}
{2,3,9,36,108,81,243,729,2187,6561,13122}
{2,4,9,18,36,27,81,243,729,2187,4374}
{2,4,6,18,54,324,243,729,2187,6561,13122}
{2,3,12,18,54,324,243,729,2187,6561,13122}
{2,3,9,36,54,324,243,729,2187,6561,13122}
{2,3,9,27,108,324,243,729,2187,6561,13122}
{2,4,12,9,36,108,81,243,729,2187,4374}
{2,4,6,27,54,108,81,243,729,2187,4374}
{2,3,12,27,54,108,81,243,729,2187,4374}
{4,3,6,9,18,36,27,81,243,729,1458}
{2,6,12,9,18,36,27,81,243,729,1458}
{2,4,6,18,54,162,972,729,2187,6561,13122}
{2,3,12,18,54,162,972,729,2187,6561,13122}
{2,3,9,36,54,162,972,729,2187,6561,13122}
{2,3,9,27,108,162,972,729,2187,6561,13122}
{2,4,12,9,36,54,324,243,729,2187,4374}
{2,3,9,27,81,324,972,729,2187,6561,13122}
{2,4,12,9,27,108,324,243,729,2187,4374}
{2,4,6,36,27,108,324,243,729,2187,4374}
{2,3,12,36,27,108,324,243,729,2187,4374}
{4,3,6,12,9,36,108,81,243,729,1458}
{2,4,6,18,81,162,324,243,729,2187,4374}
{2,3,12,18,81,162,324,243,729,2187,4374}
{2,3,9,36,81,162,324,243,729,2187,4374}
{2,4,9,18,27,54,108,81,243,729,1458}
{2,3,18,36,27,54,108,81,243,729,1458}
{2,4,6,18,54,162,486,2916,2187,6561,13122}
{2,3,12,18,54,162,486,2916,2187,6561,13122}
{2,3,9,36,54,162,486,2916,2187,6561,13122}
{2,3,9,27,108,162,486,2916,2187,6561,13122}
{2,4,12,9,36,54,162,972,729,2187,4374}
{2,3,9,27,81,324,486,2916,2187,6561,13122}
{2,4,12,9,27,108,162,972,729,2187,4374}
{2,4,6,36,27,108,162,972,729,2187,4374}
{2,3,12,36,27,108,162,972,729,2187,4374}
{4,3,6,12,9,36,54,324,243,729,1458}
{2,3,9,27,81,243,972,2916,2187,6561,13122}
{2,4,12,9,27,81,324,972,729,2187,4374}
{2,4,6,36,27,81,324,972,729,2187,4374}
{2,3,12,36,27,81,324,972,729,2187,4374}
{4,3,6,12,9,27,108,324,243,729,1458}
{2,4,6,18,108,81,324,972,729,2187,4374}
{2,3,12,18,108,81,324,972,729,2187,4374}
{2,3,9,36,108,81,324,972,729,2187,4374}
{2,4,9,18,36,27,108,324,243,729,1458}
{2,4,6,18,54,243,486,972,729,2187,4374}
{2,3,12,18,54,243,486,972,729,2187,4374}
{2,3,9,36,54,243,486,972,729,2187,4374}
{2,3,9,27,108,243,486,972,729,2187,4374}
{2,4,12,9,36,81,162,324,243,729,1458}
{2,4,6,27,54,81,162,324,243,729,1458}
{2,3,12,27,54,81,162,324,243,729,1458}
{4,3,6,9,18,27,54,108,81,243,486}
{2,3,6,9,18,27,54,108,81,243,486}
{2,3,9,54,108,81,162,324,243,729,1458}
{2,4,12,18,36,27,54,108,81,243,486}
{2,4,6,18,54,162,486,1458,8748,6561,13122}
{2,3,12,18,54,162,486,1458,8748,6561,13122}
{2,3,9,36,54,162,486,1458,8748,6561,13122}
{2,3,9,27,108,162,486,1458,8748,6561,13122}
{2,4,12,9,36,54,162,486,2916,2187,4374}
{2,3,9,27,81,324,486,1458,8748,6561,13122}
{2,4,12,9,27,108,162,486,2916,2187,4374}
{2,4,6,36,27,108,162,486,2916,2187,4374}
{2,3,12,36,27,108,162,486,2916,2187,4374}
{4,3,6,12,9,36,54,162,972,729,1458}
{2,3,9,27,81,243,972,1458,8748,6561,13122}
{2,4,12,9,27,81,324,486,2916,2187,4374}
{2,4,6,36,27,81,324,486,2916,2187,4374}
{2,3,12,36,27,81,324,486,2916,2187,4374}
{4,3,6,12,9,27,108,162,972,729,1458}
{2,4,6,18,108,81,324,486,2916,2187,4374}
{2,3,12,18,108,81,324,486,2916,2187,4374}
{2,3,9,36,108,81,324,486,2916,2187,4374}
{2,4,9,18,36,27,108,162,972,729,1458}
{2,3,9,27,81,243,729,2916,8748,6561,13122}
{2,4,12,9,27,81,243,972,2916,2187,4374}
{2,4,6,36,27,81,243,972,2916,2187,4374}
{2,3,12,36,27,81,243,972,2916,2187,4374}
{4,3,6,12,9,27,81,324,972,729,1458}
{2,4,6,18,108,81,243,972,2916,2187,4374}
{2,3,12,18,108,81,243,972,2916,2187,4374}
{2,3,9,36,108,81,243,972,2916,2187,4374}
{2,4,9,18,36,27,81,324,972,729,1458}
{2,4,6,18,54,324,243,972,2916,2187,4374}
{2,3,12,18,54,324,243,972,2916,2187,4374}
{2,3,9,36,54,324,243,972,2916,2187,4374}
{2,3,9,27,108,324,243,972,2916,2187,4374}
{2,4,12,9,36,108,81,324,972,729,1458}
{2,4,6,27,54,108,81,324,972,729,1458}
{2,3,12,27,54,108,81,324,972,729,1458}
{4,3,6,9,18,36,27,108,324,243,486}
{2,6,12,9,18,36,27,108,324,243,486}
{2,4,6,18,54,162,729,1458,2916,2187,4374}
{2,3,12,18,54,162,729,1458,2916,2187,4374}
{2,3,9,36,54,162,729,1458,2916,2187,4374}
{2,3,9,27,108,162,729,1458,2916,2187,4374}
{2,4,12,9,36,54,243,486,972,729,1458}
{2,3,9,27,81,324,729,1458,2916,2187,4374}
{2,4,12,9,27,108,243,486,972,729,1458}
{2,4,6,36,27,108,243,486,972,729,1458}
{2,3,12,36,27,108,243,486,972,729,1458}
{4,3,6,12,9,36,81,162,324,243,486}
{2,4,6,18,81,162,243,486,972,729,1458}
{2,3,12,18,81,162,243,486,972,729,1458}
{2,3,9,36,81,162,243,486,972,729,1458}
{2,4,9,18,27,54,81,162,324,243,486}
{2,3,18,36,27,54,81,162,324,243,486}
{2,3,9,27,162,324,243,486,972,729,1458}
{2,4,12,9,54,108,81,162,324,243,486}
{2,4,6,36,54,108,81,162,324,243,486}
{2,3,12,36,54,108,81,162,324,243,486}
{4,3,6,12,18,36,27,54,108,81,162}
{2,4,6,18,54,162,486,1458,4374,13122,26244}
{2,3,12,18,54,162,486,1458,4374,13122,26244}
{2,3,9,36,54,162,486,1458,4374,13122,26244}
{2,3,9,27,108,162,486,1458,4374,13122,26244}
{2,4,12,9,36,54,162,486,1458,4374,8748}
{2,3,9,27,81,324,486,1458,4374,13122,26244}
{2,4,12,9,27,108,162,486,1458,4374,8748}
{2,4,6,36,27,108,162,486,1458,4374,8748}
{2,3,12,36,27,108,162,486,1458,4374,8748}
{4,3,6,12,9,36,54,162,486,1458,2916}
{2,3,9,27,81,243,972,1458,4374,13122,26244}
{2,4,12,9,27,81,324,486,1458,4374,8748}
{2,4,6,36,27,81,324,486,1458,4374,8748}
{2,3,12,36,27,81,324,486,1458,4374,8748}
{4,3,6,12,9,27,108,162,486,1458,2916}
{2,4,6,18,108,81,324,486,1458,4374,8748}
{2,3,12,18,108,81,324,486,1458,4374,8748}
{2,3,9,36,108,81,324,486,1458,4374,8748}
{2,4,9,18,36,27,108,162,486,1458,2916}
{2,3,9,27,81,243,729,2916,4374,13122,26244}
{2,4,12,9,27,81,243,972,1458,4374,8748}
{2,4,6,36,27,81,243,972,1458,4374,8748}
{2,3,12,36,27,81,243,972,1458,4374,8748}
{4,3,6,12,9,27,81,324,486,1458,2916}
{2,4,6,18,108,81,243,972,1458,4374,8748}
{2,3,12,18,108,81,243,972,1458,4374,8748}
{2,3,9,36,108,81,243,972,1458,4374,8748}
{2,4,9,18,36,27,81,324,486,1458,2916}
{2,4,6,18,54,324,243,972,1458,4374,8748}
{2,3,12,18,54,324,243,972,1458,4374,8748}
{2,3,9,36,54,324,243,972,1458,4374,8748}
{2,3,9,27,108,324,243,972,1458,4374,8748}
{2,4,12,9,36,108,81,324,486,1458,2916}
{2,4,6,27,54,108,81,324,486,1458,2916}
{2,3,12,27,54,108,81,324,486,1458,2916}
{4,3,6,9,18,36,27,108,162,486,972}
{2,6,12,9,18,36,27,108,162,486,972}
{2,3,9,27,81,243,729,2187,8748,13122,26244}
{2,4,12,9,27,81,243,729,2916,4374,8748}
{2,4,6,36,27,81,243,729,2916,4374,8748}
{2,3,12,36,27,81,243,729,2916,4374,8748}
{4,3,6,12,9,27,81,243,972,1458,2916}
{2,4,6,18,108,81,243,729,2916,4374,8748}
{2,3,12,18,108,81,243,729,2916,4374,8748}
{2,3,9,36,108,81,243,729,2916,4374,8748}
{2,4,9,18,36,27,81,243,972,1458,2916}
{2,4,6,18,54,324,243,729,2916,4374,8748}
{2,3,12,18,54,324,243,729,2916,4374,8748}
{2,3,9,36,54,324,243,729,2916,4374,8748}
{2,3,9,27,108,324,243,729,2916,4374,8748}
{2,4,12,9,36,108,81,243,972,1458,2916}
{2,4,6,27,54,108,81,243,972,1458,2916}
{2,3,12,27,54,108,81,243,972,1458,2916}
{4,3,6,9,18,36,27,81,324,486,972}
{2,6,12,9,18,36,27,81,324,486,972}
{2,4,6,18,54,162,972,729,2916,4374,8748}
{2,3,12,18,54,162,972,729,2916,4374,8748}
{2,3,9,36,54,162,972,729,2916,4374,8748}
{2,3,9,27,108,162,972,729,2916,4374,8748}
{2,4,12,9,36,54,324,243,972,1458,2916}
{2,3,9,27,81,324,972,729,2916,4374,8748}
{2,4,12,9,27,108,324,243,972,1458,2916}
{2,4,6,36,27,108,324,243,972,1458,2916}
{2,3,12,36,27,108,324,243,972,1458,2916}
{4,3,6,12,9,36,108,81,324,486,972}
{2,4,6,18,81,162,324,243,972,1458,2916}
{2,3,12,18,81,162,324,243,972,1458,2916}
{2,3,9,36,81,162,324,243,972,1458,2916}
{2,4,9,18,27,54,108,81,324,486,972}
{2,3,18,36,27,54,108,81,324,486,972}
There are 190 solutions- : unit = ()

#X(12);;
{2,3,9,27,81,243,729,2187,6561,19683,59049,118098}
{2,4,12,9,27,81,243,729,2187,6561,19683,39366}
{2,4,6,36,27,81,243,729,2187,6561,19683,39366}
{2,3,12,36,27,81,243,729,2187,6561,19683,39366}
{4,3,6,12,9,27,81,243,729,2187,6561,13122}
{2,4,6,18,108,81,243,729,2187,6561,19683,39366}
{2,3,12,18,108,81,243,729,2187,6561,19683,39366}
{2,3,9,36,108,81,243,729,2187,6561,19683,39366}
{2,4,9,18,36,27,81,243,729,2187,6561,13122}
{2,4,6,18,54,324,243,729,2187,6561,19683,39366}
{2,3,12,18,54,324,243,729,2187,6561,19683,39366}
{2,3,9,36,54,324,243,729,2187,6561,19683,39366}
{2,3,9,27,108,324,243,729,2187,6561,19683,39366}
{2,4,12,9,36,108,81,243,729,2187,6561,13122}
{2,4,6,27,54,108,81,243,729,2187,6561,13122}
{2,3,12,27,54,108,81,243,729,2187,6561,13122}
{4,3,6,9,18,36,27,81,243,729,2187,4374}
{2,6,12,9,18,36,27,81,243,729,2187,4374}
{2,4,6,18,54,162,972,729,2187,6561,19683,39366}
{2,3,12,18,54,162,972,729,2187,6561,19683,39366}
{2,3,9,36,54,162,972,729,2187,6561,19683,39366}
{2,3,9,27,108,162,972,729,2187,6561,19683,39366}
{2,4,12,9,36,54,324,243,729,2187,6561,13122}
{2,3,9,27,81,324,972,729,2187,6561,19683,39366}
{2,4,12,9,27,108,324,243,729,2187,6561,13122}
{2,4,6,36,27,108,324,243,729,2187,6561,13122}
{2,3,12,36,27,108,324,243,729,2187,6561,13122}
{4,3,6,12,9,36,108,81,243,729,2187,4374}
{2,4,6,18,81,162,324,243,729,2187,6561,13122}
{2,3,12,18,81,162,324,243,729,2187,6561,13122}
{2,3,9,36,81,162,324,243,729,2187,6561,13122}
{2,4,9,18,27,54,108,81,243,729,2187,4374}
{2,3,18,36,27,54,108,81,243,729,2187,4374}
{2,4,6,18,54,162,486,2916,2187,6561,19683,39366}
{2,3,12,18,54,162,486,2916,2187,6561,19683,39366}
{2,3,9,36,54,162,486,2916,2187,6561,19683,39366}
{2,3,9,27,108,162,486,2916,2187,6561,19683,39366}
{2,4,12,9,36,54,162,972,729,2187,6561,13122}
{2,3,9,27,81,324,486,2916,2187,6561,19683,39366}
{2,4,12,9,27,108,162,972,729,2187,6561,13122}
{2,4,6,36,27,108,162,972,729,2187,6561,13122}
{2,3,12,36,27,108,162,972,729,2187,6561,13122}
{4,3,6,12,9,36,54,324,243,729,2187,4374}
{2,3,9,27,81,243,972,2916,2187,6561,19683,39366}
{2,4,12,9,27,81,324,972,729,2187,6561,13122}
{2,4,6,36,27,81,324,972,729,2187,6561,13122}
{2,3,12,36,27,81,324,972,729,2187,6561,13122}
{4,3,6,12,9,27,108,324,243,729,2187,4374}
{2,4,6,18,108,81,324,972,729,2187,6561,13122}
{2,3,12,18,108,81,324,972,729,2187,6561,13122}
{2,3,9,36,108,81,324,972,729,2187,6561,13122}
{2,4,9,18,36,27,108,324,243,729,2187,4374}
{2,4,6,18,54,243,486,972,729,2187,6561,13122}
{2,3,12,18,54,243,486,972,729,2187,6561,13122}
{2,3,9,36,54,243,486,972,729,2187,6561,13122}
{2,3,9,27,108,243,486,972,729,2187,6561,13122}
{2,4,12,9,36,81,162,324,243,729,2187,4374}
{2,4,6,27,54,81,162,324,243,729,2187,4374}
{2,3,12,27,54,81,162,324,243,729,2187,4374}
{4,3,6,9,18,27,54,108,81,243,729,1458}
{2,3,6,9,18,27,54,108,81,243,729,1458}
{2,3,9,54,108,81,162,324,243,729,2187,4374}
{2,4,12,18,36,27,54,108,81,243,729,1458}
{2,4,6,18,54,162,486,1458,8748,6561,19683,39366}
{2,3,12,18,54,162,486,1458,8748,6561,19683,39366}
{2,3,9,36,54,162,486,1458,8748,6561,19683,39366}
{2,3,9,27,108,162,486,1458,8748,6561,19683,39366}
{2,4,12,9,36,54,162,486,2916,2187,6561,13122}
{2,3,9,27,81,324,486,1458,8748,6561,19683,39366}
{2,4,12,9,27,108,162,486,2916,2187,6561,13122}
{2,4,6,36,27,108,162,486,2916,2187,6561,13122}
{2,3,12,36,27,108,162,486,2916,2187,6561,13122}
{4,3,6,12,9,36,54,162,972,729,2187,4374}
{2,3,9,27,81,243,972,1458,8748,6561,19683,39366}
{2,4,12,9,27,81,324,486,2916,2187,6561,13122}
{2,4,6,36,27,81,324,486,2916,2187,6561,13122}
{2,3,12,36,27,81,324,486,2916,2187,6561,13122}
{4,3,6,12,9,27,108,162,972,729,2187,4374}
{2,4,6,18,108,81,324,486,2916,2187,6561,13122}
{2,3,12,18,108,81,324,486,2916,2187,6561,13122}
{2,3,9,36,108,81,324,486,2916,2187,6561,13122}
{2,4,9,18,36,27,108,162,972,729,2187,4374}
{2,3,9,27,81,243,729,2916,8748,6561,19683,39366}
{2,4,12,9,27,81,243,972,2916,2187,6561,13122}
{2,4,6,36,27,81,243,972,2916,2187,6561,13122}
{2,3,12,36,27,81,243,972,2916,2187,6561,13122}
{4,3,6,12,9,27,81,324,972,729,2187,4374}
{2,4,6,18,108,81,243,972,2916,2187,6561,13122}
{2,3,12,18,108,81,243,972,2916,2187,6561,13122}
{2,3,9,36,108,81,243,972,2916,2187,6561,13122}
{2,4,9,18,36,27,81,324,972,729,2187,4374}
{2,4,6,18,54,324,243,972,2916,2187,6561,13122}
{2,3,12,18,54,324,243,972,2916,2187,6561,13122}
{2,3,9,36,54,324,243,972,2916,2187,6561,13122}
{2,3,9,27,108,324,243,972,2916,2187,6561,13122}
{2,4,12,9,36,108,81,324,972,729,2187,4374}
{2,4,6,27,54,108,81,324,972,729,2187,4374}
{2,3,12,27,54,108,81,324,972,729,2187,4374}
{4,3,6,9,18,36,27,108,324,243,729,1458}
{2,6,12,9,18,36,27,108,324,243,729,1458}
{2,4,6,18,54,162,729,1458,2916,2187,6561,13122}
{2,3,12,18,54,162,729,1458,2916,2187,6561,13122}
{2,3,9,36,54,162,729,1458,2916,2187,6561,13122}
{2,3,9,27,108,162,729,1458,2916,2187,6561,13122}
{2,4,12,9,36,54,243,486,972,729,2187,4374}
{2,3,9,27,81,324,729,1458,2916,2187,6561,13122}
{2,4,12,9,27,108,243,486,972,729,2187,4374}
{2,4,6,36,27,108,243,486,972,729,2187,4374}
{2,3,12,36,27,108,243,486,972,729,2187,4374}
{4,3,6,12,9,36,81,162,324,243,729,1458}
{2,4,6,18,81,162,243,486,972,729,2187,4374}
{2,3,12,18,81,162,243,486,972,729,2187,4374}
{2,3,9,36,81,162,243,486,972,729,2187,4374}
{2,4,9,18,27,54,81,162,324,243,729,1458}
{2,3,18,36,27,54,81,162,324,243,729,1458}
{2,3,9,27,162,324,243,486,972,729,2187,4374}
{2,4,12,9,54,108,81,162,324,243,729,1458}
{2,4,6,36,54,108,81,162,324,243,729,1458}
{2,3,12,36,54,108,81,162,324,243,729,1458}
{4,3,6,12,18,36,27,54,108,81,243,486}
{2,4,6,18,54,162,486,1458,4374,26244,19683,39366}
{2,3,12,18,54,162,486,1458,4374,26244,19683,39366}
{2,3,9,36,54,162,486,1458,4374,26244,19683,39366}
{2,3,9,27,108,162,486,1458,4374,26244,19683,39366}
{2,4,12,9,36,54,162,486,1458,8748,6561,13122}
{2,3,9,27,81,324,486,1458,4374,26244,19683,39366}
{2,4,12,9,27,108,162,486,1458,8748,6561,13122}
{2,4,6,36,27,108,162,486,1458,8748,6561,13122}
{2,3,12,36,27,108,162,486,1458,8748,6561,13122}
{4,3,6,12,9,36,54,162,486,2916,2187,4374}
{2,3,9,27,81,243,972,1458,4374,26244,19683,39366}
{2,4,12,9,27,81,324,486,1458,8748,6561,13122}
{2,4,6,36,27,81,324,486,1458,8748,6561,13122}
{2,3,12,36,27,81,324,486,1458,8748,6561,13122}
{4,3,6,12,9,27,108,162,486,2916,2187,4374}
{2,4,6,18,108,81,324,486,1458,8748,6561,13122}
{2,3,12,18,108,81,324,486,1458,8748,6561,13122}
{2,3,9,36,108,81,324,486,1458,8748,6561,13122}
{2,4,9,18,36,27,108,162,486,2916,2187,4374}
{2,3,9,27,81,243,729,2916,4374,26244,19683,39366}
{2,4,12,9,27,81,243,972,1458,8748,6561,13122}
{2,4,6,36,27,81,243,972,1458,8748,6561,13122}
{2,3,12,36,27,81,243,972,1458,8748,6561,13122}
{4,3,6,12,9,27,81,324,486,2916,2187,4374}
{2,4,6,18,108,81,243,972,1458,8748,6561,13122}
{2,3,12,18,108,81,243,972,1458,8748,6561,13122}
{2,3,9,36,108,81,243,972,1458,8748,6561,13122}
{2,4,9,18,36,27,81,324,486,2916,2187,4374}
{2,4,6,18,54,324,243,972,1458,8748,6561,13122}
{2,3,12,18,54,324,243,972,1458,8748,6561,13122}
{2,3,9,36,54,324,243,972,1458,8748,6561,13122}
{2,3,9,27,108,324,243,972,1458,8748,6561,13122}
{2,4,12,9,36,108,81,324,486,2916,2187,4374}
{2,4,6,27,54,108,81,324,486,2916,2187,4374}
{2,3,12,27,54,108,81,324,486,2916,2187,4374}
{4,3,6,9,18,36,27,108,162,972,729,1458}
{2,6,12,9,18,36,27,108,162,972,729,1458}
{2,3,9,27,81,243,729,2187,8748,26244,19683,39366}
{2,4,12,9,27,81,243,729,2916,8748,6561,13122}
{2,4,6,36,27,81,243,729,2916,8748,6561,13122}
{2,3,12,36,27,81,243,729,2916,8748,6561,13122}
{4,3,6,12,9,27,81,243,972,2916,2187,4374}
{2,4,6,18,108,81,243,729,2916,8748,6561,13122}
{2,3,12,18,108,81,243,729,2916,8748,6561,13122}
{2,3,9,36,108,81,243,729,2916,8748,6561,13122}
{2,4,9,18,36,27,81,243,972,2916,2187,4374}
{2,4,6,18,54,324,243,729,2916,8748,6561,13122}
{2,3,12,18,54,324,243,729,2916,8748,6561,13122}
{2,3,9,36,54,324,243,729,2916,8748,6561,13122}
{2,3,9,27,108,324,243,729,2916,8748,6561,13122}
{2,4,12,9,36,108,81,243,972,2916,2187,4374}
{2,4,6,27,54,108,81,243,972,2916,2187,4374}
{2,3,12,27,54,108,81,243,972,2916,2187,4374}
{4,3,6,9,18,36,27,81,324,972,729,1458}
{2,6,12,9,18,36,27,81,324,972,729,1458}
{2,4,6,18,54,162,972,729,2916,8748,6561,13122}
{2,3,12,18,54,162,972,729,2916,8748,6561,13122}
{2,3,9,36,54,162,972,729,2916,8748,6561,13122}
{2,3,9,27,108,162,972,729,2916,8748,6561,13122}
{2,4,12,9,36,54,324,243,972,2916,2187,4374}
{2,3,9,27,81,324,972,729,2916,8748,6561,13122}
{2,4,12,9,27,108,324,243,972,2916,2187,4374}
{2,4,6,36,27,108,324,243,972,2916,2187,4374}
{2,3,12,36,27,108,324,243,972,2916,2187,4374}
{4,3,6,12,9,36,108,81,324,972,729,1458}
{2,4,6,18,81,162,324,243,972,2916,2187,4374}
{2,3,12,18,81,162,324,243,972,2916,2187,4374}
{2,3,9,36,81,162,324,243,972,2916,2187,4374}
{2,4,9,18,27,54,108,81,324,972,729,1458}
{2,3,18,36,27,54,108,81,324,972,729,1458}
{2,4,6,18,54,162,486,2187,4374,8748,6561,13122}
{2,3,12,18,54,162,486,2187,4374,8748,6561,13122}
{2,3,9,36,54,162,486,2187,4374,8748,6561,13122}
{2,3,9,27,108,162,486,2187,4374,8748,6561,13122}
{2,4,12,9,36,54,162,729,1458,2916,2187,4374}
{2,3,9,27,81,324,486,2187,4374,8748,6561,13122}
{2,4,12,9,27,108,162,729,1458,2916,2187,4374}
{2,4,6,36,27,108,162,729,1458,2916,2187,4374}
{2,3,12,36,27,108,162,729,1458,2916,2187,4374}
{4,3,6,12,9,36,54,243,486,972,729,1458}
{2,3,9,27,81,243,972,2187,4374,8748,6561,13122}
{2,4,12,9,27,81,324,729,1458,2916,2187,4374}
{2,4,6,36,27,81,324,729,1458,2916,2187,4374}
{2,3,12,36,27,81,324,729,1458,2916,2187,4374}
{4,3,6,12,9,27,108,243,486,972,729,1458}
{2,4,6,18,108,81,324,729,1458,2916,2187,4374}
{2,3,12,18,108,81,324,729,1458,2916,2187,4374}
{2,3,9,36,108,81,324,729,1458,2916,2187,4374}
{2,4,9,18,36,27,108,243,486,972,729,1458}
{2,4,6,18,54,243,486,729,1458,2916,2187,4374}
{2,3,12,18,54,243,486,729,1458,2916,2187,4374}
{2,3,9,36,54,243,486,729,1458,2916,2187,4374}
{2,3,9,27,108,243,486,729,1458,2916,2187,4374}
{2,4,12,9,36,81,162,243,486,972,729,1458}
{2,4,6,27,54,81,162,243,486,972,729,1458}
{2,3,12,27,54,81,162,243,486,972,729,1458}
{4,3,6,9,18,27,54,81,162,324,243,486}
{2,3,6,9,18,27,54,81,162,324,243,486}
{2,3,9,54,108,81,162,243,486,972,729,1458}
{2,4,12,18,36,27,54,81,162,324,243,486}
{2,3,9,27,81,486,972,729,1458,2916,2187,4374}
{2,4,12,9,27,162,324,243,486,972,729,1458}
{2,4,6,36,27,162,324,243,486,972,729,1458}
{2,3,12,36,27,162,324,243,486,972,729,1458}
{4,3,6,12,9,54,108,81,162,324,243,486}
{2,4,6,18,108,162,324,243,486,972,729,1458}
{2,3,12,18,108,162,324,243,486,972,729,1458}
{2,3,9,36,108,162,324,243,486,972,729,1458}
{2,4,9,18,36,54,108,81,162,324,243,486}
{2,4,6,18,54,162,486,1458,4374,13122,39366,78732}
{2,3,12,18,54,162,486,1458,4374,13122,39366,78732}
{2,3,9,36,54,162,486,1458,4374,13122,39366,78732}
{2,3,9,27,108,162,486,1458,4374,13122,39366,78732}
{2,4,12,9,36,54,162,486,1458,4374,13122,26244}
{2,3,9,27,81,324,486,1458,4374,13122,39366,78732}
{2,4,12,9,27,108,162,486,1458,4374,13122,26244}
{2,4,6,36,27,108,162,486,1458,4374,13122,26244}
{2,3,12,36,27,108,162,486,1458,4374,13122,26244}
{4,3,6,12,9,36,54,162,486,1458,4374,8748}
{2,3,9,27,81,243,972,1458,4374,13122,39366,78732}
{2,4,12,9,27,81,324,486,1458,4374,13122,26244}
{2,4,6,36,27,81,324,486,1458,4374,13122,26244}
{2,3,12,36,27,81,324,486,1458,4374,13122,26244}
{4,3,6,12,9,27,108,162,486,1458,4374,8748}
{2,4,6,18,108,81,324,486,1458,4374,13122,26244}
{2,3,12,18,108,81,324,486,1458,4374,13122,26244}
{2,3,9,36,108,81,324,486,1458,4374,13122,26244}
{2,4,9,18,36,27,108,162,486,1458,4374,8748}
{2,3,9,27,81,243,729,2916,4374,13122,39366,78732}
{2,4,12,9,27,81,243,972,1458,4374,13122,26244}
{2,4,6,36,27,81,243,972,1458,4374,13122,26244}
{2,3,12,36,27,81,243,972,1458,4374,13122,26244}
{4,3,6,12,9,27,81,324,486,1458,4374,8748}
{2,4,6,18,108,81,243,972,1458,4374,13122,26244}
{2,3,12,18,108,81,243,972,1458,4374,13122,26244}
{2,3,9,36,108,81,243,972,1458,4374,13122,26244}
{2,4,9,18,36,27,81,324,486,1458,4374,8748}
{2,4,6,18,54,324,243,972,1458,4374,13122,26244}
{2,3,12,18,54,324,243,972,1458,4374,13122,26244}
{2,3,9,36,54,324,243,972,1458,4374,13122,26244}
{2,3,9,27,108,324,243,972,1458,4374,13122,26244}
{2,4,12,9,36,108,81,324,486,1458,4374,8748}
{2,4,6,27,54,108,81,324,486,1458,4374,8748}
{2,3,12,27,54,108,81,324,486,1458,4374,8748}
{4,3,6,9,18,36,27,108,162,486,1458,2916}
{2,6,12,9,18,36,27,108,162,486,1458,2916}
{2,3,9,27,81,243,729,2187,8748,13122,39366,78732}
{2,4,12,9,27,81,243,729,2916,4374,13122,26244}
{2,4,6,36,27,81,243,729,2916,4374,13122,26244}
{2,3,12,36,27,81,243,729,2916,4374,13122,26244}
{4,3,6,12,9,27,81,243,972,1458,4374,8748}
{2,4,6,18,108,81,243,729,2916,4374,13122,26244}
{2,3,12,18,108,81,243,729,2916,4374,13122,26244}
{2,3,9,36,108,81,243,729,2916,4374,13122,26244}
{2,4,9,18,36,27,81,243,972,1458,4374,8748}
{2,4,6,18,54,324,243,729,2916,4374,13122,26244}
{2,3,12,18,54,324,243,729,2916,4374,13122,26244}
{2,3,9,36,54,324,243,729,2916,4374,13122,26244}
{2,3,9,27,108,324,243,729,2916,4374,13122,26244}
{2,4,12,9,36,108,81,243,972,1458,4374,8748}
{2,4,6,27,54,108,81,243,972,1458,4374,8748}
{2,3,12,27,54,108,81,243,972,1458,4374,8748}
{4,3,6,9,18,36,27,81,324,486,1458,2916}
{2,6,12,9,18,36,27,81,324,486,1458,2916}
{2,4,6,18,54,162,972,729,2916,4374,13122,26244}
{2,3,12,18,54,162,972,729,2916,4374,13122,26244}
{2,3,9,36,54,162,972,729,2916,4374,13122,26244}
{2,3,9,27,108,162,972,729,2916,4374,13122,26244}
{2,4,12,9,36,54,324,243,972,1458,4374,8748}
{2,3,9,27,81,324,972,729,2916,4374,13122,26244}
{2,4,12,9,27,108,324,243,972,1458,4374,8748}
{2,4,6,36,27,108,324,243,972,1458,4374,8748}
{2,3,12,36,27,108,324,243,972,1458,4374,8748}
{4,3,6,12,9,36,108,81,324,486,1458,2916}
{2,4,6,18,81,162,324,243,972,1458,4374,8748}
{2,3,12,18,81,162,324,243,972,1458,4374,8748}
{2,3,9,36,81,162,324,243,972,1458,4374,8748}
{2,4,9,18,27,54,108,81,324,486,1458,2916}
{2,3,18,36,27,54,108,81,324,486,1458,2916}
{2,3,9,27,81,243,729,2187,6561,26244,39366,78732}
{2,4,12,9,27,81,243,729,2187,8748,13122,26244}
{2,4,6,36,27,81,243,729,2187,8748,13122,26244}
{2,3,12,36,27,81,243,729,2187,8748,13122,26244}
{4,3,6,12,9,27,81,243,729,2916,4374,8748}
{2,4,6,18,108,81,243,729,2187,8748,13122,26244}
{2,3,12,18,108,81,243,729,2187,8748,13122,26244}
{2,3,9,36,108,81,243,729,2187,8748,13122,26244}
{2,4,9,18,36,27,81,243,729,2916,4374,8748}
{2,4,6,18,54,324,243,729,2187,8748,13122,26244}
{2,3,12,18,54,324,243,729,2187,8748,13122,26244}
{2,3,9,36,54,324,243,729,2187,8748,13122,26244}
{2,3,9,27,108,324,243,729,2187,8748,13122,26244}
{2,4,12,9,36,108,81,243,729,2916,4374,8748}
{2,4,6,27,54,108,81,243,729,2916,4374,8748}
{2,3,12,27,54,108,81,243,729,2916,4374,8748}
{4,3,6,9,18,36,27,81,243,972,1458,2916}
{2,6,12,9,18,36,27,81,243,972,1458,2916}
{2,4,6,18,54,162,972,729,2187,8748,13122,26244}
{2,3,12,18,54,162,972,729,2187,8748,13122,26244}
{2,3,9,36,54,162,972,729,2187,8748,13122,26244}
{2,3,9,27,108,162,972,729,2187,8748,13122,26244}
{2,4,12,9,36,54,324,243,729,2916,4374,8748}
{2,3,9,27,81,324,972,729,2187,8748,13122,26244}
{2,4,12,9,27,108,324,243,729,2916,4374,8748}
{2,4,6,36,27,108,324,243,729,2916,4374,8748}
{2,3,12,36,27,108,324,243,729,2916,4374,8748}
{4,3,6,12,9,36,108,81,243,972,1458,2916}
{2,4,6,18,81,162,324,243,729,2916,4374,8748}
{2,3,12,18,81,162,324,243,729,2916,4374,8748}
{2,3,9,36,81,162,324,243,729,2916,4374,8748}
{2,4,9,18,27,54,108,81,243,972,1458,2916}
{2,3,18,36,27,54,108,81,243,972,1458,2916}
{2,4,6,18,54,162,486,2916,2187,8748,13122,26244}
{2,3,12,18,54,162,486,2916,2187,8748,13122,26244}
{2,3,9,36,54,162,486,2916,2187,8748,13122,26244}
{2,3,9,27,108,162,486,2916,2187,8748,13122,26244}
{2,4,12,9,36,54,162,972,729,2916,4374,8748}
{2,3,9,27,81,324,486,2916,2187,8748,13122,26244}
{2,4,12,9,27,108,162,972,729,2916,4374,8748}
{2,4,6,36,27,108,162,972,729,2916,4374,8748}
{2,3,12,36,27,108,162,972,729,2916,4374,8748}
{4,3,6,12,9,36,54,324,243,972,1458,2916}
{2,3,9,27,81,243,972,2916,2187,8748,13122,26244}
{2,4,12,9,27,81,324,972,729,2916,4374,8748}
{2,4,6,36,27,81,324,972,729,2916,4374,8748}
{2,3,12,36,27,81,324,972,729,2916,4374,8748}
{4,3,6,12,9,27,108,324,243,972,1458,2916}
{2,4,6,18,108,81,324,972,729,2916,4374,8748}
{2,3,12,18,108,81,324,972,729,2916,4374,8748}
{2,3,9,36,108,81,324,972,729,2916,4374,8748}
{2,4,9,18,36,27,108,324,243,972,1458,2916}
{2,4,6,18,54,243,486,972,729,2916,4374,8748}
{2,3,12,18,54,243,486,972,729,2916,4374,8748}
{2,3,9,36,54,243,486,972,729,2916,4374,8748}
{2,3,9,27,108,243,486,972,729,2916,4374,8748}
{2,4,12,9,36,81,162,324,243,972,1458,2916}
{2,4,6,27,54,81,162,324,243,972,1458,2916}
{2,3,12,27,54,81,162,324,243,972,1458,2916}
{4,3,6,9,18,27,54,108,81,324,486,972}
{2,3,6,9,18,27,54,108,81,324,486,972}
{2,3,9,54,108,81,162,324,243,972,1458,2916}
{2,4,12,18,36,27,54,108,81,324,486,972}
There are 362 solutions- : unit = ()

#X(13);;
{2,3,9,27,81,243,729,2187,6561,19683,59049,177147,354294}
{2,4,12,9,27,81,243,729,2187,6561,19683,59049,118098}
{2,4,6,36,27,81,243,729,2187,6561,19683,59049,118098}
{2,3,12,36,27,81,243,729,2187,6561,19683,59049,118098}
{4,3,6,12,9,27,81,243,729,2187,6561,19683,39366}
{2,4,6,18,108,81,243,729,2187,6561,19683,59049,118098}
{2,3,12,18,108,81,243,729,2187,6561,19683,59049,118098}
{2,3,9,36,108,81,243,729,2187,6561,19683,59049,118098}
{2,4,9,18,36,27,81,243,729,2187,6561,19683,39366}
{2,4,6,18,54,324,243,729,2187,6561,19683,59049,118098}
{2,3,12,18,54,324,243,729,2187,6561,19683,59049,118098}
{2,3,9,36,54,324,243,729,2187,6561,19683,59049,118098}
{2,3,9,27,108,324,243,729,2187,6561,19683,59049,118098}
{2,4,12,9,36,108,81,243,729,2187,6561,19683,39366}
{2,4,6,27,54,108,81,243,729,2187,6561,19683,39366}
{2,3,12,27,54,108,81,243,729,2187,6561,19683,39366}
{4,3,6,9,18,36,27,81,243,729,2187,6561,13122}
{2,6,12,9,18,36,27,81,243,729,2187,6561,13122}
{2,4,6,18,54,162,972,729,2187,6561,19683,59049,118098}
{2,3,12,18,54,162,972,729,2187,6561,19683,59049,118098}
{2,3,9,36,54,162,972,729,2187,6561,19683,59049,118098}
{2,3,9,27,108,162,972,729,2187,6561,19683,59049,118098}
{2,4,12,9,36,54,324,243,729,2187,6561,19683,39366}
{2,3,9,27,81,324,972,729,2187,6561,19683,59049,118098}
{2,4,12,9,27,108,324,243,729,2187,6561,19683,39366}
{2,4,6,36,27,108,324,243,729,2187,6561,19683,39366}
{2,3,12,36,27,108,324,243,729,2187,6561,19683,39366}
{4,3,6,12,9,36,108,81,243,729,2187,6561,13122}
{2,4,6,18,81,162,324,243,729,2187,6561,19683,39366}
{2,3,12,18,81,162,324,243,729,2187,6561,19683,39366}
{2,3,9,36,81,162,324,243,729,2187,6561,19683,39366}
{2,4,9,18,27,54,108,81,243,729,2187,6561,13122}
{2,3,18,36,27,54,108,81,243,729,2187,6561,13122}
{2,4,6,18,54,162,486,2916,2187,6561,19683,59049,118098}
{2,3,12,18,54,162,486,2916,2187,6561,19683,59049,118098}
{2,3,9,36,54,162,486,2916,2187,6561,19683,59049,118098}
{2,3,9,27,108,162,486,2916,2187,6561,19683,59049,118098}
{2,4,12,9,36,54,162,972,729,2187,6561,19683,39366}
{2,3,9,27,81,324,486,2916,2187,6561,19683,59049,118098}
{2,4,12,9,27,108,162,972,729,2187,6561,19683,39366}
{2,4,6,36,27,108,162,972,729,2187,6561,19683,39366}
{2,3,12,36,27,108,162,972,729,2187,6561,19683,39366}
{4,3,6,12,9,36,54,324,243,729,2187,6561,13122}
{2,3,9,27,81,243,972,2916,2187,6561,19683,59049,118098}
{2,4,12,9,27,81,324,972,729,2187,6561,19683,39366}
{2,4,6,36,27,81,324,972,729,2187,6561,19683,39366}
{2,3,12,36,27,81,324,972,729,2187,6561,19683,39366}
{4,3,6,12,9,27,108,324,243,729,2187,6561,13122}
{2,4,6,18,108,81,324,972,729,2187,6561,19683,39366}
{2,3,12,18,108,81,324,972,729,2187,6561,19683,39366}
{2,3,9,36,108,81,324,972,729,2187,6561,19683,39366}
{2,4,9,18,36,27,108,324,243,729,2187,6561,13122}
{2,4,6,18,54,243,486,972,729,2187,6561,19683,39366}
{2,3,12,18,54,243,486,972,729,2187,6561,19683,39366}
{2,3,9,36,54,243,486,972,729,2187,6561,19683,39366}
{2,3,9,27,108,243,486,972,729,2187,6561,19683,39366}
{2,4,12,9,36,81,162,324,243,729,2187,6561,13122}
{2,4,6,27,54,81,162,324,243,729,2187,6561,13122}
{2,3,12,27,54,81,162,324,243,729,2187,6561,13122}
{4,3,6,9,18,27,54,108,81,243,729,2187,4374}
{2,3,6,9,18,27,54,108,81,243,729,2187,4374}
{2,3,9,54,108,81,162,324,243,729,2187,6561,13122}
{2,4,12,18,36,27,54,108,81,243,729,2187,4374}
{2,4,6,18,54,162,486,1458,8748,6561,19683,59049,118098}
{2,3,12,18,54,162,486,1458,8748,6561,19683,59049,118098}
{2,3,9,36,54,162,486,1458,8748,6561,19683,59049,118098}
{2,3,9,27,108,162,486,1458,8748,6561,19683,59049,118098}
{2,4,12,9,36,54,162,486,2916,2187,6561,19683,39366}
{2,3,9,27,81,324,486,1458,8748,6561,19683,59049,118098}
{2,4,12,9,27,108,162,486,2916,2187,6561,19683,39366}
{2,4,6,36,27,108,162,486,2916,2187,6561,19683,39366}
{2,3,12,36,27,108,162,486,2916,2187,6561,19683,39366}
{4,3,6,12,9,36,54,162,972,729,2187,6561,13122}
{2,3,9,27,81,243,972,1458,8748,6561,19683,59049,118098}
{2,4,12,9,27,81,324,486,2916,2187,6561,19683,39366}
{2,4,6,36,27,81,324,486,2916,2187,6561,19683,39366}
{2,3,12,36,27,81,324,486,2916,2187,6561,19683,39366}
{4,3,6,12,9,27,108,162,972,729,2187,6561,13122}
{2,4,6,18,108,81,324,486,2916,2187,6561,19683,39366}
{2,3,12,18,108,81,324,486,2916,2187,6561,19683,39366}
{2,3,9,36,108,81,324,486,2916,2187,6561,19683,39366}
{2,4,9,18,36,27,108,162,972,729,2187,6561,13122}
{2,3,9,27,81,243,729,2916,8748,6561,19683,59049,118098}
{2,4,12,9,27,81,243,972,2916,2187,6561,19683,39366}
{2,4,6,36,27,81,243,972,2916,2187,6561,19683,39366}
{2,3,12,36,27,81,243,972,2916,2187,6561,19683,39366}
{4,3,6,12,9,27,81,324,972,729,2187,6561,13122}
{2,4,6,18,108,81,243,972,2916,2187,6561,19683,39366}
{2,3,12,18,108,81,243,972,2916,2187,6561,19683,39366}
{2,3,9,36,108,81,243,972,2916,2187,6561,19683,39366}
{2,4,9,18,36,27,81,324,972,729,2187,6561,13122}
{2,4,6,18,54,324,243,972,2916,2187,6561,19683,39366}
{2,3,12,18,54,324,243,972,2916,2187,6561,19683,39366}
{2,3,9,36,54,324,243,972,2916,2187,6561,19683,39366}
{2,3,9,27,108,324,243,972,2916,2187,6561,19683,39366}
{2,4,12,9,36,108,81,324,972,729,2187,6561,13122}
{2,4,6,27,54,108,81,324,972,729,2187,6561,13122}
{2,3,12,27,54,108,81,324,972,729,2187,6561,13122}
{4,3,6,9,18,36,27,108,324,243,729,2187,4374}
{2,6,12,9,18,36,27,108,324,243,729,2187,4374}
{2,4,6,18,54,162,729,1458,2916,2187,6561,19683,39366}
{2,3,12,18,54,162,729,1458,2916,2187,6561,19683,39366}
{2,3,9,36,54,162,729,1458,2916,2187,6561,19683,39366}
{2,3,9,27,108,162,729,1458,2916,2187,6561,19683,39366}
{2,4,12,9,36,54,243,486,972,729,2187,6561,13122}
{2,3,9,27,81,324,729,1458,2916,2187,6561,19683,39366}
{2,4,12,9,27,108,243,486,972,729,2187,6561,13122}
{2,4,6,36,27,108,243,486,972,729,2187,6561,13122}
{2,3,12,36,27,108,243,486,972,729,2187,6561,13122}
{4,3,6,12,9,36,81,162,324,243,729,2187,4374}
{2,4,6,18,81,162,243,486,972,729,2187,6561,13122}
{2,3,12,18,81,162,243,486,972,729,2187,6561,13122}
{2,3,9,36,81,162,243,486,972,729,2187,6561,13122}
{2,4,9,18,27,54,81,162,324,243,729,2187,4374}
{2,3,18,36,27,54,81,162,324,243,729,2187,4374}
{2,3,9,27,162,324,243,486,972,729,2187,6561,13122}
{2,4,12,9,54,108,81,162,324,243,729,2187,4374}
{2,4,6,36,54,108,81,162,324,243,729,2187,4374}
{2,3,12,36,54,108,81,162,324,243,729,2187,4374}
{4,3,6,12,18,36,27,54,108,81,243,729,1458}
{2,4,6,18,54,162,486,1458,4374,26244,19683,59049,118098}
{2,3,12,18,54,162,486,1458,4374,26244,19683,59049,118098}
{2,3,9,36,54,162,486,1458,4374,26244,19683,59049,118098}
{2,3,9,27,108,162,486,1458,4374,26244,19683,59049,118098}
{2,4,12,9,36,54,162,486,1458,8748,6561,19683,39366}
{2,3,9,27,81,324,486,1458,4374,26244,19683,59049,118098}
{2,4,12,9,27,108,162,486,1458,8748,6561,19683,39366}
{2,4,6,36,27,108,162,486,1458,8748,6561,19683,39366}
{2,3,12,36,27,108,162,486,1458,8748,6561,19683,39366}
{4,3,6,12,9,36,54,162,486,2916,2187,6561,13122}
{2,3,9,27,81,243,972,1458,4374,26244,19683,59049,118098}
{2,4,12,9,27,81,324,486,1458,8748,6561,19683,39366}
{2,4,6,36,27,81,324,486,1458,8748,6561,19683,39366}
{2,3,12,36,27,81,324,486,1458,8748,6561,19683,39366}
{4,3,6,12,9,27,108,162,486,2916,2187,6561,13122}
{2,4,6,18,108,81,324,486,1458,8748,6561,19683,39366}
{2,3,12,18,108,81,324,486,1458,8748,6561,19683,39366}
{2,3,9,36,108,81,324,486,1458,8748,6561,19683,39366}
{2,4,9,18,36,27,108,162,486,2916,2187,6561,13122}
{2,3,9,27,81,243,729,2916,4374,26244,19683,59049,118098}
{2,4,12,9,27,81,243,972,1458,8748,6561,19683,39366}
{2,4,6,36,27,81,243,972,1458,8748,6561,19683,39366}
{2,3,12,36,27,81,243,972,1458,8748,6561,19683,39366}
{4,3,6,12,9,27,81,324,486,2916,2187,6561,13122}
{2,4,6,18,108,81,243,972,1458,8748,6561,19683,39366}
{2,3,12,18,108,81,243,972,1458,8748,6561,19683,39366}
{2,3,9,36,108,81,243,972,1458,8748,6561,19683,39366}
{2,4,9,18,36,27,81,324,486,2916,2187,6561,13122}
{2,4,6,18,54,324,243,972,1458,8748,6561,19683,39366}
{2,3,12,18,54,324,243,972,1458,8748,6561,19683,39366}
{2,3,9,36,54,324,243,972,1458,8748,6561,19683,39366}
{2,3,9,27,108,324,243,972,1458,8748,6561,19683,39366}
{2,4,12,9,36,108,81,324,486,2916,2187,6561,13122}
{2,4,6,27,54,108,81,324,486,2916,2187,6561,13122}
{2,3,12,27,54,108,81,324,486,2916,2187,6561,13122}
{4,3,6,9,18,36,27,108,162,972,729,2187,4374}
{2,6,12,9,18,36,27,108,162,972,729,2187,4374}
{2,3,9,27,81,243,729,2187,8748,26244,19683,59049,118098}
{2,4,12,9,27,81,243,729,2916,8748,6561,19683,39366}
{2,4,6,36,27,81,243,729,2916,8748,6561,19683,39366}
{2,3,12,36,27,81,243,729,2916,8748,6561,19683,39366}
{4,3,6,12,9,27,81,243,972,2916,2187,6561,13122}
{2,4,6,18,108,81,243,729,2916,8748,6561,19683,39366}
{2,3,12,18,108,81,243,729,2916,8748,6561,19683,39366}
{2,3,9,36,108,81,243,729,2916,8748,6561,19683,39366}
{2,4,9,18,36,27,81,243,972,2916,2187,6561,13122}
{2,4,6,18,54,324,243,729,2916,8748,6561,19683,39366}
{2,3,12,18,54,324,243,729,2916,8748,6561,19683,39366}
{2,3,9,36,54,324,243,729,2916,8748,6561,19683,39366}
{2,3,9,27,108,324,243,729,2916,8748,6561,19683,39366}
{2,4,12,9,36,108,81,243,972,2916,2187,6561,13122}
{2,4,6,27,54,108,81,243,972,2916,2187,6561,13122}
{2,3,12,27,54,108,81,243,972,2916,2187,6561,13122}
{4,3,6,9,18,36,27,81,324,972,729,2187,4374}
{2,6,12,9,18,36,27,81,324,972,729,2187,4374}
{2,4,6,18,54,162,972,729,2916,8748,6561,19683,39366}
{2,3,12,18,54,162,972,729,2916,8748,6561,19683,39366}
{2,3,9,36,54,162,972,729,2916,8748,6561,19683,39366}
{2,3,9,27,108,162,972,729,2916,8748,6561,19683,39366}
{2,4,12,9,36,54,324,243,972,2916,2187,6561,13122}
{2,3,9,27,81,324,972,729,2916,8748,6561,19683,39366}
{2,4,12,9,27,108,324,243,972,2916,2187,6561,13122}
{2,4,6,36,27,108,324,243,972,2916,2187,6561,13122}
{2,3,12,36,27,108,324,243,972,2916,2187,6561,13122}
{4,3,6,12,9,36,108,81,324,972,729,2187,4374}
{2,4,6,18,81,162,324,243,972,2916,2187,6561,13122}
{2,3,12,18,81,162,324,243,972,2916,2187,6561,13122}
{2,3,9,36,81,162,324,243,972,2916,2187,6561,13122}
{2,4,9,18,27,54,108,81,324,972,729,2187,4374}
{2,3,18,36,27,54,108,81,324,972,729,2187,4374}
{2,4,6,18,54,162,486,2187,4374,8748,6561,19683,39366}
{2,3,12,18,54,162,486,2187,4374,8748,6561,19683,39366}
{2,3,9,36,54,162,486,2187,4374,8748,6561,19683,39366}
{2,3,9,27,108,162,486,2187,4374,8748,6561,19683,39366}
{2,4,12,9,36,54,162,729,1458,2916,2187,6561,13122}
{2,3,9,27,81,324,486,2187,4374,8748,6561,19683,39366}
{2,4,12,9,27,108,162,729,1458,2916,2187,6561,13122}
{2,4,6,36,27,108,162,729,1458,2916,2187,6561,13122}
{2,3,12,36,27,108,162,729,1458,2916,2187,6561,13122}
{4,3,6,12,9,36,54,243,486,972,729,2187,4374}
{2,3,9,27,81,243,972,2187,4374,8748,6561,19683,39366}
{2,4,12,9,27,81,324,729,1458,2916,2187,6561,13122}
{2,4,6,36,27,81,324,729,1458,2916,2187,6561,13122}
{2,3,12,36,27,81,324,729,1458,2916,2187,6561,13122}
{4,3,6,12,9,27,108,243,486,972,729,2187,4374}
{2,4,6,18,108,81,324,729,1458,2916,2187,6561,13122}
{2,3,12,18,108,81,324,729,1458,2916,2187,6561,13122}
{2,3,9,36,108,81,324,729,1458,2916,2187,6561,13122}
{2,4,9,18,36,27,108,243,486,972,729,2187,4374}
{2,4,6,18,54,243,486,729,1458,2916,2187,6561,13122}
{2,3,12,18,54,243,486,729,1458,2916,2187,6561,13122}
{2,3,9,36,54,243,486,729,1458,2916,2187,6561,13122}
{2,3,9,27,108,243,486,729,1458,2916,2187,6561,13122}
{2,4,12,9,36,81,162,243,486,972,729,2187,4374}
{2,4,6,27,54,81,162,243,486,972,729,2187,4374}
{2,3,12,27,54,81,162,243,486,972,729,2187,4374}
{4,3,6,9,18,27,54,81,162,324,243,729,1458}
{2,3,6,9,18,27,54,81,162,324,243,729,1458}
{2,3,9,54,108,81,162,243,486,972,729,2187,4374}
{2,4,12,18,36,27,54,81,162,324,243,729,1458}
{2,3,9,27,81,486,972,729,1458,2916,2187,6561,13122}
{2,4,12,9,27,162,324,243,486,972,729,2187,4374}
{2,4,6,36,27,162,324,243,486,972,729,2187,4374}
{2,3,12,36,27,162,324,243,486,972,729,2187,4374}
{4,3,6,12,9,54,108,81,162,324,243,729,1458}
{2,4,6,18,108,162,324,243,486,972,729,2187,4374}
{2,3,12,18,108,162,324,243,486,972,729,2187,4374}
{2,3,9,36,108,162,324,243,486,972,729,2187,4374}
{2,4,9,18,36,54,108,81,162,324,243,729,1458}
{2,4,6,18,54,162,486,1458,4374,13122,78732,59049,118098}
{2,3,12,18,54,162,486,1458,4374,13122,78732,59049,118098}
{2,3,9,36,54,162,486,1458,4374,13122,78732,59049,118098}
{2,3,9,27,108,162,486,1458,4374,13122,78732,59049,118098}
{2,4,12,9,36,54,162,486,1458,4374,26244,19683,39366}
{2,3,9,27,81,324,486,1458,4374,13122,78732,59049,118098}
{2,4,12,9,27,108,162,486,1458,4374,26244,19683,39366}
{2,4,6,36,27,108,162,486,1458,4374,26244,19683,39366}
{2,3,12,36,27,108,162,486,1458,4374,26244,19683,39366}
{4,3,6,12,9,36,54,162,486,1458,8748,6561,13122}
{2,3,9,27,81,243,972,1458,4374,13122,78732,59049,118098}
{2,4,12,9,27,81,324,486,1458,4374,26244,19683,39366}
{2,4,6,36,27,81,324,486,1458,4374,26244,19683,39366}
{2,3,12,36,27,81,324,486,1458,4374,26244,19683,39366}
{4,3,6,12,9,27,108,162,486,1458,8748,6561,13122}
{2,4,6,18,108,81,324,486,1458,4374,26244,19683,39366}
{2,3,12,18,108,81,324,486,1458,4374,26244,19683,39366}
{2,3,9,36,108,81,324,486,1458,4374,26244,19683,39366}
{2,4,9,18,36,27,108,162,486,1458,8748,6561,13122}
{2,3,9,27,81,243,729,2916,4374,13122,78732,59049,118098}
{2,4,12,9,27,81,243,972,1458,4374,26244,19683,39366}
{2,4,6,36,27,81,243,972,1458,4374,26244,19683,39366}
{2,3,12,36,27,81,243,972,1458,4374,26244,19683,39366}
{4,3,6,12,9,27,81,324,486,1458,8748,6561,13122}
{2,4,6,18,108,81,243,972,1458,4374,26244,19683,39366}
{2,3,12,18,108,81,243,972,1458,4374,26244,19683,39366}
{2,3,9,36,108,81,243,972,1458,4374,26244,19683,39366}
{2,4,9,18,36,27,81,324,486,1458,8748,6561,13122}
{2,4,6,18,54,324,243,972,1458,4374,26244,19683,39366}
{2,3,12,18,54,324,243,972,1458,4374,26244,19683,39366}
{2,3,9,36,54,324,243,972,1458,4374,26244,19683,39366}
{2,3,9,27,108,324,243,972,1458,4374,26244,19683,39366}
{2,4,12,9,36,108,81,324,486,1458,8748,6561,13122}
{2,4,6,27,54,108,81,324,486,1458,8748,6561,13122}
{2,3,12,27,54,108,81,324,486,1458,8748,6561,13122}
{4,3,6,9,18,36,27,108,162,486,2916,2187,4374}
{2,6,12,9,18,36,27,108,162,486,2916,2187,4374}
{2,3,9,27,81,243,729,2187,8748,13122,78732,59049,118098}
{2,4,12,9,27,81,243,729,2916,4374,26244,19683,39366}
{2,4,6,36,27,81,243,729,2916,4374,26244,19683,39366}
{2,3,12,36,27,81,243,729,2916,4374,26244,19683,39366}
{4,3,6,12,9,27,81,243,972,1458,8748,6561,13122}
{2,4,6,18,108,81,243,729,2916,4374,26244,19683,39366}
{2,3,12,18,108,81,243,729,2916,4374,26244,19683,39366}
{2,3,9,36,108,81,243,729,2916,4374,26244,19683,39366}
{2,4,9,18,36,27,81,243,972,1458,8748,6561,13122}
{2,4,6,18,54,324,243,729,2916,4374,26244,19683,39366}
{2,3,12,18,54,324,243,729,2916,4374,26244,19683,39366}
{2,3,9,36,54,324,243,729,2916,4374,26244,19683,39366}
{2,3,9,27,108,324,243,729,2916,4374,26244,19683,39366}
{2,4,12,9,36,108,81,243,972,1458,8748,6561,13122}
{2,4,6,27,54,108,81,243,972,1458,8748,6561,13122}
{2,3,12,27,54,108,81,243,972,1458,8748,6561,13122}
{4,3,6,9,18,36,27,81,324,486,2916,2187,4374}
{2,6,12,9,18,36,27,81,324,486,2916,2187,4374}
{2,4,6,18,54,162,972,729,2916,4374,26244,19683,39366}
{2,3,12,18,54,162,972,729,2916,4374,26244,19683,39366}
{2,3,9,36,54,162,972,729,2916,4374,26244,19683,39366}
{2,3,9,27,108,162,972,729,2916,4374,26244,19683,39366}
{2,4,12,9,36,54,324,243,972,1458,8748,6561,13122}
{2,3,9,27,81,324,972,729,2916,4374,26244,19683,39366}
{2,4,12,9,27,108,324,243,972,1458,8748,6561,13122}
{2,4,6,36,27,108,324,243,972,1458,8748,6561,13122}
{2,3,12,36,27,108,324,243,972,1458,8748,6561,13122}
{4,3,6,12,9,36,108,81,324,486,2916,2187,4374}
{2,4,6,18,81,162,324,243,972,1458,8748,6561,13122}
{2,3,12,18,81,162,324,243,972,1458,8748,6561,13122}
{2,3,9,36,81,162,324,243,972,1458,8748,6561,13122}
{2,4,9,18,27,54,108,81,324,486,2916,2187,4374}
{2,3,18,36,27,54,108,81,324,486,2916,2187,4374}
{2,3,9,27,81,243,729,2187,6561,26244,78732,59049,118098}
{2,4,12,9,27,81,243,729,2187,8748,26244,19683,39366}
{2,4,6,36,27,81,243,729,2187,8748,26244,19683,39366}
{2,3,12,36,27,81,243,729,2187,8748,26244,19683,39366}
{4,3,6,12,9,27,81,243,729,2916,8748,6561,13122}
{2,4,6,18,108,81,243,729,2187,8748,26244,19683,39366}
{2,3,12,18,108,81,243,729,2187,8748,26244,19683,39366}
{2,3,9,36,108,81,243,729,2187,8748,26244,19683,39366}
{2,4,9,18,36,27,81,243,729,2916,8748,6561,13122}
{2,4,6,18,54,324,243,729,2187,8748,26244,19683,39366}
{2,3,12,18,54,324,243,729,2187,8748,26244,19683,39366}
{2,3,9,36,54,324,243,729,2187,8748,26244,19683,39366}
{2,3,9,27,108,324,243,729,2187,8748,26244,19683,39366}
{2,4,12,9,36,108,81,243,729,2916,8748,6561,13122}
{2,4,6,27,54,108,81,243,729,2916,8748,6561,13122}
{2,3,12,27,54,108,81,243,729,2916,8748,6561,13122}
{4,3,6,9,18,36,27,81,243,972,2916,2187,4374}
{2,6,12,9,18,36,27,81,243,972,2916,2187,4374}
{2,4,6,18,54,162,972,729,2187,8748,26244,19683,39366}
{2,3,12,18,54,162,972,729,2187,8748,26244,19683,39366}
{2,3,9,36,54,162,972,729,2187,8748,26244,19683,39366}
{2,3,9,27,108,162,972,729,2187,8748,26244,19683,39366}
{2,4,12,9,36,54,324,243,729,2916,8748,6561,13122}
{2,3,9,27,81,324,972,729,2187,8748,26244,19683,39366}
{2,4,12,9,27,108,324,243,729,2916,8748,6561,13122}
{2,4,6,36,27,108,324,243,729,2916,8748,6561,13122}
{2,3,12,36,27,108,324,243,729,2916,8748,6561,13122}
{4,3,6,12,9,36,108,81,243,972,2916,2187,4374}
{2,4,6,18,81,162,324,243,729,2916,8748,6561,13122}
{2,3,12,18,81,162,324,243,729,2916,8748,6561,13122}
{2,3,9,36,81,162,324,243,729,2916,8748,6561,13122}
{2,4,9,18,27,54,108,81,243,972,2916,2187,4374}
{2,3,18,36,27,54,108,81,243,972,2916,2187,4374}
{2,4,6,18,54,162,486,2916,2187,8748,26244,19683,39366}
{2,3,12,18,54,162,486,2916,2187,8748,26244,19683,39366}
{2,3,9,36,54,162,486,2916,2187,8748,26244,19683,39366}
{2,3,9,27,108,162,486,2916,2187,8748,26244,19683,39366}
{2,4,12,9,36,54,162,972,729,2916,8748,6561,13122}
{2,3,9,27,81,324,486,2916,2187,8748,26244,19683,39366}
{2,4,12,9,27,108,162,972,729,2916,8748,6561,13122}
{2,4,6,36,27,108,162,972,729,2916,8748,6561,13122}
{2,3,12,36,27,108,162,972,729,2916,8748,6561,13122}
{4,3,6,12,9,36,54,324,243,972,2916,2187,4374}
{2,3,9,27,81,243,972,2916,2187,8748,26244,19683,39366}
{2,4,12,9,27,81,324,972,729,2916,8748,6561,13122}
{2,4,6,36,27,81,324,972,729,2916,8748,6561,13122}
{2,3,12,36,27,81,324,972,729,2916,8748,6561,13122}
{4,3,6,12,9,27,108,324,243,972,2916,2187,4374}
{2,4,6,18,108,81,324,972,729,2916,8748,6561,13122}
{2,3,12,18,108,81,324,972,729,2916,8748,6561,13122}
{2,3,9,36,108,81,324,972,729,2916,8748,6561,13122}
{2,4,9,18,36,27,108,324,243,972,2916,2187,4374}
{2,4,6,18,54,243,486,972,729,2916,8748,6561,13122}
{2,3,12,18,54,243,486,972,729,2916,8748,6561,13122}
{2,3,9,36,54,243,486,972,729,2916,8748,6561,13122}
{2,3,9,27,108,243,486,972,729,2916,8748,6561,13122}
{2,4,12,9,36,81,162,324,243,972,2916,2187,4374}
{2,4,6,27,54,81,162,324,243,972,2916,2187,4374}
{2,3,12,27,54,81,162,324,243,972,2916,2187,4374}
{4,3,6,9,18,27,54,108,81,324,972,729,1458}
{2,3,6,9,18,27,54,108,81,324,972,729,1458}
{2,3,9,54,108,81,162,324,243,972,2916,2187,4374}
{2,4,12,18,36,27,54,108,81,324,972,729,1458}
{2,4,6,18,54,162,486,1458,6561,13122,26244,19683,39366}
{2,3,12,18,54,162,486,1458,6561,13122,26244,19683,39366}
{2,3,9,36,54,162,486,1458,6561,13122,26244,19683,39366}
{2,3,9,27,108,162,486,1458,6561,13122,26244,19683,39366}
{2,4,12,9,36,54,162,486,2187,4374,8748,6561,13122}
{2,3,9,27,81,324,486,1458,6561,13122,26244,19683,39366}
{2,4,12,9,27,108,162,486,2187,4374,8748,6561,13122}
{2,4,6,36,27,108,162,486,2187,4374,8748,6561,13122}
{2,3,12,36,27,108,162,486,2187,4374,8748,6561,13122}
{4,3,6,12,9,36,54,162,729,1458,2916,2187,4374}
{2,3,9,27,81,243,972,1458,6561,13122,26244,19683,39366}
{2,4,12,9,27,81,324,486,2187,4374,8748,6561,13122}
{2,4,6,36,27,81,324,486,2187,4374,8748,6561,13122}
{2,3,12,36,27,81,324,486,2187,4374,8748,6561,13122}
{4,3,6,12,9,27,108,162,729,1458,2916,2187,4374}
{2,4,6,18,108,81,324,486,2187,4374,8748,6561,13122}
{2,3,12,18,108,81,324,486,2187,4374,8748,6561,13122}
{2,3,9,36,108,81,324,486,2187,4374,8748,6561,13122}
{2,4,9,18,36,27,108,162,729,1458,2916,2187,4374}
{2,3,9,27,81,243,729,2916,6561,13122,26244,19683,39366}
{2,4,12,9,27,81,243,972,2187,4374,8748,6561,13122}
{2,4,6,36,27,81,243,972,2187,4374,8748,6561,13122}
{2,3,12,36,27,81,243,972,2187,4374,8748,6561,13122}
{4,3,6,12,9,27,81,324,729,1458,2916,2187,4374}
{2,4,6,18,108,81,243,972,2187,4374,8748,6561,13122}
{2,3,12,18,108,81,243,972,2187,4374,8748,6561,13122}
{2,3,9,36,108,81,243,972,2187,4374,8748,6561,13122}
{2,4,9,18,36,27,81,324,729,1458,2916,2187,4374}
{2,4,6,18,54,324,243,972,2187,4374,8748,6561,13122}
{2,3,12,18,54,324,243,972,2187,4374,8748,6561,13122}
{2,3,9,36,54,324,243,972,2187,4374,8748,6561,13122}
{2,3,9,27,108,324,243,972,2187,4374,8748,6561,13122}
{2,4,12,9,36,108,81,324,729,1458,2916,2187,4374}
{2,4,6,27,54,108,81,324,729,1458,2916,2187,4374}
{2,3,12,27,54,108,81,324,729,1458,2916,2187,4374}
{4,3,6,9,18,36,27,108,243,486,972,729,1458}
{2,6,12,9,18,36,27,108,243,486,972,729,1458}
{2,4,6,18,54,162,729,1458,2187,4374,8748,6561,13122}
{2,3,12,18,54,162,729,1458,2187,4374,8748,6561,13122}
{2,3,9,36,54,162,729,1458,2187,4374,8748,6561,13122}
{2,3,9,27,108,162,729,1458,2187,4374,8748,6561,13122}
{2,4,12,9,36,54,243,486,729,1458,2916,2187,4374}
{2,3,9,27,81,324,729,1458,2187,4374,8748,6561,13122}
{2,4,12,9,27,108,243,486,729,1458,2916,2187,4374}
{2,4,6,36,27,108,243,486,729,1458,2916,2187,4374}
{2,3,12,36,27,108,243,486,729,1458,2916,2187,4374}
{4,3,6,12,9,36,81,162,243,486,972,729,1458}
{2,4,6,18,81,162,243,486,729,1458,2916,2187,4374}
{2,3,12,18,81,162,243,486,729,1458,2916,2187,4374}
{2,3,9,36,81,162,243,486,729,1458,2916,2187,4374}
{2,4,9,18,27,54,81,162,243,486,972,729,1458}
{2,3,18,36,27,54,81,162,243,486,972,729,1458}
{2,3,9,27,162,324,243,486,729,1458,2916,2187,4374}
{2,4,12,9,54,108,81,162,243,486,972,729,1458}
{2,4,6,36,54,108,81,162,243,486,972,729,1458}
{2,3,12,36,54,108,81,162,243,486,972,729,1458}
{4,3,6,12,18,36,27,54,81,162,324,243,486}
{2,3,9,27,81,243,1458,2916,2187,4374,8748,6561,13122}
{2,4,12,9,27,81,486,972,729,1458,2916,2187,4374}
{2,4,6,36,27,81,486,972,729,1458,2916,2187,4374}
{2,3,12,36,27,81,486,972,729,1458,2916,2187,4374}
{4,3,6,12,9,27,162,324,243,486,972,729,1458}
{2,4,6,18,108,81,486,972,729,1458,2916,2187,4374}
{2,3,12,18,108,81,486,972,729,1458,2916,2187,4374}
{2,3,9,36,108,81,486,972,729,1458,2916,2187,4374}
{2,4,9,18,36,27,162,324,243,486,972,729,1458}
{2,4,6,18,54,324,486,972,729,1458,2916,2187,4374}
{2,3,12,18,54,324,486,972,729,1458,2916,2187,4374}
{2,3,9,36,54,324,486,972,729,1458,2916,2187,4374}
{2,3,9,27,108,324,486,972,729,1458,2916,2187,4374}
{2,4,12,9,36,108,162,324,243,486,972,729,1458}
{2,4,6,27,54,108,162,324,243,486,972,729,1458}
{2,3,12,27,54,108,162,324,243,486,972,729,1458}
{4,3,6,9,18,36,54,108,81,162,324,243,486}
{2,6,12,9,18,36,54,108,81,162,324,243,486}
{2,4,6,18,54,162,486,1458,4374,13122,39366,118098,236196}
{2,3,12,18,54,162,486,1458,4374,13122,39366,118098,236196}
{2,3,9,36,54,162,486,1458,4374,13122,39366,118098,236196}
{2,3,9,27,108,162,486,1458,4374,13122,39366,118098,236196}
{2,4,12,9,36,54,162,486,1458,4374,13122,39366,78732}
{2,3,9,27,81,324,486,1458,4374,13122,39366,118098,236196}
{2,4,12,9,27,108,162,486,1458,4374,13122,39366,78732}
{2,4,6,36,27,108,162,486,1458,4374,13122,39366,78732}
{2,3,12,36,27,108,162,486,1458,4374,13122,39366,78732}
{4,3,6,12,9,36,54,162,486,1458,4374,13122,26244}
{2,3,9,27,81,243,972,1458,4374,13122,39366,118098,236196}
{2,4,12,9,27,81,324,486,1458,4374,13122,39366,78732}
{2,4,6,36,27,81,324,486,1458,4374,13122,39366,78732}
{2,3,12,36,27,81,324,486,1458,4374,13122,39366,78732}
{4,3,6,12,9,27,108,162,486,1458,4374,13122,26244}
{2,4,6,18,108,81,324,486,1458,4374,13122,39366,78732}
{2,3,12,18,108,81,324,486,1458,4374,13122,39366,78732}
{2,3,9,36,108,81,324,486,1458,4374,13122,39366,78732}
{2,4,9,18,36,27,108,162,486,1458,4374,13122,26244}
{2,3,9,27,81,243,729,2916,4374,13122,39366,118098,236196}
{2,4,12,9,27,81,243,972,1458,4374,13122,39366,78732}
{2,4,6,36,27,81,243,972,1458,4374,13122,39366,78732}
{2,3,12,36,27,81,243,972,1458,4374,13122,39366,78732}
{4,3,6,12,9,27,81,324,486,1458,4374,13122,26244}
{2,4,6,18,108,81,243,972,1458,4374,13122,39366,78732}
{2,3,12,18,108,81,243,972,1458,4374,13122,39366,78732}
{2,3,9,36,108,81,243,972,1458,4374,13122,39366,78732}
{2,4,9,18,36,27,81,324,486,1458,4374,13122,26244}
{2,4,6,18,54,324,243,972,1458,4374,13122,39366,78732}
{2,3,12,18,54,324,243,972,1458,4374,13122,39366,78732}
{2,3,9,36,54,324,243,972,1458,4374,13122,39366,78732}
{2,3,9,27,108,324,243,972,1458,4374,13122,39366,78732}
{2,4,12,9,36,108,81,324,486,1458,4374,13122,26244}
{2,4,6,27,54,108,81,324,486,1458,4374,13122,26244}
{2,3,12,27,54,108,81,324,486,1458,4374,13122,26244}
{4,3,6,9,18,36,27,108,162,486,1458,4374,8748}
{2,6,12,9,18,36,27,108,162,486,1458,4374,8748}
{2,3,9,27,81,243,729,2187,8748,13122,39366,118098,236196}
{2,4,12,9,27,81,243,729,2916,4374,13122,39366,78732}
{2,4,6,36,27,81,243,729,2916,4374,13122,39366,78732}
{2,3,12,36,27,81,243,729,2916,4374,13122,39366,78732}
{4,3,6,12,9,27,81,243,972,1458,4374,13122,26244}
{2,4,6,18,108,81,243,729,2916,4374,13122,39366,78732}
{2,3,12,18,108,81,243,729,2916,4374,13122,39366,78732}
{2,3,9,36,108,81,243,729,2916,4374,13122,39366,78732}
{2,4,9,18,36,27,81,243,972,1458,4374,13122,26244}
{2,4,6,18,54,324,243,729,2916,4374,13122,39366,78732}
{2,3,12,18,54,324,243,729,2916,4374,13122,39366,78732}
{2,3,9,36,54,324,243,729,2916,4374,13122,39366,78732}
{2,3,9,27,108,324,243,729,2916,4374,13122,39366,78732}
{2,4,12,9,36,108,81,243,972,1458,4374,13122,26244}
{2,4,6,27,54,108,81,243,972,1458,4374,13122,26244}
{2,3,12,27,54,108,81,243,972,1458,4374,13122,26244}
{4,3,6,9,18,36,27,81,324,486,1458,4374,8748}
{2,6,12,9,18,36,27,81,324,486,1458,4374,8748}
{2,4,6,18,54,162,972,729,2916,4374,13122,39366,78732}
{2,3,12,18,54,162,972,729,2916,4374,13122,39366,78732}
{2,3,9,36,54,162,972,729,2916,4374,13122,39366,78732}
{2,3,9,27,108,162,972,729,2916,4374,13122,39366,78732}
{2,4,12,9,36,54,324,243,972,1458,4374,13122,26244}
{2,3,9,27,81,324,972,729,2916,4374,13122,39366,78732}
{2,4,12,9,27,108,324,243,972,1458,4374,13122,26244}
{2,4,6,36,27,108,324,243,972,1458,4374,13122,26244}
{2,3,12,36,27,108,324,243,972,1458,4374,13122,26244}
{4,3,6,12,9,36,108,81,324,486,1458,4374,8748}
{2,4,6,18,81,162,324,243,972,1458,4374,13122,26244}
{2,3,12,18,81,162,324,243,972,1458,4374,13122,26244}
{2,3,9,36,81,162,324,243,972,1458,4374,13122,26244}
{2,4,9,18,27,54,108,81,324,486,1458,4374,8748}
{2,3,18,36,27,54,108,81,324,486,1458,4374,8748}
{2,3,9,27,81,243,729,2187,6561,26244,39366,118098,236196}
{2,4,12,9,27,81,243,729,2187,8748,13122,39366,78732}
{2,4,6,36,27,81,243,729,2187,8748,13122,39366,78732}
{2,3,12,36,27,81,243,729,2187,8748,13122,39366,78732}
{4,3,6,12,9,27,81,243,729,2916,4374,13122,26244}
{2,4,6,18,108,81,243,729,2187,8748,13122,39366,78732}
{2,3,12,18,108,81,243,729,2187,8748,13122,39366,78732}
{2,3,9,36,108,81,243,729,2187,8748,13122,39366,78732}
{2,4,9,18,36,27,81,243,729,2916,4374,13122,26244}
{2,4,6,18,54,324,243,729,2187,8748,13122,39366,78732}
{2,3,12,18,54,324,243,729,2187,8748,13122,39366,78732}
{2,3,9,36,54,324,243,729,2187,8748,13122,39366,78732}
{2,3,9,27,108,324,243,729,2187,8748,13122,39366,78732}
{2,4,12,9,36,108,81,243,729,2916,4374,13122,26244}
{2,4,6,27,54,108,81,243,729,2916,4374,13122,26244}
{2,3,12,27,54,108,81,243,729,2916,4374,13122,26244}
{4,3,6,9,18,36,27,81,243,972,1458,4374,8748}
{2,6,12,9,18,36,27,81,243,972,1458,4374,8748}
{2,4,6,18,54,162,972,729,2187,8748,13122,39366,78732}
{2,3,12,18,54,162,972,729,2187,8748,13122,39366,78732}
{2,3,9,36,54,162,972,729,2187,8748,13122,39366,78732}
{2,3,9,27,108,162,972,729,2187,8748,13122,39366,78732}
{2,4,12,9,36,54,324,243,729,2916,4374,13122,26244}
{2,3,9,27,81,324,972,729,2187,8748,13122,39366,78732}
{2,4,12,9,27,108,324,243,729,2916,4374,13122,26244}
{2,4,6,36,27,108,324,243,729,2916,4374,13122,26244}
{2,3,12,36,27,108,324,243,729,2916,4374,13122,26244}
{4,3,6,12,9,36,108,81,243,972,1458,4374,8748}
{2,4,6,18,81,162,324,243,729,2916,4374,13122,26244}
{2,3,12,18,81,162,324,243,729,2916,4374,13122,26244}
{2,3,9,36,81,162,324,243,729,2916,4374,13122,26244}
{2,4,9,18,27,54,108,81,243,972,1458,4374,8748}
{2,3,18,36,27,54,108,81,243,972,1458,4374,8748}
{2,4,6,18,54,162,486,2916,2187,8748,13122,39366,78732}
{2,3,12,18,54,162,486,2916,2187,8748,13122,39366,78732}
{2,3,9,36,54,162,486,2916,2187,8748,13122,39366,78732}
{2,3,9,27,108,162,486,2916,2187,8748,13122,39366,78732}
{2,4,12,9,36,54,162,972,729,2916,4374,13122,26244}
{2,3,9,27,81,324,486,2916,2187,8748,13122,39366,78732}
{2,4,12,9,27,108,162,972,729,2916,4374,13122,26244}
{2,4,6,36,27,108,162,972,729,2916,4374,13122,26244}
{2,3,12,36,27,108,162,972,729,2916,4374,13122,26244}
{4,3,6,12,9,36,54,324,243,972,1458,4374,8748}
{2,3,9,27,81,243,972,2916,2187,8748,13122,39366,78732}
{2,4,12,9,27,81,324,972,729,2916,4374,13122,26244}
{2,4,6,36,27,81,324,972,729,2916,4374,13122,26244}
{2,3,12,36,27,81,324,972,729,2916,4374,13122,26244}
{4,3,6,12,9,27,108,324,243,972,1458,4374,8748}
{2,4,6,18,108,81,324,972,729,2916,4374,13122,26244}
{2,3,12,18,108,81,324,972,729,2916,4374,13122,26244}
{2,3,9,36,108,81,324,972,729,2916,4374,13122,26244}
{2,4,9,18,36,27,108,324,243,972,1458,4374,8748}
{2,4,6,18,54,243,486,972,729,2916,4374,13122,26244}
{2,3,12,18,54,243,486,972,729,2916,4374,13122,26244}
{2,3,9,36,54,243,486,972,729,2916,4374,13122,26244}
{2,3,9,27,108,243,486,972,729,2916,4374,13122,26244}
{2,4,12,9,36,81,162,324,243,972,1458,4374,8748}
{2,4,6,27,54,81,162,324,243,972,1458,4374,8748}
{2,3,12,27,54,81,162,324,243,972,1458,4374,8748}
{4,3,6,9,18,27,54,108,81,324,486,1458,2916}
{2,3,6,9,18,27,54,108,81,324,486,1458,2916}
{2,3,9,54,108,81,162,324,243,972,1458,4374,8748}
{2,4,12,18,36,27,54,108,81,324,486,1458,2916}
{2,3,9,27,81,243,729,2187,6561,19683,78732,118098,236196}
{2,4,12,9,27,81,243,729,2187,6561,26244,39366,78732}
{2,4,6,36,27,81,243,729,2187,6561,26244,39366,78732}
{2,3,12,36,27,81,243,729,2187,6561,26244,39366,78732}
{4,3,6,12,9,27,81,243,729,2187,8748,13122,26244}
{2,4,6,18,108,81,243,729,2187,6561,26244,39366,78732}
{2,3,12,18,108,81,243,729,2187,6561,26244,39366,78732}
{2,3,9,36,108,81,243,729,2187,6561,26244,39366,78732}
{2,4,9,18,36,27,81,243,729,2187,8748,13122,26244}
{2,4,6,18,54,324,243,729,2187,6561,26244,39366,78732}
{2,3,12,18,54,324,243,729,2187,6561,26244,39366,78732}
{2,3,9,36,54,324,243,729,2187,6561,26244,39366,78732}
{2,3,9,27,108,324,243,729,2187,6561,26244,39366,78732}
{2,4,12,9,36,108,81,243,729,2187,8748,13122,26244}
{2,4,6,27,54,108,81,243,729,2187,8748,13122,26244}
{2,3,12,27,54,108,81,243,729,2187,8748,13122,26244}
{4,3,6,9,18,36,27,81,243,729,2916,4374,8748}
{2,6,12,9,18,36,27,81,243,729,2916,4374,8748}
{2,4,6,18,54,162,972,729,2187,6561,26244,39366,78732}
{2,3,12,18,54,162,972,729,2187,6561,26244,39366,78732}
{2,3,9,36,54,162,972,729,2187,6561,26244,39366,78732}
{2,3,9,27,108,162,972,729,2187,6561,26244,39366,78732}
{2,4,12,9,36,54,324,243,729,2187,8748,13122,26244}
{2,3,9,27,81,324,972,729,2187,6561,26244,39366,78732}
{2,4,12,9,27,108,324,243,729,2187,8748,13122,26244}
{2,4,6,36,27,108,324,243,729,2187,8748,13122,26244}
{2,3,12,36,27,108,324,243,729,2187,8748,13122,26244}
{4,3,6,12,9,36,108,81,243,729,2916,4374,8748}
{2,4,6,18,81,162,324,243,729,2187,8748,13122,26244}
{2,3,12,18,81,162,324,243,729,2187,8748,13122,26244}
{2,3,9,36,81,162,324,243,729,2187,8748,13122,26244}
{2,4,9,18,27,54,108,81,243,729,2916,4374,8748}
{2,3,18,36,27,54,108,81,243,729,2916,4374,8748}
{2,4,6,18,54,162,486,2916,2187,6561,26244,39366,78732}
{2,3,12,18,54,162,486,2916,2187,6561,26244,39366,78732}
{2,3,9,36,54,162,486,2916,2187,6561,26244,39366,78732}
{2,3,9,27,108,162,486,2916,2187,6561,26244,39366,78732}
{2,4,12,9,36,54,162,972,729,2187,8748,13122,26244}
{2,3,9,27,81,324,486,2916,2187,6561,26244,39366,78732}
{2,4,12,9,27,108,162,972,729,2187,8748,13122,26244}
{2,4,6,36,27,108,162,972,729,2187,8748,13122,26244}
{2,3,12,36,27,108,162,972,729,2187,8748,13122,26244}
{4,3,6,12,9,36,54,324,243,729,2916,4374,8748}
{2,3,9,27,81,243,972,2916,2187,6561,26244,39366,78732}
{2,4,12,9,27,81,324,972,729,2187,8748,13122,26244}
{2,4,6,36,27,81,324,972,729,2187,8748,13122,26244}
{2,3,12,36,27,81,324,972,729,2187,8748,13122,26244}
{4,3,6,12,9,27,108,324,243,729,2916,4374,8748}
{2,4,6,18,108,81,324,972,729,2187,8748,13122,26244}
{2,3,12,18,108,81,324,972,729,2187,8748,13122,26244}
{2,3,9,36,108,81,324,972,729,2187,8748,13122,26244}
{2,4,9,18,36,27,108,324,243,729,2916,4374,8748}
{2,4,6,18,54,243,486,972,729,2187,8748,13122,26244}
{2,3,12,18,54,243,486,972,729,2187,8748,13122,26244}
{2,3,9,36,54,243,486,972,729,2187,8748,13122,26244}
{2,3,9,27,108,243,486,972,729,2187,8748,13122,26244}
{2,4,12,9,36,81,162,324,243,729,2916,4374,8748}
{2,4,6,27,54,81,162,324,243,729,2916,4374,8748}
{2,3,12,27,54,81,162,324,243,729,2916,4374,8748}
{4,3,6,9,18,27,54,108,81,243,972,1458,2916}
{2,3,6,9,18,27,54,108,81,243,972,1458,2916}
{2,3,9,54,108,81,162,324,243,729,2916,4374,8748}
{2,4,12,18,36,27,54,108,81,243,972,1458,2916}
{2,4,6,18,54,162,486,1458,8748,6561,26244,39366,78732}
{2,3,12,18,54,162,486,1458,8748,6561,26244,39366,78732}
{2,3,9,36,54,162,486,1458,8748,6561,26244,39366,78732}
{2,3,9,27,108,162,486,1458,8748,6561,26244,39366,78732}
{2,4,12,9,36,54,162,486,2916,2187,8748,13122,26244}
{2,3,9,27,81,324,486,1458,8748,6561,26244,39366,78732}
{2,4,12,9,27,108,162,486,2916,2187,8748,13122,26244}
{2,4,6,36,27,108,162,486,2916,2187,8748,13122,26244}
{2,3,12,36,27,108,162,486,2916,2187,8748,13122,26244}
{4,3,6,12,9,36,54,162,972,729,2916,4374,8748}
{2,3,9,27,81,243,972,1458,8748,6561,26244,39366,78732}
{2,4,12,9,27,81,324,486,2916,2187,8748,13122,26244}
{2,4,6,36,27,81,324,486,2916,2187,8748,13122,26244}
{2,3,12,36,27,81,324,486,2916,2187,8748,13122,26244}
{4,3,6,12,9,27,108,162,972,729,2916,4374,8748}
{2,4,6,18,108,81,324,486,2916,2187,8748,13122,26244}
{2,3,12,18,108,81,324,486,2916,2187,8748,13122,26244}
{2,3,9,36,108,81,324,486,2916,2187,8748,13122,26244}
{2,4,9,18,36,27,108,162,972,729,2916,4374,8748}
{2,3,9,27,81,243,729,2916,8748,6561,26244,39366,78732}
{2,4,12,9,27,81,243,972,2916,2187,8748,13122,26244}
{2,4,6,36,27,81,243,972,2916,2187,8748,13122,26244}
{2,3,12,36,27,81,243,972,2916,2187,8748,13122,26244}
{4,3,6,12,9,27,81,324,972,729,2916,4374,8748}
{2,4,6,18,108,81,243,972,2916,2187,8748,13122,26244}
{2,3,12,18,108,81,243,972,2916,2187,8748,13122,26244}
{2,3,9,36,108,81,243,972,2916,2187,8748,13122,26244}
{2,4,9,18,36,27,81,324,972,729,2916,4374,8748}
{2,4,6,18,54,324,243,972,2916,2187,8748,13122,26244}
{2,3,12,18,54,324,243,972,2916,2187,8748,13122,26244}
{2,3,9,36,54,324,243,972,2916,2187,8748,13122,26244}
{2,3,9,27,108,324,243,972,2916,2187,8748,13122,26244}
{2,4,12,9,36,108,81,324,972,729,2916,4374,8748}
{2,4,6,27,54,108,81,324,972,729,2916,4374,8748}
{2,3,12,27,54,108,81,324,972,729,2916,4374,8748}
{4,3,6,9,18,36,27,108,324,243,972,1458,2916}
{2,6,12,9,18,36,27,108,324,243,972,1458,2916}
{2,4,6,18,54,162,729,1458,2916,2187,8748,13122,26244}
{2,3,12,18,54,162,729,1458,2916,2187,8748,13122,26244}
{2,3,9,36,54,162,729,1458,2916,2187,8748,13122,26244}
{2,3,9,27,108,162,729,1458,2916,2187,8748,13122,26244}
{2,4,12,9,36,54,243,486,972,729,2916,4374,8748}
{2,3,9,27,81,324,729,1458,2916,2187,8748,13122,26244}
{2,4,12,9,27,108,243,486,972,729,2916,4374,8748}
{2,4,6,36,27,108,243,486,972,729,2916,4374,8748}
{2,3,12,36,27,108,243,486,972,729,2916,4374,8748}
{4,3,6,12,9,36,81,162,324,243,972,1458,2916}
{2,4,6,18,81,162,243,486,972,729,2916,4374,8748}
{2,3,12,18,81,162,243,486,972,729,2916,4374,8748}
{2,3,9,36,81,162,243,486,972,729,2916,4374,8748}
{2,4,9,18,27,54,81,162,324,243,972,1458,2916}
{2,3,18,36,27,54,81,162,324,243,972,1458,2916}
{2,3,9,27,162,324,243,486,972,729,2916,4374,8748}
{2,4,12,9,54,108,81,162,324,243,972,1458,2916}
{2,4,6,36,54,108,81,162,324,243,972,1458,2916}
{2,3,12,36,54,108,81,162,324,243,972,1458,2916}
{4,3,6,12,18,36,27,54,108,81,324,486,972}
There are 690 solutions- : unit = ()

Appendix F.

[Uncaptioned image]\begin{array}[]{cc}\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\negthickspace\text{\psfig{height=341.43306pt}}&\end{array}

Appendix G. Mathematica program for counting the solutions in distinct integers.

In= h[k_] := RecurrenceTable[{ast[n] ==
    ast[n - 1] + dia[n - 1] + KroneckerDelta[n, 4],
   tri[n] ==
    tri[n - 1] + sq[n - 1] + St1[n - 1] + St2[n - 1] + St[n - 1],
   sq[n] == ast[n - 1] + dia[n - 1],
   dia[n] ==
    tri[n - 2] + sq[n - 2] + St1[n - 2] + St2[n - 2] + St[n - 2],
   St1[n] == ast[n - 3] + dia[n - 3] + KroneckerDelta[n, 6],
   St2[n] ==
    ast[n - 5] + dia[n - 5] + t[n - 5] + p[n - 5] +
     KroneckerDelta[n, 8],
   St[n] ==
    tri[n - 5] + sq[n - 5] + St1[n - 5] + St2[n - 5] + St[n - 5],
    t[n] ==
    ast[n - 2] + dia[n - 2] + t[n - 2] + p[n - 2] +
     KroneckerDelta[n, 5],
   p[n] ==
    tri[n - 2] + sq[n - 2] + St1[n - 2] + St2[n - 2] + St[n - 2],
   dia[4] == dia[3] == sq[3] == St[3] == St2[3] == St1[3] == St[4] ==
    St2[4] == St1[4] == St[5] == St2[5] == St1[5] == St2[6] ==
    St[6] == St2[7] == St[7] == t[4] == p[4] == t[3] == p[3] ==
    ast[3] == 0, tri[3] == 1}, {tri, sq, ast, dia, St1, St2, St, t,
   p}, {n, k, k}]; h[35]

Out= {{330140577, 191442225, 191442225, 173287025, 52743872, 29586769,
  25059215, 204595521, 173287025}}

In= 330140577 + 191442225 + 191442225 + 173287025 + 52743872 + 29586769 +
25059215

Out= 993701908

References

  • [1] R. Arce-Nazario, F. Castro and R. Figueroa, On the number of solutions of i=1111xi=1\sum_{i=1}^{11}\frac{1}{x_{i}}=1 in distinct odd natural numbers, J. Number Theory 133 (2013)(2013) no. 66 203620462036-2046
  • [2] K. Archer, A.C. Bishop, A. Diaz-Lopez, L.D. Garcia Puente, D. Glass and J. Louwsma, Arithmetical structures on bidents, Discrete Math. 343 (7):111850111850 (2020)(2020)
  • [3] A. Björner, L. Lovasz and P. Shor, Chip-firing games on graphs, Eur. J. Combinatorics, Vol. 1212, no. 44 (1991)(1991) 283291283-291
  • [4] M.N. Bleicher, A new algorithm for the expansion of Egyptian fractions, J. Number Theory 4 (1972)(1972) 342382342-382
  • [5] M.N. Bleicher and P. Erdös, Denominators of Egyptian fractions, J. Number Theory 8 (1976)(1976) 157168157-168
  • [6] B. Braun, H. Corrales, S. Corry, L.D.G. Puente, D. Glass, N. Kaplan, J. Martin, G. Musiker and C.E. Valencia, Counting arithmetical structures on paths and cycles, Discrete Math. 341 (2018)(2018), no. 1010, 294929632949-2963
  • [7] T.D. Browning and C. Elsholtz, The number of representations of rationals as a sum of unit fractions, Illinois J. Math. 55 (2011)(2011), no. 22 685696685-696
  • [8] N. Burshtein, The equation i=191xi=1\sum_{i=1}^{9}\frac{1}{x_{i}}=1 in distinct odd integers has only the five known solutions, J. Number Theory 127 (2007)(2007), no. 11 136144136-144
  • [9] N. Burshtein, All the solutions of the equation i=1111xi=1\sum_{i=1}^{11}\frac{1}{x_{i}}=1 in distinct integers of the form xi3α5β7γx_{i}\in 3^{\alpha}5^{\beta}7^{\gamma}, Discrete Math. 308 (2008)(2008), no. 1818 428642924286-4292
  • [10] N. Burshtein, On the Diophantine equation i=1k1xi=1\sum_{i=1}^{k}\frac{1}{x_{i}}=1 in distinct integers of the form xipαqβx_{i}\in p^{\alpha}q^{\beta}, Notes on Number Theory and Discrete Mathematics 1616 (2010)(2010) 151-5
  • [11] S. Butler, P. Erdös and R. Graham, Egyptian fractions with each denominator having three distinct prime divisors, Integers 1515: A51A51 (2015)(2015)
  • [12] Y-G. Chen, C. Elsholtz and L-L Jiang, Egyptian fractions with restrictions, Acta Arith. 154 (2012), 109-123
  • [13] P. Erdös and R. Graham, Old and new problems and results in combinatorial number theory, Monographie de l’Enseignement Mathématique 2828, Université de Genève, L’Enseigement Mathématique, Genève 19801980
  • [14] H. Corrales and C.E. Valencia, Arithmetical structures on graphs, Linear Algebra Appl. 536 (2018)(2018) 120151120-151
  • [15] P. Erdös, The solution in whole number of the equation 1/x1+1/x2++1/xn=a/b1/x_{1}+1/x_{2}+\dots+1/x_{n}=a/b, Mat. Lapok 1 (1950)(1950) 192210192-210 (in Hungarian)
  • [16] D. Glass, Review of the mathematics of chip-firing, Amer. Math. Monthly 127 (2020)(2020) (2):189192189-192
  • [17] D. Glass and J. Wagner, Arithmetical structures on paths with a doubled edge, arXiv:1903.013981903.01398
  • [18] S.W. Golomb, An algebraic algorithm for the representation problem of the Ahmes papyrus, Amer. Math. Monthly 69 (1962)(1962) 785787785-787
  • [19] F. Gouvea, pp-adic numbers, An introduction, Second Edition, Springer 19931993
  • [20] R.L. Graham, in Erdös Centennial, Bolyai Soc. Math. Stud., On the occasion of Paul Erdös 100100-th anniversary of his birth, János Bolyai Math. Soc. Budapest (Springer, Berlin 20132013), Vol. 2525 289309289-309
  • [21] R.K. Guy, Unsolved Problems in Number Theory, Springer-Verlag, Berlin, New York, 19811981
  • [22] N. Kaplan, Chip-firing games and critical groups, arXiv:1908.043951908.04395
  • [23] C. Keyes and T. Reiter, Bounding the number of arithmetical structures on graphs, Discrete Math. (2021)(2021) 344(9)344(9): 112494112494
  • [24] S.V. Konyagin, Double exponential lower bound for the number of representations of unity by Egyptian fractions, Math. Notes 95 (2014)(2014), no. 121-2 277281277-281
  • [25] D.J. Lorenzini, Arithmetical graphs, Math. Ann. 285 (1989)(1989), no. 33 481501481-501
  • [26] J. Louwsma and J. Martino, Rational numbers with odd greedy expansion of fixed length, arXiv:2309.072802309.07280
  • [27] OEIS Foundation Inc., The Online Encyclopedia of Integer Sequences
    www://oeis.org/A002967
    
  • [28] G. Robins and C. Shute, The Rhind Mathematical Papyrus: an ancient Egyptian text, Dover, New York 1987
  • [29] C. Sándor, On the number of solutions of the Diophantine equation i=1n1xi=1\sum_{i=1}^{n}\frac{1}{x_{i}}=1, Period. Math. Hungar. 47 (2003)(2003), no. 121-2 215219215-219
  • [30] J.J. Sylvester, On a point in the theory of vulgar fractions, Amer. J. Math. 3 (1880)(1880) 332335332-335 388389388-389
  • [31] P. Weis and X. Leroy, Le Langage CAML, InterEditions, Informatique Intelligence Artificielle 19961996