Central polygonal numbers
Given a number N, the task is to write a program to find the N-th term of the Central polygonal numbers series: 1, 1, 3, 7, 13, 21, 31, 43, 57..... Examples: Input: N = 0 Output: 1 Input: N = 3 Output: 7 Approach: The Nth term can be formalized as: Series = 1, 3, 7, 13, 21, 31, 43, 57...... Differen