Program to find Nth term of series 0 , 10 , 30 , 60 , 99 , 150 , 210 , 280. ... ... ... . | calculate Nth term of series ; Driver code
function nthTerm ( n ) { return 5 * Math . pow ( n , 2 ) - 5 * n ; } let N = 4 ; document . write ( nthTerm ( N ) ) ;