The following sequence of p = 7 terms: 5 ; -3 ; 1 ; -4 ; 6 ; -4 ; 1 has a positive sum, and each sum of q = 4 consecutive terms is negative. Does anybody know the general conditions on p and q to obtain that kind of property?
About some finite sequences of integers
2
$\begingroup$
sequences-and-series
puzzle
-
1You mean non-positive? -3+1-4+6 = 0. – 2012-06-13
-
0Thanks you, it is a mistake, I prefer negative : 5;-3;1;-4;5;-4;1 – 2012-06-13
-
0check this [link](http://bit.ly/LFDFjI) – 2012-06-14