human
Find the sum of first N terms of the series 2 Ã — 3 + 4 Ã — 4 + 6 Ã — 5 + 8 Ã — 6 + ... | calculate sum upto N term of series.
Driver code"
Solution in Python:
assistant
#Here is code to find the sum of first N terms of the series 2 Ã — 3 + 4 Ã — 4 + 6 Ã — 5 + 8 Ã — 6 + .
 def Sum_upto_nth_Term ( n ) :
	return n * ( n + 1 ) * ( 2 * n + 7 ) // 3
N = 5
print ( Sum_upto_nth_Term ( N ) )