For fixed integers n , k , there exists a sequence of n terms x 1 , x 2 , x 3 , … , x n , such that the sum of any k distinct terms is equal to the sum of the all the other term minus the serial number of each the k terms. After some calculations, it is found out that each term is in an arithmetic sequence, they have a common difference which is denoted by d ( n , k ) . Compute d ( 2 0 1 6 , 2 0 1 5 ) + d ( 2 0 1 5 , 1 7 2 9 ) .
Details and Assumptions
As a explicit example if n = 4 , k = 2 . then
x_\boxed{1}+x_\boxed{2}=x_3+x_4-\boxed{1}-\boxed{2}
Extra credit : Solve for general term and also when the terms doesn't start at n 1 but at n a for positive integer a .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
thanks for giving a nice solution (+1). have you attempted the extra credit?
Log in to reply
Maybe I haven't understood your extra credit question -- I thought my solution covers the general case.
Log in to reply
we found common difference, not the x n , and what if the sequence was like n a , n a + 1 , . . . , n k . this will just require a bit more manipulation as you have done the main thing already.
I've edited your problem for clarity. Do you see how the changes have made the problem statement easier to understand?
Changes:
Log in to reply
Yes, the statements are much better now, thanks.
According\quad to\quad the\quad question\quad for\quad some\quad k\quad distinct\quad terms\quad { a }_{ q }\quad ,\quad { a }_{ q+1 }....{ a }_{ q+(k-1) }\\ 2\sum _{ i=q }^{ q+(k-1) }{ { a }_{ i } } =\quad \sum _{ i=1 }^{ n }{ { a }_{ i } } -\left( kq\quad +\quad \frac { k(k-1) }{ 2 } \right) \quad \left[ 1 \right] \\ Similarly\quad for\quad k\quad distinct\quad terms\quad { a }_{ q+1 },{ a }_{ q+2 }.......{ a }_{ q+k }\\ 2\sum _{ i=q+1 }^{ q+k }{ { a }_{ i } } =\quad \sum _{ i=1 }^{ n }{ { a }_{ i } } -\left( kq+\frac { k(k+1) }{ 2 } \right) \quad \left[ 2 \right] \\ \\ \left[ 1 \right] -\left[ 2 \right] \Rightarrow \\ 2({ a }_{ q }-{ a }_{ q+k })=k\quad \left[ 3 \right] \\ But\quad { a }_{ 1 },\quad { a }_{ 2 }.....{ a }_{ n }\quad is\quad an\quad A.P\\ Thus\quad { a }_{ q+k }={ a }_{ q }+kd\quad \left[ 4 \right] \\ Subsituting\quad this\quad value\quad in\quad \left[ 3 \right] :\\ -2kd=k\\ \Rightarrow \boxed { d=\frac { -1 }{ 2 } \quad \forall \quad (n,\quad k) } ,\quad where\quad 2\le k<n\\ Thus\quad in\quad general\quad d(n,k)=\frac { -1 }{ 2 } \\ Thus\quad required\quad answer=\quad 2\times \frac { -1 }{ 2 } =\quad \boxed { -1 }
Your solution seems to be assuming that k = 2 .
Your solution seems to be assuming that k = 2 .
Log in to reply
Thank you for your response sir. I have tried to show it ∀ k now.
Log in to reply
This looks much better.
Note that you should also explain when / why such a sequence exists. You have only shown that "conditional on such a sequence existing, the different must be -0.5". It could be possible that such a sequence does not exist.
Problem Loading...
Note Loading...
Set Loading...
As long as 0 < k < n , d ( n , k ) = − 1 / 2 : Let N = 1 , 2 , . . . , n . For any i < n , choose a subset S of N of size k − 1 , not including either i or i + 1 , and let T be the elements of N not in either S nor in i , i + 1 (I couldn't figure out the markup for union etc).
Then we have (after moving the "serial numbers" to the left): x i + i + j ∈ S ∑ ( x j + j ) = x i + 1 + j ∈ T ∑ x j x i + 1 + i + 1 + j ∈ S ∑ ( x j + j ) = x i + j ∈ T ∑ x j
Differencing: 2 ( x i − x i + 1 ) − 1 = 0 ie d ( n , k ) = − 1 / 2 .
In fact, given that the sequence is allowed to select a single x i twice, the above argument works even for k = n .