Define $A_1 = \emptyset$ and $B_1 = \{420\}$ to be our starting sets. We generate a sequence of sets as such $$A_{n+1} = \{x + 1 : x \in B_n \}$$$$B_{n+1} = (A_n \cup B_n) - (A_n \cap B_n)$$Show that $B_n = \{420\}$ if and only if $n$ is a power of $2$. Note: $\emptyset$ denotes the empty set, $\cup$ denotes set union, $\cap$ denotes set intersection and $-$ denotes set difference.
Problem
Source: 2022 IGMO Round 2 #2 International Gamma Mathematical Olympiad
Tags: Sets, algebra
20.12.2023 09:02
parmenides51 wrote: Define $A_1 = \emptyset$ and $B_1 = \{420\}$ to be our starting sets. We generate a sequence of sets as such $$A_{n+1} = \{x + 1 : x \in B_n \}$$$$B_{n+1} = (A_n \cup B_n) - (A_n \cap B_n)$$Show that $B_n = \{420\}$ if and only if $n$ is a power of $2$. Note: $\emptyset$ denotes the empty set, $\cup$ denotes set union, $\cap$ denotes set intersection and $-$ denotes set difference. 1) $420+k\in B_n$ $\iff$ $n-k-1\ge k\ge 0$ and $\binom{n-k-1}k$ is odd
So $B_n=\{420\}\iff$ $\binom{n-k-1}k$ is even $\forall k$ such that $n-k-1\ge k\ge 1$ Note that, using Legendre formula $v_2(n!)=n-S_2(n)$ where $S_2(n)$ is the number of "one" in the binary representation of $ n$, we have $v_2(\binom {n-k-1}k)=S_2(k)+S_2(n-2k-1)-S_2(n-k-1)$ 2) If $n$ is not a power of two, there exists $k\ge 1$ such that $\binom{n-k-1}k$ is odd
3) If $n=2^p$, then $\binom {n-k-1}k$ is even whatever is $k$ such that $n-k-1\ge k\ge 1$