sum (2/(1+cos(1/n))-1)