The general term formula of sequence {an} is an = ncosn π 2 + 1, the sum of the first n terms is Sn, then s2012=______ .

The general term formula of sequence {an} is an = ncosn π 2 + 1, the sum of the first n terms is Sn, then s2012=______ .

Because Cosn π 2 = 0, - 1, 0, 1, 0, - 1, 0, 1 ;∴ncosnπ2=0,-2,0,4,0,-6,0,8… The sum of every four terms of the sequence {an} is 2, while the sum of every four terms of the sequence {an} is 2 + 4 = 6, while the sum of every four terms of the sequence {an} is 2 + 4 = 6, and the sum of every four terms of the sequence {an} is 2 + 4 = 6