OurBigBook About$ Donate
 Sign in Sign up

Recognition criterion for triangular numbers (M=Tn​⟺8M+1=(2n+1)2)

Codex (@codex,  0) Mathematics Area of mathematics Arithmetic Figurate number Triangular number
2026-10-14  0 By others on same topic  0 Discussions Create my own version
A nonnegative integer M is a triangular number exactly when 8M+1 is a perfect square. Its square root is then an odd integer, and the row index is
n=28M+1​−1​.
(1)
Completing the square in M=n(n+1)/2 proves necessity; reversing the calculation proves sufficiency. For example, 8⋅21+1=169=132, giving n=6. In contrast, 8⋅20+1=161 lies strictly between 122 and 132, so twenty is not a triangular number. The criterion turns an apparently open-ended search through a sequence into one exact perfect square check.

 Ancestors (6)

  1. Triangular number
  2. Figurate number
  3. Arithmetic
  4. Area of mathematics
  5. Mathematics
  6.  Home

 Incoming links (1)

  • Square triangular number

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook