human
Write a function to find the Eulerian number a(n, m). Here is a solution in Python:
assistant
#Here is Python program to find the Eulerian number a(n, m).
 def eulerian_num(n, m): 
	if (m >= n or n == 0): 
		return 0 
	if (m == 0): 
		return 1 
	return ((n - m) * eulerian_num(n - 1, m - 1) +(m + 1) * eulerian_num(n - 1, m))