human
Curzon Numbers | Function to check if a number is a Curzon number or not.
Find 2 ^ N + 1.
Find 2 * N + 1.
Check for divisibility.
Driver code"
How can the above be solved in Python?

=====
Write me a code to curzon Numbers and the other steps required?
assistant
#Here is code to curzon Numbers and the other steps required.
 def checkIfCurzonNumber ( N ) :
	powerTerm , productTerm = 0 , 0
	powerTerm = pow ( 2 , N ) + 1
	productTerm = 2 * N + 1
	if ( powerTerm % productTerm == 0 ) :
		print ( " Yes " )
	else :
		print ( " No " )
if __name__ == ' _ _ main _ _ ' :
	N = 5
	checkIfCurzonNumber ( N )
	N = 10
	checkIfCurzonNumber ( N )