[math-fun] vaguely remembered carnival game