Square Triangular Number Calculator

Enter a number to check if it's a square triangular number, or input a range to generate all square triangular numbers within that range.

Square Triangular Number Check or Generate

What is a Square Triangular Number?

A square triangular number is a natural number that is both a triangular number and a perfect square.

Triangular Numbers: These numbers are formed by summing consecutive natural numbers, defined by the formula: \( T_n = \frac{n(n + 1)}{2} \) where \( T_n \) is the \( n \)-th triangular number.

Perfect Squares: These are numbers that can be expressed as the square of an integer, \( n^2 \).

Some common square triangular numbers include: 1, 36, 1225, 41616, 1413721, 48024900, 1631432881.

How to Check if a Number is a Square Triangular Number

  1. Verify if it's a Triangular Number: Use the triangular number formula in reverse to calculate \( n \). Check if \( n \) is a natural number.
  2. Verify if it's a Perfect Square: If the number is triangular, calculate its square root to see if it's an integer.
  3. Result: If the number meets both conditions, it's a square triangular number; otherwise, it is not.

Examples

Example 1: Is 36 a Square Triangular Number?

Solution:

1. Check if 36 is a triangular number:

\( 36 = \frac{n(n + 1)}{2} \)

Solving the equation, \( n = 8 \).

2. Check if 36 is a perfect square:

\( \sqrt{36} = 6 \)

Result:

36 is a square triangular number.

Example 2: Is 144 a Square Triangular Number?

Solution:

1. Check if 144 is a triangular number:

\( 144 = \frac{n(n + 1)}{2} \)

olving the equation, \( n \approx 16.47 \).

Since \( n \) is not an integer, 144 is not a triangular number. So, 144 is not a square triangular number.

Example 3: Is 1225 a Square Triangular Number?

Solution:

1. Check if 1225 is a triangular number:

\( 1225 = \frac{n(n + 1)}{2} \)

Solving the equation, \( n = 49 \).

2. Check if 1225 is a perfect square:

\( \sqrt{1225} = 35 \)

Result:

1225 is a square triangular number.