human
Centered tridecagonal number | Function to find centered tridecagonal number.
Formula to calculate nth centered tridecagonal number.
Driver Code"
Solution in Python:
assistant
#Here is code to centered tridecagonal number and the other steps required.
 def centeredTridecagonalNum ( n ) :
	return ( 13 * n * ( n - 1 ) + 2 ) // 2
if __name__ == ' _ _ main _ _ ' :
	n = 3
	print ( centeredTridecagonalNum ( n ) )
	n = 10
	print ( centeredTridecagonalNum ( n ) )