human
Write a function to find the nth newman–shanks–williams prime number. Here is a solution in Python:
assistant
#Here is Python program to find the nth newman–shanks–williams prime number.
 def newman_prime(n): 
	if n == 0 or n == 1: 
		return 1
	return 2 * newman_prime(n - 1) + newman_prime(n - 2)