Program to find the Nth term of series 5 , 12 , 21 , 32 , 45. ... . . | calculate Nth term of series ; Driver code Get N
function nthTerm ( n ) { return Math . pow ( n , 2 ) + 4 * n ; } let N = 4 ; document . write ( nthTerm ( N ) ) ;