human
Program to find Nth term of series 3 , 12 , 29 , 54 , 86 , 128 , 177 , 234 , ... . . | calculate Nth term of series.
Driver code"
How can the above be solved in Python?
 ... Give me a code to program to find Nth term of series 3 , 12 , 29 , 54 , 86 , 128 , 177 , 234 ,?
assistant
#Here is code to program to find Nth term of series 3 , 12 , 29 , 54 , 86 , 128 , 177 , 234 , .
 def nthTerm ( n ) :
	return 4 * pow ( n , 2 ) - 3 * n + 2
N = 4
print ( nthTerm ( N ) )