human
Program to find the Nth term of series | Python3 program to find N - th term of the series : 9 , 23 , 45 , 75 , 113 , 159. . ... ..
calculate Nth term of series.
Driver Code.
Get the value of N.
Find the Nth term and print it"
Solution in Python:
 Write me a code to program to find the Nth term of series and the other steps required?
assistant
#Here is code to program to find the Nth term of series and the other steps required.
 def nthTerm ( N ) :
	return ( ( 3 * N * N ) - ( 6 * N ) + 2 ) ;
if __name__ == ' _ _ main _ _ ' :
	n = 3
	print ( nthTerm ( n ) )