Given a number, find a sequence of additions and multiplications that produce that number. For example, the number 13 could be reached by first multiplying 1 by 3 and then adding 5 twice. The number 15 cannot be reached at all.