Article

Translations and extensions of the Nicomachus identity

Author
Kim, S.H.
Published in
J Math
Year
2023
Subject
TRANSLATION
Language
English
Category
D9 Nicomachus
Archive number
4750

Open PDF(opens in a new window)

Show full text24 pages

Page 1

View in PDF(opens in a new window)
arXiv:2306.17402v1 [math.NT] 30 Jun 2023 Translations and extensions of the Nicomachus identity Seon-Hong Kim∗, Kenneth B. Stolarsky† Abstract We search for Nicomachean identities by adding translation parameters, variable parameters, sequence products and adjoining further numbers to sequences. The solutions of definite and indefinite quadratic forms arise in this study of cubic equations obtained from translation parameters. Our search leads to many general Nicomacheantype identities. We also study the geometry of adjoining two numbers to sequences satisfying the Nicomachean identity. Key words and phrases: sums of cubes, variable parameters, translation parameters, Nicomachean identity, Pell’s equations, sequential multiplications, finite differences, Fibonacci numbers, elliptic curves 2010 Mathematics Subject Classification: Primary 11B83; Secondary 11D25, 30C15 1 INTRODUCTION Define an operator ν on finite sequences of complex numbers ai , i.e., sequences σ = {a1 , a2 , · · · , an }, by !2 n n X X ν(a1 , a2 , · · · , an ) = ai − a3i . i=1 i=1 The ancient classical Nicomachean identity is ν (1, 2, 3, · · · , n) = 0. The above definition of ν does in fact make sense for the ai being elements of any ring. The number and variety of Nicomachean-type identities is very large. Let σ be an arbitrary sequence of positive integers. Then Mason has shown [8], by using bag products, that it can be encoded in a Nicomachean-type identity (cube sum = sum squared). In the Sookmyung Women’s University (shkim17@sookmyung.ac.kr), University of Illinois at UrbanaChampaign (stolarsky.ken@gmail.com)

Page 2

View in PDF(opens in a new window)
other direction, Barbeaux and Seraj [1] used a simple estimate to show that the number of Nicomachean-type identities for a sequence of length n, with n fixed, is finite. For previous studies of various points of views about Nicomachean identity, see [1], [2], [3], [4], [5], [6], [7], [8], [9], [10], [11]. Among these the present paper has a point of view most similar to that of Barbeau and Seraj [1], and, like [1], makes use of Pell’s equations. A natural question is “for what sequences of positive integers or positive rational numbers does ν = 0?”. Note that we allow repetitions in our sequences. We immediately note that aside from the trivial ai = 0 for all i case there are three very simple types of sequences with ν = 0. (1) The case ai = n for 1 ≤ i ≤ n. (2) The case in which, for some re-ordering of the ai , each ai is followed by −ai . (3) The case σ = {σ1 ; σ2 } where σ1 belongs to the case (2) and σ2 consists of some integer m repeated m times. Here (3) is a combination of (1) and (2). We also note that ν(σ) is the same for all reorderings of σ. Our approach here is to work in a more general setting in which some or all of the ai are variable parameters, to compute the variable or multivariable function ν(σ), and then to find values of the parameters for which ν(σ) = 0. Ideally the resulting ai will be positive rational numbers, but other outcomes may nonetheless be of interest. For an example, take σ = {1, 2, 2, 3, 4, x, 6, 8}. Then ν(σ) = (5 − x)(x − 4)(8 + x) and we have three non-trivial examples of ν(σ) = 0. Here the pair (−8, 8) may be removed. Another problem is to determine what extensions of a sequence with ν = 0 also have this property. For an example, let σ = {1, 2, 3, · · · , 16, a, b}. To avoid trivialities assume a + b ̸= 0. Then ν(σ) = 0 is equivalent to a2 − a + b2 − b − ab = 272. A brief search yields the solutions (a, b) = (2, 18), (17, 18), (9, 20) and (12, 20). Each leads to a specific non-trivial solution in positive integers of ν(σ) = 0, with (17, 18) corresponding to the classical identity. In general, for σ = {1, 2, 3, · · · , n, a, b}

Page 3

View in PDF(opens in a new window)
with n ≥ 5, a + b ̸= 0 and {a, b} ̸= {n + 1, n + 2} the equation ν(σ) = 0 implies that one of a or b is less than n − 1. Hence this can produce only sequences σ with repetitions. In fact the equation ν(σ) = 0 can be put into a more attractive form by means of the change of variable a = u + v + 1, b = u − v + 1 or b = −u + v + 1. This transforms the equation to u2 + 3v 2 = n3 − 1 n−1 or 3u2 + v 2 = n3 − 1 , n−1 respectively. For n ≥ 5 it follows from the above that one of u or v is less than n − 2, which in turn implies that one of a or b is less than n − 1. The above shows that part of our search for Nicomachean identities is tied to the Diophantine analysis of positive definite quadratic forms. We shall see in Section 2 that the solutions of indefinite quadratic forms (“Pell’s equation”) is also a natural part of this search. Further pursuit of this “adjoin {a, b} procedure” leads many general Nicomachean type identities. Of particular interest is !2 7n−12 7n−12 X X j + (8n − 12) + (3n − 3) = j 3 + (8n − 12)3 + (3n − 3)3 . (1.1) j=1 j=1 Note the growing gap here between the two largest cubes (7n − 12)3 and (8n − 12)3 . Several natural questions about the gap will be answered in Section 6. A further main theme is the introduction of translation parameters, especially for sequences σ with ν(σ) = 0. For σ = {a1 , a2 , · · · , an }, let σ + t denote the translation of σ by t, defined by {a1 + t, a2 + t, · · · , an + t}. The simplest example here is n ν(1 + t, 2 + t, · · · , n + t) = − t(t + 1)(2t + n + 1). 2 This generalizes the classical identity to which it reduces upon letting t = 0, the first root of the right-hand side. Various translations of Nicomachean identities will be considered in this paper. Some translation examples are from the sequences satisfying ν = 0 such as {1, 1, · · · , 1, 2, 2, · · · , 2, · · · , n, n, · · · , n}, where each integer 1 to n is repeated same number of times. Another example is {1, 2, 2, 3, 4, 5, · · · , m − 1, m, m + 2},

