Triangular Number (1) 썸네일형 리스트형 [C/C++] Project Euler #45 - Triangular, Pentagonal, and Hexagonal Project Euler problem #45 explores the relationships among specific numerical sequences. This problem involves the concepts of triangular numbers, pentagonal numbers, and hexagonal numbers. A triangular number is defined as the sum of natural numbers and can be expressed using the formula \(T_n = \frac{n(n+1)}{2}\) . A pentagonal number follows a specific pattern of growth among polygonal number.. 이전 1 다음