A328910 Number of nontrivial solutions to Erdős's Last Equation in n variables, x_1*...*x_n = n*(x_1 + ... + x_n), with 1 <= x_1 <= ... <= x_n.
2, 6, 8, 8, 17, 14, 19, 27, 25, 15, 33, 16, 30, 43, 45, 18, 55, 24, 43, 55, 43, 22, 92, 43, 35, 68, 69, 25, 107, 34, 80, 56, 48, 61, 130, 32, 45, 65, 119, 29, 113, 36, 72, 154, 64, 27, 178, 69, 87, 74, 85, 24, 197, 97, 145, 91, 51, 37, 182, 39, 54, 189, 203, 82, 173
Offset: 2
Keywords
Examples
For n = 2 variables, we have the equation x1*x2 = 2*(x1 + x2) with positive integer solutions (3,6) and (4,4). For n = 3, we have 3 solutions in C_1(3) = {(1, 4, 15), (1, 5, 9), (1, 6, 7)} (with 2 components > 1), and 3 others in C_2(3) = {(2, 2, 12), (2, 3, 5), (3,3,3)} (with 3 components > 1), for a total of a(3) = 6. For n = 4 we have the 8 solutions (1, 1, 5, 28), (1, 1, 6, 16), (1, 1, 7, 12), (1, 1, 8, 10), (1, 2, 3, 12), (1, 2, 4, 7), (1, 3, 4, 4) and (2, 2, 2, 6). For n = 5, the solutions are, omitting initial components x_i = 1: {(6, 45), (7, 25), (9, 15), (10, 13), (2, 3, 35), (2, 5, 9), (3, 3, 10), (3, 5, 5)}. For n = 6, the solutions are (omitting x_i = 1): {(7, 66), (8, 36), (9, 26), (10, 21), (11, 18), (12, 16), (2, 4, 27), (2, 5, 15), (2, 6, 11), (2, 7, 9), (3, 3, 18), (3, 4, 10), (3, 6, 6), (2, 2, 2, 24), (2, 2, 3, 9), (2, 2, 4, 6), (2, 3, 3, 5)}. For n = 9, the 27 solutions are (omitting '1's): {(10, 153), (11, 81), (12, 57), (13, 45), (15, 33), (17, 27), (18, 25), (21, 21), (2, 5, 117), (2, 6, 42), (2, 7, 27), (2, 9, 17), (2, 12, 12), (3, 4, 39), (3, 5, 21), (3, 6, 15), (3, 7, 12), (3, 9, 9), (4, 4, 18), (5, 5, 9), (6, 6, 6), (2, 2, 3, 36), (2, 2, 6, 9), (2, 3, 3, 13), (3, 3, 3, 7), (3, 3, 4, 5), (2, 3, 3, 3, 3)}.
References
- Lars Blomberg, Posting to the Sequence Fans Mailing List, Nov 07 2019, seems to have been the first person to notice that there were problems with the published values (given in A328980). - N. J. A. Sloane, Nov 08 2019
- R. K. Guy, Sum equals product. in: Unsolved Problems in Number Theory, 3rd ed. New York: Springer-Verlag, chapter D24, (2004), 299-301 (citing Erdős's question dated Aug 19, 1996)
Links
- David A. Corneth, Table of n, a(n) for n = 2..6250
- David A. Corneth, List of solutions and product of variables of solutions for n = 2..160, omitting ones
- Peter Shiu, On Erdős's Last Equation, Amer. Math. Monthly, 126 (2019), 802-808; correction, 127:5 (2020), 478.
Crossrefs
Programs
-
PARI
a(n,show=1)={my(s=0,d);forvec(x=vector(n-1,i,[1,n\(sqrt(2)-1)]), 0<(d=vecprod(x)-n) && n*vecsum(x)%d==0 && n*vecsum(x)\d >= x[n-1] &&s++ &&show &&printf("%d,",concat(x,n*vecsum(x)\d)),1);s}
-
PARI
{ A328910(n,k=n-1,m=n^2,p=1,s=0,y=1) = if(k==0, return( p>n && Mod(n*s,p-n)==0 && n*s>=(p-n)*y ) ); sum(x=y, sqrtnint(m,k), A328910(n,k-1,m\x,p*x,s+x,x) ); } \\ Max Alekseyev, Nov 10 2019
Extensions
More terms from David A. Corneth, Nov 07 2019
Comments