Program to find Nth term of the series 3 , 5 , 21 , 51 , 95 , ...
Given a number N, the task is to find the Nth term of this series: 3, 5, 21, 51, 95, .... Examples: Input: N = 4 Output: 51 Explanation: Nth term = (7 * pow(N, 2) - 19 * N + 15) = (7 * pow(4, 2) - 19 * 4 + 15) = 51 Input: N = 10 Output: 525 Approach:The Nth term of the given series can be generalize