【全网首发】2021AIME II 真题及答案
文末答案
Find the arithmetic mean of all the three-digit palindromes. (Recall that a palindrome is a number that reads the same forward and backward, such as
or
.)
Equilateral triangle
has side length
. Point
lies on the same side of line
as
such that
. The line
through
parallel to line
intersects sides
and
at points
and
, respectively. Point
lies on
such that
is between
and
,
is isosceles, and the ratio of the area of
to the area of
is
. Find
.
![[asy] pair A,B,C,D,E,F,G; B=origin; A=5*dir(60); C=(5,0); E=0.6*A+0.4*B; F=0.6*A+0.4*C; G=rotate(240,F)*A; D=extension(E,F,B,dir(90)); draw(D--G--A,grey); draw(B--0.5*A+rotate(60,B)*A*0.5,grey); draw(A--B--C--cycle,linewidth(1.5)); dot(A^^B^^C^^D^^E^^F^^G); label("$A$",A,dir(90)); label("$B$",B,dir(225)); label("$C$",C,dir(-45)); label("$D$",D,dir(180)); label("$E$",E,dir(-45)); label("$F$",F,dir(225)); label("$G$",G,dir(0)); label("$\ell$",midpoint(E--F),dir(90)); [/asy]](https://latex.artofproblemsolving.com/7/1/5/7154e7a32b3eda0a8ba22787a8b4d10ba8b8dc50.png)
Find the number of permutations
of numbers
such that the sum of five products![]()
There are real numbers
and
such that
is a root of
and
is a root of
These two polynomials share a complex root
where
and
are positive integers and
Find ![]()
For positive real numbers
, let
denote the set of all obtuse triangles that have area
and two sides with lengths
and
. The set of all
for which
is nonempty, but all triangles in
are congruent, is an interval
. Find
.
For any finite set
, let
denote the number of elements in
. Find the number of ordered pairs
such that
and
are (not necessarily distinct) subsets of
that satisfy![]()
Let
and
be real numbers that satisfy the system of equations
There exist relatively prime positive integers
and
such that
Find
.
An ant makes a sequence of moves on a cube where a move consists of walking from one vertex to an adjacent vertex along an edge of the cube. Initially the ant is at a vertex of the bottom face of the cube and chooses one of the three adjacent vertices to move to as its first move. For all moves after the first move, the ant does not return to its previous vertex, but chooses to move to one of the other two adjacent vertices. All choices are selected at random so that each of the possible moves is equally likely. The probability that after exactly 8 moves that ant is at a vertex of the top face on the cube is
, where
and
are relatively prime positive integers. Find ![]()
Find the number of ordered pairs
such that
and
are positive integers in the set
and the greatest common divisor of
and
is not
.
Two spheres with radii
and one sphere with radius
are each externally tangent to the other two spheres and to two different planes
and
. The intersection of planes
and
is the line
. The distance from line
to the point where the sphere with radius
is tangent to plane
is
, where
and
are relatively prime positive integers. Find
.
Remarks
A teacher was leading a class of four perfectly logical students. The teacher chose a set
of four integers and gave a different number in
to each student. Then the teacher announced to the class that the numbers in
were four consecutive two-digit positive integers, that some number in
was divisible by
, and a different number in
was divisible by
. The teacher then asked if any of the students could deduce what
is, but in unison, all of the students replied no.
However, upon hearing that all four students replied no, each student was able to determine the elements of
. Find the sum of all possible values of the greatest element of
.
A convex quadrilateral has area
and side lengths
and
in that order. Denote by
the measure of the acute angle formed by the diagonals of the quadrilateral. Then
can be written in the form
, where
and
are relatively prime positive integers. Find
.
Find the least positive integer
for which
is a multiple of
.
Let
be an acute triangle with circumcenter
and centroid
. Let
be the intersection of the line tangent to the circumcircle of
at
and the line perpendicular to
at
. Let
be the intersection of lines
and
. Given that the measures of
and
are in the ratio
the degree measure of
can be written as
where
and
are relatively prime positive integers. Find
.
Let
and
be functions satisfying
and
for positive integers
. Find the least positive integer
such that
.
Recall that the arithmetic mean of all the
digit palindromes is just the average of the largest and smallest
digit palindromes, and in this case the
palindromes are
and
and
and
is the final answer.
~ math31415926535
For any palindrome
, note that
is 100A + 10B + A, which is also 101A + 10B. The average for A is 5 since A can be any of 1, 2, 3, 4, 5, 6, 7, 8, or 9. The average for B is 4.5 since B is either 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9. Therefore, the answer is 505 + 45 =
.
- ARCTICTURN
For every three-digit palindrome
with
and
note that
must be another palindrome by symmetry. Therefore, we can pair each three-digit palindrome uniquely with another three-digit palindrome so that they sum to
For instances:
and so on.
From this symmetry, the arithmetic mean of all the three-digit palindromes is ![]()
Remark
By the Multiplication Principle, there are
three-digit palindromes in total. Their sum is
as we can match them into
pairs such that the sum of each pair is ![]()
~MRENTHUSIASM
We notice that a three-digit palindrome looks like this ![]()
And we know a can be any number from 1-9, and b can be any number from 0-9, so there are
three-digit palindromes
We want to find the sum of these 90 palindromes and divide it by 90 to find the arithmetic mean
How can we do that? Instead of adding the numbers up, we can break each palindrome into two parts: 101a+10b
Thus, all of these 90 palindromes can be broken into this form
Thus, the sum of these 90 palindromes will be
, because each a will be in 10 different palindromes (since for each a, there are 10 choices for b). The same logic explains why there is a times 9 when computing the total sum of b.
We get a sum of ![]()
But don't compute this! There's no need. Divide this by 90 and you will get ![]()
~![]()
The average values of the first and last digits are each
and the average value of the middle digit is
so the average of all three-digit palindromes is ![]()
By angle-chasing,
is a
triangle, and
is a
triangle.
Let
It follows that
and
By the side-length ratios in
we have
and ![]()
Let the brackets denote areas. We have
and![]()
We set up and solve an equation for ![]()
Since
it is clear that
Therefore, we take the positive square root for both sides:
~MRENTHUSIASM
We express the areas of
and
in terms of
in order to solve for ![]()
We let
Because
is isosceles and
is equilateral, ![]()
Let the height of
be
and the height of
be
Then we have that
and ![]()
Now we can find
and
in terms of
Because we are given that
This allows us to use the sin formula for triangle area: the area of
is
Similarly, because
the area of ![]()
Now we can make an equation:
![]()
![\[\frac{\frac{1}{2}(\sin 120)(x^2)}{\frac{1}{2}(\sin 30)(420\sqrt{3} - \frac{\sqrt{3}}{2}x)(840-x)} = \frac{8}{9}\]](https://latex.artofproblemsolving.com/4/f/7/4f7f3d47e84ac87703ca13fb2dd1e0ef9a191d9c.png)
![]()
To make further calculations easier, we scale everything down by
(while keeping the same variable names, so keep that in mind).
![]()
![]()
![]()
![]()
![]()
Thus
Because we scaled down everything by
the actual value of
is ![]()
~JimY
So, If
is isosceles, it means that
.
Let ![]()
So, ![]()
In
,
, Hence
(because
)
Therefore, ![]()
So, ![]()
Now, as we know that the ratio of the areas of
and
is ![]()
Substituting the values, we get
Hence,
. Solving this, we easily get ![]()
We have taken
, Hence, ![]()
-Arnav Nigam
Since
is isosceles,
, and since
is equilateral,
. Thus,
, and since these triangles share an altitude, they must have the same area.
Drop perpendiculars from
and
to line
; call the meeting points
and
, respectively.
is clearly congruent to both
and
, and thus each of these new triangles has the same area as
. But we can "slide"
over to make it adjacent to
, thus creating an equilateral triangle whose area has a ratio of 18:8 when compared to
(based on our conclusion from the first paragraph). Since these triangles are both equilateral, they are similar, and since the area ratio 18:8 reduces to 9:4, the ratio of their sides must be 3:2. So, because
and
represent sides of these triangles, and they add to 840,
must equal two-fifths of 840, or
.
Since
is one of the numbers, a product with a
in it is automatically divisible by
, so WLOG
, we will multiply by
afterward since any of
would be
, after some cancelation we see that now all we need to find is the number of ways that
is divisible by
, since
is never divisible by
, now we just need to find the number of ways
is divisible by
, after some calculation you will see that there are
ways to choose
and
in this way. So the desired answer is
.
~ math31415926535
The expression
has cyclic symmetry. Without the loss of generality, let
It follows that
We have
We construct the following table for the case
with all values in modulo ![]()
For Row 1,
can be either
or
and
can be either
or
By the Multiplication Principle, Row 1 produces
permutations. Similarly, Rows 2, 5, and 6 each produce
permutations.
Together, we get
permutations for the case
By the cyclic symmetry, the cases
and
all have the same count. Therefore, the total number of permutations
is ![]()
~MRENTHUSIASM
WLOG, let
So, the terms
are divisible by
.
We are left with
and
. We need
The only way is when They are
or
(mod 3)
The numbers left with us are
which are
(mod
) respectively.
(of
or
)
(of
or
) =
.
(of
or
)
(of
or
) = ![]()
But, as we have just two
and two
, Hence, We will have to take
and
Among these two, we have a
and
in common, i.e.
(because
and
are common in
and
)
So,
i.e.
values.
For each value of
we get
values for
Hence, in total, we have
ways.
But any of the
can be
So, ![]()
By the Complex Conjugate Root Theorem, the imaginary roots for each of
and
are a pair of complex conjugates. Let
and
It follows that the roots of
are
and the roots of
are ![]()
We know that![]()
Applying Vieta's Formulas to
we have
from which
Applying Vieta's Formulas to
we have
from which
Finally, we get
by
and ![]()
~MRENTHUSIASM
, hence ![]()
Also,
, hence ![]()
satisfies both
we can put it in both equations and equate to 0.
In the first equation, we get
Simplifying this further, we get ![]()
Hence,
and ![]()
In the second equation, we get
Simplifying this further, we get ![]()
Hence,
and ![]()
Comparing (1) and (2),
and ![]()
; ![]()
Substituting these in
gives, ![]()
This simplifies to ![]()
Hence, ![]()
Consider case of
:
Also, ![]()
(because c = 1) Also,
Also, Equation (2) gives ![]()
Solving (4) and (5) simultaneously gives ![]()
[AIME can not have more than one answer, so we can stop here also 😁... Not suitable for Subjective exam]
Hence, ![]()
-Arnav Nigam
start off by applying vieta's and you will find that
and
. After that, we have to use the fact that
and
are roots of
and
, respectively. Since we know that if you substitute the root of a function back into the function, the output is zero, therefore
and
and you can set these two equations equal to each other while also substituting the values of
,
,
, and
above to give you
, then you can rearrange the equation into
. With this property, we know that
is divisible by
therefore that means
which results in
which finally gives us m=10 mod 21. We can test the first obvious value of
which is
and we see that this works as we get
and
. That means your answer will be ![]()
-Jske25
We note that
and
for some polynomials
and
. Through synthetic division (ignoring the remainder as we can set
and
to constant values such that the remainder is zero),
, and
By the complex conjugate root theorem, we know that
and
share the same roots, and they share the same leading coefficient, so
. Therefore,
and
. Solving the system equations, we get
and
, so
. Finally, by the quadratic formula, we have roots of
, so our final answer is ![]()
-faefeyfa
We plug -20 into the equation obtaining
, likewise, plugging -21 into the second equation gets
.
Both equations must have 3 solutions exactly, so the other two solutions must be
and
.
By Vieta's, the sum of the roots in the first equation is
, so
must be
.
Next, using Vieta's theorem on the second equation, you get:
However, since we know that the sum of the roots with complex numbers are 20, we can factor out the terms with -21, so ![]()
Given that
is
, then
is equal to
.
Therefore, the answer to the equation is ![]()
We start by defining a triangle. The two small sides MUST add to a larger sum than the long side. We are given 4 and 10 as the sides, so we know that the 3rd side is between 6 and 14, exclusive. We also have to consider the word OBTUSE triangles. That means that the two small sides squared is less than the 3rd side. So the triangles sides are between 6 and
exclusive, and the larger bound is between
and 14, exclusive. The area of these triangles are from 0 (straight line) to
on the first "small bound" and the larger bound is between 0 and 20.
is our first equation, and
is our 2nd equation. Therefore, the area is between
and
, so our final answer is
.
~ARCTICTURN
If
and
are the side-lengths of an obtuse triangle with
then both of the following must be satisfied:
For one such obtuse triangle, let
and
be its side-lengths and
be its area. By the Pythagorean Inequality Theorem, it is clear that
We apply casework to its longest side:
Case (1): The longest side has length
so ![]()
By the Triangle Inequality Theorem, we have
from which ![]()
By the Pythagorean Inequality Theorem, we have
from which ![]()
Taking the intersection of these three inequalities produces
for this case.
At
the obtuse triangle degenerates into a straight line with area
at
the obtuse triangle degenerates into a right triangle with area
Together, we obtain
or ![]()
Case (2): The longest side has length
so ![]()
By the Triangle Inequality Theorem, we have
from which ![]()
By the Pythagorean Inequality Theorem, we have
from which ![]()
Taking the intersection of these three inequalities produces
for this case.
At
the obtuse triangle degenerates into a straight line with area
at
the obtuse triangle degenerates into a right triangle with area
Together, we obtain
or ![]()
Answer
It is possible for non-congruent obtuse triangles to have the same area. Therefore, all such positive real numbers
are in exactly one of
or
Taking the exclusive disjunction, the set of all such
is
from which ![]()
~MRENTHUSIASM
We have the diagram below.
![[asy] draw((0,0)--(1,2*sqrt(3))); draw((1,2*sqrt(3))--(10,0)); draw((10,0)--(0,0)); label("A",(0,0),SW); label("B",(1,2*sqrt(3)),N); label("C",(10,0),SE); label("$\theta$",(0,0),NE); label("$\alpha$",(1,2*sqrt(3)),SSE); label("$4$",(0,0)--(1,2*sqrt(3)),WNW); label("$10$",(0,0)--(10,0),S); [/asy]](https://latex.artofproblemsolving.com/5/7/1/571ecf6555191cbe1ad6d671663ff7b4e5412789.png)
We proceed by taking cases on the angles that can be obtuse, and finding the ranges for
that they yield .
If angle
is obtuse, then we have that
. This is because
is attained at
, and the area of the triangle is strictly decreasing as
increases beyond
. This can be observed from
by noting that
is decreasing in
.
Then, we note that if
is obtuse, we have
. This is because we get
when
, yileding
. Then,
is decreasing as
increases by the same argument as before.
cannot be obtuse since
.
Now we have the intervals
and
for the cases where
and
are obtuse, respectively. We are looking for the
that are in exactly one of these intervals, and because
, the desired range is
giving![]()
Note: Archimedes15 Solution which I added an answer here are two cases. Either the
and
are around an obtuse angle or the
and
are around an acute triangle. If they are around the obtuse angle, the area of that triangle is
as we have
and
is at most
. Note that for the other case, the side lengths around the obtuse angle must be
and
where we have
. Using the same logic as the other case, the area is at most
. Square and add
and
to get the right answer![]()
By PIE,
, and after some algebra you see that we need
or
. WLOG
, then for each element there are
possibilities, either it is in both
and
, it is in
but not
, or it is in neither
nor
. This gives us
possibilities, and we multiply by
since it could have also been the other way around. Now we need to subtract the overlaps where
, and this case has
ways that could happen. It is
because each number could be in the subset or it could not be in the subset. So the final answer is
.
~ math31415926535
We denote
. We denote
,
,
,
.
Therefore,
and the intersection of any two out of sets
,
,
,
is an empty set. Therefore,
is a partition of
.
Following from our definition of
,
,
, we have
.
Therefore, the equation
![]()
can be equivalently written as
![]()
This equality can be simplified as
![]()
Therefore, we have the following three cases: (1)
and
, (2)
and
, (3)
. Next, we analyze each of these cases, separately.
Case 1:
and
.
In this case, to count the number of solutions, we do the complementary counting.
First, we count the number of solutions that satisfy
.
Hence, each number in
falls into exactly one out of these three sets:
,
,
. Following from the rule of product, the number of solutions is
.
Second, we count the number of solutions that satisfy
and
.
Hence, each number in
falls into exactly one out of these two sets:
,
. Following from the rule of product, the number of solutions is
.
Therefore, following from the complementary counting, the number of solutions in this case is equal to the number of solutions that satisfy
minus the number of solutions that satisfy
and
, i.e.,
.
Case 2:
and
.
This case is symmetric to Case 1. Therefore, the number of solutions in this case is the same as the number of solutions in Case 1, i.e.,
.
Case 3:
and
.
Recall that this is one part of our analysis in Case 1. Hence, the number solutions in this case is
.
By putting all cases together, following from the rule of sum, the total number of solutions is equal to

~ Steven Chen (www.professorchenedu.com)
By the Principle of Inclusion-Exclusion (abbreviated as PIE), we have
from which we rewrite the given equation as
Rearranging and applying Simon's Favorite Factoring Trick give
from which at least one of the following is true:
Let
For each value of
we will use PIE to count the ordered pairs ![]()
Suppose
There are
ways to choose the elements for
These
elements must also appear in
Next, there are
ways to add any number of the remaining
elements to
(Each element has
options: in
or not in
). There are
ordered pairs for
Similarly, there are
ordered pairs for ![]()
To fix the overcount, we subtract the number of ordered pairs that are counted twice, in which
There are
such ordered pairs.
Therefore, there are
ordered pairs for ![]()
Two solutions follow from here:
The answer is![\begin{align*} \sum_{k=0}^{5}\left[2\binom{5}{k}2^{5-k}-\binom{5}{k}\right] &= 2\underbrace{\sum_{k=0}^{5}\binom{5}{k}2^{5-k}}_{(2+1)^5}-\underbrace{\sum_{k=0}^{5}\binom{5}{k}}_{(1+1)^5} \\ &=2(243)-32 \\ &=\boxed{454}. \end{align*}](https://latex.artofproblemsolving.com/1/c/d/1cd5c1ab401a4e02dd4fa8b4db51dab3b9ab4a54.png)
From the fourth equation we get
substitute this into the third equation and you get
. Hence
. Solving we get
or
. From the first and second equation we get
, if
, substituting we get
. If you try solving this you see that this does not have real solutions in
, so
must be
. So
. Since
,
or
. If
, then the system
and
does not give you real solutions. So
. Since you already know
and
, so you can solve for
and
pretty easily and see that
. So the answer is
.
~ math31415926535
We can factor
out of the last two equations. Therefore, it becomes
. Notice this is just
, since
. We now have
and
. We then find
in terms of
, so
. We solve for
and find that it is either
or
. We can now try for these two values, and plug the rest into the equation. Thus, we have
. We have
and we're done.
~Arcticturn
can be rewritten as
. Hence, ![]()
Rewriting
, we get
. Substitute
and solving, we get,
call this Equation 1
gives
. So,
, which implies
or
call this equation 2.
Substituting Eq 2 in Eq 1 gives, ![]()
Solving this quadratic yields that ![]()
Now we just try these 2 cases.
For
substituting in Equation 1 gives a quadratic in
which has roots ![]()
Again trying cases, by letting
, we get
, Hence
We know that
, Solving these we get
or
(doesn't matter due to symmetry in a,b)
So, this case yields solutions ![]()
Similarly trying other three cases, we get no more solutions, Hence this is the solution for ![]()
Finally, ![]()
So, ![]()
- Arnav Nigam
Number the given equations
and
in this order. Rearranging
and solving for
we have
Substituting
into
and solving for
we get
Substituting
and
into
and simplifying, we rewrite the left side of
in terms of
and
only:
Let
from which
Multiplying both sides by
rearranging, and factoring give
Substituting back and completing the squares produce
If
then combining this with
we know that
and
are the solutions of the quadratic
Since the discriminant is negative, neither
nor
is a real number.
If
then combining this with
we know that
and
are the solutions of the quadratic
or
from which
Substituting
into
and
we obtain
and
respectively. Together, we have
so the answer is ![]()
For all positive integers
let
The base case occurs at
from which ![]()
Suppose the ant makes exactly
moves. We will perform casework on its last move:
Alternatively, this recursion argument is illustrated below, where each dashed arrow indicates
way, and each solid arrow indicates
ways:
Therefore, we have the following relationships:
Using these equations, we recursively fill out the table below:
Clearly, there are
ways to make exactly
moves. To guarantee correctness, note that for each value of
the four counts in that column must total up to ![]()
Finally, the requested probability is
from which the answer is ![]()
~Arcticturn (Fundamental Logic)
~MRENTHUSIASM (Reconstruction)
On each move, we can either stay on the level we previously were (stay on the bottom/top) or switch levels (go from top to bottom and vise versa). Since we start on the bottom, ending on the top means that we will have to switch an odd number of times; since we cannot switch twice in a row, over an eight-move period we can either make one or three switches. Furthermore, once we switch to a level we can choose one of two directions of traveling on that level: clockwise or counterclockwise (since we can't go back to our previous move, our first move on the level after switching determines our direction).
possibilities.
possibilities.Our probability is then
.
Define
to be the probability that after
moves, the ant ends up on the level it started on (assuming the first move is a normal move where the ant can stay or move to the opposite level with half chance each). Note
and
.
Consider when the ant has
moves left. It can either stay on its current level with
chance and
moves left, or travel to the opposite level with
chance and
moves left (it must spend another move as it cannot travel back immediately). We then have the recurrence![]()
On the first move, the ant can stay on the bottom level with
chance and
moves left. Or, it can move to the top level with
chance and
moves left (it has to spend one on the top as it can not return immediately). So the requested probability is
.
Computing
we get
and
, resulting in
.
We make use of the (olympiad number theory) lemma that
.
Noting
, we have (by difference of squares)![]()
It is now easy to calculate the answer (with casework on
) as
.
~Lcz
If
and
are positive integers with
then ![]()
There are two proofs to this claim, as shown below.
~MRENTHUSIASM
If
then
from which the claim is clearly true.
Otherwise, let
without the loss of generality. Note that for all integers
the Euclidean Algorithm states that
We apply this result repeatedly to reduce the larger number:
Continuing, we have
from which the proof is complete.
~MRENTHUSIASM
Let
It follows that
and ![]()
By Bézout's Identity, there exist integers
and
for which
so
from which
We know that ![]()
Next, we notice that
Since
is a common divisor of
and
we conclude that
from which the proof is complete.
~MRENTHUSIASM
By the Euclidean Algorithm, we have
We are given that
Multiplying both sides by
gives
which implies that
must have more factors of
than
does.
We construct the following table for the first
positive integers:
To count the ordered pairs
we perform casework on the number of factors of
that
has:
Together, the answer is ![]()
~MRENTHUSIASM
In
of the solution, we use the following property of the greatest common divisor:
For positive integers
and
if
then ![]()
As
and
are relatively prime (have no prime divisors in common), this property is intuitive.
The centers of the three spheres form a 49-49-72 triangle. Consider the points at which the plane is tangent to the two bigger spheres; the line segment connecting these two points should be parallel to the 72 side of this triangle. Take its midpoint
, which is 36 away from the midpoint of the 72 side
, and connect these two midpoints.
Now consider the point at which the plane is tangent to the small sphere, and connect
with the small sphere's tangent point
. Extend
through B until it hits the ray from
through the center of the small sphere (convince yourself that these two intersect). Call this intersection
, the center of the small sphere
, we want to find
.
By Pythagorus AC=
, and we know
. We know that
must be parallel, using ratios we realize that
. Apply Pythagorean theorem on triangle BCD;
, so 312 + 23 = ![]()
-Ross Gao
Let's try to see some symmetry. We can use a coordinate plane to plot where the circles are. The 2 large spheres are externally tangent, so we'll make them at 0, -36, 0 and 0, 36, 0. The center of the little sphere would be x, 0, and -23 since we don't know how much the little sphere will be "pushed" down. We use the 3D distance formula to find that x is -24 (since 24 wouldn't make sense). Now, we draw a line through the little sphere and the origin. It also intersects
because of the symmetry we created.
lies on the plane too, so these 2 lines must intersect. The point at where it intersects is -24a, 0, and 23a. We can use the distance formula again to find that a =
. Therefore, they intersect at
. Since the little circle's x coordinate is -24 and the intersection point's x coordinate is
, we get
- 24 =
. Therefore, our answer to this problem is 312 + 23 =
.
~Arcticturn
This solution refers to the Diagram section.
As shown below, let
be the centers of the spheres (where sphere
is the smallest) and
be their respective points of tangency to plane
Suppose
is the foot of the perpendicular from
to line
so
is the perpendicular bisector of
We wish to find ![]()
As the intersection of planes
and
is line
we know that both
and
must intersect line
Furthermore, since
and
it follows that
from which
and
are coplanar.
We will focus on cross-sections
and ![]()
We have the following diagram:
In cross-section
since
as discussed, we obtain
by AA, with the ratio of similitude
Therefore, we get
or ![]()
In cross-section
note that
and
Applying the Pythagorean Theorem to right
we have
Moreover, since
and
we obtain
so that
by AA, with the ratio of similitude
Therefore, we get
or ![]()
Finally, note that
and
Since
is a rectangle, we have
Applying the Pythagorean Theorem to right
gives
from which the answer is ![]()
Let's start by listing the multiples of 6 and 7: 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96; 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, and 98. First of all, the multiples of 6 and 7 wouldn't work, so we can cross out 42 and 84. Since the students said they didn't know the answer, it must be that the set has no distinct integers from the sets. Let's list out the possible sets. Since they are in lists of 4, we need multiples of 6 or 7. Let's list them out. 11, 12, 13, 14 12, 13, 14, 15 But if a student has 11 or 15, they would know. So that wouldn't work. The second set would be this:
They couldn't know since the multiples of 7 is 35, and if you list it out, they wouldn't know about it since there are other sets such as 35, 36, 37, 38, and 33, 34, 35, 36. The people with these sets would say no, so the second set would WORK. The other sets are only 2 numbers, and since 2 numbers are sufficiently smaller than our 2nd set, we have concluded the answer is 37+50+79+92 =
. ~Arcticturn
Note that
It is clear that
and
otherwise the three other elements in
are divisible by neither
nor ![]()
In the table below, the multiples of
are colored in yellow, and the multiples of
are colored in green. By the least common multiple, we obtain cycles: If
is a possible maximum value of
then
must be another possible maximum value of
and vice versa. By observations, we circle all possible maximum values of ![]()
From the second row of the table above, we perform casework on the possible maximum value of ![]()
Finally, all possibilities for
are
and
from which the answer is ![]()
Remarks
![[asy] /* Made by MRENTHUSIASM */ size(20cm); for (real j=5.5; j<41.5; j+=6) { fill((j+0.5,4)--(j-0.5,4)--(j-0.5,3)--(j+0.5,3)--cycle,yellow); } for (real j=6.5; j<41.5; j+=7) { fill((j+0.5,4)--(j-0.5,4)--(j-0.5,3)--(j+0.5,3)--cycle,green); } fill((4,1)--(8,1)--(8,2)--(4,2)--cycle,mediumgray); fill((33,1)--(37,1)--(37,2)--(33,2)--cycle,mediumgray); fill((42,4)--(41,4)--(41,3)--cycle,yellow); fill((42,4)--(42,3)--(41,3)--cycle,green); for (real i=0.5; i<=41.5; ++i) { label("$"+string(i+42.5)+"$",(i,3.5),fontsize(9pt)); } draw(circle((6.5,3.5),0.45)); draw(circle((7.5,3.5),0.45)); draw(circle((8.5,3.5),0.45)); draw(circle((13.5,3.5),0.45)); draw(circle((14.5,3.5),0.45)); draw(circle((20.5,3.5),0.45)); draw(circle((23.5,3.5),0.45)); draw(circle((29.5,3.5),0.45)); draw(circle((30.5,3.5),0.45)); draw(circle((35.5,3.5),0.45)); draw(circle((36.5,3.5),0.45)); draw(circle((37.5,3.5),0.45)); label("Y",(3.5,2.5),blue); label("N",(4.5,2.5),blue); label("N",(5.5,2.5),blue); label("N",(6.5,2.5),blue); label("N",(4.5,1.5),blue); label("N",(5.5,1.5),blue); label("N",(6.5,1.5),blue); label("N",(7.5,1.5),blue); label("N",(5.5,0.5),blue); label("N",(6.5,0.5),blue); label("N",(7.5,0.5),blue); label("Y",(8.5,0.5),blue); label("Y",(10.5,2.5),blue); label("N",(11.5,2.5),blue); label("N",(12.5,2.5),blue); label("N",(13.5,2.5),blue); label("N",(11.5,1.5),blue); label("N",(12.5,1.5),blue); label("N",(13.5,1.5),blue); label("Y",(14.5,1.5),blue); label("Y",(17.5,2.5),blue); label("Y",(18.5,2.5),blue); label("Y",(19.5,2.5),blue); label("N",(20.5,2.5),blue); label("N",(20.5,1.5),blue); label("Y",(21.5,1.5),blue); label("Y",(22.5,1.5),blue); label("Y",(23.5,1.5),blue); label("Y",(26.5,2.5),blue); label("N",(27.5,2.5),blue); label("N",(28.5,2.5),blue); label("N",(29.5,2.5),blue); label("N",(27.5,1.5),blue); label("N",(28.5,1.5),blue); label("N",(29.5,1.5),blue); label("Y",(30.5,1.5),blue); label("Y",(32.5,2.5),blue); label("N",(33.5,2.5),blue); label("N",(34.5,2.5),blue); label("N",(35.5,2.5),blue); label("N",(33.5,1.5),blue); label("N",(34.5,1.5),blue); label("N",(35.5,1.5),blue); label("N",(36.5,1.5),blue); label("N",(34.5,0.5),blue); label("N",(35.5,0.5),blue); label("N",(36.5,0.5),blue); label("Y",(37.5,0.5),blue); for (real i=0; i<=42; ++i) { draw((i,4)--(i,3)); } draw((0,4)--(42,4)); draw((0,3)--(42,3)); [/asy]](https://latex.artofproblemsolving.com/0/b/2/0b24061d6be4d8f6fbd2bf0f8c7401d73e989548.png)
We denote by
,
,
and
four vertices of this quadrilateral, such that
,
,
,
. We denote by
the point that two diagonals
and
meet at. To simplify the notation, we denote
,
,
,
.
We denote
. Hence,
and
.
First, we use the triangle area formula with sines to write down an equation of the area of the quadrilateral
.
We have
where the second equality follows from the formula to use the sine function to compute a triangle area, the the fourth equality follows from the property that
.
Because
, we have
.
Second, we use the law of cosines to establish four equations for four sides of the quadrilateral
.
In
, following from the law of cosines, we have![]()
Because
and
, we have![]()
In
, following from the law of cosines, we have![]()
Because
and
, we have![]()
In
, following from the law of cosines, we have![]()
Because
and
, we have![]()
In
, following from the law of cosines, we have![]()
Because
and
, we have![]()
By taking
, we get
![]()
By taking
, we get![]()
Therefore, by writing this answer in the form of
, we have
and
. Therefore, the answer to this question is
.
~ Steven Chen (www.professorchenedu.com)
Since we are asked to find
, we can find
and
separately and use their values to get
. We can start by drawing a diagram. Let the vertices of the quadrilateral be
,
,
, and
. Let
,
,
, and
. Let
,
,
, and
. We know that
is the acute angle formed between the intersection of the diagonals
and
.
![[asy] unitsize(4cm); pair A,B,C,D,X; A = (0,0); B = (1,0); C = (1.25,-1); D = (-0.75,-0.75); draw(A--B--C--D--cycle,black+1bp); X = intersectionpoint(A--C,B--D); draw(A--C); draw(B--D); label("$A$",A,NW); label("$B$",B,NE); label("$C$",C,SE); label("$D$",D,SW); dot(X); label("$X$",X,S); label("$5$",(A+B)/2,N); label("$6$",(B+C)/2,E); label("$9$",(C+D)/2,S); label("$7$",(D+A)/2,W); label("$\theta$",X,2.5E); label("$a$",(A+X)/2,NE); label("$b$",(B+X)/2,NW); label("$c$",(C+X)/2,SW); label("$d$",(D+X)/2,SE); [/asy]](https://latex.artofproblemsolving.com/0/c/8/0c8fe8bfd35bddd29e1d986195ef4801b7bc8e63.png)
We are given that the area of quadrilateral
is
. We can express this area using the areas of triangles
,
,
, and
. Since we want to find
and
, we can represent these areas using
as follows:
![\begin{align*} 30 &=[ABCD] \\ &=[AXB] + [BXC] + [CXD] + [DXA] \\ &=\frac{1}{2} ab \sin (\angle AXB) + \frac{1}{2} bc \sin (\angle BXC) + \frac{1}{2} cd \sin (\angle CXD) + \frac{1}{2} da \sin (\angle AXD) \\ &=\frac{1}{2} ab \sin (180^\circ - \theta) + \frac{1}{2} bc \sin (\theta) + \frac{1}{2} cd \sin (180^\circ - \theta) + \frac{1}{2} da \sin (\theta) \end{align*}](https://latex.artofproblemsolving.com/e/2/3/e23e3ebd5e193aff744b06f4e6ffd1c6a2d4ade1.png)
We know that
. Therefore it follows that:

From here we see that
. Now we need to find
. Using the Law of Cosines on each of the four smaller triangles, we get following equations:

We know that
. We can substitute this value into our equations to get:

If we subtract the sum of the first and third equation from the sum of the second and fourth equation, the squared terms cancel, leaving us with:![]()
![]()
From here we see that
.
Since we have figured out
and
, we can calculate
:
![\[\tan \theta = \frac{\sin \theta}{\cos \theta} = \frac{\frac{60}{ab + bc + cd + da}}{\frac{21/2}{ab + bc + cd + da}} = \frac{60}{21/2} = \frac{120}{21} = \frac{40}{7}\]](https://latex.artofproblemsolving.com/5/7/c/57c8aa886c8de5d11559785a37fc3ad1485e24cc.png)
Therefore our answer is
.
1000 divides this expression iff 8, 125 both divide it. It should be fairly obvious that
; so we may break up the initial condition into two sub-conditions.
(1)
. Notice that the square of any odd integer is 1 modulo 8 (proof by plugging in
,
,
,
into modulo 8), so the LHS of this expression goes "5,1,5,1, ...", while the RHS goes "1,2,3,4,5,6,7,8,1, ...". The cycle length of the LHS is 2, RHS is 8, so the cycle length of the solution is
. Indeed, the n that solve this equation are exactly those such that
.
(2)
. This is extremely computationally intensive if you try to calculate all
, so instead, we take a divide-and-conquer approach. In order for this expression to be true
is necessary; it shouldn't take too long for you to go through the 20 possible LHS-RHS combinations and convince yourself that
or
.
With this in mind we consider
modulo 25. By the generalized Fermat's little theorem,
, but we already have n modulo 20! Our calculation is greatly simplified. The LHS cycle length is 20, RHS cycle length is 25, the lcm is 100, in this step we need to test all the numbers between 1 to 100 that
or
. In the case that
,
, and RHS goes "3,23,43,63,83"; clearly
. In the case that
, by a similar argument,
.
In the final step, we need to calculate
modulo 125. The former is simply
; because
modulo 125,
.
is
.
This time, LHS cycle is 100, RHS cycle is 125, so we need to figure out what is n modulo 500. It should be
.
Put everything together. By the second subcondition, the only candidates < 100 are
. Apply the first subcondition, n=797 is the desired answer.
-Ross Gao
We have that
, or
and
by CRT. It is easy to check
don't work, so we have that
. Then,
and
, so we just have
and
. Let us consider both of these congruences separately.
First, we look at
. By Euler's Totient Theorem (ETT), we have
, so
. On the RHS of the congruence, the possible values of
are all nonnegative integers less than
and on the RHS the only possible values are
and
. However, for
to be
we must have
, a contradiction. So, the only possible values of
are when
.
Now we look at
. Plugging in
, we get
. Note, for
to be satisfied, we must have
and
. Since
as
, we have
. Then,
. Now, we get
. Using the fact that
, we get
. The inverse of
modulo
is obviously
, so
, so
. Plugging in
, we get
.
Now, we are finally ready to plug
into the congruence modulo
. Plugging in, we get
. By ETT, we get
, so
. Then,
. Plugging this in, we get
, implying the smallest value of
is simply
. ~rocketsri
We wish to find the least positive integer
for which
Rearranging gives
Applying the Chinese Remainder Theorem, we get the following systems of linear congruences:
It is clear that
from which we simplify to![]()
Note that
and
so we apply the Binomial Theorem to the left side:
Since
it follows that
That is,
for some nonnegative integer ![]()
Substituting this back into
we get
As
is a multiple of
it has at least three factors of
Since
contributes one factor, it follows that
contributes at least two factors, or
must be a multiple of
Therefore, the least such nonnegative integer
is ![]()
Finally, combining the two results from above (bolded) generates the least such positive integer
at ![]()

Let
be the midpoint of
. Because
,
and
are cyclic, so
is the center of the spiral similarity sending
to
, and
. Because
, it's easy to get
from here.
~Lcz
Let
be the midpoint of
. Because
we have
cyclic and so
; likewise since
we have
cyclic and so
. Now note that
are collinear since
is a median, so
. But
. Now letting
we have
and so
.
Notice that
looks isosceles, so we assume it's isosceles. Then, let
and
Taking the sum of the angles in the triangle gives
so
so the answer is ![]()
Consider what happens when we try to calculate
where n is not a square. If
for (positive) integer k, recursively calculating the value of the function gives us
. Note that this formula also returns the correct value when
, but not when
. Thus
for
.
If
,
returns the same value as
. This is because the recursion once again stops at
. We seek a case in which
, so obviously this is not what we want. We want
to have a different parity, or
have the same parity. When this is the case,
instead returns
.
Write
, which simplifies to
. Notice that we want the
expression to be divisible by 3; as a result,
. We also want n to be strictly greater than
, so
. The LHS expression is always even (why?), so to ensure that k and n share the same parity, k should be even. Then the least k that satisfies these requirements is
, giving
.
Indeed - if we check our answer, it works. Therefore, the answer is ![]()

© 2025. All Rights Reserved. 沪ICP备2023009024号-1