human
Program for centered nonagonal number | Function to find nth centered nonagonal number.
Formula to find nth centered nonagonal number ..
Driver function ."
Solution in Python:
 ... Write me a code to program for centered nonagonal number and the other steps required?
assistant
#Here is code to program for centered nonagonal number and the other steps required.
 def centeredNonagonal ( n ) :
	return ( 3 * n - 2 ) * ( 3 * n - 1 ) // 2
n = 10
print ( centeredNonagonal ( n ) )