{"year": "2010", "tier": "T4", "problem_label": "1", "problem_type": null, "exam": "HMMT", "problem": "If $A=10^{9}-987654321$ and $B=\\frac{123456789+1}{10}$, what is the value of $\\sqrt{A B}$ ?", "solution": "12345679 Both $A$ and $B$ equal 12345679, so $\\sqrt{A B}=12345679$ as well.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n1. [4]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "2", "problem_type": null, "exam": "HMMT", "problem": "Suppose that $x, y$, and $z$ are non-negative real numbers such that $x+y+z=1$. What is the maximum possible value of $x+y^{2}+z^{3}$ ?", "solution": "1 Since $0 \\leq y, z \\leq 1$, we have $y^{2} \\leq y$ and $z^{3} \\leq z$. Therefore $x+y^{2}+z^{3} \\leq x+y+z=1$. We can get $x+y^{2}+z^{3}=1$ by setting $(x, y, z)=(1,0,0)$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n2. [4]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "3", "problem_type": null, "exam": "HMMT", "problem": "In a group of people, there are 13 who like apples, 9 who like blueberries, 15 who like cantaloupe, and 6 who like dates. (A person can like more than 1 kind of fruit.) Each person who likes blueberries also likes exactly one of apples and cantaloupe. Each person who likes cantaloupe also likes exactly one of blueberries and dates. Find the minimum possible number of people in the group.", "solution": "22 Everyone who likes cantaloupe likes exactly one of blueberries and dates. However, there are 15 people who like cantaloupe, 9 who like blueberries, and 6 who like dates. Thus, everyone who likes blueberries or dates must also like cantaloupes (because if any of them didn't, we would end up with less than 15 people who like cantaloupe).\nSince everyone who likes blueberries likes cantaloupes, none of them can like apples. However, the 6 people who like both cantaloupe and dates can also like apples. So, we could have a group where 7 people like apples alone, 9 like blueberries and cantaloupe, and 6 like apples, cantaloupe, and dates. This gives 22 people in the group, which is optimal.\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 - GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n3. [4]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "4", "problem_type": null, "exam": "HMMT", "problem": "To set up for a Fourth of July party, David is making a string of red, white, and blue balloons. He places them according to the following rules:\n\n- No red balloon is adjacent to another red balloon.\n- White balloons appear in groups of exactly two, and groups of white balloons are separated by at least two non-white balloons.\n- Blue balloons appear in groups of exactly three, and groups of blue balloons are separated by at least three non-blue balloons.\n\nIf David uses over 600 balloons, determine the smallest number of red balloons that he can use.", "solution": "99 It is possible to achieve 99 red balloons with the arrangement\n\n$$\n\\text { WWBBBWW } \\underbrace{\\text { RBBBWWRBBBWW . . RBBBWW }}_{99 \\text { RBBBWW's }},\n$$\n\nwhich contains $99 \\cdot 6+7=601$ balloons.\nNow assume that one can construct a chain with 98 or fewer red balloons. Then there can be 99 blocks of non-red balloons, which in total must contain more than 502 balloons. The only valid combinations of white and blue balloons are WWBBB, BBBWW, and WWBBBWW (Any others contain the subsequence BBBWWBBB , which is invalid). The sequence ... WWR must be followed by BBBWW; otherwise two groups of white balloons would be too close. Similarly, the sequence\n\nRWW . . . must be preceded by WWBBB. It follows that WWBBBWW can be used at most once in a valid sequence, meaning that there can be at most $98 \\cdot 5+7=497$ non-red balloons. Contradiction. Therefore the minimum is 99 red balloons. (Better if the party's outdoors; then we'd have 99 red balloons floating in the summer sky. :-p)", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n4. [5]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "5", "problem_type": null, "exam": "HMMT", "problem": "You have a length of string and 7 beads in the 7 colors of the rainbow. You place the beads on the string as follows - you randomly pick a bead that you haven't used yet, then randomly add it to either the left end or the right end of the string. What is the probability that, at the end, the colors of the beads are the colors of the rainbow in order? (The string cannot be flipped, so the red bead must appear on the left side and the violet bead on the right side.)", "solution": "$\\frac{1}{5040}$ The threading method does not depend on the colors of the beads, so at the end all configurations are equally likely. Since there are $7!=5040$ configurations in total, the probability of any particular configuration is $\\frac{1}{5040}$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n5. [5]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "6", "problem_type": null, "exam": "HMMT", "problem": "How many different numbers are obtainable from five 5 s by first concatenating some of the 5 s, then multiplying them together? For example, we could do $5 \\cdot 55 \\cdot 55,555 \\cdot 55$, or 55555 , but not $5 \\cdot 5$ or 2525 .", "solution": "7 If we do 55555 , then we're done.\nNote that $5,55,555$, and 5555 all have completely distinguishable prime factorizations. This means that if we are given a product of them, we can obtain the individual terms. The number of 5555's is the exponent of 101 , the number of 555 's is the exponent of 37 , the number of 55 's is the exponent of 11 minus the exponent of 101 , and the number of 5 's is just whatever we need to get the proper exponent of 5 . Then the answer is the number of ways we can split the five 5 's into groups of at least one. This is the number of unordered partitions of 5 , which is 7 .\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 - GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n6. [5]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "7", "problem_type": null, "exam": "HMMT", "problem": "What are the last 8 digits of\n\n$$\n11 \\times 101 \\times 1001 \\times 10001 \\times 100001 \\times 1000001 \\times 111 ?\n$$", "solution": "19754321 Multiply terms in a clever order.\n\n$$\n\\begin{aligned}\n11 \\cdot 101 \\cdot 10001 & =11,111,111 \\\\\n111 \\cdot 1001 \\cdot 1000001 & =111,111,111,111\n\\end{aligned}\n$$\n\nThe last eight digits of $11,111,111 \\cdot 111,111,111,111$ are 87654321 . We then just need to compute the last 8 digits of $87654321 \\cdot 100001=87654321+\\ldots 32100000$, which are 19754321 .", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n7. [6]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "8", "problem_type": null, "exam": "HMMT", "problem": "Each square in the following hexomino has side length 1. Find the minimum area of any rectangle that contains the entire hexomino.\n", "solution": "$\\frac{21}{2}$ If a rectangle contains the entire hexomino, it must also contain its convex hull, which is an origin-symmetric hexagon. It is fairly clear that the smallest rectangle that contains such a hexagon must share one set of parallel sides with the hexagon. There are three such rectangles, and checking them all, we find that the one shown below is the smallest. It has area $\\frac{21}{2}$.\n", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n8. [6]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "9", "problem_type": null, "exam": "HMMT", "problem": "Indecisive Andy starts out at the midpoint of the 1-unit-long segment $\\overline{H T}$. He flips 2010 coins. On each flip, if the coin is heads, he moves halfway towards endpoint $H$, and if the coin is tails, he moves halfway towards endpoint $T$. After his 2010 moves, what is the expected distance between Andy and the midpoint of $\\overline{H T}$ ?", "solution": "| $\\frac{1}{4}$ |\n| :---: |\n| Let Andy's position be $x$ units from the H end after 2009 flips. If Any moves towards | the $H$ end, he ends up at $\\frac{x}{2}$, a distance of $\\frac{1-x}{2}$ from the midpoint. If Andy moves towards the $T$ end, he ends up at $\\frac{1+x}{2}$, a distance of $\\frac{x}{2}$ from the midpoint. His expected distance from the midpoint is then\n\n$$\n\\frac{\\frac{1-x}{2}+\\frac{x}{2}}{2}=\\frac{1}{4} .\n$$\n\nSince this does not depend on $x, \\frac{1}{4}$ is the answer.\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 — GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n9. [6]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "10", "problem_type": null, "exam": "HMMT", "problem": "Let $A B C$ be a triangle with $A B=8, B C=15$, and $A C=17$. Point $X$ is chosen at random on line segment $A B$. Point $Y$ is chosen at random on line segment $B C$. Point $Z$ is chosen at random on line segment $C A$. What is the expected area of triangle $X Y Z$ ?", "solution": "15 Let $\\mathbb{E}(X)$ denote the expected value of $X$, and let $[S]$ denote the area of $S$. Then\n\n$$\n\\begin{aligned}\n\\mathbb{E}([\\triangle X Y Z]) & =\\mathbb{E}([\\triangle A B C]-[\\triangle X Y B]-[\\triangle Z Y C]-[\\triangle X B Z]) \\\\\n& =[\\triangle A B C]-\\mathbb{E}([\\triangle X Y B])-\\mathbb{E}([\\triangle Z Y C])-[\\triangle X B Z])\n\\end{aligned}\n$$\n\nwhere the last step follows from linearity of expectation ${ }^{1}$. But $[\\triangle X Y B]=\\frac{1}{2} \\cdot B X \\cdot B Y \\cdot \\sin (B)$. The $\\frac{1}{2} \\sin (B)$ term is constant, and $B X$ and $B Y$ are both independent with expected values $\\frac{A B}{2}$ and $\\frac{B C}{2}$, respectively. Thus $\\mathbb{E}([\\triangle X Y B])=\\frac{1}{8} A B \\cdot B C \\cdot \\sin (B)=\\frac{1}{4}[\\triangle A B C]$. Similarly, $\\mathbb{E}([\\triangle Z Y C])=$ $\\mathbb{E}([\\triangle Z B X])=\\frac{1}{4}[\\triangle A B C]$.\nThen we have $\\mathbb{E}([\\triangle X Y Z])=\\left(1-\\frac{1}{4}-\\frac{1}{4}-\\frac{1}{4}\\right)[\\triangle A B C]=\\frac{1}{4}[\\triangle A B C]=15$.\nNote: We can also solve this problem (and the more general case of polygons) by noting that the area of $X Y Z$ is linear in the coordinates of $X, Y$, and $Z$, so the expected area of $X Y Z$ is the same as the area of $X^{\\prime} Y^{\\prime} Z^{\\prime}$, where $X^{\\prime}$ is the expected location of $X, Y^{\\prime}$ is the expected location of $Y$, and $Z^{\\prime}$ is the expected location of $Z$. In our case, this corresponds to the midpoints of the three sides $A B$, $B C$, and $C A$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n10. [7]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "11", "problem_type": null, "exam": "HMMT", "problem": "From the point $(x, y)$, a legal move is a move to $\\left(\\frac{x}{3}+u, \\frac{y}{3}+v\\right)$, where $u$ and $v$ are real numbers such that $u^{2}+v^{2} \\leq 1$. What is the area of the set of points that can be reached from $(0,0)$ in a finite number of legal moves?", "solution": "| $\\frac{9 \\pi}{4}$ |\n| :---: |\n| We claim that the set of points is the disc with radius $\\frac{3}{2}$ centered at the origin, which | clearly has area $\\frac{9 \\pi}{4}$.\n\nFirst, we show that the set is contained in this disc. This is because if we are currently at a distance of $r$ from the origin, then we can't end up at a distance of greater than $\\frac{r}{3}+1$ from the origin after a single move. Since $\\frac{r}{3}+1<\\frac{3}{2}$ if $r<\\frac{3}{2}$, we will always end up in the disc of radius $\\frac{3}{2}$ if we start in it. Since the origin is inside this disc, any finite number of moves will leave us inside this disc.\n\nNext, we show that all points in this disc can be reached in a finite number of moves. Indeed, after one move we can get all points within a distance of 1 . After two moves, we can get all points within a distance of $\\frac{4}{3}$. After three moves, we can get all points within a distance of $\\frac{13}{9}$. In general, after $n$ moves we can get all points within a distance of $\\frac{3}{2}-\\frac{1}{2 \\cdot 3^{k-1}}$. This means that for any distance $d<\\frac{3}{2}$, we will eventually get all points within a distance of $d$, so all points in the disc of radius $\\frac{3}{2}$ can be reached after some number of moves.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n11. [7]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "12", "problem_type": null, "exam": "HMMT", "problem": "How many different collections of 9 letters are there? A letter can appear multiple times in a collection. Two collections are equal if each letter appears the same number of times in both collections.", "solution": "$\\left.\\begin{array}{c}34 \\\\ 9\\end{array}\\right)$ We put these collections in bijections with binary strings of length 34 containing 9 zeroes and 25 ones. Take any such string - the 9 zeroes will correspond to the 9 letters in the collection. If there are $n$ ones before a zero, then that zero corresponds to the $(n+1)$ st letter of the alphabet. This scheme is an injective map from the binary strings to the collections, and it has an inverse, so the number of collections is $\\binom{34}{9}$.\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 - GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n12. [7]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "13", "problem_type": null, "exam": "HMMT", "problem": "A triangle in the $x y$-plane is such that when projected onto the $x$-axis, $y$-axis, and the line $y=x$, the results are line segments whose endpoints are $(1,0)$ and $(5,0),(0,8)$ and $(0,13)$, and $(5,5)$ and $(7.5,7.5)$, respectively. What is the triangle's area?", "solution": "$\\frac{17}{2}$ Sketch the lines $x=1, x=5, y=8, y=13, y=10-x$, and $y=15-x$. The triangle has to be contained in the hexagonal region contained in all these lines. If all the projections are correct, every other vertex of the hexagon must be a vertex of the triangle, which gives us two possibilities for the triangle. One of these triangles has vertices at $(2,8),(1,13)$, and $(5,10)$, and has an area of $\\frac{17}{2}$. It is easy to check that the other triangle has the same area, so the answer is unique.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n13. [8]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "14", "problem_type": null, "exam": "HMMT", "problem": "In how many ways can you fill a $3 \\times 3$ table with the numbers 1 through 9 (each used once) such that all pairs of adjacent numbers (sharing one side) are relatively prime?", "solution": "2016 The numbers can be separated into four sets. Numbers in the set $A=\\{1,5,7\\}$ can be placed next to anything. The next two sets are $B=\\{2,4,8\\}$ and $C=\\{3,9\\}$. The number 6 , which forms the final set $D$, can only be placed next to elements of $A$. The elements of each group can be interchanged without violating the condition, so without loss of generality, we can pretend we have three 1 's, three 2's, two 3 's, and one 6 , as long as we multiply our answer by $3!3!2$ ! at the end. The available arrangements are, grouped by the position of the 6 , are:\nWhen 6 is in contact with three numbers:\n\n| 1 | 2 | 3 |\n| :--- | :--- | :--- |\n| 6 | 1 | 2 |\n| 1 | 2 | 3 |\n\nWhen 6 is in contact with two numbers:\n\n| 6 | 1 | 2 | | | |\n| :--- | :--- | :--- | :--- | :--- | :--- |\n| 1 | 2 | 3 | 6 1 2
1 1 3
2 3 1 | 2 | 3 |\n\nThe next two can be flipped diagonally to create different arrangements:\n\n| 6 | 1 | 2 | | | |\n| :--- | :--- | :--- | :--- | :--- | :--- |\n| 1 | 2 | 3 | 6 1 | 2 | |\n| 1 | 2 | 3 | | | |\n| 1 | 3 | 2 | 3 | 1 | 2 |\n\nThose seven arrangements can be rotated 90, 180, and 270 degrees about the center to generate a total of 28 arrangements. $28 \\cdot 3!3!2!=2016$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n14. [8]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "15", "problem_type": null, "exam": "HMMT", "problem": "Pick a random integer between 0 and 4095, inclusive. Write it in base 2 (without any leading zeroes). What is the expected number of consecutive digits that are not the same (that is, the expected number of occurrences of either 01 or 10 in the base 2 representation)?", "solution": "$\\frac{20481}{4096}$ Note that every number in the range can be written as a 12-digit binary string. For $i=1,2, \\ldots 11$, let $R_{i}$ be a random variable which is 1 if the $i$ th and $(i+1)$ st digits differ in a randomly chosen number in the range. By linearity of expectation, $E\\left(\\sum_{i} R_{i}\\right)=\\sum E\\left(R_{i}\\right)$.\nSince we choose every binary string of length 12 with equal probability, the sum of the expectations is $\\frac{11}{2}$. However, this is not the expected number of 01 s and $10 s$ - we need to subtract the occasions where the leading digit is zero. There is a $\\frac{1}{2}$ chance that the number starts with a 0 , in which case we must ignore the first digit change - unless the number was 0 , in which case there are no digit changes. Therefore, our answer is $\\frac{11}{2}-\\frac{1}{2}+\\frac{1}{4096}=\\frac{20481}{4096}$.\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 - GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n15. [8]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "16", "problem_type": null, "exam": "HMMT", "problem": "Jessica has three marbles colored red, green, and blue. She randomly selects a non-empty subset of them (such that each subset is equally likely) and puts them in a bag. You then draw three marbles from the bag with replacement. The colors you see are red, blue, red. What is the probability that the only marbles in the bag are red and blue?", "solution": "| $\\frac{27}{35}$ |\n| :---: |\n| There are two possible sets of marbles in the bag, $\\{$ red,blue\\} and \\{red,blue,green\\}. | Initially, both these sets are equally likely to be in the bag. However, the probability of red, blue, red being drawn from a set $S$ of marbles is proportional to $|S|^{-3}$, as long as red and blue are both in $S$. By Bayes's Rule, we must weight the probability of these two sets by $|S|^{-3}$. The answer is $\\frac{(1 / 2)^{3}}{(1 / 2)^{3}+(1 / 3)^{3}}$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n16. [9]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "17", "problem_type": null, "exam": "HMMT", "problem": "An ant starts at the origin, facing in the positive $x$-direction. Each second, it moves 1 unit forward, then turns counterclockwise by $\\sin ^{-1}\\left(\\frac{3}{5}\\right)$ degrees. What is the least upper bound on the distance between the ant and the origin? (The least upper bound is the smallest real number $r$ that is at least as big as every distance that the ant ever is from the origin.)", "solution": "$\\sqrt{10}$ We claim that the points the ant visits lie on a circle of radius $\\frac{\\sqrt{10}}{2}$. We show this by saying that the ant stays a constant distance $\\frac{\\sqrt{10}}{2}$ from the point $\\left(\\frac{1}{2}, \\frac{3}{2}\\right)$.\nSuppose the ant moves on a plane $P$. Consider a transformation of the plane $P^{\\prime}$ such that after the first move, the ant is at the origin of $P^{\\prime}$ and facing in the direction of the $x^{\\prime}$ axis (on $P^{\\prime}$ ). The transformation to get from $P$ to $P^{\\prime}$ can be gotten by rotating $P$ about the origin counterclockwise through an angle $\\sin ^{-1}\\left(\\frac{3}{5}\\right)$ and then translating it 1 unit to the right. Observe that the point $\\left(\\frac{1}{2}, \\frac{3}{2}\\right)$ is fixed under this transformation, which can be shown through the expression $\\left(\\frac{1}{2}+\\frac{3}{2} i\\right)\\left(\\frac{4}{5}+\\frac{3}{5} i\\right)+1=\\frac{1}{2}+\\frac{3}{2} i$. It follows that at every point the ant stops, it will always be the same distance from $\\left(\\frac{1}{2}, \\frac{3}{2}\\right)$. Since it starts at $(0,0)$, this fixed distance is $\\frac{\\sqrt{10}}{2}$.\n\n\nSince $\\sin ^{-1}\\left(\\frac{3}{5}\\right)$ is not a rational multiple of $\\pi$, the points the ant stops at form a dense subset of the circle in question. As a result, the least upper bound on the distance between the ant and the origin is the diameter of the circle, which is $\\sqrt{10}$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n17. [9]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "18", "problem_type": null, "exam": "HMMT", "problem": "Find two lines of symmetry of the graph of the function $y=x+\\frac{1}{x}$. Express your answer as two equations of the form $y=a x+b$.", "solution": "$y=(1+\\sqrt{2}) x$ and $y=(1-\\sqrt{2}) x$ The graph of the function $y=x+\\frac{1}{x}$ is a hyperbola. We can see this more clearly by writing it out in the standard form $x^{2}-x y+1=0$ or $\\left(\\frac{y}{2}\\right)^{2}-\\left(x-\\frac{1}{2} y\\right)^{2}=1$. The hyperbola has asymptotes given by $x=0$ and $y=x$, so the lines of symmetry will be the (interior and exterior) angle bisectors of these two lines. This means that they will be $y=\\tan \\left(67.5^{\\circ}\\right) x$ and $y=-\\cot \\left(67.5^{\\circ}\\right) x$, which, using the tangent half-angle formula $\\tan \\left(\\frac{x}{2}\\right)=\\sqrt{\\frac{1+\\cos (x)}{1-\\cos (x)}}$, gives the two lines $y=(1+\\sqrt{2}) x$ and $y=(1-\\sqrt{2}) x$.\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 - GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n18. [9]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "19", "problem_type": null, "exam": "HMMT", "problem": "A 5-dimensional ant starts at one vertex of a 5 -dimensional hypercube of side length 1 . A move is when the ant travels from one vertex to another vertex at a distance of $\\sqrt{2}$ away. How many ways can the ant make 5 moves and end up on the same vertex it started at?", "solution": "6240 We let the cube lie in $\\mathbb{R}^{5}$ with each corner with coordinates 1 or 0 . Assume the ant starts at $(0,0,0,0,0)$. Every move the ant adds or subtracts 1 to two of the places. Note that this means the ant can only land on a vertex with the sum of its coordinates an even number. Every move the ant has $\\binom{5}{2}=10$ choices.\nFrom any vertex there are 10 two-move sequences that put the ant at the same vertex it started at.\nThere are 6 two-move sequences to move from one vertex to a different, chosen vertex. If your chosen vertex differs from your current vertex by 2 of the 5 coordinates, your first move corrects for one of these two. There are 2 ways to choose which coordinate to correct for on the first move, and there are 3 ways to choose the second coordinate you change, yielding 6 sequences. If your chosen vertex differs from your current vertex by 4 of the 5 coordinates, each move corrects for two of these four. This yields $\\binom{4}{2}=6$ sequences.\nFinally, there are 60 three-move sequences that put the ant at the same vertex it started at. There are 10 ways to choose the first move, and there are 6 ways to make two moves to return to your original position.\nThe motion of the ant can be split into two cases.\nCase 1: After the 3rd move the ant is on the vertex it started at. There are $(60)(10)=600$ different possible paths.\nCase 2: After the third move the ant is on a vertex different from the one it started on. There are $\\left(10^{3}-60\\right)(6)=(940)(6)=5640$ different possible paths.\nSo there are 6240 total possible paths.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n19. [10]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "20", "problem_type": null, "exam": "HMMT", "problem": "Find the volume of the set of points $(x, y, z)$ satisfying\n\n$$\n\\begin{aligned}\nx, y, z & \\geq 0 \\\\\nx+y & \\leq 1 \\\\\ny+z & \\leq 1 \\\\\nz+x & \\leq 1\n\\end{aligned}\n$$", "solution": "$\\frac{1}{4}$ Without loss of generality, assume that $x \\geq y$ - half the volume of the solid is on this side of the plane $x=y$. For each value of $c$ from 0 to $\\frac{1}{2}$, the region of the intersection of this half of the solid with the plane $y=c$ is a trapezoid. The trapezoid has height $1-2 c$ and average base $\\frac{1}{2}$, so it has an area of $\\frac{1}{2}-c$.\nThe total volume of this region is $\\frac{1}{2}$ times the average area of the trapezoids, which is $\\frac{1}{2} \\cdot \\frac{1}{4}=\\frac{1}{8}$. Double that to get the total volume, which is $\\frac{1}{4}$.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n20. [10]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "21", "problem_type": null, "exam": "HMMT", "problem": "Let $\\triangle A B C$ be a scalene triangle. Let $h_{a}$ be the locus of points $P$ such that $|P B-P C|=|A B-A C|$. Let $h_{b}$ be the locus of points $P$ such that $|P C-P A|=|B C-B A|$. Let $h_{c}$ be the locus of points $P$ such that $|P A-P B|=|C A-C B|$. In how many points do all of $h_{a}, h_{b}$, and $h_{c}$ concur?", "solution": "2 The idea is similar to the proof that the angle bisectors concur or that the perpendicular bisectors concur. Assume WLOG that $B C>A B>C A$. Note that $h_{a}$ and $h_{b}$ are both hyperbolas. Therefore, $h_{a}$ and $h_{b}$ intersect in four points (each branch of $h_{a}$ intersects exactly once with each branch of $h_{b}$ ). Note that the branches of $h_{a}$ correspond to the cases when $P B>P C$ and when $P B
P A$ and $P C
1$, let $a_{n}$ be the largest real number such that\n\n$$\n4\\left(a_{n-1}^{2}+a_{n}^{2}\\right)=10 a_{n-1} a_{n}-9\n$$\n\nWhat is the largest positive integer less than $a_{8}$ ?", "solution": "335 Let $t_{n}$ be the larger real such that $a_{n}=t_{n}+\\frac{1}{t_{n}}$. Then $t_{1}=\\frac{3+\\sqrt{5}}{2}$. We claim that $t_{n}=2 t_{n-1}$. Writing the recurrence as a quadratic polynomial in $a_{n}$, we have:\n\n$$\n4 a_{n}^{2}-10 a_{n-1} a_{n}+4 a_{n-1}^{2}+9=0\n$$\n\nUsing the quadratic formula, we see that $a_{n}=\\frac{5}{4} a_{n-1}+\\frac{3}{4} \\sqrt{a_{n-1}^{2}-4}$. (We ignore the negative square root, since $a_{n}$ is the largest real number satisfying the polynomial.) Substituting $t_{n-1}+\\frac{1}{t_{n-1}}$ for $a_{n-1}$, we see that $\\sqrt{a_{n-1}^{2}-4}=\\sqrt{t_{n-1}^{2}-2+\\frac{1}{t_{n-1}^{2}}}$, so we have:\n\n$$\na_{n}=\\frac{5}{4}\\left(t_{n-1}+\\frac{1}{t_{n-1}}\\right)+\\frac{3}{4} \\sqrt{\\left(t_{n-1}-\\frac{1}{t_{n-1}}\\right)^{2}}=2 t_{n-1}+\\frac{1}{2 t_{n-1}}\n$$\n\nso $t_{n}=2 t_{n-1}$, as claimed. Then $a_{8}=\\frac{128(3+\\sqrt{5})}{2}+\\frac{2}{128(3+\\sqrt{5})}$. The second term is vanishingly small, so $\\left\\lfloor a_{8}\\right\\rfloor=\\lfloor 64(3+\\sqrt{5})\\rfloor$. We approximate $\\sqrt{5}$ to two decimal places as 2.24 , making this expression $\\lfloor 335.36\\rfloor=335$. Since our value of $\\sqrt{5}$ is correct to within 0.005 , the decimal is correct to within 0.32 , which means the final answer is exact.\n$13^{\\text {th }}$ ANNUAL HARVARD-MIT MATHEMATICS TOURNAMENT, 20 FEBRUARY 2010 - GUTS ROUND", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n33. [21]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "34", "problem_type": null, "exam": "HMMT", "problem": "3000 people each go into one of three rooms randomly. What is the most likely value for the maximum number of people in any of the rooms? Your score for this problem will be 0 if you write down a number less than or equal to 1000 . Otherwise, it will be $25-27 \\frac{|A-C|}{\\min (A, C)-1000}$.", "solution": "1019 To get a rough approximation, we can use the fact that a sum of identical random variables converges to a Gaussian distribution ${ }^{6}$ in this case with a mean of 1000 and a variance of $3000 \\cdot \\frac{2}{9}=667$. Since $\\sqrt{667} \\approx 26,1026$ is a good guess, as Gaussians tend to differ from their mean by approximately their variance.\nThe actual answer was computed with the following python program:\n\n```\nfacts = [0]*3001\nfacts[0]=1\nfor a in range(1,3001):\n facts[a]=a*facts[a-1]\ndef binom(n,k):\n return facts[n]/(facts[k]*facts[n-k])\n```\n\n[^3]```\nmaxes = [0]*3001\nM = 1075\nfor a in range(0,3001):\n for b in range(0,3001-a):\n c = 3000-a-b\n m = max (a,max (b,c))\n if m < M:\n maxes[m] += facts[3000]/(facts[a]*facts[b]*facts[c])\n print [a,b]\nbest = 1000\nfor a in range(1000,1050):\n print maxes[a],a\n if maxes[best] <= maxes[a]:\n best = a\nprint maxes[best]\nprint best\n```\n\nWe can use arguments involving the Chernoff bound ${ }^{7}$ to show that the answer is necessarily less than 1075. Alternately, if we wanted to be really careful, we could just set $M=3001$, but then we'd have to wait a while for the script to finish.", "metadata": {"resource_path": "HarvardMIT/segmented/en-132-2010-feb-guts-solutions.jsonl", "problem_match": "\n34. [25]", "solution_match": "\nAnswer: "}}
{"year": "2010", "tier": "T4", "problem_label": "35", "problem_type": null, "exam": "HMMT", "problem": "Call an positive integer almost-square if it can be written as $a \\cdot b$, where $a$ and $b$ are integers and $a \\leq b \\leq \\frac{4}{3} a$. How many almost-square positive integers are less than or equal to 1000000 ? Your score will be equal to $25-65 \\frac{|A-C|}{\\min (A, C)}$.", "solution": "130348 To get a good estimate for the number of almost-square integers, note that any number of the form $a \\cdot b$, with $b \\leq \\frac{4}{3} a$, will be by definition almost-square. Let's assume that it's relatively unlikely that a number is almost-square in more than one way. Then the number of almostsquare numbers less than $n$ will be approximately\n\n$$\n\\sum_{a=1}^{\\sqrt{n}} \\sum_{b=a}^{\\frac{4}{3} a} 1=\\frac{1}{3} \\sum_{a=1}^{\\sqrt{n}} a=\\frac{1}{6} \\sqrt{n}(\\sqrt{n}+1)\n$$\n\nwhich is about $\\frac{n}{6}$. So, $\\frac{n}{6}$ will be a fairly good estimate for the number of almost-square numbers less than $n$, making 160000 a reasonable guess.\n\nWe can do better, though. For example, we summed $\\frac{a}{3}$ all the way up to $\\sqrt{n}$, but we are really overcounting here because when $a$ is close to $\\sqrt{n}, a \\cdot b$ will be less than $n$ only when $b \\leq \\frac{n}{a}$, as opposed to $b \\leq \\frac{4 a}{3}$. So we should really be taking the sum\n\n[^4]\\[\n\n$$\n\\begin{aligned}\n& \\sum_{a=1}^{\\sqrt{\\frac{3 n}{4}}} \\sum_{b=a}^{\\frac{4 a}{3}} 1+\\sum_{a=\\sqrt{\\frac{3 n}{4}}}^{\\sqrt{n}} \\sum_{b=a}^{\\frac{n}{a}} 1 \\\\\n& \\quad=\\sum_{a=1}^{\\sqrt{\\frac{3 n}{4}}} \\frac{a}{3}+\\sum_{a=\\sqrt{\\frac{3 n}{4}}}^{\\sqrt{n}}\\left(\\frac{n}{a}-a\\right) \\\\\n& \\quad \\approx \\frac{1}{6} \\frac{3 n}{4}+n\\left(\\log (\\sqrt{n})-\\log \\left(\\sqrt{\\frac{3 n}{4}}\\right)\\right)-\\left(\\frac{n}{2}-\\frac{3 n}{8}\\right) \\\\\n& \\quad=\\frac{n}{8}+n \\frac{\\log (4)-\\log (3)}{2}-\\frac{n}{8} \\\\\n& \\quad=n \\frac{\\log (4)-\\log (3)}{2}\n\\end{aligned}\n$$\n\\]\n\nIn the process of taking the sum, we saw that we had something between $\\frac{n}{8}$ and $\\frac{n}{6}$, so we could also guess something between 166000 and 125000 , which would give us about 145000 , an even better answer. If we actually calculate $\\frac{\\log (4)-\\log (3)}{2}$, we see that it's about 0.14384 , so 143840 would be the best guess if we were to use this strategy. In reality, we would want to round down a bit in both cases, since we are overcounting (because numbers could be square-free in multiple ways), so we should probably answer something like 140000 .\n\nA final refinement to our calculation (and perhaps easier than the previous one), is to assume that the products $a \\cdot b$ that we consider are randomly distributed between 1 and $n$, and to compute the expected number of distinct numbers we end up with. This is the same type of problem as number 31 on this contest, and we compute that if we randomly distribute $k$ numbers between 1 and $n$ then we expect to end up with $n\\left(1-\\left(1-\\frac{1}{n}\\right)^{k}\\right)$ distinct numbers. When $k=n \\frac{\\log (4)-\\log (3)}{2}$, we get that this equals\n\n$$\n\\begin{aligned}\nn\\left(1-\\left(\\left(1-\\frac{1}{n}\\right)^{n}\\right)^{\\frac{\\log (4)-\\log (3)}{2}}\\right) & =n\\left(1-\\sqrt{e^{\\log (3)-\\log (4)}}\\right) \\\\\n& =n\\left(1-\\sqrt{\\frac{3}{4}}\\right) \\\\\n& =n\\left(1-\\frac{\\sqrt{3}}{2}\\right) \\\\\n& \\approx 0.134 n\n\\end{aligned}\n$$\n\nGiving us an answer of 134000 , which is very close to the correct answer.\nThe actual answer was found by computer, using the following $\\mathrm{C}++$ program:\n\n```\n#include