For each integer n>1, let H(n) be the number of solutions to the equation tanx=tan(nx) on the interval [0,π). What is ∑n=22007H(n)?
2012018
2012020
2012022
2012024
2012026