human
Program to find the Nth term of the series 0 , 5 , 14 , 27 , 44 , ... ... . . | Calculate Nth term of series.
Driver code"
How can the above be solved in Python?

Can you provide a code to program to find the Nth term of the series 0 , 5 , 14 , 27 , 44 ,?
assistant
#Here is code to program to find the Nth term of the series 0 , 5 , 14 , 27 , 44 , .
 def nthTerm ( n ) :
	return 2 * pow ( n , 2 ) - n - 1
if __name__ == " _ _ main _ _ " :
	N = 4
	print ( nthTerm ( N ) )