% use [nosolutions] flag to hide solutions.
% use [solutions] flag to show solutions.
\documentclass[
	solutions
]{../../resources/ormc_handout}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}

\begin{document}

	\maketitle
		<Advanced 1A>
		<Spring 2022>
		{Pidgeonhole Problems}
		{Prepared by Mark on \today}

	\vspace{3ex}



	\problem{}
	Is it possible to cover an equilateral triangle with two smaller equilateral triangles? Why or why not?

	\begin{solution}
		In order to completely cover an equilateral triangle, the two smaller triangles must cover all three vertices. Since the longest length of an equilateral triangle is one of its sides, a smaller triangle cannot cover more than one vertex. Therefore, we cannot completely cover the triangle with two smaller copies. \\

		\textcolor{gray}{\textit{Bonus question:}} Can you cover a square with three smaller squares?
	\end{solution}




	\problem{}
	You are given $n + 1$ integers. Prove that there exist at least two
	of them such that their difference is divisible by $n$.

	\begin{solution}
		$n | (a-b) \iff a \equiv b \pmod{n}$ \\

		Let $i_0 ... i_{n+1}$ be our set of integers. If we pick $i_0 ... i_{n+1}$ so that no two have a difference divisible by $n$, we must have $i_0 \not\equiv i_k \pmod{n}$ for all $1 \leq k \leq n+1$. There are $n$ such $i_k$, and there are $n$ equivalence classes mod $n$. \\

		Therefore, either, $i_1 ... i_{n+1}$ must cover all equivalence classes mod $n$ (implying that $i_0 \equiv i_k \pmod{n}$ for some k), or there exist two elements in $i_1 ... i_{n+1}$ that are equivalent mod $n$. \\

		In either case, we can find $a, b$ so that $a \equiv b \pmod{n}$, which implies that $n$ divides $a-b$.
	\end{solution}




	\problem{}
	You are given an $8 \times 8$ chess board with a pair of opposite corner squares cut off. You are further given a set of dominoes each equal in size to a pair of the board squares with a common side. Is it possible to tile the board with the dominoes in such a way that all the board squares are covered while the dominoes neither overlap nor stick out?

	\begin{solution}
		A domino covers two adjacent squares. Adjacent squares have different colors. \\

		If you remove two opposing corners of a chessboard, you remove two squares of the same color, and you're left with $32$ of one and $30$ of the other. \\

		Since each domino must cover two colors, you cannot cover the modified board.
	\end{solution}




	\problem{}
	The ocean covers more than a half of the Earth's surface. Prove that the ocean has at least one pair of antipodal points.

	\begin{solution}
	Let $W$ be the set of wet points, and $W^c$ the set of points antipodal to those in $W$. $W$ and $W^c$ each contain more than half of the points on the earth. The set of dry points, $D$, contains less than half of the points on the earth. Therefore, $W^c \not\subseteq D$. \\

	\textcolor{gray}{\textit{Note:}} This solution isn't very convincing. However, it is unlikely that the students know enough to provide a fully rigorous proof.
	\end{solution}




	\problem{}
	There are $n > 1$ people at a party. Prove that among them there are at least two people who have the same number of acquaintances at the gathering. (We assume that if A knows B, then B also knows A)

	\begin{solution}
		Assume that every attendee knows a different number of people. There is only one way this may happen: the most popular person knows $n-1$ people (that is, everyone but himself), the second-most popular knows $n-2$, etc. The least-popular person must then know $0$ people. \\

		This is impossible, since we know that someone must know $n-1$. \\
		(Remember, ``knowing'' must be mutual.)
	\end{solution}




	\problem{}
	Among any five points with integer coordinates in the plane, there exist two such that the center of the line segment that connects them has integer coordinates as well.

	\begin{solution}
		Let $e, o$ represent even and odd integers. \\
		There are four possible classes of points: $(e, e)$, $(o, o)$, $(e, o)$, $(o, e)$. \\

		$\text{midpoint}(a, b) = (\frac{a_x + b_x}{2}, \frac{a_y + b_y}{2})$. If $a_x + b_x$ and $a_y + b_y$ are both even, the midpoint of points $a$ and $b$ will have integer coordinates. \\

		Since we pick five points from four classes, at least two must come from the same class. \\
		$e + e = e$ and $o + o = e$, so the midpoint between two points of the same class must have integral coordinates. \\

	\end{solution}




	\problem{}<line_threecolor>
	Prove that if every point on a straight line is painted either black or white, then there exist three points of the same color such that one is the midpoint of the line segment formed by the other two.

	\begin{solution}
		This is a proof by contradiction. We will try to construct a set of points where three points have such an arrangement. \\

		We know that some two points on the line will have the same color:

		\begin{center}
			\begin{tikzpicture}
				% Axis
				\draw[latex-latex] (-3,0) -- (4,0);

				% Ticks
				\foreach \x in {-2,-1,0,1,2,3}
					\draw[shift={(\x,0)},color=black] (0pt,3pt) -- (0pt,-3pt);

				% Points
				\path [draw=black, fill=black] (1,0) circle (2pt);
				\path [draw=black, fill=black] (0,0) circle (2pt);
			\end{tikzpicture}
		\end{center}

		This implies that the points one unit left and right of them must also be white---if they are not, they will form a line of equidistant black points.

		\begin{center}
			\begin{tikzpicture}
				% Axis
				\draw[latex-latex] (-3,0) -- (4,0);

				% Ticks
				\foreach \x in {-2,-1,0,1,2,3}
					\draw[shift={(\x,0)},color=black] (0pt,3pt) -- (0pt,-3pt);

				% Points
				\path [draw=black, fill=black] (1,0) circle (2pt);
				\path [draw=black, fill=black] (0,0) circle (2pt);
				\path [draw=black, fill=white] (2,0) circle (2pt);
				\path [draw=black, fill=white] (-1,0) circle (2pt);
			\end{tikzpicture}
		\end{center}

		Our original assumption also implies that the center point is white. \\
		This, however, creates a line of equidistant white points:

		\begin{center}
			\begin{tikzpicture}
				% Axis
				\draw[latex-latex] (-3,0) -- (4,0);

				% Ticks
				\foreach \x in {-2,-1,0,1,2,3}
					\draw[shift={(\x,0)},color=black] (0pt,3pt) -- (0pt,-3pt);

				% Points
				\path [draw=black, fill=black] (1,0) circle (2pt);
				\path [draw=black, fill=black] (0,0) circle (2pt);
				\path [draw=black, fill=white] (0.5,0) circle (2pt);
				\path [draw=black, fill=white] (2,0) circle (2pt);
				\path [draw=black, fill=white] (-1,0) circle (2pt);
			\end{tikzpicture}
		\end{center}

		It is thus impossible to create a set of points that does not have the property stated in the problem.
	\end{solution}




	\problem{}
	All the points in the plane are painted with either one of two colors. Prove that there exist two points in the plane that have the same color and are located exactly one foot away from each other.

	\begin{solution}
		Pick three points that form an equilateral triangle with side length 1.
	\end{solution}




	\problem{}
	Each point of a circumference is colored either black or white. Prove that there exist three equally spaced points of the same color.

	\begin{solution}
		This problem is exactly the same as \ref{line_threecolor}.
	\end{solution}




	\problem{}
	Let n be an integer not divisible by $2$ and $5$. Show that n has a multiple consisting entirely of ones.




	\problem{}
	Prove that for any $n > 1$, there exists an integer made of only sevens and zeros that is divisible by $n$.




	\problem{}
	You choose $n + 1$ integers between $1$ and $2n$. Show that you must select two co-prime numbers.




	\problem{}
	You choose $n + 1$ integers between $1$ and $2n$. Show you must select two numbers $a$ and $b$ such that $a$ divides $b$.

	\begin{solution}
		Split the the set $\{1, ..., 2n\}$ into classes defined by each integer's greatest odd divisor. There will be $n$ classes since there are $\frac{k}{2}$ odd numbers between $1$ and $n$. Because we pick $n + 1$ numbers, at least two will come from the same class---they will be divisible. \\

		For example, if $n = 5$, our classes are
		\begin{itemize}
			\item[1:] $\{1, 2, 4, 8\}$
			\item[3:] $\{3, 6\}$
			\item[5:] $\{5, 10\}$
			\item[7:] $\{7\}$
			\item[9:] $\{9\}$
		\end{itemize}
	\end{solution}




	\problem{}
	Prove that it is always possible to choose a subset of the set of integral numbers $a_1, a_2, ... , a_n$ so that the sum of the numbers in the subset is divisible by $n$.




	\problem{}
	Prove that there exists a positive integer divisible by $2013$ that has $2014$ as its last for digits.




	\problem{}
	Let $n$ be an odd number. Let $a_1, a_2, ... , a_n$ be a permutation of the numbers $1, 2, ... , n$. Prove that the product $(a_1 - 1) \times (a_2 - 2) \times ... \times (a_n - n)$ is an even number.

	\begin{solution}
		If $n$ is odd, there will be $m$ even and $m + 1$ odd numbers between $1$ and $n$. \\
		Therefore, if we match each $a_n$ with an integer in $[1, ..., n]$, we will have to match at least one odd number with an odd number. \\

		The difference of two odd numbers is even, so the product above will have at least one factor of two.
	\end{solution}




	\problem{}
	A stressed-out student consumes at least one espresso every day of a particular year, drinking $500$ overall. Prove that on some consecutive sequence of whole days the student drinks exactly $100$ espressos.

	\begin{solution}
		Rearrange the problem. Don't think about days, think about espressos. Consider the following picture:

		\begin{center}
			\begin{tikzpicture}
				% Axis
				\draw[-] (1,0) -- (12,0);

				% Ticks
				\foreach \x in {1, 2, 3, 4}
					\draw[shift={(\x,0)},color=black] (0pt,3pt) -- (0pt,-3pt);

				% Legend
				\node[above] at (-0.5, 3pt) {Day consumed};
				\node[below] at (-0.5,-3pt) {Espresso \#};

				% Bottom numbers
				\foreach \x in {1, 2, ..., 7}
					\draw[shift={(\x,0)},color=black] (0pt,0pt) -- (0pt, -3pt) node[below] {$\x$};
				\draw[shift={(9,0)},color=black]  (0pt,0pt) -- (0pt, -3pt) node[below] {$...$};
				\draw[shift={(11,0)},color=black] (0pt,0pt) -- (0pt, -3pt) node[below] {$499$};
				\draw[shift={(12,0)},color=black] (0pt,0pt) -- (0pt, -3pt) node[below] {$500$};

				% Top numbers
				\draw[shift={(1,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$1$};
				\draw[shift={(2,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$1$};
				\draw[shift={(3,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$2$};
				\draw[shift={(4,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$2$};
				\draw[shift={(5,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$3$};
				\draw[shift={(6,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$3$};
				\draw[shift={(7,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$3$};
				\draw[shift={(9,0)},color=black]  (0pt,0pt) -- (0pt,3pt) node[above] {$...$};
				\draw[shift={(11,0)},color=black] (0pt,0pt) -- (0pt,3pt) node[above] {$365$};
				\draw[shift={(12,0)},color=black] (0pt,0pt) -- (0pt,3pt) node[above] {$365$};

				\draw[shift={(3, -1)}, color=orange, thick] (0pt,0pt) -- (0pt,3pt)
					node[below, color=gray, shift={(0, -3pt)}] {$3$};
				\draw[color=orange, thick] (3, -1) -- (8.5, -1) node[below, midway] {100 espressos};
				\draw[shift={(8.5, -1)}, color=orange, thick] (0pt,0pt) -- (0pt,3pt)
					node[below, color=gray, shift={(0, -3pt)}] {$102$};
			\end{tikzpicture}
		\end{center}

		If there exists a sequence of days where the student drinks exactly 100 espressos, we must have at least one ``block'' (in orange, above) of 100 espressos that both begins and ends on a ``clean break'' between days. \\

		There are $499$ ``breaks'' between $500$ espressos. \\
		In a year, there are $364$ clean breaks. This leaves $499 - 364 = 135$ ``dirty'' breaks. \\
		We therefore have $135$ places to start a block on a dirty break, and $135$ places to end a block on a dirty break. This gives us a maximum of $270$ dirty blocks. \\

		However, there are $401$ possible blocks, since we can start one at the $1^{\text{st}}, 2^{\text{nd}}, ..., 401^{\text{st}}$ espresso. \\

		Out of $401$ blocks, a maximum of $270$ can be dirty. We are therefore guaranteed at least $131$ clean blocks. This completes the problem---each clean block represents a set of consecutive, whole days during which exactly 100 espressos were consumed.

	\end{solution}




	\problem{}
	Prove that at a party with ten or more people, there are either three mutual acquaintances or four mutual strangers.




	\problem{}
	Given a table with a marked point, $O$, and with $2013$ properly working watches put down on the table, prove that there exists a moment in time when the sum of the distances from $O$ to the watches' centers is less than the sum of the distances from $O$ to the tips of the watches' minute hands.
\end{document}
