Maths Olympiad Prep

Library / /70 of 520

Combinatorics Difficulty 6.4 National olympiad Find the answer

A set MM of positive integers is called [i]connected[/i] if for any element xMx\in M at least one of the numbers x1,x+1x-1,x+1 is in MM. Let UnU_n be the number of the connected subsets of {1,2,,n}\{1,2,\ldots,n\}.

a) Compute U7U_7;

b) Find the smallest number nn such that Un2006U_n \geq 2006.

Solution

To solve the problem, we need to compute the number of connected subsets of the set {1,2,,n}\{1, 2, \ldots, n\}, denoted as UnU_n. A set MM of positive integers is called connected if for any element xMx \in M, at least one of the numbers x1x-1 or x+1x+1 is in MM.

### Part (a): Compute U7U_7

We start by establishing a recurrence relation for UnU_n.

#### Step 1: Establish the recurrence relation
Consider a connected subset MM of {1,2,,n}\{1, 2, \ldots, n\}.

Case 1: nMn \notin M
In this case, MM is a connected subset of {1,2,,n1}\{1, 2, \ldots, n-1\}. There are Un1U_{n-1} such subsets.

Case 2: nMn \in M
For MM to be connected, n1n-1 must also be in MM. Thus, MM can be written as M=N{n1,n}M = N \cup \{n-1, n\}, where NN is a connected subset of {1,2,,n2}\{1, 2, \ldots, n-2\}.

Subcase 2.1: n2Nn-2 \notin N
In this subcase, NN is a connected subset of {1,2,,n3}\{1, 2, \ldots, n-3\}. There are Un3U_{n-3} such subsets.

Subcase 2.2: n2Nn-2 \in N
In this subcase, NN is a connected subset of {1,2,,n2}\{1, 2, \ldots, n-2\}. There are Un2U_{n-2} such subsets.

Combining these cases, we get:
Un=Un1+Un2+Un3 U_n = U_{n-1} + U_{n-2} + U_{n-3}

#### Step 2: Compute initial values
We need initial values to start the recurrence:
U1=1 U_1 = 1
U2=2 U_2 = 2
U3=4 U_3 = 4

#### Step 3: Compute U4U_4 to U7U_7
Using the recurrence relation:
U4=U3+U2+U1=4+2+1=7 U_4 = U_3 + U_2 + U_1 = 4 + 2 + 1 = 7
U5=U4+U3+U2=7+4+2=13 U_5 = U_4 + U_3 + U_2 = 7 + 4 + 2 = 13
U6=U5+U4+U3=13+7+4=24 U_6 = U_5 + U_4 + U_3 = 13 + 7 + 4 = 24
U7=U6+U5+U4=24+13+7=44 U_7 = U_6 + U_5 + U_4 = 24 + 13 + 7 = 44

### Part (b): Find the smallest nn such that Un2006U_n \geq 2006

We continue using the recurrence relation to find the smallest nn such that Un2006U_n \geq 2006.

#### Step 4: Compute U8U_8 to U15U_{15}
U8=U7+U6+U5=44+24+13=81 U_8 = U_7 + U_6 + U_5 = 44 + 24 + 13 = 81
U9=U8+U7+U6=81+44+24=149 U_9 = U_8 + U_7 + U_6 = 81 + 44 + 24 = 149
U10=U9+U8+U7=149+81+44=274 U_{10} = U_9 + U_8 + U_7 = 149 + 81 + 44 = 274
U11=U10+U9+U8=274+149+81=504 U_{11} = U_{10} + U_9 + U_8 = 274 + 149 + 81 = 504
U12=U11+U10+U9=504+274+149=927 U_{12} = U_{11} + U_{10} + U_9 = 504 + 274 + 149 = 927
U13=U12+U11+U10=927+504+274=1705 U_{13} = U_{12} + U_{11} + U_{10} = 927 + 504 + 274 = 1705
U14=U13+U12+U11=1705+927+504=3136 U_{14} = U_{13} + U_{12} + U_{11} = 1705 + 927 + 504 = 3136

Since U14=31362006U_{14} = 3136 \geq 2006, the smallest nn such that Un2006U_n \geq 2006 is n=14n = 14.

The final answer is n=14n = 14

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.