summaryrefslogtreecommitdiff
path: root/progs/a40.py
blob: 3cbfc1695e85d612095b457dc6bb0c9b3b4dec3e (plain)
1
2
def is_nonagonal(n): 
	return int(n * (7 * n - 5) / 2)