Page 4

View in PDF(opens in a new window)
where 2 is added and m + 1 is deleted in {1, 2, · · · , m + 2}. Also of interest is {ai bj : 1 ≤ i ≤ p, 1 ≤ j ≤ q} where A = {ai }pi=1 and B = {bj }qj=1 satisfy ν = 0. This sequential product is called the “bag product” in [8]. These translations will be studied in Section 2 through Section 5. One could also translate a subsequence σ ∗ of σ. For example, if σ is {1, 2, 3, · · · , 23} and σ ∗ is the subsequence of elements of σ of the form 3k + 1, then σ with σ ∗ translated by t is σ(t) = {1 + t, 2, 3, 4 + t, 5, 6, · · · , 20, 21, 22 + t, 23} and ν(σ(t)) = −4t(t + 27)(2t − 1). For t = 1/2 we have a sequence of positive rational numbers, that includes non-integers, for which ν(σ) = 0. We know of no previous such example. See the front part of Section 6 for another example. In Section 7, we study the case of adjoining numbers to finite sequences of numbers so that each resulting sequence satisfying ν = 0. From the study of the sequence {n, n, · · · , n}, where the first n appears n times, adjoining an arithmetic progression of length n, leads to an interesting sequence with Fibonacci numbers with ν(σ) = 0. In Section 8 and Section 9, we start with a σ satisfying ν(σ) = 0, and consider first the case of adjoining one element at a time to σ, and then the case of simultaneously adjoining two elements. If {a, b} is adjoined to σ and a + b ̸= 0, the ν(σ; a, b) must have the quadratic factor −a + a2 − b − ab + b2 − 2c, where c is the sum of elements of σ. The geometry of such quadratics will be studied in Section 9. 2 TRANSLATIONS OF NICOMACHEAN IDENTITY AND THEIR REPETITIONS We know of no clear reference but it is not hard to show that n (2.1) ν(1 + t, 2 + t, · · · , n + t) = − t(2t + n + 1)(t + 1). 2 Here t = 0 is the original identity, t = −(n + 1)/2 leads to an example of the second simple case in the introduction, and t = −1 reduces to the original identity with n replaced by n − 1. The corresponding integral version is Z x 2 Z x 1 (z + t) dz − (z + t)3 dz = − t2 x(x + 2t). 2

Page 5

View in PDF(opens in a new window)
What can be said if each integer from 1 to n is repeated u + 1 times? Let R = R(u) = R(u)[ ] be the operator that replaces any argument x by u + 1 copies of x. For example R(3)[x] = {x, x, x, x}. Then ν ((R(u)[1], R(u)[2], · · · , R(u)[n]) + t)    n n(n + 1) = − (u + 1)(2t + n + 1) t(t + 1) − u + nt . 2 2 Here the case u = 0 reduces to the original identity (2.1), and the case t = −(n + 1)/2 to the simple case (2) in the introduction as before. The effect of the vanishing of the last factor is less transparent. The case of n = 2(u + 1) is of special interest. The last factor becomes (t + u + 1)(t − u(2u + 3)). The case t = −(u + 1) causes σ to be of the form described in case (3) in the introduction. The case t = u(2u + 3) is more interesting. For example, if u = 6 then n = 14 and t = 90. The translation of {1, 2, 3, · · · , 14} by 90 after a 7-fold repetition gives us a new sequence for which ν = 0. The search for other cases in which the last factor can be factored leads to Pell’s equation. The factorization of the last factor hinges on whether the discriminant with respect to t is a square, i.e., whether 1 + n2 (u2 + 2u) = y 2 has a solution in integers n, u and y. This can be written in the form y2 − 1 = n2 , m2 − 1 m=u+1 or in Pell’s equation form y 2 = (m2 − 1)n2 + 1. For example, when m = 6 we have y 2 = 35n2 + 1. By standard methods, we quickly find a formula for infinitely many solutions here. For example, 8462 = 35 · 1432 + 1. Here u = 5 and n = 143, so the last factor is (t − 780)(t + 66).

Page 6

