This is an old revision of this page, as edited by David Eppstein(talk | contribs) at 21:20, 20 July 2018(Undid revision 851216462 by Jyoung80 (talk) without a published reference to base this on, it is original research, and in any case it is not clearly explained how these calculations relate to the subject). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 21:20, 20 July 2018 by David Eppstein(talk | contribs)(Undid revision 851216462 by Jyoung80 (talk) without a published reference to base this on, it is original research, and in any case it is not clearly explained how these calculations relate to the subject)
Square triangular number 36 depicted as a triangular number and as a square number.
In mathematics, a square triangular number (or triangular square number) is a number which is both a triangular number and a perfect square.
There are infinitely many square triangular numbers; the first few are 0, 1, 36, 1225, 41616, 1413721, 48024900, 1631432881, 55420693056, 1882672131025 (sequence A001110 in the OEIS).
Explicit formulas
Write Nk for the kth square triangular number, and write sk and tk for the sides of the corresponding square and triangle, so that
Define the triangular root of a triangular number to be . From this definition and the quadratic formula, Therefore, is triangular if and only if is square. Consequently, a number is square and triangular if and only if is square, i. e., there are numbers and such that . This is an instance of the Pell equation, with . All Pell equations have the trivial solution (1,0), for any n; this solution is called the zeroth, and indexed as . If denotes the k'th non-trivial solution to any Pell equation for a particular n, it can be shown by the method of descent that and . Hence there are an infinity of solutions to any Pell equation for which there is one non-trivial one, which holds whenever n is not a square. The first non-trivial solution when n=8 is easy to find: it is (3,1). A solution to the Pell equation for n=8 yields a square triangular number and its square and triangular roots as follows: and Hence, the first square triangular number, derived from (3,1), is 1, and the next, derived from (17,6) (=6×(3,1)-(1,0)), is 36.
Other equivalent formulas (obtained by expanding this formula) that may be convenient include
The corresponding explicit formulas for sk and tk are [2]: 13
and
Pell's equation
The problem of finding square triangular numbers reduces to Pell's equation in the following way.[3]
Every triangular number is of the form t(t + 1)/2. Therefore we seek integers t, s such that
A. V. Sylwester gave a short proof that there are an infinity of square triangular numbers, to wit:[7]
If the triangular number n(n+1)/2 is square, then so is the larger triangular number
We know this result has to be a square, because it is a product of three squares: 2^2 (by the exponent), (n(n+1))/2 (the n'th triangular number, by proof assumption), and the (2n+1)^2 (by the exponent). The product of any numbers that are squares is naturally going to result in another square. This can be seen from the fact that a necessary and sufficient condition for a number to be square is that there should be only even powers of primes in its prime factorisation, and multiplying two square numbers preserves this property in the product.
The triangular roots are alternately simultaneously one less than a square and twice a square, if k is even, and simultaneously a square and one less than twice a square, if k is odd. Thus, , and In each case, the two square roots involved multiply to give and [citation needed]
and In other words, the difference between two consecutive square triangular numbers is the square root of another square triangular number.[citation needed]
The generating function for the square triangular numbers is:[8]
Numerical data
As becomes larger, the ratio approaches and the ratio of successive square triangular numbers approaches . The table below shows values of between 0 and 11, which comprehend all square triangular numbers up to .
See also
Cannonball problem on numbers that are simultaneously square and square pyramidal
Sixth power, numbers that are simultaneously square and cubical
^
Pietenpol, J. L.; A. V. Sylwester; Erwin Just; R. M Warten (February 1962). "Elementary Problems and Solutions: E 1473, Square Triangular Numbers". American Mathematical Monthly. 69 (2). Mathematical Association of America: 168–169. doi:10.2307/2312558. ISSN0002-9890. JSTOR2312558.
^Plouffe, Simon (August 1992). "1031 Generating Functions"(PDF). University of Quebec, Laboratoire de combinatoire et d'informatique mathématique. p. A.129. Retrieved 2009-05-11.