summaryrefslogtreecommitdiff
path: root/progs/a642.py
blob: eebcf33ac06004e23df8c58342a6f11bd03d248a (plain)
1
2
def is_num_decagonal(n): 
	return 4 * n * n - 3 * n