View in PDF(opens in a new window)
The t = −66 root tells us that {−65, −64, · · · , −1, 0, 1, · · · , 76, 77} with each number repeated 6 times satisfies ν = 0, while the meaning of t = 780 is straightforward. In this m = 6 case the y 2 = 35x2 + 1 solutions have √ (6 + 35)b − (6 − 35)b √ x= 2 35 and x = 143 when b = 3. In summary, there are an infinity of sequences satisfying ν = 0 that are generated by solutions to an infinite number of Pell’s equations. We add that the integral analogue here is Z x 2 Z x (u + 1)(z + t) dz − (u + 1) (z + t)3 dz 0 0   2  x x 2 + xt . = − (u + 1)(2t + x) t − u 2 2 3 TRANSLATIONS OF OTHER NICOMACHEAN IDENTITIES There are σ with ν(σ) = 0 that have both arbitrarily small and arbitrarily large translations to other ν = 0 sequences. A family of such sequences is given by σ = {1, 2, 2, 3, 4, 5, 7, 8, 8, 10, 10, 12, 12, · · · , 2s, 2s}, where the first seven entries are as above and the remaining follow a simple pattern of twice repeated even numbers. It is not hard to show that ν = 0 here. Now ν(σ + t) = −t(−12 + (2s2 + 2s − 1)t + (2s + 1)t2 ). The above quadratic in t has the root (num)/(den) where √ num = 1 − 2s − 2s2 + 49 + 92s + 8s3 + 4s4 and den = 2 + 4s. Thus t → 0 as s → ∞. The product −12/(1 + 2s) of the quadratic’s roots has order 1/s, and the other root tends to −∞ as s → ∞. The sequence σm = {1, 2, 2, 3, 4, 5, · · · , m − 1, m, m + 2}

Page 7

View in PDF(opens in a new window)
satisfies ν = 0. Then the translation identity 1 1 2 2 ν(σm + t) = t −2(2 + t) − (t − 1)(3 + 2t)m − (t − 1)m 2 2 is a polynomial that is, not surprisingly, cubic in t. Here t = 0 returns us to the identity ν(σm ) = 0. We now ask, for what values of t other than 0 do we have ν = 0? The quadratic formula yields the positive root p −16 − m − m2 + m(−48 + 73m + 10m2 + m3 ) t = t(m) = . 4(m + 2) This is easily seen to have the limit 1 as m → ∞. This suggests that for large m, ν(σm + 1) = ν(2, 3, 3, 4, 5, · · · , m − 1, m + 1) would be near zero. But the above translation identity shows that ν(σm + 1) = −18 (3.2) for m ≥ 5. This also follows from the identity  2  2  m(m + 1) m(m + 1) − 1 + 33 + (m + 2)3 = −18. − 1 + (m + 2) + 3 − 2 2 This is reminiscent of the fact that for any c ̸= R 10 there are sequences of smooth functions fn (x) on [0, 1] such that limn→∞ fn (x) exists, 0 fn (x)dx = 0 for every integer n ≥ 1, yet R1 limn→∞ fn (x)dx = c. 0 4 LIOUVILLE’S IDENTITY AND SEQUENCE MULTIPLICATION The earliest non-trivial generalization of the Nicomachean identity is Liouville’s  2 X X  τ (d) = τ (d)3 , d|n (4.1) d|n where τ (d) is the number of positive divisors of n. For d = pn , p a prime, this is simply the original identity. The basic principle here is that if two sequences A = {ai }pi=1 and B = {bj }qj=1 satisfy ν = 0, then so does the sequence product (“bag product”) A∗∗ B = {ai bj : 1 ≤ i ≤ p, 1 ≤ j ≤ q}.

Page 8

View in PDF(opens in a new window)
We write the product as A∗∗n if it is the product of n copies of the sequence A. Then we observe that !n p p X X ν (A∗∗n ) = ai − ai 3 = c ν(A) (4.2) i=1 i=1 for some constant c. For example  !2 p X  ai ν A∗∗2 =  i=1  p + X ai 3  ν(A). i=1 We shall examine translations of such products. Let n = pα1 1 · · · pαr r be the standard prime factorization of n. Then the positive divisors of n are of the form pa11 · · · par r , where 0 ≤ ai ≤ αi for 1 ≤ i ≤ r, and so (4.1) implies that 2  X   X ((a1 + 1)(a2 + 1) · · · (ar + 1))3 . = (a + 1)(a + 1) · · · (a + 1)   1 2 r 0≤ai ≤αi 1≤i≤r 0≤ai ≤αi 1≤i≤r Add t to each entry of above and consider the squared sum minus the cube sum. Then a straightforward computation yields that 2  X   X ((a1 + 1)(a2 + 1) · · · (ar + 1) + t)3 ((a1 + 1)(a2 + 1) · · · (ar + 1) + t) −  0≤ai ≤αi 1≤i≤r 0≤ai ≤αi 1≤i≤r r Y =−t (αi + 1)fr (t), i=1 where ! r r   Y Y α i fr (t) = t2 − (αi + 1) − 3 +1 t− 2 i=1 i=1 r r  α Y Y 1 i +1 +3 (αi + 2)(2αi + 3). 2 (αi + 1) 2 6 i=1 i=1 (4.3) We shall consider the roots of the quadratic polynomial fr (t). This takes us beyond the set of integers. It is easily checked that the discriminant of fr (t) is positive, and we now create the sequence t(r, m), where t(r, m) is the right-most root of fr (t). Observe that for a sequence of numbers generated by successive values of a quadratic polynomial, the second difference is constant. The sequence t(r, m) need not be a sequence of values of some polynomial, but it has the property that the second difference converges.

Page 9

