Mathematics of keno and lotteries. (2018)