human
Find n | utility function.
since first element of the series is 7 , we initialise a variable with 7.
Using iteration to find nth term.
driver function"
Solution in Python:
 Can you provide a code to find n and the other steps required?
assistant
#Here is code to find n and the other steps required.
 def findTerm ( n ) :
	if n == 1 :
		return n
	else :
		term = 7
		for i in range ( 2 , n + 1 ) :
			term = term * 2 + ( i - 1 ) ;
	return term ;
print ( findTerm ( 5 ) )