View in PDF(opens in a new window)
Proposition 1. For r = 2 and α1 = α2 = m − 1, the sequence of second differences of 1  t(2, m) = 3(−3 − 6m + m2 ) + 3(−1 + m)2 (11 + 34m + 35m2 ) 24 converges to √ 105 (4.4) 12 and the smaller root converges to the algebraic conjugate of the above as m → ∞. Hence for A = {1, 2, 3, · · · , m}, the sequence of second differences of the right-most roots of ν (A∗∗2 + t) converges to (4.4). 3+ Remark 2. If α1 = α2 = · · · = αr = k for r ≥ 1, then the rth difference of the sequence of the right-most roots seems to converge to a constant as k → ∞. Those constants are  √  1 √  1  √ 1 1  3 + 105 , 15 + 545 , 117 + 20985 , − , 2 12 8 12  5   √ √ 5  261 + 84761 , 1647 + 3036705 24 24 for r = 1, 2, · · · , 6, respectively. 5 THE A∗∗B CASE, B AN A-TRUNCATION Consider the case r = 2 and α1 = m − 1, α2 = r − 1 with r < n. Then fr (t) in (4.3) equals fr (t) =  1 (m + 1)(r + 1)(2mr − 2n − 2r − 1) + 3(mr − 3m − 3r − 3)t − 12t2 , 12 i.e., ν(A∗∗ B + t) = −mrtfr (t), where A = {1, 2, 3, · · · , m} and B = {1, 2, 3, · · · , r}. As before, create the sequence of the right-most roots of the above quadratic. Here the first difference of the sequence converges to  √ p 1  3r + 3 (5r + 1)(7r − 5) − 9 . (5.1) 24 as m → ∞. For examples, if r = 2, 3, 4, (5.1) becomes  √  1 √ 2 1 33 − 1 = 0.593070 · · · , √ = 1.15470 · · · , 1 + 161 = 1.71107 · · · . 8

Page 10

View in PDF(opens in a new window)
These have minimal polynomials −2 + x + 4x2 , −4 + 3x2 , −10 − x + 4x2 , respectively. We now rescale the minimal polynomials of the various limiting values of the first differences. For example, replace −4 + 3x2 and −10 − x + 4x2 by −8 + 6x2 and − 20 − 2x + 8x2 . By doing this to get successive even coefficients for the x2 term, we find a general formula: − m(m + 1)(m + 2) 1 − (m − 2)(m + 1)x + 2(m + 1)x2 . 3 2 (5.2) This (5.2) has rather nice discriminants: 1 (m + 1)2 (6 + 5m)(2 + 7m), 12 1 ∆m = 4 (2 + 9x + 12x2 )2 (16 + 72x + 105x2 ). 6 ∆x = Here the first difference of the sequence of the right-most roots of (5.2) converges to √ 3 + 105 0.551956 · · · = 24 that is same as (4.4) divided by 2. This seems to not be a coincidence. 6 FRACTIONS, LARGE DENOMINATORS, AND GAPS By translation of subsets we can find additional solutions to ν(σ) = 0 with the elements of σ being positive rational numbers not all integers. Here are two examples involving arithmetic progressions modulo 7. For σ ∗ a subset of σ, let σ/σ ∗ be the set obtained from σ by removing all elements of σ ∗ . Write {σ; σ ∗ → σ ∗ + t} = (σ/σ ∗ ) ∪ (σ ∗ + t). If σ = {1, 2, · · · , 67} and σ ∗ = {3, 10, 17, · · · , 66} we have ν(σ; σ ∗ → σ ∗ + t) = −5t(t + 91)(2t + 5) and t = −5/2 gives an example. For σ = {1, 2, · · · , 19} and σ ∗ = {6, 13}, we have a shorter example. Here ν(σ; σ ∗ → σ ∗ + t) = −t(t + 29)(2t − 5)

Page 11

View in PDF(opens in a new window)
and t = 5/2 gives 31 17 τ = 1, 2, 3, 4, 5, 7, 8, , 9, 10, 11, 12, 14, 15, , 16, 17, 18, 19 2 2 (6.1) with ν(τ ) = 0. Proposition 3. There exist a sequence σ with positive rational elements and non-integers p/q, with (p, q) = 1 and q arbitrarily large, such that ν(σ) = 0. Proof. Iterate w → τ ∗∗ w with initial condition w = τ in (6.1). Then the nth iteration has a positive rational element p/2n+1 where p is odd, e.g., p = 17n+1 . Next ν(τ ∗∗(n+1) ) = 1952 ν(τ ∗∗n ), where 195 is the sum of all elements of the sequence τ . In fact, the sum of all elements of τ ∗∗(n+1) is the sum of all elements of τ ∗∗n multiplied by 195 and the sum of cubes of all elements of τ ∗∗(n+1) is the sum of cubes of all elements of τ ∗∗n by 38025 = 1952 , where 38025 is the sum of cubes of all elements of τ . Since ν(τ ) = 0, the result follows. How large is the gap of the elements of the sequence with positive integer entries such that ν = 0? By iterating w → {1, 2}∗∗ w with initial condition w = {1, 2}, we produce sequences having the largest gaps that are halves of their lengths. The proof of Proposition 6 demonstrates this. There is a sequence that have the largest gap exceeding half of its length. An example is {6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 10, 17}. So if they exist, there seems to be three types of sequences with positive integer entries and ν = 0 concerning the largest gaps among their elements: (1) for any ϵ > 0, the sequences where the ratio of the largest gap to the length is greater than 1 − ϵ, (2) the sequences of independent interest that have size-able the largest gaps, (3) the sequences having the property that the gap between the two largest integers can be arbitrarily large. There exist sequences that satisfy the case (1) mentioned above. Proposition 4. For any ϵ > 0, there is a sequences with only two positive integer items such that the largest gap length

