Math mini-contest problem for Day 2 on D.Buzz