So you have 16 factors of
[tex]
(1+x^{5}+x^{7}+x^{9})[/tex]
multiplying. The first thing I'd do is check which unique combinations of powers give 29. For example, suppose that you open up the brackets. You will encounter terms with four factors of x^5, a factor of x^9 and all 1's otherwise, which gives x^29. Are there any other combinations?
Then, go through them one by one... you are looking for something of the form
[tex]x^9 \cdot x^5 \cdot x^5 \cdot x^5 \cdot x^5 \cdot 1 \cdot 1 \ cdot 1 \cdots[/tex]
(16 in total). How many different orders are there? I.e., when you again think about multiplying out the brackets, how many terms are there that give this expression?