Page 12

View in PDF(opens in a new window)
Proof. Consider the sequence {n, n, n, · · · , n} with length n. Also consider {n2 , n2 , · · · , n2 } with length n2 − 2. Joining these sequences results in a sequence with length n2 + n − 2, and the largest gap in this sequence is n2 − n. Therefore, the ratio of the largest gap to the length is given by n2 − n n2 + n − 2 which tends to 1 as n → ∞. However ν = 0 for this sequence. In fact, the sum of the elements in the sequence is given by n2 + (n2 − 2)n2 = n4 − n2 , while the sum of the cubes of the elements is n4 + (n2 − 2)n6 = n8 − 2n6 + n4 . Since the latter is the square of the former, the result follows. We provide an example related to the sequences mentioned in case (2). Consider the sequence: {1, 2, 3, · · · , 94, 94 + 1, m, m, · · · , m}, where m is repeated 2 · 94 times, and we choose m = 228. This sequence satisfies ν = 0, and the largest gap in this sequence is 228 − 95 = 133. The general pattern for such sequences is given by: {1, 2, 3, · · · , j, j + 1, m, m, · · · , m}, (6.2) where positive integer m is repeated 2j times, for appropriate j and m. This implies that p m = j + 2j 2 + 3j + 2, and it is related to the Pell-type equation 2x2 + 3x + 2 = r2 . It is interesting that a positive integer r satisfying the above equation is connected to the coefficients of certain Chebyshev polynomials. References for this can be found in [10] and in the OEIS integer sequences A056161 and A055979. By elementary methods, we can obtain the following results. We omit the proof for brevity. Proposition 5. If the sequence (6.2) satisfies ν = 0, then the j’s are generated by x4 + x3 − 19x2 − 5x − 2 (x − 1)(1 − 6x + x2 )(1 + 6x + x2 )

Page 13

View in PDF(opens in a new window)
and the corresponding m’s are generated by (1 − x)(1 − 6x + x2 )(1 + 6x + x2 ) Finally, we give a constructive proof about the existence of the third type of sequences. Proposition 6. There are sequences with positive integer entries in which the gap between the largest two integers can be arbitrarily large and ν = 0. Proof. Iterate w → {1, 2}∗∗ w with initial condition w = {1, 2}. Then we see that {1, 2}∗∗(n+1) is the join of {1, 2}∗∗n and 2{1, 2}∗∗n . So the sequence {1, 2}∗∗(n+1) ends in 2n and 2n+1 in increasing order and has length 2n+1 while 2n+1 − 2n = 2n . Now ν(1, 2) = 0 and  ν {1, 2}∗∗(n+1) = 32 ν ({1, 2}∗∗n ) since the sum of all elements of {1, 2}∗∗(n+1) is the sum of all elements of {1, 2}∗∗n multiplied by 3 and the sum of cubes of all elements of {1, 2}∗∗(n+1) is the sum of cubes of all elements of {1, 2}∗∗n by 32 (= 13 + 23 ). Since ν ({1, 2}∗∗n ) = 0, the result follows. Finally we introduce a sequence containing some interesting irrational numbers with ν = 0. √ Proposition 7. There exist a sequence σ with positive algebraic integers from Q( 5) such that more than half of σ are irrational and ν(σ) = 0. Let ϕ be the golden ratio. Then given N > 0, there exists such a sequence containing all of the numbers (1/ϕ)n for 1 ≤ n ≤ N . Proof. Take a set {1, 2, 3, 4, 5, 6} and multiply (rather than translate by t) the subset {2, 4, 6} by the variable x. Then for Ax = {1, 2x, 3, 4x, 5, 6x}, ν (Ax ) = −72(x − 1)(4x2 + 2x − 1) = 0 √  when x = (1/4) −1 + 5 , and 2x = 1/ϕ. This x gives us positive algebraic integers 2x, 4x, 6x with minimal polynomials x2 + x − 1, x2 + 2x − 4, x2 + 3x − 9, √  respectively. Iterate w → A∗∗ 5 a x w with initial condition Ax , where x = (1/4) −1 + sufficient number of times. Then ν = 0 for the resulting sequence by (4.2), and since the product of a non-zero rational with a positive irrational is irrational, the irrationals will ultimately dominate. Also, since Ax has both 1 and 1/ϕ, we obtain the powers of 1/ϕ.

Page 14

View in PDF(opens in a new window)
ADJOINING NUMBERS TO SEQUENCES For m ≥ 2, ν(σ) = −(x − m − 1)x(x + m), where σ = {1, 2, 3, · · · , m, x}. This says if we want x to preserve the Nicomachian relation we can go forward with x = m + 1, go back with x = −m , or do nothing (x = 0). Going forward involves the number m + 1, the “positive root”. Toward “positive root” direction, we let {a1 , a2 , · · · , an } be a finite sequence of real numbers, and keep adjoining nonzero real numbers x1 , x2 , · · · with xj ̸= −xj−1 for each j so that each resulting sequence satisfies ν = 0. Then for l ≥ 2, it follows from ν (a1 , a2 , · · · , an , x1 , x2 , · · · , xl ) = ν (a1 , a2 , · · · , an , x1 , x2 , · · · , xl , xl+1 ) = 0 that n X !2 + x3l+1 = ak + x 1 + x 2 + · · · + x l = a3k + x31 + x32 + · · · + x3l + x3l+1 k=1 k=1 " n X n X !2 # ak + x1 + x2 + · · · + xl + xl+1 k=1 and so x2l+1 = xl+1 + 2 n X ! ak + x 1 + · · · + x l . (7.1) k=1 Similarly we get x2l = xl + 2 n X ! ak + x1 + · · · + xl−1 . (7.2) k=1 Substraction (7.2) from (7.1) gives x2l+1 − x2l = xl+1 − xl + 2xl = xl+1 + xl , which implies that the adjoined numbers x2 , x 3 , x 4 , · · · form an arithmetic progression with difference 1. Putting the above together, we have the following.

