%I #3 Mar 31 2012 13:21:19
%S 0,1,0,-1,0,1,2,3,2,3,2,3,2,3,2,1,2,3,2,1,2,1,0,1,2,3,2,1,2,3,4,5,4,3,
%T 2,3,4,5,6,5,4,3,4,5,6,7,6,7,6,7,6,5,6,5,6,7,6,7,6,5,4,5,4,5,6,7,8,9,
%U 10,9,8,7,6,5,4,3,2,3,4,5,6,7,8,9,8,9,8,7,6,5,4,5,6,5,4,3,4,5,4,5,6,5
%N Partial sums of A165586.
%C Period 514229.
%H A. Karttunen, <a href="/A165587/b165587.txt">Table of n, a(n) for n = 0..514229</a>
%Y Positions of zeros: A165588. See also A165589, A165590. Similar sequences: A165472, A165477, A165482, A165575-A165579, A165582, A165587, A165592, A165597.
%K sign
%O 0,7
%A _Antti Karttunen_, Sep 22 2009