id
stringlengths
9
15
solution
stringlengths
48
2.92k
answer
stringlengths
1
90
metadata
dict
problem
stringlengths
47
710
tags
listlengths
1
19
idea
stringlengths
57
181
original_index
int64
2.72k
279k
candidates
listlengths
150
150
bma_scores
listlengths
150
150
jaccard_scores
listlengths
150
150
domains
listlengths
1
1
relevance_deepseek
listlengths
150
150
relevance_scores
listlengths
150
150
relevance_scores_full
listlengths
150
150
ordinal_scores
listlengths
150
150
aops_546838
Danica has a mansion, with floors 1 to 9. Danica wants to paint the wall of each floor with either pink, yellow, or sky blue. In how many ways can this be done if : (a) At least one floor is painted pink, at least one floor is painted yellow, and at least one floor is painted sky blue. (a) Exactly four floors ar...
null
{ "competition": null, "dataset": "AOPS", "posts": [ { "attachments": [], "content_bbcode": "Danica has a mansion, with floors 1 to 9. Danica wants to paint the wall of each floor with either pink, yellow, or sky blue. In how many ways can this be done if : \n\n(a) At least one floor is painte...
Danica has a mansion with floors \(1\) to \(9\). Danica paints the wall of each floor either pink, yellow, or sky blue. In how many ways can this be done if: (a) At least one floor is painted pink, at least one floor is painted yellow, and at least one floor is painted sky blue? (b) Exactly four floors are painted ye...
[ "/Mathematics/DiscreteMathematics/Combinatorics/Enumeration", "/Mathematics/DiscreteMathematics/Combinatorics/GeneralCombinatorics", "/Mathematics/DiscreteMathematics/GeneralDiscreteMathematics/DiscreteMath", "/Mathematics/DiscreteMathematics/GeneralDiscreteMathematics/DiscreteMathematics", "/Mathematics/Di...
Apply inclusion–exclusion to count colorings using all three colors and use the multinomial coefficient for a fixed color distribution.
268,787
[ 46835, 45953, 800, 12481, 9030, 61491, 3241, 70770, 21718, 42766, 2951, 65950, 20411, 14286, 25002, 47815, 4433, 22090, 17082, 28562, 39619, 7394, 47948, 20546, 8962, 13524, 18248, 6649, 29545, 28006, 5791, 29690, 62597, 59876, 4513, 66086, 678...
[ 0.93505859375, 0.93505859375, 0.88427734375, 0.85791015625, 0.8994140625, 0.94873046875, 0.904296875, 0.9716796875, 0.935546875, 1, 0.8583984375, 0.861328125, 0.9697265625, 1, 0.97265625, 0.9130859375, 0.93505859375, 0.97265625, 0.93505859375, 0.93505859375, 0.97265625, 0.8...
[ 0, 0, 0.076904296875, 0.0384521484375, 0.03448486328125, 0.1363525390625, 0.0740966796875, 0, 0, 0, 0.041656494140625, 0, 0, 0.09088134765625, 0, 0.045440673828125, 0.045440673828125, 0.041656494140625, 0, 0.047607421875, 0.03570556640625, 0, 0, 0.040008544921875, 0.1...
[ "Combinatorics" ]
[ 0.10828049646782077, 0.11571962650236305, 0.4587667612040156, 0.242771767208856, 0.3835110696293898, 0.3652401078926412, 0.37451967897147787, 0.3108078229692864, 0.24292068442350429, 0.5057385874028824, 0.338705865967427, 0.281500907496605, 0.4921035955950381, 0.3640407982625087, 0.30599...
[ 0.03710159176374673, 0.09503383587253825, 0.4062125828288546, 0.2504842649866773, 0.4231047021647627, 0.37877375143449626, 0.38014009234410545, 0.3343334676744785, 0.28911133509751086, 0.43285819135941195, 0.323970616306787, 0.3477842045753591, 0.3904619392740048, 0.3954581618975641, 0.3...
null
null
aops_1859371
[hide="Answer"]$N=75582$. So sum of digits of $N$ is $\boxed{27}$ [/hide]
null
{ "competition": null, "dataset": "AOPS", "posts": [ { "attachments": [], "content_bbcode": "There are $N$ numbers of $11$ digit positive integers such that the digits from left to right are non-decreasing. (For example, $12345678999, 55555555555,23345557889$). Find the sum of the digits of $N$.",...
There are \(N\) numbers of 11-digit positive integers such that the digits from left to right are non-decreasing (for example, \(12345678999\), \(55555555555\), \(23345557889\)). Find the sum of the digits of \(N\).
[ "/Mathematics/DiscreteMathematics/Combinatorics/BinomialCoefficients", "/Mathematics/DiscreteMathematics/Combinatorics/Enumeration", "/Mathematics/DiscreteMathematics/Combinatorics/GeneralCombinatorics", "/Mathematics/DiscreteMathematics/GeneralDiscreteMathematics/DiscreteMath", "/Mathematics/DiscreteMathem...
Convert the non‑decreasing digit condition into a stars‑and‑bars count of multisets of size 11 from digits 1 to 9.
183,265
[ 7079, 52821, 30822, 61655, 20389, 51590, 17331, 12108, 12993, 3497, 59584, 69043, 52277, 2155, 20889, 7133, 62089, 16474, 791, 15056, 14102, 58494, 35072, 60678, 9275, 10171, 42118, 48680, 20561, 5898, 11115, 20987, 56289, 30037, 13644, 13534, ...
[ 0.96630859375, 0.93896484375, 0.85888671875, 0.89208984375, 0.8662109375, 0.85888671875, 0.93896484375, 0.9296875, 0.93896484375, 0.89111328125, 0.904296875, 0.96630859375, 0.861328125, 0.90283203125, 0.9287109375, 0.96630859375, 0.96826171875, 0.89892578125, 0.8662109375, 0.96...
[ 0.0384521484375, 0, 0, 0, 0, 0.03704833984375, 0, 0.03704833984375, 0.09088134765625, 0.0384521484375, 0, 0.10528564453125, 0.0384521484375, 0, 0.03570556640625, 0, 0, 0.10711669921875, 0, 0.03704833984375, 0.03570556640625, 0, 0.045440673828125, 0.142822265625, 0, ...
[ "Combinatorics" ]
[ 0.5118174723543142, 0.299379757013096, 0.36989267121734365, 0.28844003805034685, 0.41442651947328213, 0.29878980102992375, 0.33644767555176913, 0.38776630514049554, 0.4876651992613286, 0.4475616316411678, 0.45083192382121245, 0.49830276976318444, 0.37577015921778917, 0.5686222106551696, ...
[ 0.5030624023838002, 0.19032116409118396, 0.3395903791818312, 0.24792606489794464, 0.38985735736737936, 0.2814875416098806, 0.23450981686347583, 0.3435273886174753, 0.479448787980251, 0.4663994963497117, 0.42236291631018374, 0.42552835569782604, 0.4019378577565302, 0.5587275451431275, 0.3...
null
null
aops_2143452
If $a+b=k,$ then $0 \le c+d+e \le 4-k,$ so there are $k+1$ choices for $a,b$ and $\binom{6-k}{2}$ choices for $c,d,e.$ The cardinality is $\binom{6}{2} + 2 \cdot \binom{5}{2} + 3 \cdot \binom{4}{2} = 15+20+18=53.$
null
{ "competition": null, "dataset": "AOPS", "posts": [ { "attachments": [], "content_bbcode": "Let $N = \\{0, 1, 2, 3, . . .\\}$. Find the cardinality of the set \n$$\\{(a, b, c, d, e) \\in N^5 \\colon 0 \\leq a+b \\leq 2, 0 \\leq a+b+c+d+e \\leq 4 \\}.$$", "content_html": "Let <span style=\"w...
Let \(N=\{0,1,2,3,\dots\}\). Find the cardinality of the set \[ \{(a,b,c,d,e)\in N^5 \mid 0\le a+b\le 2,\ 0\le a+b+c+d+e\le 4\}. \]
[ "/Mathematics/DiscreteMathematics/Combinatorics/BinomialCoefficients", "/Mathematics/DiscreteMathematics/Combinatorics/Enumeration", "/Mathematics/DiscreteMathematics/GeneralDiscreteMathematics/ConcreteMath", "/Mathematics/DiscreteMathematics/GeneralDiscreteMathematics/ConcreteMathematics", "/Mathematics/Di...
Fix k = a+b, then count (a,b) and the remaining variables using stars‑and‑bars under the reduced sum constraint.
194,655
[ 69796, 31558, 14911, 6395, 15757, 16436, 63095, 29966, 43985, 62485, 6604, 47808, 13004, 57744, 63616, 47283, 57278, 829, 37330, 66578, 60541, 1938, 8613, 10880, 43815, 6495, 52749, 59259, 34669, 16922, 14993, 17973, 45424, 30926, 25040, 44754, ...
[ 0.86328125, 0.861328125, 0.861328125, 0.85791015625, 0.85888671875, 0.861328125, 0.98291015625, 0.8876953125, 0.91259765625, 0.908203125, 0.97314453125, 0.9443359375, 0.91943359375, 0.9013671875, 0.88037109375, 0.98291015625, 0.88525390625, 0.8671875, 0.8876953125, 0.8876953125...
[ 0.043487548828125, 0.045440673828125, 0.041656494140625, 0.047607421875, 0.040008544921875, 0.03570556640625, 0.04998779296875, 0, 0, 0.1500244140625, 0.043487548828125, 0.03570556640625, 0.10528564453125, 0.0999755859375, 0, 0.1578369140625, 0, 0.040008544921875, 0.0526428222656...
[ "Combinatorics" ]
[ 0.3996846472497123, 0.25443468124412355, 0.3408879478336114, 0.32972422758510883, 0.37753561426093524, 0.37783681574011035, 0.4160391883494971, 0.42407712968937855, 0.3053400514750657, 0.5235830323439294, 0.5136028181859487, 0.36352070615410664, 0.5131750972236127, 0.3825222176278508, 0....
[ 0.43969532884548646, 0.21368881718817265, 0.3384294453260944, 0.4599668594004316, 0.4034594676878698, 0.3612112933753179, 0.44921790143450413, 0.47154908410728347, 0.2987839536113538, 0.5488668948198462, 0.5320865878372821, 0.4741756126329517, 0.5740695411023115, 0.4981333445191917, 0.40...
null
null
numina_10115729
Solution: Let $I$ be the set of all paths from $O$ to $P$; $A_{1}$ be the set of all paths from $O$ to $P$ passing through $A B$; $A_{2}$ be the set of all paths from $O$ to $P$ passing through $C D$; $A_{3}$ be the set of all paths from $O$ to $P$ passing through $E F$; $A_{4}$ be the set of all paths from $O$ to $P$ ...
\mathrm{C}_{15}^{5}-\mathrm{C}_{4}^{2}\mathrm{C}_{10}^{3}-\mathrm{C}_{6}^{2}\mathrm{C}_{8}
{ "competition": "Numina-1.5", "dataset": "NuminaMath-1.5", "posts": null, "source": "olympiads" }
Example 2.3.6 Find the number of shortest paths from point $O(0,0)$ to point $P(10,5)$ in a coordinate grid that do not pass through any of the segments $AB, CD, EF, GH$, where the coordinates of $A, B, C, D, E, F, G, H$ are $A(2,2), B(3,2)$, $$ \begin{array}{l} C(4,2), D(5,2), E(6,2), F(6,3), \\ G(7,2), H(7,3) . \end{...
[ "/Mathematics/DiscreteMathematics/Combinatorics/BinomialCoefficients", "/Mathematics/DiscreteMathematics/Combinatorics/Enumeration", "/Mathematics/DiscreteMathematics/Combinatorics/GeneralCombinatorics", "/Mathematics/DiscreteMathematics/Combinatorics/LatticePathsandPolygons", "/Mathematics/DiscreteMathemat...
Use inclusion‑exclusion to count total lattice paths and subtract those that go through each forbidden segment, adding back intersections.
91,180
[ 28652, 6333, 41471, 64343, 25530, 21801, 53937, 15764, 25403, 53722, 39961, 54233, 69055, 41843, 59235, 51372, 53140, 62330, 27339, 51898, 34352, 47352, 53228, 10809, 45328, 60410, 4252, 14530, 51273, 54770, 31770, 30441, 3301, 9577, 8186, 20570,...
[ 0.93310546875, 0.86328125, 0.8916015625, 0.96142578125, 0.91015625, 0.93017578125, 0.93310546875, 0.91015625, 0.86328125, 0.86328125, 0.85888671875, 0.93310546875, 0.93701171875, 0.86474609375, 0.86328125, 0.91015625, 0.90087890625, 0.93017578125, 0.90771484375, 0.8779296875, ...
[ 0.10528564453125, 0.0384521484375, 0.043487548828125, 0.045440673828125, 0, 0.041656494140625, 0, 0, 0, 0, 0.08331298828125, 0.047607421875, 0.1500244140625, 0.040008544921875, 0.03570556640625, 0, 0, 0, 0.04998779296875, 0.047607421875, 0.043487548828125, 0.08697509765625,...
[ "Combinatorics" ]
[ 0.37529219425482513, 0.36088000799905945, 0.2529313983338044, 0.31863557034999496, 0.27923262462346765, 0.44966066586110365, 0.4320838757884743, 0.37806795622045897, 0.38556883948323983, 0.18381935172386601, 0.2881542086314171, 0.36258338670865703, 0.33483542799587696, 0.3977426402031643, ...
[ 0.3988676656599909, 0.36761992677378785, 0.2956581099775898, 0.35693993647406097, 0.24861955634307742, 0.4458176909509933, 0.4195066023366899, 0.25163217948871236, 0.37965343587022904, 0.2330510286303317, 0.29635863902653065, 0.3389469969427816, 0.3932172202363879, 0.34436629610594266, 0...
null
null
numina_10092095
In the numbers between 1000 and 9999, all are ordered arrangements of 4 digits. Therefore, to find the number of certain arrangements, we need to make 4 choices: the units, tens, hundreds, and thousands digits. Since the number we want is odd, the units digit can be any one of 1, 3, 5, 7, 9. The tens and hundreds digit...
2240
{ "competition": "Numina-1.5", "dataset": "NuminaMath-1.5", "posts": null, "source": "olympiads" }
Example 2: How many odd numbers with all different digits are there between 1000 and 9999?
[ "/Mathematics/DiscreteMathematics/Combinatorics/Enumeration", "/Mathematics/DiscreteMathematics/Combinatorics/GeneralCombinatorics", "/Mathematics/DiscreteMathematics/Combinatorics/Permutations", "/Mathematics/DiscreteMathematics/GeneralDiscreteMathematics/DiscreteMath", "/Mathematics/DiscreteMathematics/Ge...
Apply the multiplication principle to count digit arrangements with the odd-unit and nonzero-thousands restrictions and distinct digits.
26,722
[ 33747, 21390, 26691, 28439, 25245, 49658, 510, 41363, 33161, 47364, 51828, 58906, 36417, 47854, 21822, 61343, 1128, 29737, 25220, 45788, 16813, 3745, 68881, 10438, 13347, 55334, 29321, 12469, 52140, 34666, 8823, 12773, 8031, 42541, 27951, 14102, ...
[ 0.8740234375, 0.9384765625, 0.91552734375, 0.86328125, 0.896484375, 0.9697265625, 0.88623046875, 0.85888671875, 0.88525390625, 0.91552734375, 0.94140625, 1, 0.88623046875, 0.88623046875, 0.9384765625, 0.91552734375, 0.89404296875, 0.91552734375, 0.91552734375, 0.91552734375, ...
[ 0.040008544921875, 0, 0, 0.045440673828125, 0.08697509765625, 0, 0.111083984375, 0, 0.03448486328125, 0, 0.03704833984375, 0.1500244140625, 0.0555419921875, 0.09088134765625, 0, 0, 0, 0.08331298828125, 0.03704833984375, 0, 0, 0.08331298828125, 0.052642822265625, 0.04760...
[ "Combinatorics" ]
[ 0.3577993612164975, 0.29349314485408906, 0.20256872118377256, 0.2611123720357098, 0.41012808994158584, 0.29456653657114223, 0.5828136715090957, 0.25349416151960036, 0.46424250237306935, 0.22928024839471603, 0.2648350066269437, 0.7294429243583412, 0.48654614313187455, 0.5151745869758246, ...
[ 0.45439703040214036, 0.390258848331735, 0.04482375030302341, 0.324065264297153, 0.4021399293466936, 0.37420828155509217, 0.6160791510175918, 0.29389841843999137, 0.5279599927854798, 0.12819224190053355, 0.2883340448491178, 0.6986390952014475, 0.38812585168139924, 0.5196747154861494, 0.20...
null
null