Triangular Numbers Calculator
Calculate nth triangular numbers, test whether a value is triangular, and preview the sequence with exact integer arithmetic.
Last Updated: May 2026
Figurate numbers
Calculate and test triangular numbers
Triangular numbers count dots arranged in an equilateral triangle. Compute T_n, check whether a value is triangular, and preview the sequence with exact integer arithmetic.
Calculator mode
Used for T_n mode. n must be a nonnegative integer.
Used for check mode. Enter a nonnegative integer.
Show the first 1 to 80 triangular numbers.
Examples
Triangular number checks
| Item | Formula | Result |
|---|---|---|
| Triangular formula | T_n = n(n + 1) / 2 | T_10 = 55 |
| Dot pattern | 1 + 2 + ... + n | Sum through 10 |
| Previous triangular | T_(n - 1) | 45 |
| Next triangular | T_(n + 1) | 66 |
| Triangular test | 8x + 1 must be a perfect square | Passes |
Sequence preview
| n | Formula | T_n |
|---|---|---|
| 1 | 1 x 2 / 2 | 1 |
| 2 | 2 x 3 / 2 | 3 |
| 3 | 3 x 4 / 2 | 6 |
| 4 | 4 x 5 / 2 | 10 |
| 5 | 5 x 6 / 2 | 15 |
| 6 | 6 x 7 / 2 | 21 |
| 7 | 7 x 8 / 2 | 28 |
| 8 | 8 x 9 / 2 | 36 |
| 9 | 9 x 10 / 2 | 45 |
| 10 | 10 x 11 / 2 | 55 |
Integer Sequence Notice
This calculator works with nonnegative integer triangular numbers. Decimal, fraction, and symbolic sequence inputs are outside this page.
Reviewed For Methodology, Labels, And Sources
Every CalculatorWallah calculator is published with visible update labeling, linked source references, and review of formula clarity on trust-sensitive topics. Use results as planning support, then verify institution-, policy-, or jurisdiction-specific rules where they apply.
Reviewed By
Jitendra Kumar, Founder & Editorial Standards Lead, reviews methodology, labels, assumptions, and trust-sensitive publishing decisions for this topic area.
Review editor profileTopic Ownership
Sales tax and tax-sensitive estimate tools, Education and GPA planning calculators, Health, protein, and screening-formula pages, Platform-wide publishing standards and methodology
See ownership standardsMethodology & Updates
Page updated May 2026. Trust-critical pages are reviewed when official rates or rules change. Evergreen calculator guides are checked on a recurring quarterly or annual cycle depending on topic volatility.
How to Use the Triangular Numbers Calculator
Choose whether to calculate T_n from an index or check whether a value is triangular. Enter nonnegative integers only.
Review the main result, the n(n + 1) / 2 formula, the 8x + 1 perfect-square check, and the sequence preview.
Step 1: Choose a mode
Use Find T_n to calculate from an index, or Check a value to test an integer.
Step 2: Enter the index or value
Use nonnegative integers such as 10, 100, 1225, or 1000000.
Step 3: Read the formula result
The calculator shows T_n = n(n + 1) / 2 and neighboring triangular numbers.
Step 4: Use the square test
For value checks, 8x + 1 must be a perfect square for x to be triangular.
How This Triangular Numbers Calculator Works
To calculate the nth triangular number, the tool uses T_n = n(n + 1) / 2. This is the same as adding 1 + 2 + ... + n.
To check a value x, the tool computes 8x + 1 and tests whether it is a perfect square. If it is, the triangular index is (sqrt(8x + 1) - 1) / 2.
Calculations use exact integer arithmetic, and the sequence preview lists the first triangular numbers up to the count you choose.
Triangular Numbers Guide
Triangular Number Rules
| Concept | Formula or Example | Meaning |
|---|---|---|
| Definition | T_n = 1 + 2 + ... + n | The sum of the first n positive integers. |
| Closed form | T_n = n(n + 1) / 2 | Fast formula for the nth triangular number. |
| First values | 1, 3, 6, 10, 15 | The dot pattern grows by one more dot each row. |
| Zero index | T_0 = 0 | Useful in some sequence and combinatorics contexts. |
| Triangular test | 8x + 1 is an odd square | A value x is triangular exactly when this condition holds. |
Examples
| Input | Work | Result |
|---|---|---|
| T_10 | 10 x 11 / 2 | 55 |
| T_100 | 100 x 101 / 2 | 5,050 |
| 1,225 | 8 x 1,225 + 1 = 9,801 = 99^2 | Triangular, n = 49 |
| 1,000 | 8 x 1,000 + 1 = 8,001 | Not triangular |
| T_1,000,000 | 1,000,000 x 1,000,001 / 2 | 500,000,500,000 |
Why T_n Uses n(n + 1) / 2
Pair the sequence 1 + 2 + ... + n with the same sequence reversed. Each pair adds to n + 1, and there are n pairs across the doubled sum. Dividing by 2 gives n(n + 1) / 2.
Keep the research moving with Consecutive Integers Calculator, Integer Calculator, Perfect Square Calculator, and Sum of Products Calculator.
Frequently Asked Questions
Related Calculators
Consecutive Integers Calculator
Generate consecutive integer sequences or solve consecutive, even, and odd integer sum problems.
Use Consecutive Integers CalculatorInteger Calculator
Calculate signed integer arithmetic, quotient and remainder, GCD, LCM, powers, parity, and prime factors.
Use Integer CalculatorPerfect Square Calculator
Check whether a whole number is a perfect square and compare nearby square numbers.
Use Perfect Square CalculatorSum of Products Calculator
Multiply paired values from two lists, add the products, and review dot-product checks.
Use Sum of Products CalculatorSources & References
- 1.Wolfram MathWorld - Triangular Number(Accessed May 2026)
- 2.Wikipedia - Triangular number(Accessed May 2026)
- 3.OpenStax Algebra and Trigonometry - Sequences(Accessed May 2026)