AIME 2026 I · 第 4 题
AIME 2026 I — Problem 4
题目详情
Problem
Find the number of integers less than or equal to that are equal to for some choice of distinct positive integers and .
解析
Solution 1
Let be equal to . Adding 1 to both sides, we get . Because we know and have to be positive, this means that cannot be prime. We have primes less than , but we have to also count since is still in the range of to . Another thing we can notice is that perfect squares of primes don’t work either. The primes whose squares are less than are ,,, and . Therefore, the answer is .
- ChickensEatGrass
Solution 2 (Basically equivalent to solution 1, but a little more explanation)
Rewrite the expression as .
Let and . Then and are integers at least , and since and are distinct, . The expression becomes , and the condition that the value be at most is equivalent to .
Thus we are counting the integers of the form with and distinct integers at least and product at most . Different choices of and that give the same product produce the same value, so this reduces to counting integers that can be written as a product of two distinct integers at least .
The number cannot be or a prime. Most composite numbers work, but the exception is when is a perfect square whose only factorization uses equal factors, since that would force , which is not allowed. The only such squares at most are , , , and . Every other composite number at most has a factorization with two distinct factors at least .
There are integers from to . Removing leaves . Among these, are prime, so there are composite numbers. Excluding the four squares , , , and leaves valid values of . Each gives a distinct integer at most .
Therefore, the number of integers less than or equal to that can be written in the specified form is .
~Gray_Wolf
~ by Logibyte
Solution 3 (Bash)
We take inspiration from the Sieve of Eratosthenes
Case 1: and
We can do two things (and more generally for etc) 1. We find the smallest value that satisfies the expression , and use the period of to box numbers that are more than that minimum 2. Cross out any number below that is not circled. Boxing and crossing out and circling all gives us the following:
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & 6 & \boxed{7} & 8 & \boxed{9} & 10 \\ \hline \boxed{11} & 12 & \boxed{13} & 14 & \boxed{15} & 16 & \boxed{17} & 18 & \boxed{19} & 20 \\ \hline \boxed{21} & 22 & \boxed{23} & 24 & \boxed{25} & 26 & \boxed{27} & 28 & \boxed{29} & 30 \\ \hline \boxed{31} & 32 & \boxed{33} & 34 & \boxed{35} & 36 & \boxed{37} & 38 & \boxed{39} & 40 \\ \hline \boxed{41} & 42 & \boxed{43} & 44 & \boxed{45} & 46 & \boxed{47} & 48 & \boxed{49} & 50 \\ \hline \boxed{51} & 52 & \boxed{53} & 54 & \boxed{55} & 56 & \boxed{57} & 58 & \boxed{59} & 60 \\ \hline \boxed{61} & 62 & \boxed{63} & 64 & \boxed{65} & 66 & \boxed{67} & 68 & \boxed{69} & 70 \\ \hline \boxed{71} & 72 & \boxed{73} & 74 & \boxed{75} & 76 & \boxed{77} & 78 & \boxed{79} & 80 \\ \hline \boxed{81} & 82 & \boxed{83} & 84 & \boxed{85} & 86 & \boxed{87} & 88 & \boxed{89} & 90 \\ \hline \boxed{91} & 92 & \boxed{93} & 94 & \boxed{95} & 96 & \boxed{97} & 98 & \boxed{99} & 100 \\ \hline \end{array}
Case 2: we have
1. minimum is
2. we cross out
3 we add etc.
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & 12 & \boxed{13} & \boxed{14} & \boxed{15} & 16 & \boxed{17} & 18 & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & 22 & \boxed{23} & 24 & \boxed{25} & \boxed{26} & \boxed{27} & 28 & \boxed{29} & 30 \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & 34 & \boxed{35} & 36 & \boxed{37} & \boxed{38} & \boxed{39} & 40 \\ \hline \boxed{41} & 42 & \boxed{43} & \boxed{44} & \boxed{45} & 46 & \boxed{47} & 48 & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & 52 & \boxed{53} & 54 & \boxed{55} & \boxed{56} & \boxed{57} & 58 & \boxed{59} & 60 \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & 64 & \boxed{65} & 66 & \boxed{67} & \boxed{68} & \boxed{69} & 70 \\ \hline \boxed{71} & 72 & \boxed{73} & \boxed{74} & \boxed{75} & 76 & \boxed{77} & 78 & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & 82 & \boxed{83} & 84 & \boxed{85} & \boxed{86} & \boxed{87} & 88 & \boxed{89} & 90 \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & 94 & \boxed{95} & 96 & \boxed{97} & \boxed{98} & \boxed{99} & 100 \\ \hline \end{array}
Case 3:
1. minimum is
2. note nothing extra gets boxed (odd).
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & 12 & \boxed{13} & \boxed{14} & \boxed{15} & \cancel{16} & \boxed{17} & \cancel{18} & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & 22 & \boxed{23} & 24 & \boxed{25} & \boxed{26} & \boxed{27} & 28 & \boxed{29} & 30 \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & 34 & \boxed{35} & 36 & \boxed{37} & \boxed{38} & \boxed{39} & 40 \\ \hline \boxed{41} & 42 & \boxed{43} & \boxed{44} & \boxed{45} & 46 & \boxed{47} & 48 & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & 52 & \boxed{53} & 54 & \boxed{55} & \boxed{56} & \boxed{57} & 58 & \boxed{59} & 60 \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & 64 & \boxed{65} & 66 & \boxed{67} & \boxed{68} & \boxed{69} & 70 \\ \hline \boxed{71} & 72 & \boxed{73} & \boxed{74} & \boxed{75} & 76 & \boxed{77} & 78 & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & 82 & \boxed{83} & 84 & \boxed{85} & \boxed{86} & \boxed{87} & 88 & \boxed{89} & 90 \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & 94 & \boxed{95} & 96 & \boxed{97} & \boxed{98} & \boxed{99} & 100 \\ \hline \end{array}
Case 4:
1. minimum is
2. column of gets boxed.
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & \cancel{12} & \boxed{13} & \boxed{14} & \boxed{15} & \cancel{16} & \boxed{17} & \cancel{18} & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & \cancel{22} & \boxed{23} & \cancel{24} & \boxed{25} & \boxed{26} & \boxed{27} & \cancel{28} & \boxed{29} & 30 \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & \boxed{34} & \boxed{35} & 36 & \boxed{37} & \boxed{38} & \boxed{39} & 40 \\ \hline \boxed{41} & 42 & \boxed{43} & \boxed{44} & \boxed{45} & 46 & \boxed{47} & 48 & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & 52 & \boxed{53} & \boxed{54} & \boxed{55} & \boxed{56} & \boxed{57} & 58 & \boxed{59} & 60 \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & \boxed{64} & \boxed{65} & 66 & \boxed{67} & \boxed{68} & \boxed{69} & 70 \\ \hline \boxed{71} & 72 & \boxed{73} & \boxed{74} & \boxed{75} & 76 & \boxed{77} & 78 & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & 82 & \boxed{83} & \boxed{84} & \boxed{85} & \boxed{86} & \boxed{87} & 88 & \boxed{89} & 90 \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & \boxed{94} & \boxed{95} & 96 & \boxed{97} & \boxed{98} & \boxed{99} & 100 \\ \hline \end{array}
Case 5:
1. minimum is
2. no boxes (odd).
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & \cancel{12} & \boxed{13} & \boxed{14} & \boxed{15} & \cancel{16} & \boxed{17} & \cancel{18} & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & \cancel{22} & \boxed{23} & \cancel{24} & \boxed{25} & \boxed{26} & \boxed{27} & \cancel{28} & \boxed{29} & \cancel{30} \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & \boxed{34} & \boxed{35} & \cancel{36} & \boxed{37} & \boxed{38} & \boxed{39} & \cancel{40} \\ \hline \boxed{41} & 42 & \boxed{43} & \boxed{44} & \boxed{45} & 46 & \boxed{47} & 48 & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & 52 & \boxed{53} & \boxed{54} & \boxed{55} & \boxed{56} & \boxed{57} & 58 & \boxed{59} & 60 \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & \boxed{64} & \boxed{65} & 66 & \boxed{67} & \boxed{68} & \boxed{69} & 70 \\ \hline \boxed{71} & 72 & \boxed{73} & \boxed{74} & \boxed{75} & 76 & \boxed{77} & 78 & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & 82 & \boxed{83} & \boxed{84} & \boxed{85} & \boxed{86} & \boxed{87} & 88 & \boxed{89} & 90 \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & \boxed{94} & \boxed{95} & 96 & \boxed{97} & \boxed{98} & \boxed{99} & 100 \\ \hline \end{array}
Case 6:
1. minimum is
2. no trick here (it's a bash what do you expect).
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & \cancel{12} & \boxed{13} & \boxed{14} & \boxed{15} & \cancel{16} & \boxed{17} & \cancel{18} & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & \cancel{22} & \boxed{23} & \cancel{24} & \boxed{25} & \boxed{26} & \boxed{27} & \cancel{28} & \boxed{29} & \cancel{30} \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & \boxed{34} & \boxed{35} & \cancel{36} & \boxed{37} & \boxed{38} & \boxed{39} & \cancel{40} \\ \hline \boxed{41} & \cancel{42} & \boxed{43} & \boxed{44} & \boxed{45} & \cancel{46} & \boxed{47} & \cancel{48} & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & \cancel{52} & \boxed{53} & \boxed{54} & \boxed{55} & \boxed{56} & \boxed{57} & 58 & \boxed{59} & 60 \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & \boxed{64} & \boxed{65} & 66 & \boxed{67} & \boxed{68} & \boxed{69} & 70 \\ \hline \boxed{71} & 72 & \boxed{73} & \boxed{74} & \boxed{75} & \boxed{76} & \boxed{77} & 78 & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & 82 & \boxed{83} & \boxed{84} & \boxed{85} & \boxed{86} & \boxed{87} & 88 & \boxed{89} & \boxed{90} \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & \boxed{94} & \boxed{95} & 96 & \boxed{97} & \boxed{98} & \boxed{99} & 100 \\ \hline \end{array}
Case 7:
1. minimum is
2. no box (odd).
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & \cancel{12} & \boxed{13} & \boxed{14} & \boxed{15} & \cancel{16} & \boxed{17} & \cancel{18} & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & \cancel{22} & \boxed{23} & \cancel{24} & \boxed{25} & \boxed{26} & \boxed{27} & \cancel{28} & \boxed{29} & \cancel{30} \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & \boxed{34} & \boxed{35} & \cancel{36} & \boxed{37} & \boxed{38} & \boxed{39} & \cancel{40} \\ \hline \boxed{41} & \cancel{42} & \boxed{43} & \boxed{44} & \boxed{45} & \cancel{46} & \boxed{47} & \cancel{48} & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & \cancel{52} & \boxed{53} & \boxed{54} & \boxed{55} & \boxed{56} & \boxed{57} & \cancel{58} & \boxed{59} & \cancel{60} \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & \boxed{64} & \boxed{65} & \cancel{66} & \boxed{67} & \boxed{68} & \boxed{69} & \cancel{70} \\ \hline \boxed{71} & 72 & \boxed{73} & \boxed{74} & \boxed{75} & \boxed{76} & \boxed{77} & 78 & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & 82 & \boxed{83} & \boxed{84} & \boxed{85} & \boxed{86} & \boxed{87} & 88 & \boxed{89} & \boxed{90} \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & \boxed{94} & \boxed{95} & 96 & \boxed{97} & \boxed{98} & \boxed{99} & 100 \\ \hline \end{array}
Case 8:
1. minimum
2. (case 9 exceeds 100) so we can cross everything out now.
\begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline \cancel{1} & \cancel{2} & \cancel{3} & \cancel{4} & \boxed{5} & \cancel{6} & \boxed{7} & \cancel{8} & \boxed{9} & \cancel{10} \\ \hline \boxed{11} & \cancel{12} & \boxed{13} & \boxed{14} & \boxed{15} & \cancel{16} & \boxed{17} & \cancel{18} & \boxed{19} & \boxed{20} \\ \hline \boxed{21} & \cancel{22} & \boxed{23} & \cancel{24} & \boxed{25} & \boxed{26} & \boxed{27} & \cancel{28} & \boxed{29} & \cancel{30} \\ \hline \boxed{31} & \boxed{32} & \boxed{33} & \boxed{34} & \boxed{35} & \cancel{36} & \boxed{37} & \boxed{38} & \boxed{39} & \cancel{40} \\ \hline \boxed{41} & \cancel{42} & \boxed{43} & \boxed{44} & \boxed{45} & \cancel{46} & \boxed{47} & \cancel{48} & \boxed{49} & \boxed{50} \\ \hline \boxed{51} & \cancel{52} & \boxed{53} & \boxed{54} & \boxed{55} & \boxed{56} & \boxed{57} & \cancel{58} & \boxed{59} & \cancel{60} \\ \hline \boxed{61} & \boxed{62} & \boxed{63} & \boxed{64} & \boxed{65} & \cancel{66} & \boxed{67} & \boxed{68} & \boxed{69} & \cancel{70} \\ \hline \boxed{71} & \cancel{72} & \boxed{73} & \boxed{74} & \boxed{75} & \boxed{76} & \boxed{77} & \cancel{78} & \boxed{79} & \boxed{80} \\ \hline \boxed{81} & \cancel{82} & \boxed{83} & \boxed{84} & \boxed{85} & \boxed{86} & \boxed{87} & \cancel{88} & \boxed{89} & \boxed{90} \\ \hline \boxed{91} & \boxed{92} & \boxed{93} & \boxed{94} & \boxed{95} & \cancel{96} & \boxed{97} & \boxed{98} & \boxed{99} & \cancel{100} \\ \hline \end{array}
Counting the ones that are boxed we get numbers.
~Soccerstar9
~arushkrisp
Solution 4 (Simon's favorite factoring trick!)
Using Simon's favorite factoring trick, , or . Because are distinct, all squares that don't have a non square representation, which at or below are removed from the set, which are only five of them . This means remain.
More can be removed, such as primes, that cannot be factorized into a number less than or equal to . By beast academy memorization, there are 25 primes less than or equal to 101. , which is the answer.
~minor formatting by yvz2900 (who did not write the original solution)
Video Solution (Fast and Easy 🔥🚀)
2026 AIME I #4
By piacademyus.org
Video Solution (Logic)
https://www.youtube.com/watch?v=iCKaduIZu5Q - Continuum Math