All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Consecutive Triangles (Posted on 2009-11-29)
A, B, C and D are triangular numbers.

A, B and C are always consecutive while D is their sum.

Determine (and explain as best as possible1) how such sets of values are distributed across the number system.

1. This can be explained in terms of a single variable expression.

 Submitted by brianjn No Rating Solution: (Hide) When originally toying with this idea I generated a sequence [while examining the expression (3n^2+9*n +8)/2 ] which appeared to be in slight variance with Sloane A082840; this proved to be a matter of computer programming precision. Neil Sloane made a link between two sequences where there previously was none (and credited me). See: id:A129803 id:A082840 at http://www.research.att.com/~njas/sequences/ Charlie notes: The formula given in Sloane for the ordinal of A (i.e., the nth triangular number), is: With a=2+sqrt(3), b=2-sqrt(3) a(n)=-3/2+(1/12)(a-2b+5)a^n+(1/12)(b-2a+5)b^n. Charlie's computer listing substitutes the above values for "a" and "b" in this line: ans = -3 / 2 + (1 / 12) * (a - 2 * b + 5) * a ^ n + (1 / 12) * (b - 2 * a + 5) * b ^ n Doing that, and then replacing "n" with "A1", you may copy this expression into cell B1 of a spreadsheet: = -3 / 2 + (1 / 12) * ((2+SQRT(3)) - 2 * (2-SQRT(3)) + 5) * (2+SQRT(3)) ^ A1 + (1 / 12) * ((2-SQRT(3)) - 2 * (2+SQRT(3)) + 5) * (2-SQRT(3)) ^A1 Copy down Column A the incremental values for "n" beginning with 1 in A1. Copy the formula down Column B. The values obtained are Sloane's A082840. I note Charlie further addresses a related sequence at Sloane, A133161, in his discussion. Substituting a Column B value into the set: { N * (N + 1)/2, (N + 1)*(N + 2)/2, (N +2)*(N + 3)/2 } yields three consecutive triangular numbers whose sum is also triangular. Brian Smith offered me this expression: =(3/8+9/(4*sqrt[48])) * (7+sqrt[48])^n + (3/8-9/(4*sqrt[48])) * (7-sqrt[48])^n + 1/4 but I was to later realise that it yielded the sums of three consecutive triangles, this forms Sloane's A129803. As I noted with Charlie's expression, you may do similarly with Brian Smith's. Copy incremental values for n into Column A beginning at A1, copy the expression: =(3/8+9/(4*SQRT(48))) * (7+SQRT(48))^A1 + (3/8-9/(4*SQRT(48))) * (7-SQRT(48))^A1 + 1/4 into B1, and then copy that formula downwards in Column B. This gives the consecutive triangular sums of three consecutive triangular numbers. Those triangles may be found by evaluating the equation: S = (3N^2 + 9N + 8)/2 where S is the triangular sum (as per Brian Smith's expression). The three triangles are: { N * (N + 1)/2, (N + 1)*(N + 2)/2, (N +2)*(N + 3)/2 } We have two means at our disposal to find any required set. 1. For any required set we may enter a value (for A1) into the expansion I've made of Charlie's derivation, build the set of three triangles and then calculate the triangular sum. 2. For any required set we may enter a value (for A1)into the Brian Smith expression, evaluate the Sloane value which is given by A082840 and build the triangles. I trust that Charlie and Brian's contributions have allowed for me to present a complete solution.

 Subject Author Date re: computer-aided solution brianjn 2009-12-02 04:17:44 re(3): an observation brianjn 2009-11-30 19:20:52 re(2): an observation Charlie 2009-11-30 11:35:10 re: an observation brianjn 2009-11-30 08:13:20 an observation Dej Mar 2009-11-30 04:40:05 computer-aided solution Charlie 2009-11-29 19:04:46 re: a 6.4 second question brianjn 2009-11-29 18:12:09 a 6.4 second question Ady TZIDON 2009-11-29 16:20:14

 Search: Search body:
Forums (0)