Page 15

View in PDF(opens in a new window)
Proposition 8. Let {a1 , a2 , · · · , an } be a finite sequence of real numbers, and keep adjoining nonzero real numbers x1 , x2 , x3 , · · · with xj ̸= −xj−1 for each j so that each resulting sequence satisfies ν = 0. Then the adjoined numbers x2 , x 3 , x 4 , · · · form an arithmetic progression with difference 1. As an example, consider σ = {a1 , a2 , · · · , am+1 } = {1, h, h, · · · , h}, where a real number h is repeated m times, and suppose {1, h, h, · · · , h, x1 , x2 , · · · }, where xj ̸= −xj−1 for each j, and each sequence {1, h, h, · · · , h, x1 , x2 , · · · , xj }, (j ≥ 2), satisfies ν = 0. Then by Proposition 8, {x2 , x3 , x4 , · · · } is an arithmetic progression with difference 1. Then using computer algebra, we can show that the substraction of 1/2 from the first element of this arithmetic progression, i.e. x2 − 1/2, is a root of the polynomial P (h, m, x) = c0 + c2 x2 + c4 x4 + x6 , where   1 −512h3 m3 − 1728h2 m2 + 8h 64h2 − 243 m − 225 , 64  1 192h2 m2 + 432hm + 259 , c2 = 16 1 c4 = (−24hm − 35). 4 c0 = Moreover P (h, m, x) − P (m, h, x) = 8hm(h − m)(h + m). Next we obtain an interesting sequence with Fibonacci numbers satisfying ν = 0. The sequence {n, n, · · · , n},

Page 16

View in PDF(opens in a new window)
where the first n copies n times, has ν = 0. A natural problem might be “when can one extend the sequence (7.3) by an arithmetic progression of length n to obtain a sequence with ν = 0?”. Let S = {n, n, · · · , n, a, a + s, a + 2s, · · · , a + (n − 1)s}, where the first n copies n times. This is made of a join of (7.3) and an arithmetic progression of length n with difference s. Then a direct computation yields    1 1 2 2 2 2n + na − a + n(n − 1)(s − s ) − (n − 1)as . ν(S) = na + n(n − 1)s 2 2 If the first factor is set equal to zero, then 1 a = − (n − 1)s 2 and S becomes the join of {n, n, · · · , n} and   1 1 1 1 1 1 − (n − 1)s, − (n − 3)s, − (n − 5)s, · · · , (n − 5)s, (n − 3)s, (n − 1)s 2 2 2 2 2 2 whose sum and the sum of cubes are both zero, and so only trivialities emerge. So our main question would be “for what n can the second factor be divisible by a − h where h is a positive integer?”. The second factor has the discriminant Disca = (9 − s2 )n2 + s2 . This is negative for n ≥ 2 and s ≥ 4. For s = 3, the second factor becomes −(−3 + a + n)(a + n). Hence only s ≤ 2 is of interest. Below Fk represents a Fibonacci number. Proposition 9. For s = 1, the second factor is divisible by a−h where h is a positive integer if and only if n2 is a triangular number. For s = 2, the second factor is divisible by a − h where h is a positive integer if and only if n = F2k where k is a positive integer. Moreover in this case a = F2k−1 + 1. Proof. For s = 1, the second factor is

Page 17

View in PDF(opens in a new window)
and its discriminant is Disca = 1 + 8n2 . This is a perfect square exactly when n2 is a triangular number, and in this case (7.4) = 0 implies that √ 1 a = (1 + 1 + 8n2 ) 2 is a positive integer. For s = 2 the second factor above is G = n2 + (1 − a)n − a2 + 2a and Disca G = 4 + 5n2 . This is a perfect square exactly when n = F2t , where t ≥ 1. In this case  q  1 √ 1 2 2 a = 2 − n + 5n + 4 = 2 − F2t + 5F2t + 4 2 2 =F2t−1 + 1. (7.5) From above proposition, we get interesting sequences with Fibonacci numbers satisfying ν = 0. Example 10. Let S = {F2n−1 + 1, F2n−1 + 3, F2n−1 + 5, · · · , F2n+2 − 1}. (F ) Then S is an arithmetic progression with difference 2 and length F2n . Let A = F2n 2n . Then the following sequences have ν = 0: A, {A; S}, {A; S; S + F2n }, {A; S; S + F2n ; S + 2F2n }, .. {A; S; S + F2n ; S + 2F2n ; · · · ; S + mF2n }.

Page 18

