given any two numbers k,j(adsbygoogle = window.adsbygoogle || []).push({});

what is the largest sequence of integers such that the sum of any k consecutive terms is negative and the sum of any j consecutive terms is positive

and

how may we find a subset containing k of the first n numbers such that out of all subsets with k elements, this subset has the smallest arithmetic progression with common difference j. and out of all subsets with k elements, does this subset contain the largest arithmetic progression for some other integer?

ideas would be very much appreciated

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Sequence of integers and arithmetic progressions

**Physics Forums | Science Articles, Homework Help, Discussion**