conversations
listlengths
2
2
[ { "from": "user", "value": "4. [3] How many ways are there to color the vertices of a triangle red, green, blue, or yellow such that no two vertices have the same color? Rotations and reflections are considered distinct." }, { "from": "assistant", "value": "<think>\nOkay, so I need to figure out...
[ { "from": "user", "value": "5. [5] Let $A, B, C, D, E$ be five points on a circle; some segments are drawn between the points so that each of the $\\binom{5}{2}=10$ pairs of points is connected by either zero or one segments. Determine the number of sets of segments that can be drawn such that:\n- It is pos...
[ { "from": "user", "value": "6. [6] Find the number of strictly increasing sequences of nonnegative integers with the following properties:\n- The first term is 0 and the last term is 12 . In particular, the sequence has at least two terms.\n- Among any two consecutive terms, exactly one of them is even." ...
[ { "from": "user", "value": "8. [3] Let $\\mathcal{H}$ be a regular hexagon with side length one. Peter picks a point $P$ uniformly and at random within $\\mathcal{H}$, then draws the largest circle with center $P$ that is contained in $\\mathcal{H}$. What is this probability that the radius of this circle i...
[ { "from": "user", "value": "2. Find the smallest positive integer $n$ such that, if there are initially $2 n$ townspeople and 1 goon, then the probability the townspeople win is greater than $50 \\%$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the smallest positive int...
[ { "from": "user", "value": "3. Find the smallest positive integer $n$ such that, if there are initially $n+1$ townspeople and $n$ goons, then the probability the townspeople win is less than $1 \\%$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the smallest positive inte...
[ { "from": "user", "value": "6. Let $\\mathcal{P}_{1}, \\mathcal{P}_{2}, \\mathcal{P}_{3}$ be pairwise distinct parabolas in the plane. Find the maximum possible number of intersections between two or more of the $\\mathcal{P}_{i}$. In other words, find the maximum number of points that can lie on two or mor...
[ { "from": "user", "value": "7. Let $\\mathcal{P}$ be a parabola with focus $F$ and directrix $\\ell$. A line through $F$ intersects $\\mathcal{P}$ at two points $A$ and $B$. Let $D$ and $C$ be the feet of the altitudes from $A$ and $B$ onto $\\ell$, respectively. Given that $A B=20$ and $C D=14$, compute th...
[ { "from": "user", "value": "8. Consider the parabola consisting of the points $(x, y)$ in the real plane satisfying\n$$\n(y+x)=(y-x)^{2}+3(y-x)+3 .\n$$\n\nFind the minimum possible value of $y$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the minimum possible value of y...
[ { "from": "user", "value": "10. Let $z$ be a complex number and $k$ a positive integer such that $z^{k}$ is a positive real number other than 1. Let $f(n)$ denote the real part of the complex number $z^{n}$. Assume the parabola $p(n)=a n^{2}+b n+c$ intersects $f(n)$ four times, at $n=0,1,2,3$. Assuming the ...
[ { "from": "user", "value": "2. The fraction $\\frac{1}{2015}$ has a unique \"(restricted) partial fraction decomposition\" of the form\n$$\n\\frac{1}{2015}=\\frac{a}{5}+\\frac{b}{13}+\\frac{c}{31},\n$$\nwhere $a, b, c$ are integers with $0 \\leq a<5$ and $0 \\leq b<13$. Find $a+b$." }, { "from": "as...
[ { "from": "user", "value": "6. Let $a, b, c, d, e$ be nonnegative integers such that $625 a+250 b+100 c+40 d+16 e=15^{3}$. What is the maximum possible value of $a+b+c+d+e$ ?" }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the maximum possible value of a + b + c + d + e whe...
[ { "from": "user", "value": "8. Find the number of ordered pairs of integers $(a, b) \\in\\{1,2, \\ldots, 35\\}^{2}$ (not necessarily distinct) such that $a x+b$ is a \"quadratic residue modulo $x^{2}+1$ and 35 \", i.e. there exists a polynomial $f(x)$ with integer coefficients such that either of the follow...
[ { "from": "user", "value": "10. Find all ordered 4-tuples of integers $(a, b, c, d)$ (not necessarily distinct) satisfying the following system of equations:\n$$\n\\begin{aligned}\na^{2}-b^{2}-c^{2}-d^{2} & =c-b-2 \\\\\n2 a b & =a-d-32 \\\\\n2 a c & =28-a-d \\\\\n2 a d & =b+c+31 .\n\\end{aligned}\n$$" }, ...
[ { "from": "user", "value": "2. Victor has a drawer with 6 socks of 3 different types: 2 complex socks, 2 synthetic socks, and 2 trigonometric socks. He repeatedly draws 2 socks at a time from the drawer at random, and stops if the socks are of the same type. However, Victor is \"synthetic-complex type-blind...
[ { "from": "user", "value": "3. Starting with the number 0 , Casey performs an infinite sequence of moves as follows: he chooses a number from $\\{1,2\\}$ at random (each with probability $\\frac{1}{2}$ ) and adds it to the current number. Let $p_{m}$ be the probability that Casey ever reaches the number $m$...
[ { "from": "user", "value": "4. Alice Czarina is bored and is playing a game with a pile of rocks. The pile initially contains 2015 rocks. At each round, if the pile has $N$ rocks, she removes $k$ of them, where $1 \\leq k \\leq N$, with each possible $k$ having equal probability. Alice Czarina continues unt...
[ { "from": "user", "value": "5. For positive integers $x$, let $g(x)$ be the number of blocks of consecutive 1's in the binary expansion of $x$. For example, $g(19)=2$ because $19=10011_{2}$ has a block of one 1 at the beginning and a block of two 1 's at the end, and $g(7)=1$ because $7=111_{2}$ only has a ...
[ { "from": "user", "value": "6. Count the number of functions $f: \\mathbb{Z} \\rightarrow\\{$ 'green','blue' $\\}$ such that $f(x)=f(x+22)$ for all integers $x$ and there does not exist an integer $y$ with $f(y)=f(y+2)=$ 'green'." }, { "from": "assistant", "value": "<think>\nOkay, so I need to c...
[ { "from": "user", "value": "7. 2015 people sit down at a restaurant. Each person orders a soup with probability $\\frac{1}{2}$. Independently, each person orders a salad with probability $\\frac{1}{2}$. What is the probability that the number of people who ordered a soup is exactly one more than the number ...
[ { "from": "user", "value": "8. Let $S$ be the set of all 3-digit numbers with all digits in the set $\\{1,2,3,4,5,6,7\\}$ (so in particular, all three digits are nonzero). For how many elements $\\overline{a b c}$ of $S$ is it true that at least one of the (not necessarily distinct) \"digit cycles\"\n$$\n\\...
[ { "from": "user", "value": "9. Calvin has a bag containing 50 red balls, 50 blue balls, and 30 yellow balls. Given that after pulling out 65 balls at random (without replacement), he has pulled out 5 more red balls than blue balls, what is the probability that the next ball he pulls out is red?" }, { ...
[ { "from": "user", "value": "2. [4] Let $A B C D E$ be a convex pentagon such that $\\angle A B C=\\angle A C D=\\angle A D E=90^{\\circ}$ and $A B=B C=$ $C D=D E=1$. Compute $A E$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the length of AE in this convex pentagon ABCD...
[ { "from": "user", "value": "11. [6] Find\n$$\n\\sum_{k=0}^{\\infty}\\left\\lfloor\\frac{1+\\sqrt{\\frac{2000000}{4^{k}}}}{2}\\right\\rfloor,\n$$\nwhere $\\lfloor x\\rfloor$ denotes the largest integer less than or equal to $x$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to fin...
[ { "from": "user", "value": "12. [6] For integers $a, b, c, d$, let $f(a, b, c, d)$ denote the number of ordered pairs of integers $(x, y) \\in$ $\\{1,2,3,4,5\\}^{2}$ such that $a x+b y$ and $c x+d y$ are both divisible by 5 . Find the sum of all possible values of $f(a, b, c, d)$." }, { "from": "ass...
[ { "from": "user", "value": "14. $[\\mathbf{8}]$ Find the smallest integer $n \\geq 5$ for which there exists a set of $n$ distinct pairs $\\left(x_{1}, y_{1}\\right), \\ldots,\\left(x_{n}, y_{n}\\right)$ of positive integers with $1 \\leq x_{i}, y_{i} \\leq 4$ for $i=1,2, \\ldots, n$, such that for any indi...
[ { "from": "user", "value": "16. $[\\mathbf{8}]$ Determine the number of unordered triples of distinct points in the $4 \\times 4 \\times 4$ lattice grid $\\{0,1,2,3\\}^{3}$ that are collinear in $\\mathbb{R}^{3}$ (i.e. there exists a line passing through the three points)." }, { "from": "assistant",...
[ { "from": "user", "value": "17. [11] Find the least positive integer $N>1$ satisfying the following two properties:\n- There exists a positive integer $a$ such that $N=a(2 a-1)$.\n- The sum $1+2+\\cdots+(N-1)$ is divisible by $k$ for every integer $1 \\leq k \\leq 10$." }, { "from": "assistant", ...
[ { "from": "user", "value": "20. [11] What is the largest real number $\\theta$ less than $\\pi$ (i.e. $\\theta<\\pi$ ) such that\n$$\n\\prod_{k=0}^{10} \\cos \\left(2^{k} \\theta\\right) \\neq 0\n$$\nand\n$$\n\\prod_{k=0}^{10}\\left(1+\\frac{1}{\\cos \\left(2^{k} \\theta\\right)}\\right)=1 ?\n$$" }, { ...
[ { "from": "user", "value": "3. [4] Find the number of pairs of union/intersection operations $\\left(\\square_{1}, \\square_{2}\\right) \\in\\{\\cup, \\cap\\}^{2}$ satisfying the following condition: for any sets $S, T$, function $f: S \\rightarrow T$, and subsets $X, Y, Z$ of $S$, we have equality of sets\...
[ { "from": "user", "value": "21. [14] Define a sequence $a_{i, j}$ of integers such that $a_{1, n}=n^{n}$ for $n \\geq 1$ and $a_{i, j}=a_{i-1, j}+a_{i-1, j+1}$ for all $i, j \\geq 1$. Find the last (decimal) digit of $a_{128,1}$." }, { "from": "assistant", "value": "<think>\nOkay, let's see. I h...
[ { "from": "user", "value": "22. $[\\mathbf{1 4}]$ Let $A_{1}, A_{2}, \\ldots, A_{2015}$ be distinct points on the unit circle with center $O$. For every two distinct integers $i, j$, let $P_{i j}$ be the midpoint of $A_{i}$ and $A_{j}$. Find the smallest possible value of\n$$\n\\sum_{1 \\leq i<j \\leq 2015}...
[ { "from": "user", "value": "26. [17] Let $a=\\sqrt{17}$ and $b=i \\sqrt{19}$, where $i=\\sqrt{-1}$. Find the maximum possible value of the ratio $|a-z| /|b-z|$ over all complex numbers $z$ of magnitude 1 (i.e. over the unit circle $|z|=1$ )." }, { "from": "assistant", "value": "<think>\nOkay, so...
[ { "from": "user", "value": "28. $[\\mathbf{1 7}]$ Let $w, x, y$, and $z$ be positive real numbers such that\n$$\n\\begin{aligned}\n0 & \\neq \\cos w \\cos x \\cos y \\cos z \\\\\n2 \\pi & =w+x+y+z \\\\\n3 \\tan w & =k(1+\\sec w) \\\\\n4 \\tan x & =k(1+\\sec x) \\\\\n5 \\tan y & =k(1+\\sec y) \\\\\n6 \\tan z...
[ { "from": "user", "value": "30. [20] Find the sum of squares of all distinct complex numbers $x$ satisfying the equation\n$$\n0=4 x^{10}-7 x^{9}+5 x^{8}-8 x^{7}+12 x^{6}-12 x^{5}+12 x^{4}-8 x^{3}+5 x^{2}-7 x+4 .\n$$" }, { "from": "assistant", "value": "<think>\nOkay, let's see. The problem is as...
[ { "from": "user", "value": "4. [4] Consider the function $z(x, y)$ describing the paraboloid\n$$\nz=(2 x-y)^{2}-2 y^{2}-3 y .\n$$\n\nArchimedes and Brahmagupta are playing a game. Archimedes first chooses $x$. Afterwards, Brahmagupta chooses $y$. Archimedes wishes to minimize $z$ while Brahmagupta wishes to...
[ { "from": "user", "value": "32. [20] A wealthy king has his blacksmith fashion him a large cup, whose inside is a cone of height 9 inches and base diameter 6 inches (that is, the opening at the top of the cup is 6 inches in diameter). At one of his many feasts, he orders the mug to be filled to the brim wit...
[ { "from": "user", "value": "5. [5] Let $\\mathcal{H}$ be the unit hypercube of dimension 4 with a vertex at $(x, y, z, w)$ for each choice of $x, y, z, w \\in$ $\\{0,1\\}$. (Note that $\\mathcal{H}$ has $2^{4}=16$ vertices.) A bug starts at the vertex $(0,0,0,0)$. In how many ways can the bug move to $(1,1,...
[ { "from": "user", "value": "6. [5] Let $D$ be a regular ten-sided polygon with edges of length 1 . A triangle $T$ is defined by choosing three vertices of $D$ and connecting them with edges. How many different (non-congruent) triangles $T$ can be formed?" }, { "from": "assistant", "value": "<thi...
[ { "from": "user", "value": "8. [5] Evaluate\n$$\n\\sin (\\arcsin (0.4)+\\arcsin (0.5)) \\cdot \\sin (\\arcsin (0.5)-\\arcsin (0.4)),\n$$\nwhere for $x \\in[-1,1]$, $\\arcsin (x)$ denotes the unique real number $y \\in[-\\pi, \\pi]$ such that $\\sin (y)=x$." }, { "from": "assistant", "value": "<t...
[ { "from": "user", "value": "9. [6] Let $a, b, c$ be integers. Define $f(x)=a x^{2}+b x+c$. Suppose there exist pairwise distinct integers $u, v, w$ such that $f(u)=0, f(v)=0$, and $f(w)=2$. Find the maximum possible value of the discriminant $b^{2}-4 a c$ of $f$." }, { "from": "assistant", "valu...
[ { "from": "user", "value": "10. [6] Let $b(x)=x^{2}+x+1$. The polynomial $x^{2015}+x^{2014}+\\cdots+x+1$ has a unique \"base $b(x)$ \" representation\n$$\nx^{2015}+x^{2014}+\\cdots+x+1=\\sum_{k=0}^{N} a_{k}(x) b(x)^{k} \\text {, }\n$$\nwhere\n- $N$ is a nonnegative integer;\n- each \"digit\" $a_{k}(x)$ (for...
[ { "from": "user", "value": "5. [20] For a convex quadrilateral $P$, let $D$ denote the sum of the lengths of its diagonals and let $S$ denote its perimeter. Determine, with proof, all possible values of $\\frac{S}{D}$." }, { "from": "assistant", "value": "<think>\nAlright, so I have this problem...
[ { "from": "user", "value": "10. [40] The sequences of real numbers $\\left\\{a_{i}\\right\\}_{i=1}^{\\infty}$ and $\\left\\{b_{i}\\right\\}_{i=1}^{\\infty}$ satisfy $a_{n+1}=\\left(a_{n-1}-1\\right)\\left(b_{n}+1\\right)$ and $b_{n+1}=a_{n} b_{n-1}-1$ for $n \\geq 2$, with $a_{1}=a_{2}=2015$ and $b_{1}=b_{2...
[ { "from": "user", "value": "2. Let $a$ and $b$ be real numbers randomly (and independently) chosen from the range $[0,1]$. Find the probability that $a, b$ and 1 form the side lengths of an obtuse triangle." }, { "from": "assistant", "value": "<think>\nAlright, so I have this problem where I nee...
[ { "from": "user", "value": "3. Neo has an infinite supply of red pills and blue pills. When he takes a red pill, his weight will double, and when he takes a blue pill, he will lose one pound. If Neo originally weighs one pound, what is the minimum number of pills he must take to make his weight 2015 pounds?...
[ { "from": "user", "value": "4. Chords $A B$ and $C D$ of a circle are perpendicular and intersect at a point $P$. If $A P=6, B P=12$, and $C D=22$, find the area of the circle." }, { "from": "assistant", "value": "<think>\nOkay, let's try to figure out this geometry problem. So, we have two chor...
[ { "from": "user", "value": "5. Let $S$ be a subset of the set $\\{1,2,3, \\ldots, 2015\\}$ such that for any two elements $a, b \\in S$, the difference $a-b$ does not divide the sum $a+b$. Find the maximum possible size of $S$." }, { "from": "assistant", "value": "<think>\nOkay, let's try to tac...
[ { "from": "user", "value": "9. Rosencrantz plays $n \\leq 2015$ games of question, and ends up with a win rate (i.e. \\# of games won \\# of games played ) of $k$. Guildenstern has also played several games, and has a win rate less than $k$. He realizes that if, after playing some more games, his win rate b...
[ { "from": "user", "value": "2. [5] The three sides of a right triangle form a geometric sequence. Determine the ratio of the length of the hypotenuse to the length of the shorter leg." }, { "from": "assistant", "value": "<think>\nOkay, so I have this problem here: a right triangle has its three ...
[ { "from": "user", "value": "12. $[\\mathbf{8}]$ Let $a$ and $b$ be positive real numbers. Determine the minimum possible value of\n$$\n\\sqrt{a^{2}+b^{2}}+\\sqrt{(a-1)^{2}+b^{2}}+\\sqrt{a^{2}+(b-1)^{2}}+\\sqrt{(a-1)^{2}+(b-1)^{2}}\n$$" }, { "from": "assistant", "value": "<think>\nOkay, so I need...
[ { "from": "user", "value": "13. $[\\mathbf{9}]$ Consider a $4 \\times 4$ grid of squares, each of which are originally colored red. Every minute, Piet can jump on one of the squares, changing the color of it and any adjacent squares (two squares are adjacent if they share a side) to blue. What is the minimu...
[ { "from": "user", "value": "14. [9] Let $A B C$ be an acute triangle with orthocenter $H$. Let $D, E$ be the feet of the $A, B$-altitudes respectively. Given that $A H=20$ and $H D=15$ and $B E=56$, find the length of $B H$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to find t...
[ { "from": "user", "value": "16. [10] For how many triples $(x, y, z)$ of integers between -10 and 10 inclusive do there exist reals $a, b, c$ that satisfy\n$$\n\\begin{array}{c}\na b=x \\\\\na c=y \\\\\nb c=z ?\n\\end{array}\n$$" }, { "from": "assistant", "value": "<think>\nAlright, let me try t...
[ { "from": "user", "value": "18. [10] A function $f$ satisfies, for all nonnegative integers $x$ and $y$ :\n- $f(0, x)=f(x, 0)=x$\n- If $x \\geq y \\geq 0, f(x, y)=f(x-y, y)+1$\n- If $y \\geq x \\geq 0, f(x, y)=f(x, y-x)+1$\nFind the maximum value of $f$ over $0 \\leq x, y \\leq 100$." }, { "from": "...
[ { "from": "user", "value": "19. [11] Each cell of a $2 \\times 5$ grid of unit squares is to be colored white or black. Compute the number of such colorings for which no $2 \\times 2$ square is a single color." }, { "from": "assistant", "value": "<think>\nOkay, so I have this problem where I nee...
[ { "from": "user", "value": "20. $[\\mathbf{1 1}]$ Let $n$ be a three-digit integer with nonzero digits, not all of which are the same. Define $f(n)$ to be the greatest common divisor of the six integers formed by any permutation of $n \\mathrm{~s}$ digits. For example, $f(123)=3$, because $\\operatorname{gc...
[ { "from": "user", "value": "3. [5] A parallelogram has 2 sides of length 20 and 15 . Given that its area is a positive integer, find the minimum possible area of the parallelogram." }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the minimum possible area of a parallelogram ...
[ { "from": "user", "value": "21. [11] Consider a $2 \\times 2$ grid of squares. Each of the squares will be colored with one of 10 colors, and two colorings are considered equivalent if one can be rotated to form the other. How many distinct colorings are there?" }, { "from": "assistant", "value"...
[ { "from": "user", "value": "25. [13] Let $A B C$ be a triangle that satisfies $A B=13, B C=14, A C=15$. Given a point $P$ in the plane, let $P_{A}, P_{B}, P_{C}$ be the reflections of $A, B, C$ across $P$. Call $P$ good if the circumcircle of $P_{A} P_{B} P_{C}$ intersects the circumcircle of $A B C$ at exa...
[ { "from": "user", "value": "26. [13] Let $f: \\mathbb{R}^{+} \\rightarrow \\mathbb{R}$ be a continuous function satisfying $f(x y)=f(x)+f(y)+1$ for all positive reals $x, y$. If $f(2)=0$, compute $f(2015)$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to solve this functional eq...
[ { "from": "user", "value": "27. [13] Let $A B C D$ be a quadrilateral with $A=(3,4), B=(9,-40), C=(-5,-12), D=(-7,24)$. Let $P$ be a point in the plane (not necessarily inside the quadrilateral). Find the minimum possible value of $A P+B P+C P+D P$." }, { "from": "assistant", "value": "<think>\n...
[ { "from": "user", "value": "28. [15] Find the shortest distance between the lines $\\frac{x+2}{2}=\\frac{y-1}{3}=\\frac{z}{1}$ and $\\frac{x-3}{-1}=\\frac{y}{1}=\\frac{z+1}{2}$" }, { "from": "assistant", "value": "<think>\nOkay, so I need to find the shortest distance between these two lines. Hm...
[ { "from": "user", "value": "29. [15] Find the largest real number $k$ such that there exists a sequence of positive reals $\\left\\{a_{i}\\right\\}$ for which $\\sum_{n=1}^{\\infty} a_{n}$ converges but $\\sum_{n=1}^{\\infty} \\frac{\\sqrt{a_{n}}}{n^{k}}$ does not." }, { "from": "assistant", "va...
[ { "from": "user", "value": "4. [6] Eric is taking a biology class. His problem sets are worth 100 points in total, his three midterms are worth 100 points each, and his final is worth 300 points. If he gets a perfect score on his problem sets and scores $60 \\%, 70 \\%$, and $80 \\%$ on his midterms respect...
[ { "from": "user", "value": "34. $[\\mathbf{2 0}]$ Let $n$ be the second smallest integer that can be written as the sum of two positive cubes in two different ways. Compute $n$. If your guess is $a$, you will receive $\\max \\left(25-5 \\cdot \\max \\left(\\frac{a}{n}, \\frac{n}{a}\\right), 0\\right)$ point...
[ { "from": "user", "value": "6. [6] Let $A B$ be a segment of length 2 with midpoint $M$. Consider the circle with center $O$ and radius $r$ that is externally tangent to the circles with diameters $A M$ and $B M$ and internally tangent to the circle with diameter $A B$. Determine the value of $r$." }, {...
[ { "from": "user", "value": "7. [7] Let $n$ be the smallest positive integer with exactly 2015 positive factors. What is the sum of the (not necessarily distinct) prime factors of $n$ ? For example, the sum of the prime factors of 72 is $2+2+2+3+3=14$." }, { "from": "assistant", "value": "<think>...
[ { "from": "user", "value": "8. [7] For how many pairs of nonzero integers $(c, d)$ with $-2015 \\leq c, d \\leq 2015$ do the equations $c x=d$ and $d x=c$ both have an integer solution?" }, { "from": "assistant", "value": "<think>\nOkay, so I have this problem here: I need to find the number of ...
[ { "from": "user", "value": "9. $[\\mathbf{7}]$ Find the smallest positive integer $n$ such that there exists a complex number $z$, with positive real and imaginary part, satisfying $z^{n}=(\\bar{z})^{n}$." }, { "from": "assistant", "value": "<think>\nOkay, let's tackle this problem: Find the sma...
[ { "from": "user", "value": "10. $[\\mathbf{8}]$ Call a string of letters $\\mathrm{S}$ an almost palindrome if $\\mathrm{S}$ and the reverse of $\\mathrm{S}$ differ in exactly two places. Find the number of ways to order the letters in $H M M T T H E M E T E A M$ to get an almost palindrome." }, { "...
[ { "from": "user", "value": "2. [3] Bassanio has three red coins, four yellow coins, and five blue coins. At any point, he may give Shylock any two coins of different colors in exchange for one coin of the other color; for example, he may give Shylock one red coin and one blue coin, and receive one yellow co...
[ { "from": "user", "value": "3. $[\\mathbf{3}]$ Let $\\lfloor x\\rfloor$ denote the largest integer less than or equal to $x$, and let $\\{x\\}$ denote the fractional part of $x$. For example, $\\lfloor\\pi\\rfloor=3$, and $\\{\\pi\\}=0.14159 \\ldots$, while $\\lfloor 100\\rfloor=100$ and $\\{100\\}=0$. If $...
[ { "from": "user", "value": "6. [5] Marcus and four of his relatives are at a party. Each pair of the five people are either friends or enemies. For any two enemies, there is no person that they are both friends with. In how many ways is this possible?" }, { "from": "assistant", "value": "<think>...
[ { "from": "user", "value": "7. [6] Let $A B C D$ be a convex quadrilateral whose diagonals $A C$ and $B D$ meet at $P$. Let the area of triangle $A P B$ be 24 and let the area of triangle $C P D$ be 25 . What is the minimum possible area of quadrilateral $A B C D$ ?" }, { "from": "assistant", "v...
[ { "from": "user", "value": "2. Consider a $2 \\times 2$ grid of squares. David writes a positive integer in each of the squares. Next to each row, he writes the product of the numbers in the row, and next to each column, he writes the product of the numbers in each column. If the sum of the eight numbers he...
[ { "from": "user", "value": "3. Consider a $3 \\times 3$ grid of squares. A circle is inscribed in the lower left corner, the middle square of the top row, and the rightmost square of the middle row, and a circle $O$ with radius $r$ is drawn such that $O$ is externally tangent to each of the three inscribed ...
[ { "from": "user", "value": "4. Consider a $4 \\times 4$ grid of squares. Aziraphale and Crowley play a game on this grid, alternating turns, with Aziraphale going first. On Aziraphales turn, he may color any uncolored square red, and on Crowleys turn, he may color any uncolored square blue. The game ends wh...
[ { "from": "user", "value": "5. Consider a $5 \\times 5$ grid of squares. Vladimir colors some of these squares red, such that the centers of any four red squares do not form an axis-parallel rectangle (i.e. a rectangle whose sides are parallel to those of the squares). What is the maximum number of squares ...
[ { "from": "user", "value": "7. Consider a $7 \\times 7$ grid of squares. Let $f:\\{1,2,3,4,5,6,7\\} \\rightarrow\\{1,2,3,4,5,6,7\\}$ be a function; in other words, $f(1), f(2), \\ldots, f(7)$ are each (not necessarily distinct) integers from 1 to 7 . In the top row of the grid, the numbers from 1 to 7 are w...
[ { "from": "user", "value": "8. Consider an $8 \\times 8$ grid of squares. A rook is placed in the lower left corner, and every minute it moves to a square in the same row or column with equal probability (the rook must move; i.e. it cannot stay in the same square). What is the expected number of minutes unt...
[ { "from": "user", "value": "10. Consider a $10 \\times 10$ grid of squares. One day, Daniel drops a burrito in the top left square, where a wingless pigeon happens to be looking for food. Every minute, if the pigeon and the burrito are in the same square, the pigeon will eat $10 \\%$ of the burrito's origin...
[ { "from": "user", "value": "3. Let $A$ denote the set of all integers $n$ such that $1 \\leq n \\leq 10000$, and moreover the sum of the decimal digits of $n$ is 2 . Find the sum of the squares of the elements of $A$." }, { "from": "assistant", "value": "<think>\nOkay, so I have this problem her...
[ { "from": "user", "value": "7. Determine the smallest positive integer $n \\geq 3$ for which\n$$\nA \\equiv 2^{10 n} \\quad\\left(\\bmod 2^{170}\\right)\n$$\nwhere $A$ denotes the result when the numbers $2^{10}, 2^{20}, \\ldots, 2^{10 n}$ are written in decimal notation and concatenated (for example, if $n...
[ { "from": "user", "value": "8. Define $\\phi^{!}(n)$ as the product of all positive integers less than or equal to $n$ and relatively prime to $n$. Compute the number of integers $2 \\leq n \\leq 50$ such that $n$ divides $\\phi^{!}(n)+1$." }, { "from": "assistant", "value": "<think>\nOkay, so I...
[ { "from": "user", "value": "9. For any positive integer $n, S_{n}$ be the set of all permutations of $\\{1,2,3, \\ldots, n\\}$. For each permutation $\\pi \\in S_{n}$, let $f(\\pi)$ be the number of ordered pairs $(j, k)$ for which $\\pi(j)>\\pi(k)$ and $1 \\leq j<k \\leq n$. Further define $g(\\pi)$ to be ...
[ { "from": "user", "value": "10. Let $a, b$ and $c$ be positive real numbers such that\n$$\n\\begin{aligned}\na^{2}+a b+b^{2} & =9 \\\\\nb^{2}+b c+c^{2} & =52 \\\\\nc^{2}+c a+a^{2} & =49 .\n\\end{aligned}\n$$\n\nCompute the value of $\\frac{49 b^{2}-33 b c+9 c^{2}}{a^{2}}$." }, { "from": "assistant",...
[ { "from": "user", "value": "2. Starting with an empty string, we create a string by repeatedly appending one of the letters $H, M$, $T$ with probabilities $\\frac{1}{4}, \\frac{1}{2}, \\frac{1}{4}$, respectively, until the letter $M$ appears twice consecutively. What is the expected value of the length of t...
[ { "from": "user", "value": "5. Let $a, b, c, d, e, f$ be integers selected from the set $\\{1,2, \\ldots, 100\\}$, uniformly and at random with replacement. Set\n$$\nM=a+2 b+4 c+8 d+16 e+32 f .\n$$\n\nWhat is the expected value of the remainder when $M$ is divided by 64 ?" }, { "from": "assistant", ...
[ { "from": "user", "value": "6. Define the sequence $a_{1}, a_{2} \\ldots$ as follows: $a_{1}=1$ and for every $n \\geq 2$,\n$$\na_{n}=\\left\\{\\begin{array}{ll}\nn-2 & \\text { if } a_{n-1}=0 \\\\\na_{n-1}-1 & \\text { if } a_{n-1} \\neq 0\n\\end{array}\\right.\n$$\n\nA non-negative integer $d$ is said to ...
[ { "from": "user", "value": "2. [5] Sherry is waiting for a train. Every minute, there is a $75 \\%$ chance that a train will arrive. However, she is engrossed in her game of sudoku, so even if a train arrives she has a $75 \\%$ chance of not noticing it (and hence missing the train). What is the probability...
[ { "from": "user", "value": "13. [9] A right triangle has side lengths $a, b$, and $\\sqrt{2016}$ in some order, where $a$ and $b$ are positive integers. Determine the smallest possible perimeter of the triangle." }, { "from": "assistant", "value": "<think>\nOkay, so I have this problem here wher...
[ { "from": "user", "value": "14. $[\\mathbf{9}]$ Let $A B C$ be a triangle such that $A B=13, B C=14, C A=15$ and let $E, F$ be the feet of the altitudes from $B$ and $C$, respectively. Let the circumcircle of triangle $A E F$ be $\\omega$. We draw three lines, tangent to the circumcircle of triangle $A E F$...
[ { "from": "user", "value": "17. [11] Compute the sum of all integers $1 \\leq a \\leq 10$ with the following property: there exist integers $p$ and $q$ such that $p, q, p^{2}+a$ and $q^{2}+a$ are all distinct prime numbers." }, { "from": "assistant", "value": "<think>\nOkay, let's see. The probl...
[ { "from": "user", "value": "3. [5] Let $P R O B L E M Z$ be a regular octagon inscribed in a circle of unit radius. Diagonals $M R, O Z$ meet at $I$. Compute $L I$." }, { "from": "assistant", "value": "<think>\nOkay, so I need to compute the length of LI in a regular octagon called PROBLEMZ, whi...
[ { "from": "user", "value": "21. [12] Tim starts with a number $n$, then repeatedly flips a fair coin. If it lands heads he subtracts 1 from his number and if it lands tails he subtracts 2. Let $E_{n}$ be the expected number of flips Tim does before his number is zero or negative. Find the pair $(a, b)$ such...
[ { "from": "user", "value": "22. $[\\mathbf{1 2}]$ On the Cartesian plane $\\mathbb{R}^{2}$, a circle is said to be nice if its center is at the origin $(0,0)$ and it passes through at least one lattice point (i.e. a point with integer coordinates). Define the points $A=(20,15)$ and $B=(20,16)$. How many nic...
[ { "from": "user", "value": "23. [12] Let $t=2016$ and $p=\\ln 2$. Evaluate in closed form the sum\n$$\n\\sum_{k=1}^{\\infty}\\left(1-\\sum_{n=0}^{k-1} \\frac{e^{-t} t^{n}}{n!}\\right)(1-p)^{k-1} p \\text {. }\n$$" }, { "from": "assistant", "value": "<think>\nOkay, so I have this sum to evaluate:...
[ { "from": "user", "value": "4. $[\\mathbf{5}]$ Consider a three-person game involving the following three types of fair six-sided dice.\n- Dice of type $A$ have faces labelled 2, 2, 4, 4, 9, 9 .\n- Dice of type $B$ have faces labelled $1,1,6,6,8,8$.\n- Dice of type $C$ have faces labelled $3,3,5,5,7,7$.\nAl...
[ { "from": "user", "value": "31. [16] For a positive integer $n$, denote by $\\tau(n)$ the number of positive integer divisors of $n$, and denote by $\\phi(n)$ the number of positive integers that are less than or equal to $n$ and relatively prime to $n$. Call a positive integer $n$ good if $\\varphi(n)+4 \\...