Problem:
Let be a positive integer. A sequence of integers is acceptable if it satisfies the following conditions:
a. .
b. The sets and are equal.
Prove that the number of acceptable sequences of integers is .
Problem:
Let be a positive integer. A sequence of integers is acceptable if it satisfies the following conditions:
a. .
b. The sets and are equal.
Prove that the number of acceptable sequences of integers is .
Solution:
We actually prove a more general result via strong induction on .
First, we state the more general result we wish to prove.
For , define a great sequence to be a sequence of integers such that
1.
2. Let be a set of positive integers such that for all . The sets and are equal.
Then, the number of great sequences is .
If we prove this statement, then we can just consider the specific case of , to solve our problem.
Before we proceed, we will prove a lemma.
Lemma: Let be a set of positive integers such that for all . Then .
Proof: . Equality only occurs when the sequence is infinite, which is not the case, so the inequality holds.
We can now proceed with the induction. The base case is obvious. Assume it is true up to . Next, consider some permutation of the set . Denote it as . Find the element . For the first elements of , we can put them in order and apply the inductive hypothesis. The number of great sequences such that the set of differences is equal to is .
Then, can be either or . This is because, by the lemma, . It is easy to check that for either possible value of , . After that, there is only one possible value for because only one of will satisfy .
There are possible ways to choose from . Given those elements of , there are ways to make a great sequence . Then, there are 2 possible values for . After that, there are ways to order the remaining elements of , and for each such ordering, there is exactly 1 possible great sequence .
Now, counting up all the possible ways to do this over all values of , we get that the number of great sequences is equal to
The induction is complete, and this finishes the proof.
Alternate solution:
Another method of performing the induction is noting that any acceptable sequence can be matched with acceptable sequences of length because we can take and add an element with a difference of 1 in any of positions.