View in PDF(opens in a new window)
ADJOINING A FEW NUMBERS TO SEQUENCES There is a fairly simple type of sequence of positive integers with the following property: if a single variable is adjoined and the ν operator applied, the resulting cubic factors completely over the integers, and two of the roots are consecutive positive integers. Example 11. An example is {1, 2, 2, 3, 4, 4, 5, 6, 8, 10, 12, x}, where ν of this equals −(x − 6)(x − 7)(x + 12). Another interesting example is the join, say An , of {1, 2, 3, · · · , 2n + 1}, {2, 4, 6, · · · , 2n}, {2(n + 1), 2(n + 2), · · · , 2(n + (n + 2))}. Here ν(An ; x) = −(2 + 2n − x)(3 + 2n − x)(4 + 4n + x). In another direction, one could search for σ with ν(σ) = 0 for many σ of the form {1, 2, 3, · · · , m, a, b} and look for patterns, especially for m belonging to particular arithmetic progressions. An infinite number of such identities with m of the form 7n − 12 is given by the identity (1.1) of the introduction. It has the remarkable feature that if the 3n − 3 is replaced by 5n − 8 on each side in (1.1), the equality remains valid. There is also a “nearby” identity, namely 2 (7n − 10)(7n − 9) + (8n − 10) + (3n − 4) 2  2 (7n − 10)(7n − 9) = + (8n − 10)3 + (3n − 4)3 . 2  Here, if the 3n − 4 terms are replaced by 5n − 5, the equality remains true. Another identity of this type is  2 (13n + 35)(13n + 36) + (15n + 42) + (7n + 21) 2  2 (13n + 35)(13n + 36) = + (15n + 42)3 + (7n + 21)3 ,

Page 19

View in PDF(opens in a new window)
and this remains true with (7n + 21) replaced by (8n + 22). Yet another is (13n + 42)(13n + 43) + (15n + 50) + (7n + 3) 2 2  (13n + 42)(13n + 43) + (15n + 50)3 + (7n + 3)3 , = 2 which remains true if 7n + 3 is replaced by (8n + 28). There is another observation to make here. In the identity (1.1), replace every 7n by the variable expression tn. Then the difference of the two sides is n(t − 7)(11n − 15)(n(t + 7) − 23). In fact each side satisfies, as a function of t, the functional equation   23 −7 . f (7) = f n Similar remarks to apply to the other identities. For an example in which the two sides have the same general form as those displayed here, but whose difference is a non-zero constant, see (3.2). Next, here is an “adjoin {a, b} procedure” that starts with a σ such that ν(σ) is not zero. It leads to a new infinite class of sequences satisfying the Nicomachean identity. Omit m from {1, 2, 3, · · · , n} and then adjoin {a, b}. For the case of m = 1, there are two non-integer rational numbers a and b extending {2, 3, 4, · · · , n} that satisfy Nicomachean identity. To show this we let p(n) = (1 + n)(1 + 2n + 5n2 + n3 ), q(n) = (1 + 2n)(1 + n + n2 ). Note that p(n) − p(−(n + 1)) = (1 + 2n)3 . Define a sequence R(n) of n + 2 elements by   −p(−(1 + n)) p(n) , . R(n) = 2, 3, 4, · · · , n, q(n) q(n) Then R = R(n) satisfies Nicomachen identity. Note that the sum of the additional two elements is −p(−(1 + n)) p(n) (1 + 2n)2 + = . q(n) q(n) 1 + n + n2 For m ≥ 2, we have {1, 2, · · · , m − 1, m + 1, m + 2, · · · , n, a, b}. Take (2n + 1)(1 − 3m + 3m2 + n + n2 )

Page 20

View in PDF(opens in a new window)
for the denominator of both a and b. Then use (n − (m − 1))A as the numerator of a and (n + m)B of b, where A = 3m3 + (−1 + 3m + 3m2 )n + (3m − 1)n2 − n3 and B = 1 − 3m2 + 3m3 + (2 + 3m − 3m2 )n + (3m + 2)n2 + n3 . Then adjoin {a, b} to {1, 2, 3, · · · , n} where the m(≥ 2) has been removed. This sequence satisfies the Nicomachean identity. A useful check here is that a+b= 9 m(2n + 1)2 . 3m2 − 3m + 1 + n + n2 THE GEOMETRY OF ADJOINING {a, b} TO SEQUENCES 40 20 0 -20 -40 -40 -20 0 20 40 Figure 1: ν({1, 2, · · · , n, a, b}) = 0, where n = 8 It seems peculiar that definite and indefinite quadratic forms play a significant role in a study of a cubic nature. But when ν(σ) = 0 and {a, b} is adjoined to σ, the ν(σ; a, b) must have a factor a + b. In fact, ν(σ; a, b) = ν(σ) + a2 + b2 + 2c(a + b) + 2ab − (a3 + b3 ) = −(a + b)(−a + a2 − b − ab + b2 − 2c),

Page 21

