Given a positive integer . Denote by the set of the first positive integers. Find the number of subsets of with the property: in there do not exist numbers with .
(Note: The empty set is considered as satisfying the above property).
, 2009
Solution
For each , denote by the number to be found.
Consider the table of size . Write in each square of the table in the order from left to right and from top to bottom the numbers from to . (See Pic. 1).
Call the -th square of the first row and the first square of the second row special squares.
Then two numbers satisfy iff they lie in two squares with common side or if they lie in the special squares.
| 1 | 2 | ... | n-1 | n |
|---|---|---|---|---|
| n+1 | n+2 | ... | 2n-1 | 2n |
Pic. 1
Hence, is the number of the ways of choosing some squares of the table (including the choice of squares) with the property that in each choice there are no squares with common side and the two special squares are not chosen together.
For each , denote:
+ the number of choices of squares in which there are no squares with common sides; (*)
+ the number of choices of squares in which there are no squares with common sides and the two special squares are chosen.
Thus: .
* Compute .
The set of choices satisfying (*) consists of:
+ choices, in each of which the square of the first column is not chosen;
+ choices, in each of which a square of the first column is chosen;
where is the number of choices satisfying (*) from the table cut off one square. (See Pic. 2).
| ... | |||
|---|---|---|---|
| x | ... |
Pic. 2
Thus . (5.1)
On the other hand, choices satisfying (*) from such a table consist of:
+ choices, in each of which the square with mark "x" is not chosen;
+ choices, in each of which the square with mark "x" is chosen.
Hence: .
Therefore, according to (5.1) we have:
The recurrent relation (5.1) has characteristic equation: .
By means of (5.3), we find: and .
• Compute .
We have, , and for we have:
where is the number of choices satisfying (*) from the table cut off two squares. (See Pic. 3).

Pic 3
Since , let . Direct count gives .
Let .
The choices satisfying (*) from the table cut off two squares as above consist of:
+ choices, in each of which both squares and are not chosen;
+ choices, in each of which exactly one of squares , is chosen;
+ choices, in each of which both of squares and are chosen.
where is given as in (5.5).