human
Program to find Sum of the series 1 * 3 + 3 * 5 + ... . | Python program to find sum of first n terms.
Sn = n * ( 4 * n * n + 6 * n - 1 ) / 3.
number of terms to be included in the sum.
find the Sn"
Solution in Python:

Write me a code to program to find Sum of the series 1 * 3 + 3 * 5 +?
assistant
#Here is code to program to find Sum of the series 1 * 3 + 3 * 5 + .
 def calculateSum ( n ) :
	return ( n * ( 4 * n * n + 6 * n - 1 ) / 3 ) ;
n = 4
print ( " Sum ▁ = " , calculateSum ( n ) )