>>75
2 と n じゃ大違いだ

(d/dx) tan(x) = 1+tan(x)^2

I(n) = ∫(tan(x)^n) dx
= ∫(1+tan(x)^2) (tan(x)^(n-2)) dx - I(n-2)

として部分積分。