This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A332083 #63 Mar 05 2022 01:20:30 %S A332083 -2,-1,-1,-1,-1,-2,1,-1,2,2,-1,1,-6,-2,-1,-3,-2,-2,-2,-2,-3,-1,-2,-6, %T A332083 1,-2,6,2,-2,3,3,-2,2,6,-2,1,-2,2,-1,-1,2,-2,1,2,2,2,2,1,-12,-3,-1,-6, %U A332083 -3,-2,-4,-3,-3,-3,-3,-4,-2,-3,-6,-1,-3,-12,1,-3,12,2,-3,6,3,-3,4,4,-3,3,6,-3,2,12,-3,1 %N A332083 Three-column table read by rows giving triples of integers with x, y, z != 0 and y != 1 such that y^2 - y - x*z = 0, sorted by the absolute value of y with the negatives first, then by x in ascending order. %C A332083 All of the comments for A336013 also describe this table. Remember that id = -z/y and theta = -y/x. %C A332083 Id and theta are both integers only for rows with x = +-1. - _David Lovler_, Feb 12 2022 %C A332083 There exist pairs of rows [x1, y1, z1] and [x2, y2, z2] for which id_2 = theta_1 and theta_2 = id_1 making id_1/theta_2 + id_2/theta_1 = 1 + 1 = 2. They provide the simplest instances of summing two rows and getting a triple for which y^2 - y - x*z = 0. In these cases the sum of the two rows is always [0, 1, 0] which is not in the table but corresponds to 0*a*b + 1*(a+b) + 0 = a + b. %C A332083 Proof that when id and theta are switched, f_1(a,b) and f_2(a,b) sum to a + b: %C A332083 Given id_2 = theta_1 and theta_2 = id_1, %C A332083 f_1(a,b) = (a*b - theta_1*(a+b) + id_1*theta_1)/(id_1 - theta_1) %C A332083 f_2(a,b) = (a*b - theta_2*(a+b) + id_2*theta_2)/(id_2 - theta_2) %C A332083 f_2(a,b) = (a*b - id_1*(a+b) + theta_1*id_1)/(theta_1 - id_1) %C A332083 f_2(a,b) = (-a*b + id_1*(a+b) - id_1*theta_1)/(id_1 - theta_1) %C A332083 f_1(a,b) + f_2(a,b) = (a*b - a*b + (id_1 - theta_1)*(a+b) + id_1*theta_1 - id_1*theta_1)/(id_1 - theta_1) = a + b. QED. %C A332083 With the introduction of negative x, y and z we have the possibility of summing three rows to a triple for which y^2 - y - x*z = 0, and each pair of the three rows sums to a row. This was not possible in A336013. However when this happens, the result is not a row. This is because in these cases, the sum of three rows is always [0, 1, 0]. %C A332083 Proof that if three rows pairwise sum to another row, then all three sum to [0, 1, 0]: %C A332083 Lemma. If [x, y, z] is a row, then [0, 1, 0] - [x, y, z] is a row. %C A332083 Proof of lemma. [0, 1, 0] - [x, y, z] = [-x, 1-y, -z]. Rename this triple [X, Y, Z] and show that Y^2 - Y - X*Z = 0. Y^2 - Y - X*Z = (1-y)^2 - (1-y) - (-x)*(-z) = 1 - 2y + y^2 - 1 + y - x*z = y^2 - y - x*z = 0. %C A332083 Corollary. If [x, y, z] is not a row, then [0, 1, 0] - [x, y, z] is not a row %C A332083 Given rows [x1, y1, z1] and [x2, y2, z2] that sum to another row. By the lemma, [0, 1, 0] - ([x1, y1, z1] + [x2, y2, z2]) = a row, call it [x3, y3, z3]. Rearranging the equation first so that [x1, y1, z1] alone is on the right side we see that [x2, y2, z2] + [x3, y3, z3] is a row, and second so that [x2, y2, z2] alone is on the right side we see that [x1, y1, z1] + [x3, y3, z3] is a row. Finally, moving all the triples to the right side we get [0, 1, 0] = [x1, y1, z1] + [x2, y2, z2] + [x3, y3, z3]. QED. %H A332083 David Lovler, <a href="/A332083/b332083.txt">Table of n, a(n) for n = 1..4368</a> %H A332083 David Lovler, <a href="/A332083/a332083_1.txt">The first 3912 triples for y up to 60</a>. %H A332083 David Lovler, <a href="/A332083/a332083_1.pdf">Comments and examples</a> %F A332083 x = (y^2 - y)/z. %F A332083 y = (1 +- sqrt(1 + 4*x*z))/2. %F A332083 z = (y^2 - y)/x. %e A332083 Table begins: %e A332083 [ x, y, z] %e A332083 ------------- %e A332083 [-2, -1, -1]; %e A332083 [-1, -1, -2]; %e A332083 [ 1, -1, 2]; %e A332083 [ 2, -1, 1]; %e A332083 [-6, -2, -1]; %e A332083 [-3, -2, -2]; %e A332083 [-2, -2, -3]; %e A332083 [-1, -2, -6]; %e A332083 [ 1, -2, 6]; %e A332083 [ 2, -2, 3]; %e A332083 [ 3, -2, 2]; %e A332083 [ 6, -2, 1]; %e A332083 [-2, 2, -1]; %e A332083 [-1, 2, -2]; %e A332083 [ 1, 2, 2]; %e A332083 [ 2, 2, 1]; %e A332083 ... %e A332083 Examples of two rows that sum to [0, 1, 0] and ids and thetas are switched: %e A332083 [x1, y1, z1] + [x2, y2, z2] = [2, 2, 1] + [-2, -1, -1] = [0, 1, 0], %e A332083 f_1(a,b) + f_2(a,b) = (2a*b + 2(a+b) + 1) + (-2a*b - (a+b) - 1) = a + b; %e A332083 id_1 = -z1/y1 = -1/2, theta_1 = -y1/x1 = -1, %e A332083 id_2 = -z2/y2 = -1 = theta_1, theta_2 = -y2/x2 = -1/2 = id_1; %e A332083 id_1/theta_2 + id_2/theta_1 = (-1/2)/(-1/2) + (-1)/(-1) = 2. %e A332083 [x1, y1, z1] + [x2, y2, z2] = [15, 6, 2] + [-15, -5, -2] = [0, 1, 0], %e A332083 f_1(a,b) + f_2(a,b) = (15a*b + 6(a+b) + 2) + (-15a*b - 5(a+b) - 2) = a + b; %e A332083 id_1 = -z1/y1 = -1/3, theta_1 = -y1/x1 = -2/5, %e A332083 id_2 = -z2/y2 = -2/5 = theta_1, theta_2 = -y2/x2 = -1/3 = id_1; %e A332083 id_1/theta_2 + id_2/theta_1 = (-1/3)/(-1/3) + (-2/5)/(-2/5) = 2. %e A332083 Example of three rows that sum to a triple with y^2 - y - x*z = 0 and the rows pairwise sum to a row: %e A332083 [1, 7, 42] + [2, 8, 28] + [-3, -14, -70] = [0, 1, 0] and %e A332083 [1, 7, 42] + [2, 8, 28] = [3, 15, 70], another row; %e A332083 [1, 7, 42] + [-3, -14, -70] = [-2, -7, -28], another row; %e A332083 [2, 8, 28] + [-3, -14, -70] = [-1, -6, -42], another row. %o A332083 (PARI) { my(y=1); fordiv (y^2+y, x, print([-(y^2+y)/x, -y, -x]) ); %o A332083 fordiv (y^2+y, x, print([x, -y, (y^2+y)/x]) ); %o A332083 for (y = 2, 6, fordiv (y^2+y, x, print([-(y^2+y)/x, -y, -x]) ); %o A332083 fordiv (y^2+y, x, print([x, -y, (y^2+y)/x]) ); %o A332083 fordiv (y^2-y, x, print([-(y^2-y)/x, y, -x]) ); %o A332083 fordiv (y^2-y, x, print([x, y, (y^2-y)/x]) ) )} \\ _David Lovler_, Apr 01 2021 %Y A332083 Cf. A336013. %K A332083 sign,tabf %O A332083 1,1 %A A332083 _David Lovler_, Aug 22 2020