Discrete math problem

profileboney171