View in PDF(opens in a new window)
where c is the sum of elements of σ. Upon discarding this factor we are left with quadratic polynomials. The p ellipse formed by setting any these quadratic polynomials equal to zero has eccentricity 2/3. These quadratic polynomials depend on c. For example, the two sequences σ1 = {1, 2, 3, 3, 3, 5, 5, 6, 7, 9, 10, 12}, σ2 = {1, 2, 3, · · · , 10, 11} satisfy ν = 0 and c = 66 is the sum of elements of both sequences, and the corresponding “adjoined” quadratic polynomial is a − a2 + b + ab − b2 + 132. The three sequence products originated from σ1 and σ2 are σ1∗∗ σ1 , σ1∗∗ σ2 , and σ2∗∗ σ2 that induce the same “adjoined” quadratic polynomial with c = 662 . Here the “three” is from  2+2−1 = 3, the number of combinations with repetition. Continuing to triple products, we 2 have 2+3−1 =4 3 (σ1∗∗ σ1 )∗∗ σ1 , (σ1∗∗ σ1 )∗∗ σ2 , (σ1∗∗ σ2 )∗∗ σ2 , (σ2∗∗ σ2 )∗∗ σ2 ,  −1 that induce the same quadratic polynomial with c = 663 . In general we have 2+N = N +1 N sequence products with the same quadratic polynomial, where c = 66N and we can obtain the following. Proposition 12. For any positive integer N there are at least N distinct sequences σ with ν(σ) = 0 such that each ν(σ; a, b) has the same quadratic polynomial factor. If we retain the a + b factor and plot ν(σ; a, b) = 0 in the (a, b) plane, we have a line cutting through an ellipse. Since a line is a degree 1 curve and an ellipse a degree 2 curve, we have (1 + 2 = 3) a degenerate cubic. For example, Figure 1 shows the locations of (a, b) where ν({1, 2, · · · , 8, a, b}) = 0. Now wn = {1, 2, 2, 3, 4, 5, · · · , n}, n ≥ 3, has ν(wn ) = 2(−2 + n + n2 ) ̸= 0, and the locus of ν(wn ; a, b) = 0 is such a typical cubic curve. Here we have  2 1 1 2 3 4 3 3 2 ν(wn ; a, b) = (−32 − n − 2n − n ) − a − b + (4 + n + n ) + a + b 4 = 2(−1 + n)(2 + n) + (4 + n + n2 )a + a2 − a3 + (4 + n + n2 )b + 2ab + b2 − b3

Page 22

View in PDF(opens in a new window)
A natural way to search for a and b with ν(wn ; a, b) = 0 is to put the cubic into Weierstrass normal form. Consider hn (u, y) = −3y 2 + 1 (2u + n + 2)Pn (u), 16 where Pn (u) = 3(n + 2)3 + 2(n2 + 20)u − 4(3n + 2)u2 − 8u3 is a cubic polynomial in u. Then hn (u, y) = 0 is essentially in Weierstrass normal form. With a+b n+2 a2 − b 2 u= − , y= , 2 2 4 we may compute that the hn (u, y) becomes 1 (a + b)ν(wn ; a, b). 4 In the above particular example with n = 8, the curve ν(w8 ; a, b) = 0 is given by 140 + 76a + a2 − a3 + 76b + b2 − b3 + 2ab = 0. As shown in Figure 2, the locus of this consists of a smooth finite oval disjoint from a smooth infinite curve that is a configuration reminiscent of a textbook plot of certain typical real loci of cubic (elliptic) curves. Moreover, as n increases the corresponding sequence of cubic curves displays a nested sequence of smooth ovals. For this see Figure 3. For the case n = 8 again, a numerical search gives the points (0, 10), (10, 0), (9, 11) and (11, 9) on the infinite curve and many integer points with coordinates at most 0 on the finite oval. For example, (0, −2), (0 − 7), (−2, −8) and (−8, −2) are there. For (a, b) = (11, 9) we have τ = {1, 2, 2, 3, 4, · · · , 9, 11}. an example of one of the σm sequences studied in Section 3. Note that for all n we have ν(wn ; −1, −1) = −6 and every finite oval is tangent to the line a + b = −2 at (0, −2) and (−2, 0). The infinite curve is asymptotic to the line

Page 23

View in PDF(opens in a new window)
20 0 0 -20 -20 -40 -40 -40 -40 -20 0 20 -20 0 20 40 40 Figure 3: ν(wn ; a, b) = 0, where n = 7, 8, 9. Figure 2: ν(w8 ; a, b) = 0 References [1] E. Barbeau, S. Seraj, Sum of cubes is square of sum, Notes on Number Theory and Discrete Math., 19 (2013), 1-13. [2] J. L. Cereceda, A simple generalization of Nicomachus’ identity, Math. Mag., 96 (2023), 66-75. [3] H. Fejzić, D. Rinne, B. Stein, On sums of cubes, College Math. J., 36 (2005), 226-228. [4] S.-H. Kim, K. B. Stolarsky, Twin Nicomachean q-identities and conjectures for the associated discriminants, polynomials, and inequalities, Int. J. Number Theory, 17 (2021), 621-645. [5] M. S. Klamkin, D. J. Newman, Inequalities and identities for sums and integrals, Amer. Math. Monthly, 83 (1975), 26-30. [6] P. Loomis, Two results on sums of cubes, Math. Gaz., 95 (2011), 506-510. [7] F. Luca, G. Polanco, W. Zudilin, A variation on the theme of Nicomachus, Bull. Aust. Math. Soc., 97 (2018), 367–373. [8] J. Mason, Generalising ’Sums of Cubes Equal to Squares of Sums’, Math. Gaz., 85 (2001), 50-58. [9] D. Pagni, An intersting number fact, Math. Gaz., 82 (1998), 271-273.

Page 24

View in PDF(opens in a new window)
[10] H. J. Rack, On the length and height of Chebyshev polynomials in one and two variables, East J. Approx., 16 (2010), 35-91 [11] S. O. Warnaar, On the q-analogue of the sum of cubes, Electron. J. Comb., 11 (2004),