The first n terms of the arithmetic sequence {an} and the maximum value of Sn are only S7, and | A7 | < | A8 |, then the maximum value of n with Sn > 0 is______ .

The first n terms of the arithmetic sequence {an} and the maximum value of Sn are only S7, and | A7 | < | A8 |, then the maximum value of n with Sn > 0 is______ .

The maximum value of the first n terms and Sn of {an} sequence is only S7. The sequence is a decreasing sequence, the first 7 terms are positive and negative from the 8th term. Because | A7 | A8 |, | A7 + A8 |, S14 = 14 (a1 + A14) & nbsp; 2 = 7 (a1 + A14) = 7 (A7 + A8) < 0