[MOSP 2001] Counting number of sets

Let a n a_n denote the number of nonempty sets S S such that:

(i) S { 1 , 2 , . . . , n } S \subseteq \{1,2,...,n\}

(ii) All elements of S S have the same parity;

(iii) Each element k S k\in S such that k 2 S k\geq 2|S| .

What is the value of a 37 a_{37} ?


The answer is 13528.

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.

1 solution

Nicola Mignoni
Nov 9, 2018

Let n N n \in \mathbb{N} be odd. Let's define O O and E E as, respectively, the set of odd and even number between 1 1 and n n . Since n n is odd, we have that E = n 1 2 \displaystyle |E|=\frac{n-1}{2} and O = n + 1 2 \displaystyle |O|=\frac{n+1}{2} . We know that all the elements k S k \in S are such that k 2 S k \geq 2|S| for a given S |S| and have the same parity, i.e.

S i O { k O : k 2 S } S_i \subset O \setminus \{k \in O : k \leq 2|S|\}

and

S j E { k E : k 2 S } S_j \subset E \setminus \{k \in E : k \leq 2|S|\} .

for i j i \neq j . In other words, for each S |S| there will be some S i S_i subsets of O O and S j S_j subsets of E E . Clearly, the number of k O k \in O such that k 2 S k \leq 2|S| is

O S = n + 1 2 S \displaystyle |O|-|S|=\frac{n+1}{2}-|S|

and number of k E k \in E such that k 2 S k \leq 2|S| is

E ( S 1 ) = n 1 2 S + 1 = n + 1 2 S \displaystyle |E|-(|S|-1)=\frac{n-1}{2}-|S|+1=\frac{n+1}{2}-|S| .

So, for a given S |S| , the number of possible S i S_i is

( O S S ) = ( n + 1 2 S S ) \displaystyle \binom{|O|-|S|}{|S|}=\binom{\frac{n+1}{2}-|S|}{|S|}

and the number of possible S j S_j is

( E ( S 1 ) S ) = ( n + 1 2 S S ) \displaystyle \binom{|E|-(|S|-1)}{|S|}=\binom{\frac{n+1}{2}-|S|}{|S|}

so that the number of possible S S is

( O S S ) + ( E ( S 1 ) S ) = 2 ( n + 1 2 S S ) \displaystyle \binom{|O|-|S|}{|S|}+\binom{|E|-(|S|-1)}{|S|}=2\binom{\frac{n+1}{2}-|S|}{|S|}

We know that S 1 |S| \geq 1 , but we have to find its upper bound. From the binomial coefficient we can write that

n + 1 2 S = S S = n + 1 4 \displaystyle \frac{n+1}{2}-|S|=|S| \hspace{5pt} \Longrightarrow \hspace{5pt} |S|=\Bigl\lfloor \frac{n+1}{4}\Bigr \rfloor

since S |S| is a positive integer. Eventually

a n = S = 1 n + 1 4 2 ( n + 1 2 S S ) a 37 = S = 1 9 2 ( 19 S S ) = 13528 \displaystyle a_n=\sum_{|S|=1}^{\Bigl\lfloor \frac{n+1}{4}\Bigr \rfloor} 2\binom{\frac{n+1}{2}-|S|}{|S|} \hspace{5pt} \Longrightarrow \hspace{5pt} a_{37}=\sum_{|S|=1}^{9} 2\binom{19-|S|}{|S|}=\boxed{13528}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...