Wiki Few Centred pentagonal Number are. Recursion is an example of an iterative procedure. Write a recursive formula to represent pentagonal numbers in terms of triangular numbers.
1 5 12 etc.
P_nn3npm12 The first few generalized pentagonal numbers are. Since we can write a square number as the sum of two consecutive triangular numbers we can write a pentagonal number in terms of triangular numbers. Octagonal numbers can be formed by placing triangular numbers on the four sides of a square. Usually we learn about this function based on the arithmetic-geometric sequence which has terms with a common difference between themThis function is highly used in computer programming languages such as C Java Python PHP.