human
Program to find Nth term of series 9 , 23 , 45 , 75 , 113. . . | Python program to find N - th term of the series : 9 , 23 , 45 , 75 , 113. . ..
calculate Nth term of series.
Get the value of N.
Find the Nth term and print it"
How can the above be solved in Python?
assistant
#Here is code to program to find Nth term of series 9 , 23 , 45 , 75 , 113.
 def nthTerm ( N ) :
	return ( ( 2 * N + 3 ) * ( 2 * N + 3 ) - 2 * N ) ;
n = 4
print ( nthTerm ( n ) )