Square triangular number explained

In mathematics, a square triangular number (or triangular square number) is a number which is both a triangular number and a square number. There are infinitely many square triangular numbers; the first few are:

Explicit formulas

Write

Nk

for the

k

th 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

N=\tfrac{n(n+1)}{2}

to be

n

. From this definition and the quadratic formula,

Therefore,

N

is triangular (

n

is an integer) if and only if

8N+1

is square. Consequently, a square number

M2

is also triangular if and only if

8M2+1

is square, that is, there are numbers

x

and

y

such that

x2-8y2=1

. This is an instance of the Pell equation

x2-ny2=1

with

n=8

. All Pell equations have the trivial solution

x=1,y=0

for any

n

; this is called the zeroth solution, and indexed as

(x0,y0)=(1,0)

. If

(xk,yk)

denotes the

k

th nontrivial solution to any Pell equation for a particular

n

, it can be shown by the method of descent that the next solution isHence there are infinitely many solutions to any Pell equation for which there is one non-trivial one, which is true whenever

n

is not a square. The first non-trivial solution when

n=8

is easy to find: it is

(3,1)

. A solution

(xk,yk)

to the Pell equation for

n=8

yields a square triangular number and its square and triangular roots as follows:

Hence, the first square triangular number, derived from

(3,1)

, is

1

, and the next, derived from

6 ⋅ (3,1)-(1,0)-(17,6)

, is

36

.

The sequences

Nk

,

sk

and

tk

are the OEIS sequences,, and respectively.

In 1778 Leonhard Euler determined the explicit formula[1] [2]

Other equivalent formulas (obtained by expanding this formula) that may be convenient include

The corresponding explicit formulas for

sk

and

tk

are:

Recurrence relations

There are recurrence relations for the square triangular numbers, as well as for the sides of the square and triangle involved. We have

We have

Other characterizations

All square triangular numbers have the form

b2c2

, where

\tfrac{b}{c}

is a convergent to the continued fraction expansion of

\sqrt2

, the square root of 2.[3]

A. V. Sylwester gave a short proof that there are infinitely many square triangular numbers: If the

n

th triangular number

\tfrac{n(n+1)}{2}

is square, then so is the larger

4n(n+1)

th triangular number, since:

The left hand side of this equation is in the form of a triangular number, and as the product of three squares, the right hand side is square.[4]

The generating function for the square triangular numbers is:[5]

1+z
(1-z)\left(z2-34z+1\right)

=1+36z+1225z2+

See also

External links

Notes and References

  1. Book: Dickson . Leonard Eugene . Leonard Eugene Dickson . . 2 . American Mathematical Society . Providence . 1999 . 1920 . 16 . 978-0-8218-1935-7 .
  2. Euler . Leonhard . Leonhard Euler . 1813 . Regula facilis problemata Diophantea per numeros integros expedite resolvendi (An easy rule for Diophantine problems which are to be resolved quickly by integral numbers) . Mémoires de l'Académie des Sciences de St.-Pétersbourg . 4 . 3–17 . la . 2009-05-11 . According to the records, it was presented to the St. Petersburg Academy on May 4, 1778..
  3. Book: Ball . W. W. Rouse . W. W. Rouse Ball . Coxeter . H. S. M. . Harold Scott MacDonald Coxeter . Mathematical Recreations and Essays . limited . Dover Publications . New York . 1987 . 59. 978-0-486-25357-2 .
  4. 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 . 168–169 . 0002-9890 . 2312558. Mathematical Association of America . 10.2307/2312558.
  5. Web site: Simon . Plouffe . Simon Plouffe . 1031 Generating Functions . University of Quebec, Laboratoire de combinatoire et d'informatique mathématique . A.129 . August 1992 . 2009-05-11 . 2012-08-20 . https://web.archive.org/web/20120820012535/http://www.plouffe.fr/simon/articles/FonctionsGeneratrices.pdf . dead .