https://wikimass.com/python/number-combination