human
Find Nth number of the series 1 , 6 , 15 , 28 , 45 , ... . . | Function for calculating Nth term of series.
Driver code.
Taking n as 4.
Printing the nth term"
Solution in Python:
 ... Give me a code to find Nth number of the series 1 , 6 , 15 , 28 , 45 ,?
assistant
#Here is code to find Nth number of the series 1 , 6 , 15 , 28 , 45 , .
 def NthTerm ( N ) :
if __name__ == " _ _ main _ _ " :
	N = 4
	print ( NthTerm ( N ) )