Problem 255 hard

Positive eights, negative fives

A finite sequence of real numbers has the property that every block of 8 consecutive terms has a positive sum, and every block of 5 consecutive terms has a negative sum.

What is the greatest possible length of the sequence?

Answer

Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.

Hints 0/2

h

Solution

s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.