You have the formula WRONG.
According to what you say, the probability of the tree getting infected is
[math]\left ( 1 - \dfrac{1}{128} \right )^{(6 - 1)} \approx 96\%,[/math]
which makes not a lick of sense.
In your formula, p has to be the probability that the tree stays healthy, not the probability that it gets diseased. Furthermore, n has to be the first cycle that the tree is grown and no longer subject to the disease. I am going to answer assuming that n = 4 (because I am lazy).
So the probability that the tree gets diseased in period 1 is
[math]\left ( 1 - \dfrac{127}{128} \right ) = \dfrac{1}{128} = \dfrac{16384}{2097152}.[/math]
The probability that the tree stays healthy in period 1 but gets diseased in period 2 is
[math]\dfrac{127}{128} * \dfrac{1}{128} = \dfrac{127}{16384} = \dfrac{16256}{2097152}.[/math]
The probability that the tree stays healthy in periods 1 and 2 but gets diseased in period 3 is
[math]\dfrac{127}{128} * \dfrac{127}{128} * \dfrac{1}{128} = \dfrac{16129}{2097152}.[/math]
So the probability that the tree gets diseased before maturity in period 4 is
[math]\dfrac{16384}{2097152} + \dfrac{16256}{2097152} + \dfrac{16129}{2097152} = \dfrac{48769}{2097152} \approx 2.3\%[/math]
Follow that?
Notice that if n = 4 and p IS THE PROBABILITY THAT THE TREE STAYS HEALTHY, what we did was
[math](1 - p) + p(1 - p) + p^2(1 - p) = 1 - p + p - p^2 + p^2 - p^3=[/math]
[math]1 - p^3 = 1 - p^{(4-1)} \ne (1 - p)^{(4-1)}.[/math]