To solve that question we can think by the following way:
Using the fundamental principle of counting, we will find out that can be formed [tex]4\times 4 = 16[/tex] differents sequences (for example, AA, AG, TT, TG, CT...).
Know we know that, we can generalize. If I have [tex]n[/tex] elements and I must choose one of them [tex]t[/tex] times to do a sequence, the total number of sequence that I can form will be [tex]n^t[/tex].
In our question, we want to know how many DNA sequence are exactly 29 letters long. As indicated above, the answer for that is [tex]4\times 4\times 4\times ... \times 4[/tex] (29 times) [tex]= 4^{29}[/tex].
Therefore, there are [tex]4^{29}[/tex] DNA sequences with exactly 29 letters long.
I hope I've helped you. =D
Enjoy your studies. \o/