Sequence of integers and arithmetic progressions

In summary, to find a subset of {1,..n} containing the largest arithmetic progression, we must partition the set into j arithmetic progressions with a common difference of j. We can either choose one number from each partition or choose {k/j} numbers from each partition. If n is odd, and the set centered at 0, then it will be empty. If n is even, and the set centered at 0, then it will be {-[n/2],[n/2]). For k<n, there is always a set of k integers which has a positive sum. However, there is no subset in which consecutive integers can simultaneously satisfy both conditions.
  • #1
hudson
2
0
given any two numbers k,j
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 news on Phys.org
  • #2
hudson said:
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.

Partition {1,..n} into j arithmetic progressions with common difference j. Choose one (if k<j) or {k/j} (if k>j) numbers from each partition.
 
  • #3
I don't know about the terminology required or if this is even a shot in the right direction, but for the sum of a sequence of k integers to be negative, [k/2] +1 integers must lie to the left of origin and [k/2] to the right.

Assuming j>k, for the sum of sequence to be positive, [k/2]+1 must lie to the right of the origin, and again, [k/2] to the left.

As the question says that for any sequence of k integers amongst a set, the sum should be negative and in the same set, the sum of j integers must be positive.

Let us assume a set of 'n' integers. If n is odd, and the set centered at 0, then it ranges from (-[n/2],[n/2]). In this case sum for k=n will be zero. For k<n, there will always be a set of k integers which has positive sum. Thus, the set cannot be centered at zero.

For the set centered at any point to the left of zero (say -1), the maximum value for k can be k<=n-1, for which the sum of any k integers is zero. For the set centered at any point -p ( p to the left of zero), the maximum value of k<=n-p.

However, in this case, there is no value of j which satisfies the required condition, because there will always be p cases where the sum of integers is less than zero.

Idk, it seems like there is no possible set in which consecutive integers can simultaneously satisfy both conditions. Again, I'm not familiar with any branch of number theory, just my 2 cents worth. Are there any other conditions on the sequence of integers that we're missing (perhaps that the sequence is an ap or a gp or something) ?
 

Related to Sequence of integers and arithmetic progressions

1. What is a sequence of integers?

A sequence of integers is a list of whole numbers that follow a certain pattern or rule. For example, the sequence 2, 4, 6, 8, 10 is a sequence of even numbers where each number is 2 more than the previous number.

2. What is an arithmetic progression?

An arithmetic progression is a type of sequence in which the difference between consecutive terms is always the same. This difference is called the common difference. For example, the sequence 3, 6, 9, 12, 15 is an arithmetic progression with a common difference of 3.

3. How do you find the next term in an arithmetic progression?

To find the next term in an arithmetic progression, you can use the formula an = a1 + (n-1)d, where a1 is the first term, n is the term number, and d is the common difference. Simply plug in the values and solve for an to find the next term.

4. Can an arithmetic progression have a negative common difference?

Yes, an arithmetic progression can have a negative common difference. This means that the terms in the sequence will decrease by the same amount each time. For example, the sequence 10, 7, 4, 1 is an arithmetic progression with a common difference of -3.

5. How can arithmetic progressions be used in real life?

Arithmetic progressions can be used in many real-life situations, such as calculating interest rates, predicting population growth, and analyzing stock prices. They can also be used in solving mathematical problems and puzzles.

Back
Top