human
Centered Hexadecagonal Number | centered hexadecagonal function.
Formula to calculate nth centered hexadecagonal number.
Driver Code"
Solution in Python:
assistant
#Here is code to centered Hexadecagonal Number and the other steps required.
 def center_hexadecagonal_num ( n ) :
	return 8 * n * n - 8 * n + 1
if __name__ == ' _ _ main _ _ ' :
	n = 2
	print ( n , " nd ▁ centered ▁ hexadecagonal ▁ " + " number ▁ : ▁ " , center_hexadecagonal_num ( n ) )
	n = 12
	print ( n , " th ▁ centered ▁ hexadecagonal ▁ " + " number ▁ : ▁ " , center_hexadecagonal_num ( n ) )