human
Find the sum of the first N Centered Octadecagonal Numbers | Function to find the N - th Centered octadecagonal number.
Formula to calculate nth centered octadecagonal number.
Function to find the sum of the first N Centered octadecagonal numbers.
Variable to store the sum.
Iterating through the range 1 to N.
Driver code"
Solution in Python:

Can you provide a code to find the sum of the first N Centered Octadecagonal Numbers and the other steps required?
assistant
#Here is code to find the sum of the first N Centered Octadecagonal Numbers and the other steps required.
 def center_octadecagon_num ( n ) :
	return ( 9 * n * n - 9 * n + 1 )
def sum_center_octadecagon_num ( n ) :
	summ = 0
	for i in range ( 1 , n + 1 ) :
		summ += center_octadecagon_num ( i )
	return summ
if __name__ == ' _ _ main _ _ ' :
	n = 3
	print ( sum_center_octadecagon_num ( n ) )