diff --git "a/test.jsonl" "b/test.jsonl" --- "a/test.jsonl" +++ "b/test.jsonl" @@ -1,2048 +1,4198 @@ -{"id": "628520", "alias": "antilemma_count_primes_v1_784195855_93", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=6, \\quad \\gcd(p,q)=1, \\quad p p$ such that $pq = 12$ and $\\gcd(p, q) = 1$. Define $n$ to be the largest prime number at least $|S|$ and at most $k$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW", "L3C/MAX_PRIME_BELOW"], "recipe_id": "05d7f9", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:59:38.913299Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T03:59:38.915930Z"}, "problem_hash": "0bbfa3", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "MAX_PRIME_BELOW": "ok_later", "K16": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}} -{"id": "0af0bf", "alias": "modular_product_range_v1_1440796553_586", "problem": "Let $c = 4$. Let $A$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 7218$. Let $B$ be the largest prime number $n$ such that $2 \\leq n \\leq A$. Let $C$ be the number of prime numbers $n$ such that $2 \\leq n \\leq B$. Define $P$ to be the product $\\prod_{i=c}^{C} i$. Compute the remainder when $P$ is divided by $11489$.", "answer": 6283, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(11489),\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_c\"), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(7218)))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "ac93ca", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T11:52:41.842323Z", "verification": {"verified": true, "answer": 6283, "timestamp": "2026-02-08T11:52:41.851089Z"}, "problem_hash": "6538e6", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_PRIMES": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K18": "no", "K5": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V8_SUM": "no"}} -{"id": "903356", "alias": "antilemma_product_of_sums_v1_677425708_3476", "problem": "Let $m = 23$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq m$. Define $\\mathcal{S}$ as the set of all ordered pairs $(i, j)$ where $i$ is an integer from 1 to 8 and $j$ is an integer from 1 to 6. Compute the sum $S_1 = \\sum_{(i,j) \\in \\mathcal{S}} ij$. Let $S_2 = \\sum_{k=1}^{|P|} k$, where $|P|$ denotes the number of elements in $P$. Compute $S_1 \\cdot S_2$.", "answer": 34020, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/PRODUCT_OF_SUMS/SUM_ARITHMETIC"], "recipe_id": "b90071", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:44:48.216736Z", "verification": {"verified": true, "answer": 34020, "timestamp": "2026-02-08T05:44:48.217958Z"}, "problem_hash": "7dca82", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K18": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "210505", "alias": "diophantine_fbi2_min_v1_124444284_685", "problem": "Let $s$ be the sum $\\sum_{k=1}^{14} \\phi(k) \\left\\lfloor \\frac{14}{k} \\right\\rfloor$, and let $m$ be the smallest positive divisor of $s$ that is at least $2$. Let $k = 33$ and $u = 43$. Determine the smallest positive integer $d$ such that $m \\le d \\le 43$, $d$ divides $33$, and $\\frac{33}{d} \\ge 7$. Multiply this $d$ by $50444$ and find the remainder when the result is divided by $78609$.", "answer": 72723, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(33),\n \"upper\": Const(43),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Summation(var=\"k\", start=Const(1), end=Const(14), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(14), Var(\"k\")))))))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n \"Q\": Mod(value=Mul(Const(50444), Ref(\"result\")), modulus=Const(78609)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MIN_PRIME_FACTOR"], "recipe_id": "dd9922", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T03:27:10.238267Z", "verification": {"verified": true, "answer": 72723, "timestamp": "2026-02-08T03:27:10.248157Z"}, "problem_hash": "972998", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 72723, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 1237}, "timestamp": "2026-02-09T20:38:53.114Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 72723, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 1180}, "timestamp": "2026-02-09T04:47:41.649Z"}], "lemma_applicability": {"K2": "ok", "MIN_PRIME_FACTOR": "ok_later", "K15": "no", "K5": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "bcfe67", "alias": "nt_count_coprime_and_v1_784195855_4393", "problem": "Let $m = 103$ and $n = 97$. Define $\\text{upper}$ to be the largest positive divisor of $28955017$ that is at most $5369$. Let $k_1 = 7$ and $k_2 = 9$. Define $\\text{result}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $\\gcd(n, 7) = 1$, and $\\gcd(n, 9) = 1$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 370440$, $\\gcd(p, q) = 1$, and $p < q$. Compute the value of\n$$\n\\left(353702 \\cdot (\\text{result} \\bmod 97) + 329703 \\cdot \\left((\\text{result}^2 + 1) \\bmod 101\\right) + 215534 \\cdot \\left((\\text{result} + c) \\bmod 103\\right)\\right) \\bmod 75265.\n$$", "answer": 73001, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(103),\n \"_n\": Const(97),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(5369)), Divides(divisor=Var(\"d\"), dividend=Const(28955017))))),\n \"k1\": Const(7),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=370440)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_m\")))), modulus=Const(1009091)), modulus=Const(75265)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_crt_mix_3", "MAX_DIVISOR"], "recipe_id": "df3a7f", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_crt_mix_3", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.599, "created_at": "2026-02-08T07:04:48.135366Z", "verification": {"verified": true, "answer": 73001, "timestamp": "2026-02-08T07:04:48.734398Z"}, "problem_hash": "0eb450", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_DIVISOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K17": "no", "L3b": "no", "L3c": "no"}} -{"id": "16cdc9", "alias": "algebra_quadratic_discriminant_v1_784195855_5767", "problem": "Let $m = 74203$. Define $n$ to be the number of positive integers at most 4 that are divisible by 4. Let $a = 3$, $b = 0$, and $c = 2$. Let $D = b^k - n \\cdot a \\cdot c$, where $k$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\alpha = 2$ if $D > 0$, and $\\alpha = 1$ if $D = 0$. Compute $m \\cdot \\alpha$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74203),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4)), Eq(Mod(value=Var(\"n\"), modulus=Const(4)), Const(0))))),\n \"a\": Const(3),\n \"b\": Const(0),\n \"c\": Const(2),\n \"D\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Mul(Ref(\"_m\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/COPRIME_PAIRS"], "recipe_id": "67559a", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T08:06:46.149314Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T08:06:46.155896Z"}, "problem_hash": "0ee525", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "COPRIME_PAIRS": "ok_later", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "2e19c6", "alias": "antilemma_count_primes_v1_1520064083_791", "problem": "Let $m = 5$. Let $s = \\sum_{d \\mid \\gcd(8,15)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $n$ to be the number of positive integers $k$ such that $k$ is divisible by $m$, and $s \\leq k \\leq 12695$. Compute the number of prime numbers $p$ such that $2 \\leq p \\leq n$.", "answer": 371, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"k\"), Const(12695)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/COUNT_PRIMES", "MOBIUS_COPRIME", "COUNT_PRIMES"], "recipe_id": "6763d6", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:36:03.939782Z", "verification": {"verified": true, "answer": 371, "timestamp": "2026-02-08T03:36:03.941272Z"}, "problem_hash": "94e10f", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "MOBIUS_COPRIME": "ok", "K14": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}} -{"id": "69dfcd", "alias": "nt_count_digit_sum_v1_865884756_2136", "problem": "Let $m = 3$. Define $N$ to be the number of positive integers $n$ with $1 \\leq n \\leq 1746$ such that the sum of the digits of $n$ is even. Let $S$ be the set of positive integers $n_1$ such that $1 \\leq n_1 \\leq T$, where $T$ is the number of positive integers $n_2$ with $1 \\leq n_2 \\leq N$ that are divisible by $m$ and satisfy $\\gcd(n_2, 14) = 1$. Additionally, $n_1$ must satisfy $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{7}$. Let $R$ be the number of positive integers $n_3$ with $1 \\leq n_3 \\leq 99999$ such that the sum of the digits of $n_3$ equals the size of $S$. Find the value of $R$.", "answer": 4335, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1746)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"upper\": Const(99999),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n2\")), Eq(GCD(a=Var(\"n2\"), b=Const(14)), Const(1)))))), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Const(1)), Leq(Var(\"n3\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n3\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C5/L3C"], "recipe_id": "4c31c7", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "L3B", "L3C"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 7.699, "created_at": "2026-02-08T16:33:08.073298Z", "verification": {"verified": true, "answer": 4335, "timestamp": "2026-02-08T16:33:15.772510Z"}, "problem_hash": "0770a8", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "C5": "ok_later", "L3C": "ok_later", "K13": "no", "K5": "no", "L3b": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "772cb8", "alias": "antilemma_v8_lucas_124444284_1626", "problem": "Let $m=98303$ and $n=2$. Let $x$ be the number of nonnegative integers $j$ with $0\\le j\\le m$ such that\n$$\\binom{98303}{j} \\equiv 1 \\pmod{2}.$$\n\nLet $d=176$. Let $r$ be the number of positive integers $N$ with $1\\le N\\le d$ such that $\\gcd(N,15)=1$ and $N$ is divisible by the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n$$pq = 1543500, \\quad \\gcd(p,q)=1, \\quad p p$ such that $p \\cdot q = 108$ and $\\gcd(p, q) = 1$. Let $\\text{upper} = 555 + u$. Compute the sum of $\\phi(k)$ for all integers $k$ from 1 to $\\text{upper}$, inclusive.", "answer": 93734, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(555),\n \"n1\": Const(10),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(5),\n \"q\": Sum(Const(13), Ref(\"c\")),\n \"r\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(67)), IsPrime(Var(\"n\"))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"upper\": Sum(Ref(\"_n\"), Ref(\"u\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MAX_PRIME_BELOW/DIVISOR_PARITY", "COPRIME_PAIRS/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "1a93af", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.057, "created_at": "2026-02-08T06:25:38.836581Z", "verification": {"verified": true, "answer": 93734, "timestamp": "2026-02-08T06:25:38.893563Z"}, "problem_hash": "2056ff", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "d38625", "alias": "modular_mod_compute_v1_677425708_116", "problem": "Let $m = 2$. Let $n$ be the sum of all real solutions $x$ to the equation $x^m - 8000x + 727536 = 0$. Let $a$ be the smallest divisor of $2021$ that is at least $2$. Define $m'$ as the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Compute the remainder when $a$ is divided by $m'$.", "answer": 43, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-8000), Var(\"x\")), Const(727536)), Const(0)))),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2021))))),\n \"m\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3", "MIN_PRIME_FACTOR"], "recipe_id": "01f272", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:04:39.022371Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T03:04:39.025125Z"}, "problem_hash": "74fa7a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 870}, "timestamp": "2026-02-08T20:19:04.353Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "DS2": "no", "K18": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "dff27c", "alias": "antilemma_sum_primes_v1_1520064083_3229", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le 4$.\n\nLet $d$ be a positive divisor of $\\gcd(12, 25)$. Define $\\mu$ as the Möbius function, and let\n$$\nD = \\left\\{ n \\in \\mathbb{Z}^+ \\mid 1 \\le n \\le 28 \\text{ and } \\operatorname{digit\\,sum}(n) \\equiv \\phi(2) \\pmod{2} \\right\\},\n$$\nwhere $\\phi$ is Euler's totient function and $\\operatorname{digit\\,sum}(n)$ denotes the sum of the decimal digits of $n$.\n\nLet $c = |D|$, the number of elements in $D$. Compute\n$$\nx + \\left( 2^{x \\bmod c} \\bmod 53192 \\right).\n$$\nFind the value of this expression.", "answer": 37, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(28)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), EulerPhi(n=Const(2)))))))), modulus=Const(53192))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_mod_exp", "MOBIUS_COPRIME", "SUM_PRIMES", "ONE_PHI_2"], "recipe_id": "15f4be", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "L3B", "MOBIUS_COPRIME", "ONE_PHI_2", "SUM_PRIMES"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T05:31:42.720396Z", "verification": {"verified": true, "answer": 37, "timestamp": "2026-02-08T05:31:42.723267Z"}, "problem_hash": "0d118a", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "SUM_PRIMES": "ok", "ENDING_mod_exp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8_SUM": "no"}} -{"id": "7dd3b0", "alias": "nt_max_prime_below_v1_153355830_1114", "problem": "Let $m = 2$ and $n = 2$. Let $U = 11699$. Define $r$ to be the largest prime number $p$ such that $n \\leq p \\leq U$. Let $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 12$, $1 \\leq b \\leq 10$, $34 \\leq t \\leq 172$, and $t = 6a + 8b + 20$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy$ equals the number of elements in $T$. Define $\\sigma$ to be the minimum value of $x + y$ over all such pairs. Compute $$r + m^{r \\bmod \\sigma} \\bmod 60485.$$", "answer": 11707, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"upper\": Const(11699),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_m\"), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=34)), Leq(left=Var(name='t'), right=Const(value=172)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b')), Const(value=20))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Const(60485))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3/ENDING_mod_exp"], "recipe_id": "65e69f", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_mod_exp", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.278, "created_at": "2026-02-08T04:24:33.325860Z", "verification": {"verified": true, "answer": 11707, "timestamp": "2026-02-08T04:24:33.603739Z"}, "problem_hash": "f184d5", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "ENDING_mod_exp": "ok_later", "K13": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "0782a8", "alias": "nt_sum_divisors_mod_v1_1874849503_683", "problem": "Let $n = 10273$. Let $n_2$ be the number of positive integers $j$ such that $1 \\leq j \\leq 65$ and $j^5 \\leq 1160290625$. Define $m$ to be the remainder when the number of positive divisors of $n_2$ is divided by 2. Let $n_1 = 1$ and let $w$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ is the Möbius function. Define $n = 25200 + m$. Let $M = n \\cdot w$. Let $\\sigma$ be the sum of all positive divisors of $n$. Compute the remainder when $\\sigma$ is divided by $M$.", "answer": 7487, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10273),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(65)), Leq(Pow(Var(\"j\"), Const(5)), Const(1160290625))), domain='positive_integers')),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(25200), Ref(\"m\")),\n \"M\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "b1dad3", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["C3", "DIVISOR_PARITY", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:15:11.675743Z", "verification": {"verified": true, "answer": 7487, "timestamp": "2026-02-08T13:15:11.678865Z"}, "problem_hash": "4d6dad", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 24344, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 1899}, "timestamp": "2026-02-09T19:46:23.569Z"}], "lemma_applicability": {"C3": "ok", "MOBIUS_SUM": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}} -{"id": "002547", "alias": "nt_count_coprime_and_v1_784195855_3567", "problem": "Let $k_1$ be the smallest integer greater than or equal to 2 that divides 29645. Let $k_2$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 6$. Let $S$ be the set of all integers $n$ with $1 \\leq n \\leq 23231$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Compute $15120$ minus the number of elements in $S$.", "answer": 2730, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(23231),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(29645))))),\n \"k2\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Sub(Const(15120), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "ONE_PHI_1", "B1"], "recipe_id": "e3956d", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.449, "created_at": "2026-02-08T06:30:08.408028Z", "verification": {"verified": true, "answer": 2730, "timestamp": "2026-02-08T06:30:12.857489Z"}, "problem_hash": "0871b3", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "734f46", "alias": "comb_catalan_compute_v1_1742523217_2195", "problem": "Let $ n = 11 $. Define $ r $ to be the $ n $-th Catalan number. Let $ s = \\binom{18}{\\binom{6}{6} - 1} $ and $ t = \\binom{4}{4} $. Compute the remainder when $ r + |r| + s $ is divided by the number of positive divisors of $ |r| + t $. Report the remainder modulo $ 76571 $.\n\nCompute the value of $ Q $.", "answer": 41003, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Binom(n=Const(18), k=Sub(Binom(n=Const(6), k=Const(6)), Const(1))))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Binom(n=Const(4), k=Const(4))))), modulus=Const(76571)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ZERO_BINOM_N", "lemma_paths": ["ZERO_BINOM_N", "ONE_BINOM_N", "ONE_BINOM_0"], "recipe_id": "bbd864", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ONE_BINOM_0", "ONE_BINOM_N", "ZERO_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:34:20.680110Z", "verification": {"verified": true, "answer": 41003, "timestamp": "2026-02-08T04:34:20.682717Z"}, "problem_hash": "e6a538", "license": "CC BY 4.0", "lemma_applicability": {"ONE_BINOM_0": "ok", "ONE_BINOM_N": "ok", "ZERO_BINOM_N": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "b714d7", "alias": "nt_sum_phi_v1_784195855_1638", "problem": "Let $m = 3672$. Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq m$. Let $u$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq \\max(S)$. Let $t = \\sum_{d \\mid \\gcd(12, 25)} \\mu(d)$. Compute the sum of $\\phi(n)$ over all positive integers $n$ such that $t \\leq n \\leq u$.", "answer": 79852, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3672),\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "MOBIUS_COPRIME"], "recipe_id": "73ce7a", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.032, "created_at": "2026-02-08T05:11:03.715361Z", "verification": {"verified": true, "answer": 79852, "timestamp": "2026-02-08T05:11:03.747813Z"}, "problem_hash": "be6010", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "COUNT_PRIMES": "ok_later", "K13": "no", "K14": "no", "K15": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "7deb0c", "alias": "algebra_poly_eval_v1_1918700295_631", "problem": "Let $a = 4 \\cdot 9^3 - 10 \\cdot 9^2 - 4 \\cdot 9 + 1$. Let $b = \\sum_{d \\mid 3125} \\phi(d)$ and let $c = \\sum_{d \\mid b} \\phi(d)$. Compute $c - a$.", "answer": 1054, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3125),\n \"n\": Const(9),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"n\"), Const(3))), Mul(Const(-10), Pow(Ref(\"n\"), Const(2))), Mul(Const(-4), Ref(\"n\")), Const(1)),\n \"Q\": Sub(SumOverDivisors(n=SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/K3/ENDING_negation_mod"], "recipe_id": "aafe62", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:21:22.061058Z", "verification": {"verified": true, "answer": 1054, "timestamp": "2026-02-08T03:21:22.063502Z"}, "problem_hash": "4c2967", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "ENDING_negation_mod": "ok_later", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "027d66", "alias": "nt_sum_totient_over_divisors_v1_153355830_2234", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in $S$. Let $A$ be the number of prime numbers $n$ such that $c \\leq n \\leq 85193$. Let $n = 38905$, and let $\\text{result} = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $A \\cdot \\text{result}$ is divided by $56601$.", "answer": 52370, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(56601),\n \"_n\": Const(85193),\n \"n\": Const(38905),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES/ENDING_affine_mod"], "recipe_id": "cf869e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T07:00:11.274244Z", "verification": {"verified": true, "answer": 52370, "timestamp": "2026-02-08T07:00:11.279926Z"}, "problem_hash": "3b4d52", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "ENDING_affine_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "adfc74", "alias": "nt_num_divisors_compute_v1_784195855_1381", "problem": "Let $m = 2$ and let $P$ be the number of prime numbers $n$ such that $m \\leq n \\leq 887$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq P$ and the sum of the decimal digits of $n$ is even. Determine the number of positive divisors of $N$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(887)), IsPrime(Var(\"n\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/L3B"], "recipe_id": "5936fd", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:00:01.346306Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T05:00:01.348375Z"}, "problem_hash": "541f72", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok_later", "C2": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}} -{"id": "e11fbc", "alias": "nt_sum_divisors_mod_v1_784195855_68", "problem": "Let $\\sigma$ be the sum of the positive divisors of $240$. Let $r$ be the remainder when $\\sigma$ is divided by $10223$. Let $c$ be the number of positive integers at most $30$ whose digit sum is even. Compute the value of\n$$\nr + \\left( 2^{r \\bmod c} \\bmod 51110 \\right).$$", "answer": 1256, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30),\n \"n\": Const(240),\n \"M\": Const(10223),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))))), modulus=Const(51110))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_mod_exp"], "recipe_id": "f7e305", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:56:52.683327Z", "verification": {"verified": true, "answer": 1256, "timestamp": "2026-02-08T02:56:52.685266Z"}, "problem_hash": "5061ee", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 748, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 1084}, "timestamp": "2026-02-08T22:29:55.127Z"}], "lemma_applicability": {"L3B": "ok", "ENDING_mod_exp": "ok_later", "C2": "no", "DS2": "no", "K14": "no", "K5": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "8c7253", "alias": "nt_num_divisors_compute_v1_1742523217_3503", "problem": "Let $ n = 5625 $. Compute the number of positive divisors of $ n $.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5625),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3B/MOBIUS_SQUAREFREE"], "recipe_id": "b18377", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3B", "MOBIUS_SQUAREFREE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.028, "created_at": "2026-02-08T05:54:11.106402Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T05:54:11.134179Z"}, "problem_hash": "6e4d6f", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K16": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}} -{"id": "550cc7", "alias": "nt_count_divisible_v1_458359167_1595", "problem": "Let $P$ be the largest prime less than or equal to $75$. Let $q$ be the number of positive integers $j$ such that $1\\le j\\le P$ and $j^5\\le 2073071593$.\n\nLet $n_1=3q$, and let $c$ be defined by\n$$c=\\mu(n_1)^2,$$\nwhere $\\mu$ is the Möbius function.\n\nLet $n=49567$, and let $t=\\lambda(n)+1$, where $\\lambda$ is the Liouville function.\n\nLet $U$ be the number of integers $m$ such that $1\\le m\\le 34969$ and $m$ is divisible by $2$.\n\nLet $C=82711+t$, and define\n$$Q \\equiv C\\cdot U \\pmod{72748c},$$\nwith $0\\le Q<72748c$.\n\nFind the value of $Q$.", "answer": 34380, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82711),\n \"p\": Const(3),\n \"q\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(75)), IsPrime(Var(\"n\")))))), Leq(Pow(Var(\"j\"), Const(5)), Const(2073071593))), domain='positive_integers')),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(49567),\n \"t\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Const(34969),\n \"divisor\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Sum(Ref(\"_n\"), Ref(\"t\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(72748), Ref(\"c\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C3/MOBIUS_SQUAREFREE", "LIOUVILLE_MINUS_ONE"], "recipe_id": "dccbdd", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C3", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 1.112, "created_at": "2026-02-08T04:46:33.011912Z", "verification": {"verified": true, "answer": 34380, "timestamp": "2026-02-08T04:46:34.124152Z"}, "problem_hash": "a92275", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "C3": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "K13": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "e2e30f", "alias": "nt_sum_divisors_mod_v1_124444284_930", "problem": "Let $n = 180$ and $M = 10271$. Let $\\sigma$ be the sum of the positive divisors of $n$. Define $r = \\sigma \\bmod M$. \n\nLet $k$ be the smallest positive integer $m$ such that $3^{216}$ divides $m!$. Let $c$ be the smallest positive integer $n$ such that $2^k$ divides $n!$. \n\nCompute the remainder when $c - r$ is divided by $87518$.", "answer": 87416, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(180),\n \"M\": Const(10271),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(216)), domain='Z_{>0}'))), domain='Z_{>0}')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(87518)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/V5/ENDING_negation_mod"], "recipe_id": "6d19ed", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "V5"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:36:09.428069Z", "verification": {"verified": true, "answer": 87416, "timestamp": "2026-02-08T03:36:09.431874Z"}, "problem_hash": "0eec9a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 87416, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 2202}, "timestamp": "2026-02-09T07:46:22.215Z"}], "lemma_applicability": {"V5": "ok", "ENDING_negation_mod": "ok_later", "DS2": "no", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "9804f9", "alias": "comb_sum_binomial_mod_v1_784195855_1096", "problem": "Let $d_{\\text{min}}$ be the smallest positive divisor of $6279215603$ that is at least $2$. Let $d_{\\text{max}}$ be the largest integer $d$ such that $1 \\leq d \\leq d_{\\text{min}}$ and $d$ divides $86267$. Define\n$$\ns = \\sum_{k=133}^{d_{\\text{max}}} \\binom{a}{k},\n$$\nwhere $a$ is the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 42025$. Let $r = s \\bmod 11579$. Now let $b$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 65536$. Find the value of $(b - r) \\bmod 81196$.", "answer": 80592, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(133),\n \"_c\": Const(81196),\n \"_m\": Const(2),\n \"_n\": Const(11579),\n \"sum\": Summation(var=\"k\", start=Ref(\"_d\"), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(6279215603)))))), Divides(divisor=Var(\"d\"), dividend=Const(86267))))), expr=Binom(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(42025)))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n \"Q\": Mod(value=Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(65536)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_DIVISOR", "B3/ENDING_negation_mod"], "recipe_id": "ec6c25", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.02, "created_at": "2026-02-08T04:51:36.524381Z", "verification": {"verified": true, "answer": 80592, "timestamp": "2026-02-08T04:51:36.544382Z"}, "problem_hash": "696c23", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_negation_mod": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "f66d60", "alias": "modular_count_residue_v1_458359167_1348", "problem": "Let $m = 7$. Define $n$ to be the number of prime numbers $p$ such that $2 \\leq p \\leq m$. Let $r$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n$. Let $t$ range over integers from 18 to 51, and define $m'$ to be the number of values of $t$ for which there exist positive integers $a \\leq 5$ and $b \\leq 2$ such that $t = 6a + 9b + 3$. Find the number of positive integers $n \\leq 34596$ such that $n \\equiv r \\pmod{m'}$. Let $c = 27407$. Compute the remainder when $c$ times this count is divided by $95115$.", "answer": 93680, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"upper\": Const(34596),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=51)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b')), Const(value=3)))))))),\n \"r\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(27407),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95115)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/LIN_FORM/B1"], "recipe_id": "e80d65", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.426, "created_at": "2026-02-08T04:33:34.228946Z", "verification": {"verified": true, "answer": 93680, "timestamp": "2026-02-08T04:33:35.654513Z"}, "problem_hash": "3e994e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "B1": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "K5": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_SUB": "no"}} -{"id": "dfb183", "alias": "modular_min_linear_v1_548369836_152", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y$ is equal to the largest integer $k$ for which $11^k$ divides $110!$. Let $P$ be the product of all values $xy$ over pairs $(x, y)$ in $A$. Let $d_{\\max}$ be the maximum positive divisor of $P$. Define $g = \\sum_{d \\mid d_{\\max}} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $m = 31269$. Find the smallest positive integer $x$ such that $x \\geq g$, $x \\leq m$, and $23200x \\equiv 16473 \\pmod{m}$.", "answer": 17634, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(23200),\n \"b\": Const(16473),\n \"m\": Const(31269),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), SumOverDivisors(n=GCD(a=Const(value=12), b=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=MaxKDivides(target=Factorial(arg=Const(value=110)), base=Const(value=11))))), expr=Mul(Var(name='x'), Var(name='y'))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/B1/MOBIUS_COPRIME"], "recipe_id": "0e26d0", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.444, "created_at": "2026-02-08T02:47:14.754045Z", "verification": {"verified": true, "answer": 17634, "timestamp": "2026-02-08T02:47:18.198492Z"}, "problem_hash": "fef7f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 2208}, "timestamp": "2026-02-08T19:54:43.763Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 277, "completion_tokens": 2438}, "timestamp": "2026-02-09T20:22:13.577Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:29:52.251Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 16473, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 538}, "timestamp": "2026-02-09T02:47:46.044Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 2413}, "timestamp": "2026-02-09T09:30:01.861Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:24:49.998Z"}], "lemma_applicability": {"V1": "ok", "B1": "ok_later", "MOBIUS_COPRIME": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.7, "mid": 4.15, "hi": 7.47}} -{"id": "d03ceb", "alias": "comb_count_partitions_v1_153355830_1994", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y$ equals the number of positive integers $t$ in the interval $9 \\leq t \\leq 58$ for which there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 6$, and $t = 4a + 5b$. Define $n$ to be the maximum value of $xy$ over all such pairs $(x,y)$. Let $d = 15162$. Compute the number of positive divisors of $d$ that are divisible by $n$. Let $P$ be the number of integer partitions of that count. Find the remainder when $84009 \\cdot P$ is divided by $72328$.", "answer": 44958, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(15162),\n \"_m\": Const(72328),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=58)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_d\")), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(84009),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1/C2"], "recipe_id": "b33939", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "C2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:50:46.262542Z", "verification": {"verified": true, "answer": 44958, "timestamp": "2026-02-08T06:50:46.265533Z"}, "problem_hash": "a71427", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "B1": "ok_later", "C2": "ok_later", "K15": "no", "K18": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}} -{"id": "58ab4a", "alias": "nt_count_squarefree_v1_1742523217_4453", "problem": "Let $S$ be the set of all integers $n$ with $1 \\leq n \\leq 41616$ such that $$\\mu(n)^2 = \\sum_{d \\mid \\gcd(5, p)} \\mu(d),$$ where $p$ is the largest prime at most $10$, and $\\mu$ denotes the M\\\"obius function. Compute the remainder when $44121$ multiplied by the number of elements in $S$ is divided by $85262$.", "answer": 46377, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(41616),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), SumOverDivisors(n=GCD(a=Const(value=5), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=10)), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(85262)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "16afaf", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 6.941, "created_at": "2026-02-08T07:17:45.614837Z", "verification": {"verified": true, "answer": 46377, "timestamp": "2026-02-08T07:17:52.555654Z"}, "problem_hash": "9023db", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K16": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "e8e9bf", "alias": "nt_count_digit_sum_v1_1520064083_4118", "problem": "Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = s$, where $s$ is the number of integers $n$ with $1 \\leq n \\leq 286$ such that the sum of the decimal digits of $n$ is odd. Let $m$ be the minimum value of $x + y$ over all such pairs $(x,y)$. Let $P$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 23$ such that $i + j = m$. Let $\\text{target\\_sum}$ be the number of elements in $P$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 91204$ such that the sum of the decimal digits of $n$ is equal to $\\text{target\\_sum}$.\n\nDetermine the value of this count.", "answer": 5548, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(91204),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(286)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(23))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B3/COUNT_SUM_EQUALS"], "recipe_id": "f75230", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_SUM_EQUALS", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.589, "created_at": "2026-02-08T06:05:16.145785Z", "verification": {"verified": true, "answer": 5548, "timestamp": "2026-02-08T06:05:19.734948Z"}, "problem_hash": "aad4df", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "B3": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "ed31e0", "alias": "antilemma_product_of_sums_v1_1918700295_987", "problem": "Consider all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 6$ and $1 \\le j \\le 44$ such that $\\gcd(i,j) = 1$. Let $n$ be the number of such pairs.\n\nLet\n$$S_1 = \\sum_{i=1}^{3} \\sum_{j=1}^{8} ij.$$\n\nAmong all ordered pairs $(x,y)$ of positive integers satisfying $xy = n$, let $s$ be the minimum possible value of $x + y$.\n\nLet\n$$S_2 = \\sum_{k=1}^{s} k.$$\n\nFinally, let $x = S_1 S_2$.\n\nCompute $x$. ", "answer": 75816, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(44))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/B3/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "25ca6f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:26:04.415734Z", "verification": {"verified": true, "answer": 75816, "timestamp": "2026-02-08T05:26:04.419078Z"}, "problem_hash": "74a7e6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "PRODUCT_OF_SUMS": "ok", "B3": "ok_later", "SUM_ARITHMETIC": "ok_later", "K15": "no", "MOD_ADD": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "3cd705", "alias": "antilemma_k3_v1_1874849503_762", "problem": "Let $m = 6$ and $n = 90231$. Define $x$ to be the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$. Let $c$ be the sum of all real solutions $x$ to the equation $x^2 - 3249x - 331452 = 0$. Compute the value of\n$$\nQ = \\left( x^{\\sum_{d\\mid 2} \\phi(d)} + 6x + c \\right) \\mod 95484.\n$$", "answer": 66348, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(90231),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-3249), Var(\"x\")), Const(-331452)), Const(0)))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), SumOverDivisors(n=Const(value=2), var='d', expr=EulerPhi(n=Var(name='d')))), Mul(Ref(\"_m\"), Ref(\"x\")), Ref(\"_c\")), modulus=Const(95484)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/ENDING_quadratic_mod", "K3/ENDING_quadratic_mod", "K3"], "recipe_id": "1fd01a", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:18:15.001547Z", "verification": {"verified": true, "answer": 66348, "timestamp": "2026-02-08T13:18:15.003457Z"}, "problem_hash": "a9f707", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 66348, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 3914}, "timestamp": "2026-02-09T20:42:55.966Z"}], "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "ENDING_quadratic_mod": "ok_later", "K13": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V7": "no"}} -{"id": "e7b7c7", "alias": "modular_min_linear_v1_458359167_511", "problem": "Let $x$ be the smallest positive integer solution to the congruence\n$$\n73626x \\equiv 54698 \\pmod{75763}.\n$$\nDefine\n$$\nQ = \\left( 353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left( |x|^2 + \\varphi(1) \\right) \\bmod M + 215534 \\cdot |x| \\bmod 1 \\right) \\bmod 1009091,\n$$\nwhere $M$ is the maximum prime number $n$ satisfying $2 \\leq n \\leq 102$.\n\nCompute $Q$.", "answer": 65822, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"a\": Const(73626),\n \"b\": Const(54698),\n \"m\": Const(75763),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(1),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), EulerPhi(n=Const(1))), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(102)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_crt_mix_3", "ONE_PHI_1"], "recipe_id": "2bd56d", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.944, "created_at": "2026-02-08T03:22:55.877332Z", "verification": {"verified": true, "answer": 65822, "timestamp": "2026-02-08T03:22:59.821514Z"}, "problem_hash": "ea9f74", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "V1": "no", "V7": "no"}} -{"id": "a92375", "alias": "comb_count_surjections_v1_1125832087_2356", "problem": "Let $k = 2$ and $n = 7$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Let $c$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 131$, $1 \\leq i \\leq 129$, and $1 \\leq j \\leq 129$. Let $d$ be the number of digits in $|r|$. Compute $$\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |r| \\right) \\cdot (i+1)^2 + c.$$", "answer": 151, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(7),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(131)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(129)), right=IntegerRange(start=Const(1), end=Const(129))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_digits_weighted_mod"], "recipe_id": "194ba3", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_digits_weighted_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:34:29.929666Z", "verification": {"verified": true, "answer": 151, "timestamp": "2026-02-08T04:34:29.932998Z"}, "problem_hash": "a78659", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "97f7ff", "alias": "nt_count_coprime_v1_1742523217_5268", "problem": "Let $n$ be the largest integer such that $2^n \\leq 57$. Let $g = 10$ and $m = 10$. Let $a = g \\cdot m$ and $b = g \\cdot n$. Let $d_1, d_2, \\dots, d_t$ be the positive divisors of $\\gcd(a, b)$. Define $$h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d),$$ where $\\mu$ is the M\\\"obius function. Let $p = 47$, $n = p^2$, and $f = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $u = 10816 + h$ and $k = 47f$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 1$.", "answer": 10586, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"g\": Const(10),\n \"m\": Const(10),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(57)))),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(47),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"f\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Sum(Const(10816), Ref(\"h\")),\n \"k\": Mul(Const(47), Ref(\"f\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "e9fbb9", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_VAL", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 15.521, "created_at": "2026-02-08T10:53:41.469157Z", "verification": {"verified": true, "answer": 10586, "timestamp": "2026-02-08T10:53:56.990375Z"}, "problem_hash": "a9ec3d", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MAX_VAL": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K18": "no", "LTE_SUM": "no", "V8": "no"}} -{"id": "194cf7", "alias": "diophantine_product_count_v1_1742523217_3210", "problem": "Let $k = 420$ and let $u = 285$. Consider the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Compute the number of elements in this set.", "answer": 22, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"upper\": Const(285),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_SQUAREFREE", "B3/DIVISOR_PARITY"], "recipe_id": "73c54c", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "DIVISOR_PARITY", "K14", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.068, "created_at": "2026-02-08T05:43:18.584127Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T05:43:18.651837Z"}, "problem_hash": "9fc6d8", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K14": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}} -{"id": "3882e8", "alias": "antilemma_product_of_sums_v1_784195855_1446", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 100$. Let $a$ be the minimum value of $x + y$ over all such pairs. Define $S_1 = \\sum_{k=1}^{a} k$. Let $T$ be the set of all integers $j$ with $0 \\leq j \\leq 7$ such that $\\binom{7}{j}$ is odd. Let $S_2$ be the sum of all elements in $T$. Compute $S_1 \\cdot S_2$.", "answer": 5880, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(2),\n \"_n\": Const(7),\n \"S1\": Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\")))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Ref(\"_c\")), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "recipe_id": "8b2bb9", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T05:01:40.063835Z", "verification": {"verified": true, "answer": 5880, "timestamp": "2026-02-08T05:01:40.069446Z"}, "problem_hash": "ca0f6b", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3c": "no", "V3": "no", "V5": "no"}} -{"id": "290281", "alias": "nt_lcm_compute_v1_865884756_2249", "problem": "Let $m = 30$ and $n = 2$. Define $a$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 134880$ and $m$ divides the $k$-th Fibonacci number. Define $b$ to be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 35$ and $1 \\leq j \\leq 57$ such that $\\gcd(i, j) = 1$. Let $r = \\operatorname{lcm}(a, b)$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq n$ that divides 384091916153069. Compute the remainder when $d_{\\text{min}} \\cdot r$ is divided by 96552.", "answer": 24744, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(96552),\n \"_m\": Const(30),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(134880)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(57))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(384091916153069))))), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_affine_mod", "COUNT_FIB_DIVISIBLE", "COUNT_COPRIME_GRID"], "recipe_id": "245cc8", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_FIB_DIVISIBLE", "ENDING_affine_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T16:39:35.677714Z", "verification": {"verified": true, "answer": 24744, "timestamp": "2026-02-08T16:39:35.683474Z"}, "problem_hash": "80c6c7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_affine_mod": "ok_later", "DS2": "no", "K5": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}} -{"id": "043a3a", "alias": "nt_count_digit_sum_v1_1520064083_3297", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 33333$ and the sum of the decimal digits of $n$ is 27. Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 4$. Let $k$ be the largest integer such that $11^k$ divides $$2457042231093853510107190290088557151751696158937462187828500903878489630080866314107661139055279756395099895950756399650037039020326280206754136241788423582632192830703142158303389324466957552972415002331535590821455192920122431989376095049853111576762860827866678622258012762757751024810931179867305622555617781528932661181434143455120433378117518788605960940913986680346781341088647286040218698281294024796492052080159357978369249799864778222637684619121476832781971765347318172610933074746765349482674315081915018280216383479879317948634345066265538870949252759341851741891948172188482511716978973198529843176701424694169375731367123856723928093330659023075854947087098093660520734552118368308792363972618488019475032866420045123961834165993739286140296715515755788566490861172890343649778656679432523597419471472828948277934551140555620737504976511590523387448204728740886602824495574177992490906245946970208193935270582413675482357368311337772354621437934297647620093528922681589183819968043818353708983399224635848256930610880147398555643725161152257358236663421560664617218213616363067891582726236742673659321934041056443241750431358893108221689073610080836619395959312138042499227545874940187367831687281265629336751935388182430141554510215267037025972197975161498131927797829948843643040406681719001931012984819948619399415085285677506019934904542981208365418406597322926610224186281420059763884570571849067650823408966922507448517137094346454161282613928269410612627494294202427773170874646189194636239189316852146792244283148166817280165579176373161022445644793663411502698082397874123694742408463654213749137618568497951176435425311071893963528155643155413217392761938651183927039481805291192136893097535191098833900205032690193495694709044792552393690690400574711714634691061930468501168862941848063076003028382064876569077897891774937861972347412365856671537328531661460550251123888466896915807403900855144562357819301282585000669342574527001597760651445372450687396830424699789656218835059309015306300487451244153809442456457278505305086394646584309194188594436722946338934654029554222482892276804641053970079385061160120354937204636624111564843935062034212242521741220871505616852670339458547080908787805318124204040489776586535485830812365365325515056248303703886595616031257830597780688246792133525690735130622896154642619007549999280016786273567730351656438831328225949234342643255797859895381797346376119086350410410493756834976311570641977115042533411371.$$ Let $c = k$. Find the remainder when $c \\cdot A$ is divided by $78844$.", "answer": 3012, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78844),\n \"upper\": Const(33333),\n \"target_sum\": Const(27),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": MaxKDivides(target=Pow(Const(2457042231093853510107190290088557151751696158937462187828500903878489630080866314107661139055279756395099895950756399650037039020326280206754136241788423582632192830703142158303389324466957552972415002331535590821455192920122431989376095049853111576762860827866678622258012762757751024810931179867305622555617781528932661181434143455120433378117518788605960940913986680346781341088647286040218698281294024796492052080159357978369249799864778222637684619121476832781971765347318172610933074746765349482674315081915018280216383479879317948634345066265538870949252759341851741891948172188482511716978973198529843176701424694169375731367123856723928093330659023075854947087098093660520734552118368308792363972618488019475032866420045123961834165993739286140296715515755788566490861172890343649778656679432523597419471472828948277934551140555620737504976511590523387448204728740886602824495574177992490906245946970208193935270582413675482357368311337772354621437934297647620093528922681589183819968043818353708983399224635848256930610880147398555643725161152257358236663421560664617218213616363067891582726236742673659321934041056443241750431358893108221689073610080836619395959312138042499227545874940187367831687281265629336751935388182430141554510215267037025972197975161498131927797829948843643040406681719001931012984819948619399415085285677506019934904542981208365418406597322926610224186281420059763884570571849067650823408966922507448517137094346454161282613928269410612627494294202427773170874646189194636239189316852146792244283148166817280165579176373161022445644793663411502698082397874123694742408463654213749137618568497951176435425311071893963528155643155413217392761938651183927039481805291192136893097535191098833900205032690193495694709044792552393690690400574711714634691061930468501168862941848063076003028382064876569077897891774937861972347412365856671537328531661460550251123888466896915807403900855144562357819301282585000669342574527001597760651445372450687396830424699789656218835059309015306300487451244153809442456457278505305086394646584309194188594436722946338934654029554222482892276804641053970079385061160120354937204636624111564843935062034212242521741220871505616852670339458547080908787805318124204040489776586535485830812365365325515056248303703886595616031257830597780688246792133525690735130622896154642619007549999280016786273567730351656438831328225949234342643255797859895381797346376119086350410410493756834976311570641977115042533411371), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\")))))), base=Const(11)),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14/ENDING_affine_mod"], "recipe_id": "e2314d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.226, "created_at": "2026-02-08T05:34:00.140832Z", "verification": {"verified": true, "answer": 3012, "timestamp": "2026-02-08T05:34:01.366466Z"}, "problem_hash": "cf443b", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_affine_mod": "ok_later", "K14": "ok_later", "K15": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}} -{"id": "c38fd1", "alias": "modular_count_residue_v1_1742523217_5579", "problem": "Let $m = 30$ and $r = 26$. Let $S$ be the set of all positive integers $n \\leq 31684$ such that $n \\equiv 26 \\pmod{30}$. Let $N = |S|$. Let $T$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 566$, and let $C = |T|$. Compute the value of\n$$\n353702 \\cdot (N \\bmod 97) + 329703 \\cdot (N^2 + 1 \\bmod 101) + 215534 \\cdot (N \\bmod C)\n$$\ndivided by $1009091$, and return the remainder.", "answer": 90643, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(31684),\n \"m\": Const(30),\n \"r\": Const(26),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(22),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(566)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/ENDING_crt_mix_3"], "recipe_id": "47e6d2", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_crt_mix_3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.155, "created_at": "2026-02-08T11:04:54.531044Z", "verification": {"verified": true, "answer": 90643, "timestamp": "2026-02-08T11:04:55.686380Z"}, "problem_hash": "cf5f9d", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "ok_later", "ENDING_crt_mix_3": "ok_later", "LTE_DIFF_P2": "no", "V1": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "506432", "alias": "comb_binomial_compute_v1_865884756_1125", "problem": "Let $n$ be defined as $$n = \\frac{3}{24} \\sum_{k=1}^{5} \\sum_{j=1}^{8} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor.$$ Let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 10500$, and $\\gcd(p, q) = 1$. Define $r = \\binom{n}{k}$. Find the remainder when $35262r$ is divided by $50605$.", "answer": 48755, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n\": Div(Mul(Const(3), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k1\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Ref(\"_n\"), Var(\"k1\"))))))), Const(24)),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=10500)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(35262), Ref(\"result\")), modulus=Const(50605)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT", "COPRIME_PAIRS", "K2"], "recipe_id": "240a26", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:47:48.977708Z", "verification": {"verified": true, "answer": 48755, "timestamp": "2026-02-08T15:47:48.980641Z"}, "problem_hash": "019666", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "K2": "ok", "SUM_INDEPENDENT": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "217dd9", "alias": "nt_count_digit_sum_v1_1918700295_2268", "problem": "Let $f(n)$ be the highest power of $2$ that divides $38!$. Let $s$ be the sum of all positive integers $n$ such that $1 \\leq n \\leq 35$ and $n$ is divisible by $2^{f(n)}$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 165649$ and the sum of the decimal digits of $n$ equals $s$. Compute the number of elements in $T$.", "answer": 1342, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(35),\n \"upper\": Const(165649),\n \"target_sum\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=MaxKDivides(target=Factorial(Const(38)), base=Ref(\"_m\"))), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/SUM_DIVISIBLE"], "recipe_id": "133af8", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_DIVISIBLE", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 6.288, "created_at": "2026-02-08T07:48:31.474605Z", "verification": {"verified": true, "answer": 1342, "timestamp": "2026-02-08T07:48:37.762590Z"}, "problem_hash": "6aea3d", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "SUM_DIVISIBLE": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}} -{"id": "3fb3f5", "alias": "nt_sum_divisors_compute_v1_124444284_1731", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n\\[pq=54, \\quad \\gcd(p,q)=1, \\quad p 0$, and $0$ otherwise. Define $\\beta = 1$ if $D = 0$, and $0$ otherwise. Let $r = 2\\alpha + \\beta$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $r + 2$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(10),\n \"b\": Const(-10),\n \"c\": Const(-7),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/SUM_ARITHMETIC", "MOBIUS_COPRIME"], "recipe_id": "b498df", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.021, "created_at": "2026-02-08T03:35:05.797378Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T03:35:05.818415Z"}, "problem_hash": "d15b38", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "SUM_DIVISIBLE": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "MOD_SUB": "no"}} -{"id": "a4dcfe", "alias": "comb_sum_binomial_mod_v1_458359167_895", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x y = 4305625$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the smallest element of $T$. Let $p$ be the largest prime number not exceeding 12. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and $p$ divides $F_n$, where $F_n$ is the $n$-th Fibonacci number. Compute the remainder when $\\sum_{k=3}^{N} \\binom{488}{k}$ is divided by 10723. Multiply this remainder by 44121 and find the remainder when the product is divided by 52384.", "answer": 14335, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(44121),\n \"sum\": Summation(var=\"k\", start=Ref(\"_m\"), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4305625)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))), dividend=Fibonacci(arg=Var(name='n')))))), expr=Binom(n=Const(488), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10723)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(52384)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_FIB_DIVISIBLE", "B3/COUNT_FIB_DIVISIBLE"], "recipe_id": "147494", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.084, "created_at": "2026-02-08T04:10:11.650156Z", "verification": {"verified": true, "answer": 14335, "timestamp": "2026-02-08T04:10:11.733951Z"}, "problem_hash": "4a8654", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "4d64ac", "alias": "nt_count_coprime_and_v1_865884756_3910", "problem": "Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 31$. Let $k_1$ be the smallest divisor of $847$ that is at least $2$. Let $T$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 9$, $1 \\leq j \\leq 10$, and $i + j = |S|$. Let $k_2$ be the number of elements in $T$. Let $U$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 17288$, $\\gcd(n_1, k_1) = 1$, and $\\gcd(n_1, k_2) = 1$. Compute the number of elements in $U$.", "answer": 9880, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(847),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(31)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(17288),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_c\"))))),\n \"k2\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(10))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n1\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "recipe_id": "4f137c", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.974, "created_at": "2026-02-08T17:39:46.019378Z", "verification": {"verified": true, "answer": 9880, "timestamp": "2026-02-08T17:39:47.993030Z"}, "problem_hash": "e5a02b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "c25e5f", "alias": "comb_sum_binomial_row_v1_1520064083_3362", "problem": "Let $a_1 = 5$ and $b_1 = 5$. Define $n_2 = a_1 + b_1$ and $$\n\ne = \\sum_{k=\\binom{4}{4}-1}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nLet $a = 1$, $b = 2$, and $n_1 = a + b$. Define $$\nt = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $n = 13 + t$. Define $r = \\left| (2 + e)^n \\right|$. Let $T$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, $5 \\leq t \\leq 17$, and $t = 3a + 2b$. Compute the Bell number of the remainder when $r$ is divided by the number of elements in $T$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13),\n \"a1\": Const(5),\n \"b1\": Const(5),\n \"n2\": Sum(Ref(\"a1\"), Ref(\"b1\")),\n \"e\": Summation(var=\"k\", start=Sub(Binom(n=Const(4), k=Const(4)), Const(1)), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"a\": Const(1),\n \"b\": Const(2),\n \"n1\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"t\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Ref(\"_n\"), Ref(\"t\")),\n \"result\": Pow(Sum(Const(2), Ref(\"e\")), Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["LIN_FORM/ENDING_bell_mod", "BINOMIAL_ALTERNATING", "ZERO_BINOM_N"], "recipe_id": "aa3548", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "ENDING_bell_mod", "LIN_FORM", "ZERO_BINOM_N"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T05:36:18.256786Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T05:36:18.270586Z"}, "problem_hash": "7cb948", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "LIN_FORM": "ok", "ZERO_BINOM_N": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "bf8af7", "alias": "antilemma_v7_kummer_168721529_1300", "problem": "Let $\\mu(n)$ denote the Möbius function. Define $S$ to be the set of all integers $n$ such that $1 \\leq n \\leq 11350$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $m = |S|$. Let $d_0$ be the smallest divisor of 135 that is at least 2. Determine the largest integer $k$ such that $d_0^k$ divides $\\binom{m}{908}$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(908),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(135))))),\n \"x\": MaxKDivides(target=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(11350)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), k=Ref(\"_m\")), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["MIN_PRIME_FACTOR/L3C/V7", "V7"], "recipe_id": "bb754f", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "lemma_set": ["L3C", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:34:07.341276Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T13:34:07.346755Z"}, "problem_hash": "d58452", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 5652}, "timestamp": "2026-02-09T15:24:59.200Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V7": "ok", "L3C": "ok_later", "COUNT_INTEGER_RANGE": "no", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "e89318", "alias": "nt_sum_divisors_mod_v1_677425708_1541", "problem": "Let $n=120$ and let $\\sigma(n)$ be the sum of the positive divisors of $n$. Let $M=11789$, and define $r$ to be the remainder when $\\sigma(n)$ is divided by $M$.\n\nLet $m=2|r|+3$, and let $Q$ be the smallest positive integer $k$ such that $2^k\\equiv1\\pmod{m}$. Compute $Q$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(120),\n \"M\": Const(11789),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/WILSON/MOBIUS_SQUAREFREE", "C3/MOBIUS_SQUAREFREE"], "recipe_id": "1e73e1", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MOBIUS_SQUAREFREE", "V1", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.027, "created_at": "2026-02-08T04:14:48.446279Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T04:14:48.473372Z"}, "problem_hash": "3cb8e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 24, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 2043}, "timestamp": "2026-02-09T21:14:20.015Z"}], "lemma_applicability": {"C3": "ok", "V1": "ok", "MOBIUS_SQUAREFREE": "ok_later", "WILSON": "ok_later", "K5": "same_pattern_wrong", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "f3d253", "alias": "nt_euler_phi_compute_v1_1116507919_400", "problem": "Let $p = 5$. Let $q$ be the smallest integer $d \\ge 2$ that divides $2491$. Let $n_2 = p \\cdot q$. Let $h = \\mu(n_2)^2$, where $\\mu$ denotes the M\\\"obius function. Let $n_1 = 1$ and let $e$ be the number of prime factors of $n_1$ counted with multiplicity. Define $n = 34225 \\cdot h + e$. Compute $\\phi(n)$, where $\\phi$ denotes Euler's totient function.", "answer": 26640, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(5),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2491))))),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Mul(Const(34225), Ref(\"h\")), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO"], "recipe_id": "b7acb1", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T02:33:22.786033Z", "verification": {"verified": true, "answer": 26640, "timestamp": "2026-02-08T02:33:22.788889Z"}, "problem_hash": "9073dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 1236}, "timestamp": "2026-02-08T19:29:49.483Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 236, "completion_tokens": 1189}, "timestamp": "2026-02-09T17:06:31.473Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 5676}, "timestamp": "2026-02-09T20:57:24.678Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 1007}, "timestamp": "2026-02-09T20:39:18.098Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "727ab4", "alias": "nt_euler_phi_compute_v1_784195855_418", "problem": "Let $n = 1681$. Define $s(x, y) = x + y$ for each pair of positive integers $(x, y)$ such that $xy = n$. Let $m$ be the minimum value of $s(x, y)$ over all such pairs. Let $f = \\Omega(1)$, where $\\Omega(k)$ denotes the number of prime factors of $k$ counted with multiplicity. Define $n_1 = m + f$. Let $t = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $r = \\phi(44444)$, where $\\phi$ is Euler's totient function. Compute the remainder when $44121 \\cdot r$ is divided by $62714 + t$.", "answer": 11656, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1681),\n \"n2\": Const(1),\n \"f\": BigOmega(n=Ref(name='n2')),\n \"n1\": Sum(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"f\")),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(44444),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Const(62714), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/BIG_OMEGA_ZERO/MOBIUS_SUM"], "recipe_id": "82d16e", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T04:21:49.756239Z", "verification": {"verified": true, "answer": 11656, "timestamp": "2026-02-08T04:21:49.759178Z"}, "problem_hash": "ce5818", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "3180b9", "alias": "nt_sum_gcd_range_mod_v1_1520064083_933", "problem": "Let $ m = 12 $ and $ n = 23329 $. Define $ N $ to be the number of positive integers $ k $ such that $ 1 \\leq k \\leq 23329 $ and $ \\gcd(k, 12) = 1 $. Let $ T $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x \\cdot y = 20736 $. Let $ k $ be the minimum value of $ x + y $ as $ (x, y) $ ranges over $ T $. Let $ s = \\sum_{j=a}^{N} \\gcd(j, k) $, where $ a = \\sum_{d \\mid \\gcd(7,11)} \\mu(d) $. Compute the remainder when $ s $ is divided by $ 11399 $.", "answer": 6510, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(23329),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(20736)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(11399),\n \"sum\": Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "C4", "B3"], "recipe_id": "c6252f", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.382, "created_at": "2026-02-08T03:40:20.565407Z", "verification": {"verified": true, "answer": 6510, "timestamp": "2026-02-08T03:40:20.947280Z"}, "problem_hash": "2631dc", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok", "MOBIUS_COPRIME": "ok", "DS2": "no", "K14": "no", "K18": "no", "LTE_SUM": "no", "V3": "no"}} -{"id": "846423", "alias": "diophantine_fbi2_count_v1_168721529_331", "problem": "Let $ j $ be a positive integer such that $ 1 \\leq j \\leq 420 $ and $ j^2 \\leq 176400 $. Let $ k $ be the number of such integers $ j $. Let $ p $ be the largest prime number less than or equal to $ 150 $. Let $ d $ be a positive divisor of $ k $ such that $ d \\geq 6 $, $ d \\leq p $, and $ 2 \\leq \\frac{k}{d} \\leq 145 $. Let $ r $ be the number of such divisors $ d $. Let $ m = |r| + 2 $. Let $ Q $ be the smallest positive integer $ k $ such that the $ k $-th Fibonacci number is divisible by $ m $. Find the value of $ Q $.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(150),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(420)), Leq(Pow(Var(\"j\"), Const(2)), Const(176400))), domain='positive_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\"))), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(145))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "SUM_ARITHMETIC", "C3"], "recipe_id": "c9902b", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.022, "created_at": "2026-02-08T12:59:57.785031Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T12:59:57.807487Z"}, "problem_hash": "80c833", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 30, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 1919}, "timestamp": "2026-02-09T03:50:08.595Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 19, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 524}, "timestamp": "2026-02-09T15:30:11.043Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "answer": 18, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:19:00.400Z"}], "lemma_applicability": {"C3": "ok", "MAX_PRIME_BELOW": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "3a9adc", "alias": "antilemma_sum_primes_v1_124444284_1182", "problem": "Let $m = 17$. Let $n$ be the largest integer such that $m^n$ divides $289^2$. Let $P$ be the set of all positive integers $p$ for which there exists an integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of elements in $P$. Let $S$ be the set of all prime numbers $n$ such that $k \\leq n \\leq n$. Compute the sum of all elements in $S$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": MaxKDivides(target=Pow(Const(289), Const(2)), base=Ref(\"_m\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["K14/COPRIME_PAIRS/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "144dc1", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K14", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T03:43:34.832566Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T03:43:34.852775Z"}, "problem_hash": "37b377", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 58, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 1083}, "timestamp": "2026-02-09T10:40:54.252Z"}], "lemma_applicability": {"K14": "ok", "SUM_PRIMES": "ok", "COPRIME_PAIRS": "ok_later", "K13": "no", "K15": "no", "K5": "no", "L3c": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "061a55", "alias": "antilemma_sum_equals_v1_865884756_1280", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 52$ and there exist positive integers $a \\leq 4$, $b \\leq 16$ for which $t = 5a + 2b$. Define $n = |T|$. Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i, j \\leq 42$ and $i + j = n$. Compute\n$$\n\\sum_{k = \\binom{4}{\\binom{8}{0} - 1}}^{|x|} \\tau(k),\n$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 160, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=16)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(42)), right=IntegerRange(start=Const(1), end=Const(42))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(4), k=Sub(Binom(n=Const(8), k=Const(0)), Const(1))), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "9e3959", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T15:51:46.624115Z", "verification": {"verified": true, "answer": 160, "timestamp": "2026-02-08T15:51:46.632797Z"}, "problem_hash": "757d32", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "d9a3d5", "alias": "nt_euler_phi_compute_v1_1520064083_2578", "problem": "Let $n_2 = 1$. Define $v$ to be the number of distinct prime factors of $n_2$, and let $n_1 = 1 + v$. Let $m$ be the total number of prime factors of $n_1$ counted with multiplicity. Define $n = 69696 + m$. Compute $\\varphi(n)$, Euler's totient function evaluated at $n$.", "answer": 21120, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n2')),\n \"n1\": Sum(Const(1), Ref(\"v\")),\n \"m\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(69696), Ref(\"m\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "OMEGA_ZERO"], "recipe_id": "4d5cf5", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "OMEGA_ZERO"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 0.162, "created_at": "2026-02-08T04:52:08.905647Z", "verification": {"verified": true, "answer": 21120, "timestamp": "2026-02-08T04:52:09.067782Z"}, "problem_hash": "9ca3d2", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "OMEGA_ZERO": "ok", "C2": "no", "K14": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "bb5be4", "alias": "antilemma_sum_primes_v1_168721529_1787", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le 93$. Let $S$ be the set of all integers $t$ such that $9 \\le t \\le 119$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 19$, $1 \\le b \\le 6$, and $t = 5a + 4b$. Define $Q$ to be the sum\n\\[\n\\sum_{i=0}^{d-1} d_i (i+1)^2 + |S|,\n\\]\nwhere $d_i$ is the $i$-th decimal digit of $|x|$ (starting from the units place as $i=0$), and $d$ is the number of digits of $|x|$. Find the value of $Q$.", "answer": 207, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(93)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=119)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_digits_weighted_mod", "SUM_PRIMES"], "recipe_id": "7bca66", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "LIN_FORM", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:54:55.523017Z", "verification": {"verified": true, "answer": 207, "timestamp": "2026-02-08T13:54:55.526619Z"}, "problem_hash": "50d730", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 207, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 7629}, "timestamp": "2026-02-09T21:39:57.583Z"}], "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "87c428", "alias": "modular_modexp_compute_v1_1125832087_251", "problem": "Let $e$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 3273984864150$ and $\\gcd(p, q) = 1$. Let $r = 11^e \\bmod 71289$. Let $c = 58^2$. Compute the remainder when $c - r$ is divided by $60945$.", "answer": 24435, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60945),\n \"a\": Const(11),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=3273984864150)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"m\": Const(71289),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(58)), right=IntegerRange(start=Const(1), end=Const(58)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod", "COPRIME_PAIRS"], "recipe_id": "0e484a", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:59:14.672125Z", "verification": {"verified": true, "answer": 24435, "timestamp": "2026-02-08T02:59:14.674072Z"}, "problem_hash": "ab5b94", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_SUM": "no", "V8_SUM": "no"}} -{"id": "a4df6d", "alias": "nt_count_coprime_v1_865884756_3209", "problem": "Let $u = 51984$ and $k = 34$. Define $A$ as the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 1$. Let $r_1$ be the number of elements in $A$. Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 3235x - 114450 = 0$. Let $T$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq \\sum S$ and $\\gcd(n_1, 21) = 1$. Let $r_2$ be the number of elements in $T$. Compute the remainder when $r_2 - r_1$ is divided by $81753$.", "answer": 59139, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81753),\n \"upper\": Const(51984),\n \"k\": Const(34),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-3235), Var(\"x\")), Const(-114450)), Const(0))))), Eq(GCD(a=Var(\"n1\"), b=Const(21)), Const(1))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/C4/ENDING_negation_mod"], "recipe_id": "9b53b9", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_negation_mod", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.936, "created_at": "2026-02-08T17:13:54.398582Z", "verification": {"verified": true, "answer": 59139, "timestamp": "2026-02-08T17:13:58.334330Z"}, "problem_hash": "b5b15d", "license": "CC BY 4.0", "lemma_applicability": {"VIETA_SUM": "ok", "C4": "ok_later", "ENDING_negation_mod": "ok_later", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "c73e59", "alias": "nt_sum_divisors_range_v1_865884756_1295", "problem": "Let $n = 102$ and let $u = \\sum_{k=1}^{n} k$. Let $S$ be the set of all positive integers from $1$ to $u$, inclusive. Let $r$ be the sum of the number of positive divisors of each element in $S$.\n\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 142$. Let $c$ be the maximum value of $xy$ as $(x, y)$ ranges over $T$. Compute the remainder when $c - r$ is divided by $59203$.", "answer": 18416, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(102),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(142)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59203)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_negation_mod", "SUM_ARITHMETIC"], "recipe_id": "7eb677", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.207, "created_at": "2026-02-08T15:52:14.047693Z", "verification": {"verified": true, "answer": 18416, "timestamp": "2026-02-08T15:52:14.254235Z"}, "problem_hash": "a98c4e", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_SUM": "no", "V5": "no", "V7": "no"}} -{"id": "89ccbb", "alias": "antilemma_count_primes_v1_1520064083_615", "problem": "Let $m = 2$. Let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 6580$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 327$, $1 \\leq b \\leq 461$, and $t = 6a + 10b + 8$. Define $n_0$ to be the number of elements in $T$.\n\nLet $S$ be the set of all prime numbers $n$ such that $n \\geq k_0$ and $n \\leq n_0$, where $k_0$ is the number of positive integers $p$ for which there exists an integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $x$ be the number of elements in $S$.\n\nLet $C$ be the number of integers $n$ with $1 \\leq n \\leq 29581$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$.\n\nCompute\n$$\n\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot \\left(i + \\sum_{d \\mid \\gcd(5,7)} \\mu(d)\\right)^2 + C,\n$$\nwhere $d$ is the number of digits in $|x|$, and the $i$-th digit is the coefficient of $10^i$ (so the units digit is at $i=0$).\n\nFind the value of this expression.", "answer": 4287, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=327)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=461)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=6580)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b')), Const(value=8)))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(29581)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=Const(value=5), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))), Ref(\"_m\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES", "L3C/ENDING_digits_weighted_mod", "LIN_FORM/COUNT_PRIMES", "MOBIUS_COPRIME", "COUNT_PRIMES"], "recipe_id": "98a2d4", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ENDING_digits_weighted_mod", "L3C", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 6, "num_base_lemmas": 6, "generation_time": 0.007, "created_at": "2026-02-08T03:29:46.251209Z", "verification": {"verified": true, "answer": 4287, "timestamp": "2026-02-08T03:29:46.258347Z"}, "problem_hash": "7cb07b", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "L3C": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "ENDING_digits_weighted_mod": "ok_later", "K14": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_MUL": "no"}} -{"id": "78979d", "alias": "diophantine_fbi2_count_v1_784195855_199", "problem": "Let $m = 103$ and let $p_{\\text{min}}$ be the smallest prime divisor of $12510631423$ that is at least $2$. Let $k = 240$. Define $S$ to be the set of all positive integers $d$ such that $5 \\leq d \\leq p_{\\text{max}}$, where $p_{\\text{max}}$ is the largest prime at most $m$, and such that $d$ divides $k$, $k/d \\geq 5$, and $k/d \\leq p_{\\text{min}}$. Let $c = 65453$. Compute the remainder when $c \\cdot |S|$ is divided by $74206$.", "answer": 43376, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(103),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(12510631423))))),\n \"k\": Const(240),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"_c\": Const(65453),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(74206)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "MAX_PRIME_BELOW/DIVISOR_PARITY", "MOBIUS_COPRIME"], "recipe_id": "3f8bc5", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T03:01:25.863557Z", "verification": {"verified": true, "answer": 43376, "timestamp": "2026-02-08T03:01:25.873519Z"}, "problem_hash": "677bb6", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "DIVISOR_PARITY": "ok_later", "LTE_DIFF": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "1aeab1", "alias": "nt_min_with_divisor_count_v1_1116507919_248", "problem": "Let $n$ be an integer with $1\\le n\\le 57600$ such that $n$ has exactly $2$ positive divisors. Among all such integers $n$ in this range, let $m$ be the smallest possible value of $n$.\n\nCompute $m$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(57600),\n \"div_count\": Const(2),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW/BIG_OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "7e8243", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ONE", "BIG_OMEGA_ZERO", "COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 11.428, "created_at": "2026-02-08T02:29:40.251607Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T02:29:51.679230Z"}, "problem_hash": "1281ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 868}, "timestamp": "2026-02-08T19:16:34.097Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 488}, "timestamp": "2026-02-09T15:04:08.312Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:25:29.094Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 405}, "timestamp": "2026-02-09T18:18:08.724Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COPRIME_PAIRS": "ok", "BIG_OMEGA_ONE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "MAX_VAL": "no", "V3": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "d44e23", "alias": "modular_product_range_v1_397696148_123", "problem": "Let $m = 4$ and let $n$ be the smallest divisor of $9797$ that is at least $2$. Define\n$$\nP = \\prod_{i=10}^{243} i.\n$$\nLet $r$ be the remainder when $P$ is divided by $11783$.\n\nNow compute the following three values:\n\n- $a = 353702 \\cdot |r| \\bmod n$\n- $b = 329703 \\cdot \\left(|r|^2 + 1\\right) \\bmod 101$\n- $c = 215534 \\cdot \\left(\\sum_{j=1}^{103} |r|\\right) \\bmod k$, where $k$ is the number of positive integers $j$ such that $1 \\leq j \\leq 103$ and $j^4 \\leq 112550881$\n\nLet $s = (a + b + c) \\bmod 1009091$. Compute the remainder when $s$ is divided by $52817$.", "answer": 44262, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9797))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(10), end=Const(243)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11783)),\n \"_c\": Const(4),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(103)), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(112550881))), domain='positive_integers'))))), modulus=Const(1009091)), modulus=Const(52817)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C3/ENDING_crt_mix_3"], "recipe_id": "6dcc31", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "ENDING_crt_mix_3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T11:17:33.986820Z", "verification": {"verified": true, "answer": 44262, "timestamp": "2026-02-08T11:17:33.993146Z"}, "problem_hash": "96c23d", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "ENDING_crt_mix_3": "ok_later", "K15": "no", "K16": "no", "LTE_DIFF": "no", "V3": "no", "V7": "no"}} -{"id": "e10f29", "alias": "antilemma_cartesian_v1_865884756_2051", "problem": "Compute the remainder when $\\left|\\{(i, j) \\in \\mathbb{Z}^2 : 1 \\leq i \\leq 4,\\ 1 \\leq j \\leq 5,\\ i + j = 6\\}\\right| - (23 \\times 42)$ is divided by $98799$.", "answer": 97837, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98799),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(42)))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5))))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f8dfda", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:29:18.887098Z", "verification": {"verified": true, "answer": 97837, "timestamp": "2026-02-08T16:29:18.898281Z"}, "problem_hash": "cb9b5c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "75e5b2", "alias": "antilemma_cartesian_v1_865884756_3911", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 38$ and $1 \\leq j \\leq 38$ and $i + j = 38$. Let $B$ be the set of all ordered pairs $(i, j)$ such that $1 \\leq i \\leq 12$ and $1 \\leq j \\leq 16$. Compute the remainder when $|A| - |B|$ is divided by $91312$.", "answer": 91157, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(38),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(38))))), Ref(\"x\")), modulus=Const(91312)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f8dfda", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T17:39:48.010858Z", "verification": {"verified": true, "answer": 91157, "timestamp": "2026-02-08T17:39:48.029951Z"}, "problem_hash": "c7c7b6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "359e18", "alias": "antilemma_v1_legendre_1742523217_110", "problem": "Let $n = 97656$. Let $x$ be the largest integer $k$ such that $13^k$ divides $n!$. Let $p$ be a positive integer such that there exists a positive integer $q$ with $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of such integers $p$. Let $e = x \\bmod 14$. Compute the remainder when $x + c^e$ is divided by $74158$.", "answer": 8140, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74158),\n \"_n\": Const(97656),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Mod(value=Ref(\"x\"), modulus=Const(14))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_mod_exp", "V1"], "recipe_id": "436635", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_mod_exp", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:53:14.042552Z", "verification": {"verified": true, "answer": 8140, "timestamp": "2026-02-08T02:53:14.043735Z"}, "problem_hash": "1b232e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 2068}, "timestamp": "2026-02-09T13:48:52.626Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 1162}, "timestamp": "2026-02-08T23:05:55.158Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "V1": "ok", "ENDING_mod_exp": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "0ded8e", "alias": "diophantine_fbi2_min_v1_151522320_1021", "problem": "Let $k$ be the largest integer such that $11^k$ divides $13109994191499930367061460371^3$. Find the smallest divisor $d$ of $k$ such that $6 \\leq d \\leq 91$ and $\\frac{k}{d} \\geq 5$. Let $m$ be this value of $d$. \n\nNow, determine the number of integers $t$ with $5 \\leq t \\leq 7783$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 1682$, $1 \\leq b \\leq 1473$, and\n$$\nt = 2a + 3b.\n$$\nCompute the difference between this count and $m$.", "answer": 7768, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(5),\n \"k\": MaxKDivides(target=Pow(Const(13109994191499930367061460371), Const(3)), base=Const(11)),\n \"upper\": Const(91),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1682)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1473)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=7783)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_negation_mod", "K14"], "recipe_id": "e14b4d", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K14", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T03:42:39.980175Z", "verification": {"verified": true, "answer": 7768, "timestamp": "2026-02-08T03:42:39.987912Z"}, "problem_hash": "c64f40", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "K18": "no", "K5": "no", "LTE_SUM": "no", "MOD_SUB": "no"}} -{"id": "f6caa5", "alias": "comb_count_permutations_fixed_v1_1440796553_753", "problem": "Let $\\_c = 2590$. Define $\\_m$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = \\_c$. Let $\\_n$ be the largest positive divisor of $\\_m$ that is at most $35$. Let $n$ be the smallest integer greater than or equal to $2$ that divides $\\_n$. Compute $\\binom{n}{0} \\cdot !n$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 44, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2590),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_c\"))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(35)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_DIVISOR/MIN_PRIME_FACTOR"], "recipe_id": "ca1a66", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T11:57:21.871693Z", "verification": {"verified": true, "answer": 44, "timestamp": "2026-02-08T11:57:21.878586Z"}, "problem_hash": "f58781", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "MAX_DIVISOR": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K5": "no", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no"}} -{"id": "209558", "alias": "nt_min_coprime_above_v1_677425708_2528", "problem": "Let $n$ be an integer. Define $\\mathcal{P}$ as the set of all integers $n$ such that $2 \\leq n \\leq 3$ and $n$ is prime. Let $S$ be the set of all positive integers $d$ such that $d$ divides 478661 and $d \\geq |\\mathcal{P}|$. Let $m$ be the smallest element of $S$. Determine the value of the smallest integer $n$ such that $28900 < n \\leq 28983$ and $\\gcd(n, m) = \\phi(2)$, where $\\phi$ denotes Euler's totient function.", "answer": 28901, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": Const(28900),\n \"upper\": Const(28983),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Const(478661))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), EulerPhi(n=Const(2)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MIN_PRIME_FACTOR", "ONE_PHI_2"], "recipe_id": "84f657", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.05, "created_at": "2026-02-08T05:06:30.953646Z", "verification": {"verified": true, "answer": 28901, "timestamp": "2026-02-08T05:06:31.003908Z"}, "problem_hash": "2d295f", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "ONE_PHI_2": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_SUB": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "2de7f8", "alias": "comb_sum_binomial_row_v1_168721529_1997", "problem": "Let $m = 49764$. Define $n$ to be the largest integer such that $13^n$ divides $m!$. Let $k$ be the largest integer such that $2^k$ divides $\\binom{n}{1658}$. Compute $2^k$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(49764),\n \"_n\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=Const(13)),\n \"n\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(1658)), base=Const(2)),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/V7"], "recipe_id": "477f80", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V1", "V7"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T14:02:55.807356Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T14:02:55.810130Z"}, "problem_hash": "0b9392", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "V7": "ok_later", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no"}} -{"id": "8dbb3b", "alias": "modular_min_linear_v1_151522320_1735", "problem": "Let $a=53819$, $b=1105$, and $m=64585$. Let $x$ be the least integer with $1\\le x\\le m$ such that\n$$53819x\\equiv1105\\pmod{64585}.$$ \n\nLet $r$ be the remainder when $|x|$ is divided by $97$.\n\nLet $P$ be the set of all prime numbers $p$ with $2\\le p\\le 101$, and let $M$ be the largest element of $P$. Let $s$ be the remainder when $x^2+1$ is divided by $M$.\n\nLet $T$ be the set of all integers $t$ such that $19\\le t\\le 763$ and there exist integers $u$ and $v$ with $1\\le u\\le 103$, $1\\le v\\le 49$, and\n$$t=4u+7v+8.$$ \nLet $N$ be the number of elements of $T$.\n\nLet $U$ be the set of all integers $n$ such that $1\\le n\\le N$ and \n$$n\\equiv\\left\\lfloor\\frac n2\\right\\rfloor\\pmod{7}.$$ \nLet $k$ be the number of elements of $U$, and let $t$ be the remainder when $|x|+2$ is divided by $k$.\n\nDefine\n$$S=353702r+329703s+215534t.$$ \nLet $R$ be the remainder when $S$ is divided by $1009091$, and let $Q$ be the remainder when $R$ is divided by $96922$.\n\nFind the value of $Q$.", "answer": 12693, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(96922),\n \"_n\": Const(97),\n \"a\": Const(53819),\n \"b\": Const(1105),\n \"m\": Const(64585),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(2),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(101)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=103)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=49)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=763)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=8))))))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3C/ENDING_crt_mix_3", "MAX_PRIME_BELOW/ENDING_crt_mix_3"], "recipe_id": "e7b23d", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "L3C", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.803, "created_at": "2026-02-08T04:19:20.368575Z", "verification": {"verified": true, "answer": 12693, "timestamp": "2026-02-08T04:19:23.171248Z"}, "problem_hash": "a47529", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "L3C": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}} -{"id": "b48eee", "alias": "algebra_quadratic_discriminant_v1_153355830_2748", "problem": "Let $b = \\sum_{k=0}^{5} (-1)^k \\binom{5}{k}$. Define $Q$ to be the Bell number of the absolute value of $b^2 - 4 \\cdot 4 \\cdot 6$, modulo the number of ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 11$, $1 \\leq j \\leq 11$, and $i + j = 12$. Find the value of $Q$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(4),\n \"b\": Summation(var=\"k\", start=Const(0), end=Const(5), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(5), k=Var(\"k\")))),\n \"c\": Const(6),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(11))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_bell_mod", "BINOMIAL_ALTERNATING"], "recipe_id": "47f8cd", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "ENDING_bell_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T07:19:23.568658Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T07:19:23.583861Z"}, "problem_hash": "4ac893", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no"}} -{"id": "02b726", "alias": "antilemma_sum_primes_v1_153355830_1168", "problem": "Let $n_1$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 113$ such that $\\gcd(i, j) = 1$. Let $\\lambda$ denote the Liouville function, and define $t = \\lambda(n_1)$. Let $p = 83$, $q$ be the smallest prime divisor of 899, and $r$ be the smallest prime divisor of 16155911. Define $n = p \\cdot q \\cdot r$. Let $h$ be the remainder when the number of positive divisors of $n$ is divided by 2, and let $n_0 = 2t$. Compute the sum of all prime numbers $s$ such that $n_0 \\leq s \\leq 3$. Multiply this sum by 91683 and find the remainder when the product is divided by $67814 + h$.", "answer": 51531, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(67814),\n \"_m\": Const(91683),\n \"n1\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(113))))),\n \"t\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Const(83),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(899))))),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(16155911))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"_n\": Mul(Const(2), Ref(\"t\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Sum(Ref(\"_c\"), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/LIOUVILLE_ONE", "MIN_PRIME_FACTOR/DIVISOR_PARITY", "SUM_PRIMES"], "recipe_id": "25c6cf", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "DIVISOR_PARITY", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:10:32.320548Z", "verification": {"verified": true, "answer": 51531, "timestamp": "2026-02-08T06:10:32.324625Z"}, "problem_hash": "6ce9f6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_ONE": "ok_later", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V5": "no"}} -{"id": "0e480c", "alias": "nt_euler_phi_compute_v1_1125832087_1196", "problem": "Let $m$ be the number of prime factors of $1$, counted with multiplicity. Let $p$ be the smallest integer greater than or equal to $2$ that divides $1573$. Define $v$ to be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $n = 42486 + m + v$. Compute $\\phi(n)$, Euler's totient function evaluated at $n$.", "answer": 13824, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(42486),\n \"n1\": Const(1),\n \"m\": BigOmega(n=Ref(name='n1')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1573))))),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"m\"), Ref(\"v\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "BIG_OMEGA_ZERO"], "recipe_id": "0e202c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:36:42.803912Z", "verification": {"verified": true, "answer": 13824, "timestamp": "2026-02-08T03:36:42.805476Z"}, "problem_hash": "0c982e", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "WILSON": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V7": "no"}} -{"id": "a67894", "alias": "comb_count_derangements_v1_1918700295_1248", "problem": "Let $A$ be the set of ordered pairs $(i, j)$ of integers satisfying $1 \\leq i \\leq 7$, $1 \\leq j \\leq 7$, and $i + j = 8$. Let $u = \\sum_{k=0}^{4} (-1)^k \\binom{4}{k}$ and $h = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Let $n = |A| \\cdot u \\cdot h$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"n2\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"h\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(7))))), Ref(\"u\")), Ref(\"h\")),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "COUNT_CARTESIAN/BINOMIAL_ALTERNATING"], "recipe_id": "b203d2", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T05:41:39.175348Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T05:41:39.190870Z"}, "problem_hash": "caf45a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "080d51", "alias": "nt_min_coprime_above_v1_1874849503_360", "problem": "Let $m$ be the smallest divisor of $5893921838143$ that is at least $2$. Let $S$ be the set of all integers $n$ such that $56280 < n \\leq 56643$ and $\\gcd(n, m) = \\phi(\\phi(2))$. Compute the smallest element of $S$.", "answer": 56281, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(56280),\n \"upper\": Const(56643),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5893921838143))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), EulerPhi(n=EulerPhi(n=Const(2))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "54c41a", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.064, "created_at": "2026-02-08T12:58:03.967237Z", "verification": {"verified": true, "answer": 56281, "timestamp": "2026-02-08T12:58:04.031528Z"}, "problem_hash": "c8027b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:11:06.788Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "DS2": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "5bfdd1", "alias": "nt_count_coprime_and_v1_1520064083_280", "problem": "Let $m = 16$ and $n = 2$. Define $c$ to be the number of integers $k$ such that $1 \\leq k \\leq 19$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{5}$. Let $k_2$ be the largest integer $e$ such that $2^e$ divides $5^{16} - c^{16}$. Let $u = 13293$ and $k_1 = 3$. Define $r$ to be the number of integers $x$ such that $1 \\leq x \\leq u$, $\\gcd(x, 3) = 1$, and $\\gcd(x, k_2) = 1$. Compute the remainder when $44121r$ is divided by $54238$. ", "answer": 6514, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": Const(2),\n \"upper\": Const(13293),\n \"k1\": Const(3),\n \"k2\": MaxKDivides(target=Sub(Pow(Const(5), Const(16)), Pow(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(19)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), Ref(\"_m\"))), base=Ref(\"_n\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(54238)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/LTE_DIFF_P2"], "recipe_id": "ba3e05", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "LTE_DIFF_P2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.39, "created_at": "2026-02-08T03:09:08.722136Z", "verification": {"verified": true, "answer": 6514, "timestamp": "2026-02-08T03:09:10.112058Z"}, "problem_hash": "753c80", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "LTE_DIFF_P2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K5": "no", "L3b": "no", "LTE_DIFF": "no"}} -{"id": "82dcfe", "alias": "nt_count_squarefree_v1_1353956133_4", "problem": "Let $m = 101$ and $n = 99$. Define $u = 54289$. Let $S$ be the set of all positive integers $k$ such that $1 \\le k \\le u$ and $\\mu(k)^2 = 1$, where $\\mu$ denotes the Möbius function. Let $r = |S|$. Let $P$ be the set of all prime numbers $p$ such that $2 \\le p \\le n$. Define $a = \\max(P)$. Define\n\n$$\nQ = \\left(353702 \\cdot (r \\bmod a) + 329703 \\cdot \\left(r^{\\,\\#T} \\bmod m\\right) + 215534 \\cdot \\left(r \\bmod 29\\right)\\right) \\bmod 1009091,\n$$\n\nwhere $T$ is the set of all positive integers $t$ such that $1 \\le t \\le 14$ and $t \\equiv \\left\\lfloor \\frac{t}{2} \\right\\rfloor \\pmod{7}$. Compute $Q$.", "answer": 13382, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(99),\n \"upper\": Const(54289),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(29)), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_crt_mix_3", "L3C/ENDING_crt_mix_3"], "recipe_id": "0047b4", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 7.501, "created_at": "2026-02-08T11:15:23.941205Z", "verification": {"verified": true, "answer": 13382, "timestamp": "2026-02-08T11:15:31.442231Z"}, "problem_hash": "92f8ea", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MOD_FACTORIAL": "no", "V1": "no"}} -{"id": "96e531", "alias": "nt_sum_divisors_mod_v1_124444284_1309", "problem": "Let $n=55440$ and let $\\sigma$ be the sum of all positive divisors of $n$. Let $M=11119$, and define $r$ to be the remainder when $\\sigma$ is divided by $M$.\n\nLet $S$ be the set of all integers $x$ such that\n$$x^2-199x+7450=0,$$\nand let $A$ be the sum of all elements of $S$.\n\nLet $P$ be the greatest prime number less than or equal to $1011$.\n\nLet $L$ be the largest nonnegative integer $k$ such that $2^k$ divides\n$$17498005798264095394980017816940970922825355447145699491406164851279623993595007385788105416184430592\\times748288838313422294120286634350736906063837462003712.$$\nLet $Q_0$ be the greatest prime number less than or equal to $L$.\n\nDefine\n$$T\\equiv\\Big((r\\bmod A)+P\\cdot(r\\bmod Q_0)\\Big)\\pmod{86017}.$$\n\nFind the value of $T$.", "answer": 11548, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(1011),\n \"_m\": Const(2),\n \"_n\": Const(86017),\n \"n\": Const(55440),\n \"M\": Const(11119),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-199), Var(\"x\")), Const(7450)), Const(0))))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Mul(Const(17498005798264095394980017816940970922825355447145699491406164851279623993595007385788105416184430592), Const(748288838313422294120286634350736906063837462003712)), base=Const(2))), IsPrime(Var(\"n\")))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/MAX_PRIME_BELOW/ENDING_two_moduli", "VIETA_SUM/ENDING_two_moduli"], "recipe_id": "787066", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "K13", "MAX_PRIME_BELOW", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T03:49:06.169733Z", "verification": {"verified": true, "answer": 11548, "timestamp": "2026-02-08T03:49:06.180435Z"}, "problem_hash": "d13cd9", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 4232, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 371, "completion_tokens": 1793}, "timestamp": "2026-02-09T12:30:07.973Z"}], "lemma_applicability": {"K13": "ok", "VIETA_SUM": "ok", "ENDING_two_moduli": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "K16": "no", "K17": "no", "L3b": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "670b5f", "alias": "nt_sum_divisors_compute_v1_784195855_765", "problem": "For a positive integer $n$, let $\\mu(n)$ denote the function defined by $\\mu(1) = 1$, $\\mu(n) = 0$ if $n$ is divisible by the square of a prime, and $\\mu(n) = (-1)^k$ if $n$ is the product of $k$ distinct primes.\n\nLet $D$ be the set of all integers $d$ such that $1 \\le d \\le 99$ and $d$ divides $9999$, and let $M$ be the maximum element of $D$.\n\nLet $n_2$ be the largest prime number $n$ with $2 \\le n \\le M$.\n\nLet $h = \\mu(n_2)^2$ and let\n$$u = \\sum_{d \\mid 1} \\mu(d).$$\n\nLet $N = 47089$ and let $S$ be the sum of all positive divisors of $N$.\n\nLet $m = 50500$ and define\n$$Q \\equiv 44121 \\cdot h \\cdot S \\pmod{m u}, \\quad 0 \\le Q < m u.$$\n\nFind the value of $Q$.", "answer": 17221, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(50500),\n \"_n\": Const(2),\n \"n2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(99)), Divides(divisor=Var(\"d\"), dividend=Const(9999)))))), IsPrime(Var(\"n\"))))),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Ref(\"_n\")),\n \"n1\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(47089),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Const(44121), Ref(\"h\")), Ref(\"result\")), modulus=Mul(Ref(\"_m\"), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "515a21", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T04:35:45.906634Z", "verification": {"verified": true, "answer": 17221, "timestamp": "2026-02-08T04:35:45.914729Z"}, "problem_hash": "e024f1", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SUM": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K14": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "f167cd", "alias": "modular_mod_compute_v1_784195855_4666", "problem": "Let $m$ be the number of positive integers $j$ such that $1 \\leq j \\leq 37$ and $j^5 \\leq 69343957$. Let $a = 22801$, and let $n$ be the largest integer $k$ such that $m^k$ divides $$47740021153015257764013168846755972075392583568357957205530403372724894997738248957618790310235646426705259608649535784014972596345201607890233711130527642915079929980865711699919941823340764373240754491652109551304695906080082745803686794580160431222997251381960226608804408751095495905127045372371606030075046919843333804020817217761117495625881645129734546411717725008937275535936104019746410022313881622865734875450334960560649686062591053731940949336094736498410956667232160822649025306668708946883414842820876579377695988083223655908561740113352465729408442402825757686592355498593402015594494059053088175870518732170917420973411554682566563169068706542634922071577697120353742137433796070748303898520528951779608800875624259926848305812889533288784351694119766435398790643297072133928822466825749491852234991227608734476328404606063979679936714378563980594758567084003529740791194007879676093664110706348079665300618132702738467900745833108801454459155366363596616946773258335209631720426913351920629560192651917264336716130933942970454717215763767839808451414471071404212420811243484319133464669565583447022553454030581659511496334913500950718485856185392767919595212671445350742815574121123701825807072160887102250901519309650738783054286556192488833750917510716099628728526902515716512329393126911766646635377213006403893208592060889566238275422961684582276066480203719502575456683541319442587341683734614103561980681194546127758327711276801444566214211432228281599397228365709226719875600457092653096241740642622449049557783432001512285419744798172858710810410092889681595553287936854708003274271080112395373678499249101942239194126434709463136575115187609225190825427825211192663654120034520258519877464098440367668697495953544057957366905007260252853911341385494523054094479307143759806719056676174110512633624992783128259890911020411211649713437072539646789625848260083232154634246906297111546097064145327958129621565013349237791237194084436217821743630816515517555609057628167189028867755451561287592454035139647563626432053531462196284716591128970061534309827296754674782703599793024103286381546482628331595025775555715804433428396086850344709956911693987621066701570821860710260265405688551396179714227623549567962228118095557252673642663377079619655182794453048435173155024825513976103570237365172613610573406265370241386572823504630448242649041398802246698514861716547406586670111060216937301957397214358079572189791509869651672766151272021139250922802326631060851673426903921571194909109270393784339539695453812577671706157525327598048212097548317843904401528093343749620302166186942782315790819335833896496270968585182833938965911061593289404943052149555409889044582338293247736091364261942509359445819808277730436114556516559044619400429065879829553402746391354910995281855326910338662327362634355781016681031890540430357673286109652819114675933493420754489639761611579125980160374845676857972567516694073564898859309423173500241200078414593840382284656448568318068438115965263375625871734176714790220767739155880709386413265105703139454227422580946439981771650244061913625233455842399485445137998259957729790887898031092761716041581974506438836387409977535751498196152131270720742369141091799978381996020163496737908473961489402672631863513024134506012957915843777466175071237142143645055661915571280981107784504601048248667041).$$ Compute the remainder when $a$ is divided by $n$.", "answer": 1896, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(37)), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(69343957))), domain='positive_integers')),\n \"a\": Const(22801),\n \"m\": MaxKDivides(target=Mul(Const(47740021153015257764013168846755972075392583568357957205530403372724894997738248957618790310235646426705259608649535784014972596345201607890233711130527642915079929980865711699919941823340764373240754491652109551304695906080082745803686794580160431222997251381960226608804408751095495905127045372371606030075046919843333804020817217761117495625881645129734546411717725008937275535936104019746410022313881622865734875450334960560649686062591053731940949336094736498410956667232160822649025306668708946883414842820876579377695988083223655908561740113352465729408442402825757686592355498593402015594494059053088175870518732170917420973411554682566563169068706542634922071577697120353742137433796070748303898520528951779608800875624259926848305812889533288784351694119766435398790643297072133928822466825749491852234991227608734476328404606063979679936714378563980594758567084003529740791194007879676093664110706348079665300618132702738467900745833108801454459155366363596616946773258335209631720426913351920629560192651917264336716130933942970454717215763767839808451414471071404212420811243484319133464669565583447022553454030581659511496334913500950718485856185392767919595212671445350742815574121123701825807072160887102250901519309650738783054286556192488833750917510716099628728526902515716512329393126911766646635377213006403893208592060889566238275422961684582276066480203719502575456683541319442587341683734614103561980681194546127758327711276801444566214211432228281599397228365709226719875600457092653096241740642622449049557783432001512285419744798172858710810410092889681595553287936854708003274271080112395373678499249101942239194126434709463136575115187609225190825427825211192663654120034520258519877464098440367668697495953544057957366905007260252853911341385494523054094479307143759806719056676174110512633624992783128259890911020411211649713437072539646789625848260083232154634246906297111546097064145327958129621565013349237791237194084436217821743630816515517555609057628167189028867755451561287592454035139647563626432053531462196284716591128970061534309827296754674782703599793024103286381546482628331595025775555715804433428396086850344709956911693987621066701570821860710260265405688551396179714227623549567962228118095557252673642663377079619655182794453048435173155024825513976103570237365172613610573406265370241386572823504630448242649041398802246698514861716547406586670111060216937301957397214358079572189791509869651672766151272021139250922802326631060851673426903921571194909109270393784339539695453812577671706157525327598048212097548317843904401528093343749620302166186942782315790819335833896496270968585182833938965911061593289404943052149555409889044582338293247736091364261942509359445819808277730436114556516559044619400429065879829553402746391354910995281855326910338662327362634355781016681031890540430357673286109652819114675933493420754489639761611579125980160374845676857972567516694073564898859309423173500241200078414593840382284656448568318068438115965263375625871734176714790220767739155880709386413265105703139454227422580946439981771650244061913625233455842399485445137998259957729790887898031092761716041581974506438836387409977535751498196152131270720742369141091799978381996020163496737908473961489402672631863513024134506012957915843777466175071237142143645055661915571280981107784504601048248667041), Const(938697620561540695195295338428080653271227052110649421681079375185907979387219527758564820961150011332937504588656020266184274498734882699160689860587981194484722664915874426146873665925804274470884778808264012574073036793099593333220192396126419316654404674428782002862132129054352130546659705028945910440087662334166191033847267837009959005310906024037683154364284315013826707884337500102934665563381696461448986939347664442995219409236395325628648389575383707687061288519033210627195999214864676864055293889578076702034368994330699547946538240052555301299577888215688191339964235697297863583220931017969950172678579095928545616926272209980132804585826160655481220975701184746040210588932397206656070589078545702060302842287103876292564679178413384639645650497965162744919749670100623253265950052652030664836716072596776229780464274660201610382011521328237487831950256928568505869172378905479396561898696472408319765886515352859278133791012105724297013552473424968578240958140892004351009444879773987435141188209294584502651644928162667529115716172824715954332417926710593718883649662259249121824390479109322089908794458992804278919924771357707541920056732711224000104036057482482238089669967497442695415373603899148797862494331233481295170208413508926982135055536308607698011652405923093656738060347081692586711791977399212577396694298363121926223994726455892009670159114173720810775614408836626486725232331118860104136020446793575732872385360068098227524620655987953787165674404373581905758821036399885267262572906051953525453432885922943415395934890479662557174516293533588691773823416490026695234476863786757378929608909826042115705690529921395925705827571639649893347607988337623469472696676312167333103803677505704209197640762169658825665530780535187503736413584450203997527498487331884339269980723531585829662683180618784206112202847369885838532059289965222857930871716173981277382185513157914038557055971903290922958822621277812935210152163571261114362393102450913591564343450673729509028631123421349078345359727459251272132311888041584688617743053096868403988589893287460816520799038643054765120606445924094648004332415239100613364177385683326557815965493104924608267107503182665710734622393302924361860323338362023237165837566394198235613903734669170203344563243446165760074801986200293194671064934047274672698543375068083386557344647859781389631784107252450731578233859609392238464234057734007619282145972460939454400785001545263448229365756757997241007540512203150839852197617432019708680547357349288863607064714596036197842884047838990202247381854525557325588373071671700474601499302412996871084987697630480914367505802530969628128444118094110475303766500631598755523008194117967464888768122726263542250662124712078703535475467183934784880277173346679180410716287156918231337644934164860727554407388698423986325746328022470433202598061884305102520475404976084234334343293321901766098796105240306413013101402985548164624511526727126278545720605764437790101355665536453882393131589789763987833274001636090687798394373446414634497637057987892456199719512223532637129010825948918920926460174378481820845632878963449534823830929660403117504828294662785769262719494392556693929232571795708778519157)), base=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/K13"], "recipe_id": "e08e92", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:15:54.696625Z", "verification": {"verified": true, "answer": 1896, "timestamp": "2026-02-08T07:15:54.698442Z"}, "problem_hash": "ffcbfa", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "K13": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "636a49", "alias": "modular_min_linear_v1_1125832087_476", "problem": "Let $a = 26857$, $b = 64098$, and $m = 81322$. Define $d_0$ to be the sum \n$$\n\\sum_{d \\mid n} \\mu(d),\n$$\nwhere $n$ is the number of positive integers $k$ such that $1 \\leq k \\leq 261$ and $29$ divides $k$, and $\\mu$ denotes the Möbius function. Let $S$ be the set of all integers $x$ such that $x \\geq d_0$, $x \\leq m$, and \n$$\n26857x \\equiv 64098 \\pmod{81322}.\n$$\nCompute the minimum value of $S$.", "answer": 33204, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(26857),\n \"b\": Const(64098),\n \"m\": Const(81322),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), SumOverDivisors(n=GCD(a=Const(value=4), b=CountOverSet(set=SolutionsSet(var=Var(name='k'), condition=And(Geq(left=Var(name='k'), right=EulerPhi(n=Const(value=1))), Leq(left=Var(name='k'), right=Const(value=261)), Divides(divisor=Const(value=29), dividend=Var(name='k')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "e6e2a1", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.387, "created_at": "2026-02-08T03:06:58.544966Z", "verification": {"verified": true, "answer": 33204, "timestamp": "2026-02-08T03:07:01.931862Z"}, "problem_hash": "a9329c", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "K5": "no", "MAX_VAL": "no", "V3": "no"}} -{"id": "1cdd90", "alias": "nt_count_primes_v1_153355830_1597", "problem": "Let $N$ be the largest integer $k$ such that $47^k$ divides $2472159215084012303^{121}$. Let $g=7$, $m_1=15$, and $n_1=4$, and define $a=gm_1$ and $b=gn_1$. Let\n$$w = \\sum_{d\\mid \\gcd(a,b)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $n$ be the largest integer $d$ such that $1\\le d\\le N$ and $d$ divides $1811491$.\n\nDefine\n$$m = \\sum_{d\\mid n} \\varphi(d) - n,$$\nwhere $\\varphi$ is Euler's totient function, and let\n$$U = 13456 + w + m.$$\nLet $R$ be the number of prime integers $p$ with $2\\le p\\le U$.\n\nFinally, let\n$$Q = R + \\varphi(|R|+1) + \\tau(|R|+1),$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$.\n\nCompute $Q$.", "answer": 2722, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Pow(Const(2472159215084012303), Const(121)), base=Const(47)),\n \"g\": Const(7),\n \"m1\": Const(15),\n \"n1\": Const(4),\n \"a\": Mul(Ref(\"g\"), Ref(\"m1\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1811491))))),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Sum(Const(13456), Ref(\"w\"), Ref(\"m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MAX_DIVISOR/EULER_TOTIENT_SUM", "MOBIUS_COPRIME"], "recipe_id": "fde6ca", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "K14", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.525, "created_at": "2026-02-08T06:31:28.744353Z", "verification": {"verified": true, "answer": 2722, "timestamp": "2026-02-08T06:31:29.269705Z"}, "problem_hash": "b12d64", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "MOBIUS_COPRIME": "ok", "EULER_TOTIENT_SUM": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "9c9a1a", "alias": "modular_mod_compute_v1_153355830_541", "problem": "Let $a=-51529$ and $m=37249$. Let $r$ be the remainder when $a$ is divided by $m$, so that $0\\le r p$ such that $pq = 6$ and $\\gcd(p, q) = 1$.", "answer": 61487, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(4),\n \"a\": Const(-1),\n \"b\": Const(1),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_d\")), Const(0))))),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"_c\": Const(36951),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66626)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "B3/L3B"], "recipe_id": "72b4e3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T15:15:06.358512Z", "verification": {"verified": true, "answer": 61487, "timestamp": "2026-02-08T15:15:06.363683Z"}, "problem_hash": "947347", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "L3B": "ok_later", "DS2": "no", "K16": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "MOD_SUB": "no"}} -{"id": "74004a", "alias": "nt_count_coprime_and_v1_548369836_66", "problem": "Let $k_1 = 5$ and $k_2 = 11$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 11653$, $\\gcd(n, 5) = 1$, and $\\gcd(n, 11) = 1$.", "answer": 8475, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11653),\n \"k1\": Const(5),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LTE_SUM"], "recipe_id": "7e04b8", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LTE_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 7.586, "created_at": "2026-02-08T02:44:46.336427Z", "verification": {"verified": true, "answer": 8475, "timestamp": "2026-02-08T02:44:53.922270Z"}, "problem_hash": "c16ded", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 632}, "timestamp": "2026-02-08T19:46:50.961Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 881}, "timestamp": "2026-02-09T19:14:20.648Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 7595}, "timestamp": "2026-02-09T21:03:16.754Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 298}, "timestamp": "2026-02-09T01:57:51.719Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 988}, "timestamp": "2026-02-09T07:59:28.543Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 5530}, "timestamp": "2026-02-09T07:05:53.917Z"}], "lemma_applicability": {"B3": "ok", "LTE_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.4, "hi": 1.2}} -{"id": "7544ff", "alias": "comb_factorial_compute_v1_677425708_359", "problem": "Let $T$ be the set of all integers $t$ with $5 \\leq t \\leq 15$ for which there exist integers $a$ and $b$, each between $1$ and $3$ inclusive, such that $t = 2a + 3b$. Let $m = |T|$. Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i, j \\leq 8$ such that $i + j = m$. Let $u = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and $s = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Define $n = |S| \\cdot u \\cdot s$. Compute $n!$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"n2\": Const(0),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(8))))), Ref(\"u\"), Ref(\"s\")),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING"], "recipe_id": "0c7152", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T03:14:06.199230Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T03:14:06.215527Z"}, "problem_hash": "4c5048", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 40320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 298, "completion_tokens": 1006}, "timestamp": "2026-02-08T20:28:39.311Z"}], "lemma_applicability": {"LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "cdcdc2", "alias": "antilemma_count_primes_v1_1874849503_435", "problem": "Let $m$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 216$, and $\\gcd(p, q) = 1$. Let $x$ be the number of prime numbers $n$ such that $m \\leq n \\leq 2591$. Let $c$ be the largest prime number at most $1384$. Compute the remainder when $c \\cdot x$ is divided by $89562$. Find the value of this remainder.", "answer": 72827, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(89562),\n \"_n\": Const(2591),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1384)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_affine_mod", "COPRIME_PAIRS/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "5509e6", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ENDING_affine_mod", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T13:03:36.141907Z", "verification": {"verified": true, "answer": 72827, "timestamp": "2026-02-08T13:03:36.144702Z"}, "problem_hash": "9c2a17", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:51:31.822Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "V1": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "5532ec", "alias": "nt_count_digit_sum_v1_1918700295_2883", "problem": "Let $m$ be the number of positive integers $t$ between 10 and 1710 inclusive for which there exist positive integers $a \\leq 132$ and $b \\leq 197$ such that $t = 4a + 6b$. Let $n$ be the number of positive integers at most $m$ satisfying $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Define $s$ to be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = n$. Determine the number of positive integers at most 99999 whose digit sum is equal to $s$.", "answer": 5280, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=132)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=197)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=1710)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"upper\": Const(99999),\n \"target_sum\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3C/B3"], "recipe_id": "6c21c4", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.315, "created_at": "2026-02-08T08:17:42.520985Z", "verification": {"verified": true, "answer": 5280, "timestamp": "2026-02-08T08:17:47.835614Z"}, "problem_hash": "bb8327", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "L3C": "ok_later", "K14": "no", "K15": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "09ad7f", "alias": "geo_count_lattice_triangle_v1_784195855_3998", "problem": "Let $T$ be the set of all positive integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 51$, $1 \\leq b \\leq 27$, $11 \\leq t \\leq 393$, and $t = 4a + 7b$. Let $u$ be the number of elements in $T$. Define $A$ as the set of all integers $n$ such that $1 \\leq n \\leq u$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $a_0$ be the number of elements in $A$. Let $B$ be the set of all integers $n$ such that $1 \\leq n \\leq 96$ and $n \\equiv 0 \\pmod{48}$. Let $b_0$ be the sum of all elements in $B$. Define\n$$\n\\text{area}_2 = \\left| 324 + a_0 - 233 \\cdot b_0 \\right|.\n$$\nLet $P$ be the triangle with vertices at $(121, 144)$, $(233, 324)$, and $(0, 0)$. Let $b$ be the sum of the greatest common divisors of the absolute differences of the coordinates of each pair of vertices, that is,\n$$\nb = \\gcd(|121 - 233|, |144 - 324|) + \\gcd(|233 - 0|, |324 - 0|) + \\gcd(|0 - 121|, |0 - 144|).\n$$\nLet $r = \\frac{\\text{area}_2 + 2 - b}{2}$. Compute the remainder when $35135 \\cdot r$ is divided by $56922$.", "answer": 6194, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(144),\n \"_m\": Const(233),\n \"_n\": Const(144),\n \"area_2x\": Abs(arg=Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=51)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=27)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=393)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))), Const(value=324)), Mul(Ref(name='_m'), Sub(left=Const(value=0), right=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=96)), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=48)), right=Const(value=0))))))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=Ref(name='_c'))), GCD(a=Abs(arg=Sub(left=Const(value=233), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=324), right=Const(value=144)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=233))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=324))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Mul(Const(35135), Ref(\"result\")), modulus=Const(56922)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3C", "SUM_DIVISIBLE"], "recipe_id": "bb8cc1", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T06:43:50.704912Z", "verification": {"verified": true, "answer": 6194, "timestamp": "2026-02-08T06:43:50.716378Z"}, "problem_hash": "e5b342", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok", "L3C": "ok_later", "K16": "no", "K18": "no", "K5": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "593c3e", "alias": "diophantine_product_count_v1_1742523217_4668", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 176400$. Let $r$ be the number of positive integers $x$ such that $1 \\leq x \\leq 298$, $x$ divides $k$, and $\\frac{k}{x} \\leq 298$. Let $p$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 124$. Compute $r^2 + 20r + p$.", "answer": 5188, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(124),\n \"_n\": Const(2),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(298),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(20), Ref(\"result\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_quadratic_mod", "B3"], "recipe_id": "f5c732", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T09:01:38.138592Z", "verification": {"verified": true, "answer": 5188, "timestamp": "2026-02-08T09:01:38.152004Z"}, "problem_hash": "2165a7", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_DIFF": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "fa2ab6", "alias": "nt_gcd_compute_v1_784195855_73", "problem": "Let $n_1$ be the number of integers $n$ with $1 \\leq n \\leq 426$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $s = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function. Let $n = 974947$ and $f = \\mu(n)^2$. Define $a = 619576 \\cdot s + f$ and $b = 1161705$. Let $d = \\gcd(a, b)$. Compute the remainder when $34216 \\cdot d$ is divided by $69637$.", "answer": 29791, "graph": "graphs = [\n Graph(\n let={\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(426)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"s\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(974947),\n \"f\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Sum(Mul(Const(619576), Ref(\"s\")), Ref(\"f\")),\n \"b\": Const(1161705),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(34216),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(69637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MOBIUS_SQUAREFREE"], "recipe_id": "964e96", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["L3C", "MOBIUS_SQUAREFREE"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 0.002, "created_at": "2026-02-08T02:56:52.723750Z", "verification": {"verified": true, "answer": 29791, "timestamp": "2026-02-08T02:56:52.726029Z"}, "problem_hash": "f60adc", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 29791, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 3603}, "timestamp": "2026-02-08T22:33:02.505Z"}], "lemma_applicability": {"L3C": "ok", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "149369", "alias": "nt_count_digit_sum_v1_1248542787_126", "problem": "Let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $38$, where $\\mu$ denotes the Möbius function. Let $w$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $15$, minus $15$. Let $D$ be the set of all positive integers $d$ such that $d \\leq 9999$ and $d$ divides $100079991$. Let $m$ be the maximum element of $D$, and let $u$ be the largest divisor of $100359963$ that is at most $m$. Define $\\text{upper} = u - s - w$. Determine the value of $\\text{upper}$. Now let $r$ be the number of positive integers $n \\leq \\text{upper}$ such that the sum of the decimal digits of $n$ is $17$. Let $Q = 40019 \\cdot r \\bmod 56808$. Compute $Q$.", "answer": 53628, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56808),\n \"n1\": Const(38),\n \"s\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(15),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(9999)), Divides(divisor=Var(\"d\"), dividend=Const(100079991)))))), Divides(divisor=Var(\"d\"), dividend=Const(100359963))))), Ref(\"s\"), Ref(\"w\")),\n \"target_sum\": Const(17),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(40019),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_DIVISOR/MOBIUS_SUM/EULER_TOTIENT_SUM"], "recipe_id": "9d1737", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_DIVISOR", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.354, "created_at": "2026-02-08T02:57:55.536146Z", "verification": {"verified": true, "answer": 53628, "timestamp": "2026-02-08T02:57:55.890045Z"}, "problem_hash": "638e0d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:30:05.617Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 53628, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 324, "completion_tokens": 5954}, "timestamp": "2026-02-09T13:31:46.527Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:50:18.774Z"}], "lemma_applicability": {"MAX_DIVISOR": "ok", "EULER_TOTIENT_SUM": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "32b867", "alias": "nt_count_digit_sum_v1_677425708_3615", "problem": "Let $p$ be the largest prime number less than or equal to 6140. Let $S$ be the set of all positive integers $n$ such that $n \\leq 11633$ and the sum of the decimal digits of $n$ is 21. Let $T$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq p$. Compute the remainder when $2^{|S|} + |T|$ is divided by 99991.", "answer": 62201, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6140)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(11633),\n \"target_sum\": Const(21),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/ENDING_two_stage_modexp"], "recipe_id": "6d644d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_two_stage_modexp", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.425, "created_at": "2026-02-08T05:51:40.919656Z", "verification": {"verified": true, "answer": 62201, "timestamp": "2026-02-08T05:51:41.344897Z"}, "problem_hash": "3175f2", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "ok_later", "ENDING_two_stage_modexp": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K18": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}} -{"id": "521581", "alias": "antilemma_k3_v1_1125832087_1571", "problem": "Let $n = 95324$. Define $x$ to be the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$. Let $a$ be the remainder when $71$ is divided by the sum of $\\phi(d)$ over all positive divisors $d$ of $71$. Let $b$ be one less than the number of decimal digits of $|x|$. Define $Q$ to be the sum of $\\left(\\text{digit}_i(|x|) \\cdot (i+1)^2\\right)$ for $i$ ranging from $a$ to $b$, plus $30276$. Compute $Q$.", "answer": 30620, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95324),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(30276),\n \"Q\": Sum(Summation(var=\"i\", start=Mod(value=Const(71), modulus=SumOverDivisors(n=Const(value=71), var='d', expr=EulerPhi(n=Var(name='d')))), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K3/IDENTITY_MOD_SELF/ENDING_digits_weighted_mod", "K3"], "recipe_id": "2dfc00", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "IDENTITY_MOD_SELF", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T03:47:54.122536Z", "verification": {"verified": true, "answer": 30620, "timestamp": "2026-02-08T03:47:54.130868Z"}, "problem_hash": "945375", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "ENDING_digits_weighted_mod": "ok_later", "IDENTITY_MOD_SELF": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MOD_MUL": "no", "V3": "no"}} -{"id": "618d55", "alias": "nt_count_divisors_in_range_v1_1918700295_84", "problem": "Let $n = 15120$, $a = 4$, and $b = 639$. Let $m$ be the largest prime number less than or equal to 251, and let $p$ be the largest prime number less than or equal to 397. Define $r$ as the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $s$ be the sum of all real solutions $x$ to the equation $x^2 - 2003x + 88110 = 0$. Compute the value of\n$$\n(r \\bmod p) + s + (r \\bmod m)\n$$\nand find the remainder when this sum is divided by 57871.", "answer": 4498, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(397),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(251)), IsPrime(Var(\"n\"))))),\n \"n\": Const(15120),\n \"a\": Const(4),\n \"b\": Const(639),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2003), Var(\"x\")), Const(88110)), Const(0)))), Mod(value=Ref(\"result\"), modulus=Ref(\"_m\")))), modulus=Const(57871)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/VIETA_SUM/ENDING_two_moduli"], "recipe_id": "c983ba", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T02:58:25.953256Z", "verification": {"verified": true, "answer": 4498, "timestamp": "2026-02-08T02:58:25.964260Z"}, "problem_hash": "0208ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 2123, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 2966}, "timestamp": "2026-02-08T22:39:17.641Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_two_moduli": "ok_later", "VIETA_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_DIFF": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "dc8df6", "alias": "sequence_lucas_compute_v1_1874849503_1058", "problem": "Let $m = 82$. Define $\\mathcal{S}$ as the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\le i \\le 81$, $1 \\le j \\le 82$, and $i + j = m$. Let $n$ be the number of elements in $\\mathcal{S}$. Now let $\\mathcal{T}$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = n$. Define $s(x, y) = x + y$ for each pair $(x, y) \\in \\mathcal{T}$. Let $n_{\\text{min}}$ be the minimum value of $s(x, y)$ over all such pairs. Compute the $n_{\\text{min}}$-th Lucas number. Find the value of this number.", "answer": 5778, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(81)), right=IntegerRange(start=Const(1), end=Const(82))))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/B3"], "recipe_id": "10a28e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.028, "created_at": "2026-02-08T13:32:39.070658Z", "verification": {"verified": true, "answer": 5778, "timestamp": "2026-02-08T13:32:39.098548Z"}, "problem_hash": "5cdd64", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "B3": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "108a06", "alias": "nt_count_with_divisor_count_v1_1353956133_709", "problem": "Let $\\text{d}(n)$ denote the number of positive divisors of the positive integer $n$. Let $\\text{result}$ be the number of integers $n$ with $1\\le n\\le 32400$ and $\\text{d}(n)=16$.\n\nLet $c=25$.\n\nLet $P$ be the smallest integer $d\\ge 2$ such that $d$ divides $91162698911$. Let $q$ be the number of integers $n$ with $2\\le n\\le P$ such that $n$ is prime.\n\nLet $r$ be the largest integer $n$ with $2\\le n\\le 103$ such that $n$ is prime.\n\nDefine\n\\[\nX = 353702\\cdot\\bigl(|\\text{result}|\\bmod 97\\bigr),\n\\]\n\\[\nY = 329703\\cdot\\left(\\bigl(|\\text{result}|^2+1\\bigr) \\bmod q\\right),\n\\]\n\\[\nZ = 215534\\cdot\\bigl(|\\text{result}|+c\\bigr)\\bmod r.\n\\]\n\nLet\n$$Q \\equiv X+Y+Z \\pmod{1009091},$$\nwhere $0\\le Q<1009091$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 84829, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"upper\": Const(32400),\n \"div_count\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": Const(25),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(91162698911)))))), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(103)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES/ENDING_crt_mix_3", "MAX_PRIME_BELOW/ENDING_crt_mix_3"], "recipe_id": "67ee9f", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 1.385, "created_at": "2026-02-08T11:48:15.485129Z", "verification": {"verified": true, "answer": 84829, "timestamp": "2026-02-08T11:48:16.870192Z"}, "problem_hash": "1bcbf4", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "7a7209", "alias": "nt_sum_divisors_mod_v1_151522320_347", "problem": "Let $t$ be the number of prime factors of $1$, counted with multiplicity. Let $a=6$ and $n_0=44$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=14485636$. For each such pair, form the sum $x+y$, and let $m$ be the minimum of all these sums. Let $b$ be the number of positive integers $k$ such that $1\\le k\\le m$ and $44$ divides $k$.\n\nLet\n$$u=\\sum_{d\\mid \\gcd(a,b)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function, and let $n=10080u$.\n\nLet $\\sigma(n)$ denote the sum of the positive divisors of $n$, and let $r$ be the remainder when $\\sigma(n)$ is divided by $10639$, so that $0\\le r<10639$. Finally, let $Q$ be the remainder when $|r|$ is divided by $76781+t$, so that $0\\le Q<76781+t$.\n\nFind the value of $Q$.", "answer": 7395, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44),\n \"n1\": Const(1),\n \"t\": BigOmega(n=Ref(name='n1')),\n \"a\": Const(6),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(14485636)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(10080), Ref(\"u\")),\n \"M\": Const(10639),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Sum(Const(76781), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C2/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "1dad31", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "C2", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:09:52.269171Z", "verification": {"verified": true, "answer": 7395, "timestamp": "2026-02-08T03:09:52.274853Z"}, "problem_hash": "b8c461", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7395, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 360, "completion_tokens": 1634}, "timestamp": "2026-02-09T01:40:16.895Z"}], "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "C2": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "27e913", "alias": "nt_euler_phi_compute_v1_677425708_2553", "problem": "Let $n = 11$. Define $n_1$ to be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 6$ such that $\\gcd(i, j) = 1$. Let $u$ be the number of distinct prime factors of $n_1$. Let $p = 13$ and let $t$ be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $n = 65536$. Compute $\\varphi(n)$, and let $r$ be the absolute value of this result modulo $n$. Then compute the remainder when the Bell number $B_r$ is divided by $99978u + t$. Find this remainder.", "answer": 15997, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"n1\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(13),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(65536),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), modulus=Sum(Mul(Const(99978), Ref(\"u\")), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_COPRIME_GRID/OMEGA_ONE", "WILSON"], "recipe_id": "0e12d8", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "OMEGA_ONE", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T05:07:09.932660Z", "verification": {"verified": true, "answer": 15997, "timestamp": "2026-02-08T05:07:09.949244Z"}, "problem_hash": "a19bb8", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "WILSON": "ok", "OMEGA_ONE": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "8cbbb6", "alias": "nt_count_divisible_v1_1742523217_3697", "problem": "Let $a = 2 \\cdot 8$ and $b = 2 \\cdot 15$. Let $e = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p$ be the smallest integer $d \\geq 2$ that divides 847. Let $f = \\Omega(p)$, the number of prime factors of $p$ counted with multiplicity. Define $u = (55225 + e) \\cdot f$. Determine the number of positive integers $n \\leq u$ that are divisible by 24.\n\nFind the value of this number.", "answer": 2301, "graph": "graphs = [\n Graph(\n let={\n \"g\": Const(2),\n \"m\": Const(8),\n \"n\": Const(15),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"f\": BigOmega(n=Ref(name='p')),\n \"upper\": Mul(Sum(Const(55225), Ref(\"e\")), Ref(\"f\")),\n \"divisor\": Const(24),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "MOBIUS_COPRIME"], "recipe_id": "7c0bd3", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 3.618, "created_at": "2026-02-08T06:03:02.029513Z", "verification": {"verified": true, "answer": 2301, "timestamp": "2026-02-08T06:03:05.647696Z"}, "problem_hash": "9d0065", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "BIG_OMEGA_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no", "K5": "no", "LTE_DIFF": "no"}} -{"id": "041698", "alias": "antilemma_count_primes_v1_677425708_4064", "problem": "Let $n_1 = 1$. Define $w = \\Omega(n_1)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $n = 1 + w$, and let $m = \\omega(n)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 149$. Compute the value of\n$$\nx \\bmod 293 + 1009 \\cdot \\left( x \\bmod (337 + m) \\right).$$", "answer": 35350, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"w\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(1), Ref(\"w\")),\n \"m\": SmallOmega(n=Ref(name='n')),\n \"_n\": Const(149),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Const(1009), Mod(value=Ref(\"x\"), modulus=Sum(Const(337), Ref(\"m\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "9dc81a", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:25:11.114195Z", "verification": {"verified": true, "answer": 35350, "timestamp": "2026-02-08T06:25:11.115333Z"}, "problem_hash": "f44c86", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "OMEGA_ZERO": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "45e94b", "alias": "nt_count_gcd_equals_v1_260342960_91", "problem": "Let $n_1 = 2$, and define $m = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n = 1 + m$ and $w = \\Omega(n)$, the number of prime factors of $n$ counted with multiplicity. Let $\\text{upper}$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 24511$ and $\\binom{24511}{j} \\equiv 1 \\pmod{2}$. Let $k = 309 + w$ and $d = 3$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\gcd(n, k) = d$.", "answer": 2704, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(2),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(Const(1), Ref(\"m\")),\n \"w\": BigOmega(n=Ref(name='n')),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(24511)), Eq(Mod(value=Binom(n=Const(24511), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"k\": Sum(Const(309), Ref(\"w\")),\n \"d\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO", "V8"], "recipe_id": "373f95", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_MINUS_ONE", "V8"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.643, "created_at": "2026-02-08T11:13:45.159109Z", "verification": {"verified": true, "answer": 2704, "timestamp": "2026-02-08T11:13:45.801761Z"}, "problem_hash": "81400f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2704, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 2943}, "timestamp": "2026-02-08T20:28:21.204Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5408, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 576}, "timestamp": "2026-02-09T07:06:29.395Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2704, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 3874}, "timestamp": "2026-02-09T16:42:20.415Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIOUVILLE_MINUS_ONE": "ok", "V8": "ok", "COUNT_CARTESIAN": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.34, "mid": 4.11, "hi": 7.46}} -{"id": "7eeae0", "alias": "antilemma_v1_legendre_784195855_4192", "problem": "Let $d = 2$, $m = 22973$, and $n = 46123$. Let $x$ be the largest integer $k$ such that $31^k$ divides $n!$. Let $c$ be the number of prime numbers $p$ such that $d \\le p \\le m$. Compute the remainder when $c \\cdot x$ is divided by $63394$.", "answer": 26709, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(22973),\n \"_n\": Const(46123),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=MaxKDivides(target=Pow(Const(31), Const(11)), base=Const(31))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_d\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(63394)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/ENDING_affine_mod", "K14/V1", "V1"], "recipe_id": "ca917b", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_affine_mod", "K14", "V1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T06:54:30.925942Z", "verification": {"verified": true, "answer": 26709, "timestamp": "2026-02-08T06:54:30.931066Z"}, "problem_hash": "905508", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "K14": "ok", "V1": "ok", "ENDING_affine_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V8": "no"}} -{"id": "6af188", "alias": "antilemma_v1_legendre_1918700295_971", "problem": "Let $x$ be the largest integer such that $13^x$ divides $24830!$. Let $C$ be the number of integers $t$ with $18 \\le t \\le 11138$ for which there exist positive integers $a \\le 415$ and $b \\le 677$ such that $t = 4a + 14b$. Compute the remainder when\n$$\nx^2 + (\\text{the largest prime } p \\le 12) \\cdot x + C\n$$\nis divided by $97465$.", "answer": 12321, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24830),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=415)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=677)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=11138)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))), Ref(\"x\")), Ref(\"_c\")), modulus=Const(97465)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_quadratic_mod", "LIN_FORM/ENDING_quadratic_mod", "V1"], "recipe_id": "4b5297", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "LIN_FORM", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T05:25:20.895751Z", "verification": {"verified": true, "answer": 12321, "timestamp": "2026-02-08T05:25:20.899800Z"}, "problem_hash": "782139", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "ENDING_quadratic_mod": "ok_later", "K5": "same_pattern_wrong", "K16": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "a8852a", "alias": "nt_sum_over_divisible_v1_124444284_1033", "problem": "Let $n = 29161$. Let $u$ be the largest prime number less than or equal to $5572$. Consider the set of all positive integers $n$ from $1$ to $u$ that are divisible by $19$, and let $s$ be the sum of all such integers. Let $t$ be the number of positive integers $n$ from $1$ to $n$ such that $\\gcd(n, 30) = 1$. Compute the value of $5^{|s|} \\bmod 99991$, plus $t$.", "answer": 95727, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29161),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5572)), IsPrime(Var(\"n\"))))),\n \"divisor\": Const(19),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_two_stage_modexp", "MAX_PRIME_BELOW"], "recipe_id": "27f3c2", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_two_stage_modexp", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.204, "created_at": "2026-02-08T03:39:39.835245Z", "verification": {"verified": true, "answer": 95727, "timestamp": "2026-02-08T03:39:40.039564Z"}, "problem_hash": "a4b97d", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:57:26.381Z"}], "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_two_stage_modexp": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "b592e3", "alias": "diophantine_product_count_v1_1520064083_4789", "problem": "Let $\\_n = 4$. Define $k$ to be the number of positive integers $j \\leq 480$ such that $j^\\_n \\leq 53084160000$. Let $\\text{upper} = 325$, and let $r$ be the number of positive integers $x \\leq \\text{upper}$ such that $x$ divides $k$ and $k/x \\leq \\text{upper}$. Compute\n\\[\nr + \\left( 2^{r \\bmod 15} \\bmod 70032 \\right).\n\\]", "answer": 150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(480)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(53084160000))), domain='positive_integers')),\n \"upper\": Const(325),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")))), modulus=Const(70032))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/ENDING_mod_exp", "C3"], "recipe_id": "11c05e", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "ENDING_mod_exp", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.025, "created_at": "2026-02-08T06:25:55.011605Z", "verification": {"verified": true, "answer": 150, "timestamp": "2026-02-08T06:25:55.037027Z"}, "problem_hash": "abcd5b", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "SUM_ARITHMETIC": "ok", "ENDING_mod_exp": "ok_later", "C2": "no", "K13": "no", "K15": "no", "K17": "no", "K18": "no"}} -{"id": "7d4212", "alias": "nt_lcm_compute_v1_677425708_4303", "problem": "Let $p$ be the largest prime number between $2$ and $32$, inclusive, and let $n = p^2$. Let $u$ be the remainder when the number of positive divisors of $n$ is divided by $2$.\n\nLet $M$ be the smallest integer $d \\ge 2$ such that $d$ divides $13396455859$. Let $e$ be the number of prime factors of $1$, counted with multiplicity. Define\n$$a = M \\cdot e \\cdot u.$$\n\nLet $b$ be the number of integers $t$ for which there exist integers $x$ and $y$ satisfying $1 \\le x \\le 43$, $1 \\le y \\le 144$, $8 \\le t \\le 647$, and\n$$t = 5x + 3y.$$\n\nLet $R$ be the least common multiple of $a$ and $b$. Finally, let $Q$ be the remainder when $26014R$ is divided by $69393$.\n\nFind the value of $Q$. ", "answer": 10430, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(69393),\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"t\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(32)), IsPrime(Var(\"n\"))))),\n \"n\": Pow(Ref(\"t\"), Const(2)),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Mul(Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13396455859))))), Ref(\"e\")), Ref(\"u\")),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=43)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=144)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=647)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(26014),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ZERO/DIVISOR_PARITY", "MAX_PRIME_BELOW/DIVISOR_PARITY", "LIN_FORM"], "recipe_id": "cd3a16", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "DIVISOR_PARITY", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T06:32:11.923656Z", "verification": {"verified": true, "answer": 10430, "timestamp": "2026-02-08T06:32:11.931923Z"}, "problem_hash": "13ec5e", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ZERO": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "LTE_DIFF": "no", "V7": "no"}} -{"id": "993ab2", "alias": "nt_lcm_compute_v1_548369836_331", "problem": "Let $m = 2$ and $N = 84542$. Let $S$ be the set of all ordered pairs of positive integers $(x,y)$ such that $xy = 958441$. For each such pair, compute $x + y$, and let $s_{\\min}$ be the minimum of these sums. Let $a$ be the largest prime number $n$ such that $m \\leq n \\leq s_{\\min}$. Let $b$ be the number of ordered pairs $(i,j)$ where $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 239$. Define $\\text{result} = \\text{lcm}(a, b)$. Find the remainder when $44121 \\cdot \\text{result}$ is divided by $N$.", "answer": 62118, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(84542),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(958441)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(239)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "COUNT_CARTESIAN"], "recipe_id": "e84f77", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:52:09.766197Z", "verification": {"verified": true, "answer": 62118, "timestamp": "2026-02-08T02:52:09.770040Z"}, "problem_hash": "385987", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61668, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:21:44.542Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 62118, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 2778}, "timestamp": "2026-02-09T22:48:03.791Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1434, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 726}, "timestamp": "2026-02-09T04:58:47.045Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62118, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 2636}, "timestamp": "2026-02-09T13:33:57.018Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 8192}, "timestamp": "2026-02-09T11:26:51.685Z"}], "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K15": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 3.72, "mid": 6.92, "hi": 10.0}} -{"id": "cd320d", "alias": "diophantine_fbi2_min_v1_1520064083_4616", "problem": "Let $k = 180$. Determine the smallest integer $d$ such that $6 \\leq d \\leq 190$, $d$ divides $k$, and $\\frac{k}{d} \\geq 4$. Compute the value of $d$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"a\": Const(5),\n \"b\": Const(3),\n \"upper\": Const(190),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MOBIUS_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "56f2d1", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ZERO", "L3C", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.036, "created_at": "2026-02-08T06:21:33.342075Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T06:21:33.378170Z"}, "problem_hash": "4d98fe", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "L3C": "ok", "MOBIUS_SUM": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}} -{"id": "6d34cb", "alias": "nt_sum_divisors_compute_v1_1918700295_2139", "problem": "Let $n = 64009$. Compute the remainder when the sum of the positive divisors of $n$ is divided by $99267$.", "answer": 73549, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(64009),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(99267)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE/BIG_OMEGA_ONE"], "recipe_id": "483498", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.209, "created_at": "2026-02-08T07:42:56.100664Z", "verification": {"verified": true, "answer": 73549, "timestamp": "2026-02-08T07:42:56.310035Z"}, "problem_hash": "f4c937", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "BIG_OMEGA_ONE": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}} -{"id": "fe30cd", "alias": "comb_bell_compute_v1_1915831931_2259", "problem": "Let $c = 225$. Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = c$. Let $n'$ be the number of integers $n_1$ with $1 \\le n_1 \\le m$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $n$ be the maximum value of $x_1 y_1$ over all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 + y_1 = n'$. Compute the Bell number $B_n$, the number of partitions of a set with $n$ elements.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(225),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_m\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5))))),\n \"n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Sum(Var(\"x1\"), Var(\"y1\")), Ref(\"_n\")))), expr=Mul(Var(\"x1\"), Var(\"y1\")))),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C/B1"], "recipe_id": "d85e2c", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "L3C"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T16:42:25.924424Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T16:42:25.927299Z"}, "problem_hash": "c61eb7", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "B1": "ok_later", "L3C": "ok_later", "C2": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "4ddc2c", "alias": "algebra_quadratic_discriminant_v1_151522320_1434", "problem": "Let $a = 2$, $b = -3$, and let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 36$. Let $D = b^2 - 4ac$. Compute\n$$\n2 \\cdot [D > \\sum_{d \\mid \\gcd(120,105)} \\mu(d)] + [D = \\varphi(7) - 6],\n$$\nwhere $[P]$ denotes the Iverson bracket, equal to $1$ if $P$ is true and $0$ otherwise.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(2),\n \"b\": Const(-3),\n \"c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), SumOverDivisors(n=GCD(a=Const(value=120), b=Const(value=105)), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Sub(EulerPhi(n=Const(7)), Const(6))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ZERO_PHI_PRIME", "B3"], "recipe_id": "f8f94d", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "ZERO_PHI_PRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:00:20.851297Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T04:00:20.856094Z"}, "problem_hash": "b85b40", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ZERO_PHI_PRIME": "ok", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "9dd45a", "alias": "sequence_lucas_compute_v1_865884756_3991", "problem": "Let $s$ be the minimum value of $x_1 + y_1$ over all pairs of positive integers $(x_1, y_1)$ such that $x_1 y_1 = 324$. Let $t$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = s$. Let $L_n$ denote the $n$-th Lucas number, and define $L_{20}$. Compute the remainder when $L_{20}^2 + t \\cdot L_{20} + \\pi(104723)$ is divided by $96485$, where $\\pi(x)$ denotes the number of primes between $2$ and $x$ inclusive, and $\\pi(104723)$ counts the primes $n_1$ satisfying $2 \\leq n_1 \\leq 104723$.", "answer": 58747, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Mul(Var(\"x1\"), Var(\"y1\")), Const(324)))), expr=Sum(Var(\"x1\"), Var(\"y1\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": Const(20),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Const(104723)), IsPrime(Var(\"n1\")))))), modulus=Const(96485)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3/COUNT_PRIMES/ENDING_quadratic_mod"], "recipe_id": "a64939", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T17:41:16.378420Z", "verification": {"verified": true, "answer": 58747, "timestamp": "2026-02-08T17:41:16.386887Z"}, "problem_hash": "e99c25", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok_later", "ENDING_quadratic_mod": "ok_later", "DS2": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "f026cf", "alias": "antilemma_sum_primes_v1_784195855_4989", "problem": "Let $p = 7$. Define $t$ to be the number of prime factors of $p$ counted with multiplicity. Let $n = 81$ and define $m = (\\mu(n))^2$, where $\\mu$ denotes the Möbius function. Let $x$ be the sum of all integers $n$ such that $2 \\leq n \\leq 3$ and $n$ is prime. Compute the remainder when $75170 \\cdot t + m$ multiplied by $x$ is divided by $61641$. Determine the value of this remainder.", "answer": 6004, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(7),\n \"t\": BigOmega(n=Ref(name='p')),\n \"n\": Const(81),\n \"m\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Sum(Mul(Const(75170), Ref(\"t\")), Ref(\"m\")), Ref(\"x\")), modulus=Const(61641)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "BIG_OMEGA_ONE", "SUM_PRIMES"], "recipe_id": "9c0536", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MOBIUS_SQUAREFREE", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T07:32:45.464959Z", "verification": {"verified": true, "answer": 6004, "timestamp": "2026-02-08T07:32:45.466915Z"}, "problem_hash": "619817", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MOBIUS_SQUAREFREE": "ok", "SUM_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V5": "no"}} -{"id": "f174eb", "alias": "diophantine_product_count_v1_1915831931_276", "problem": "Let $k = 60$ and $u = 41$. Let $S$ be the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $60$, and $\\frac{60}{x} \\leq 41$. Let $r$ be the number of elements in $S$.\n\nCompute the remainder when the Bell number $B_{|r| \\bmod 11}$ is divided by $67267$.", "answer": 48708, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"upper\": Const(41),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))), modulus=Const(67267)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "MAX_PRIME_BELOW", "B3"], "recipe_id": "3199d3", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.041, "created_at": "2026-02-08T15:19:05.762927Z", "verification": {"verified": true, "answer": 48708, "timestamp": "2026-02-08T15:19:05.804341Z"}, "problem_hash": "4accf3", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b0dc19", "alias": "antilemma_v7_kummer_677425708_1416", "problem": "Let $c = 4786$. Define $n$ to be the largest prime number not exceeding $c$. Let $d$ be the smallest divisor of $26377057231029397$ that is at least $2$. Compute the largest integer $x$ such that $3^x$ divides $\\binom{n}{d}$. Then, let $Q$ be the Bell number $B_r$, where $r$ is the remainder when $|x|$ is divided by $11$. Find the value of $Q$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4786),\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(26377057231029397)))))), base=Const(3)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/V7", "MAX_PRIME_BELOW/V7", "V7"], "recipe_id": "6ae08d", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:11:07.610424Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T04:11:07.612739Z"}, "problem_hash": "a5c121", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:41:16.797Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "V7": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "K16": "no", "K17": "no", "K18": "no"}} -{"id": "873045", "alias": "modular_product_range_v1_784195855_404", "problem": "Let $P$ be the product $$P = \\prod_{i=49}^{138} i.$$ Define $r$ to be the remainder when $P$ is divided by 10499, so $r = P \\bmod 10499$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 49985$, $5$ divides $n$, and $\\gcd(n, 12) = 1$. Let $c = |S|$, the number of elements in $S$. Define $$Q = \\left(11^r \\bmod 99991\\right) + c.$$ Compute $Q$.", "answer": 54523, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(49), end=Const(138)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10499)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(49985)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_two_stage_modexp", "ONE_PHI_1"], "recipe_id": "65a7ce", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_two_stage_modexp", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:21:28.129992Z", "verification": {"verified": true, "answer": 54523, "timestamp": "2026-02-08T04:21:28.134519Z"}, "problem_hash": "0dbd7e", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "bcc160", "alias": "nt_count_coprime_v1_677425708_2734", "problem": "Let $k$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 2$, $1 \\leq j \\leq 6$, such that $\\gcd(i,j) = 1$.\n\nLet $A$ be the set of all positive integers $n$ such that $n \\geq \\sum_{d\\mid 35,\\, d \\geq 2} \\mu(d)$, $n \\leq 39204$, and $\\gcd(n, k) = \\phi(2)$.\n\nLet $Q$ be the remainder when $66404$ multiplied by the number of elements in $A$ is divided by $55689$.\n\nFind the value of $Q$.", "answer": 42948, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(39204),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=35))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), EulerPhi(n=Const(2)))))),\n \"_c\": Const(66404),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(55689)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "COUNT_COPRIME_GRID", "ONE_PHI_2"], "recipe_id": "29a075", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 4.583, "created_at": "2026-02-08T05:13:53.295602Z", "verification": {"verified": true, "answer": 42948, "timestamp": "2026-02-08T05:13:57.878364Z"}, "problem_hash": "379753", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K14": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "3e13dc", "alias": "nt_lcm_compute_v1_677425708_3148", "problem": "Let $m = 84824$ and $n = 32776$. Define $a$ to be the number of prime numbers $p$ such that $2 \\leq p \\leq 24749$. Define $b$ to be the largest integer $k$ such that $17^k$ divides $n!$. Compute $\\mathrm{lcm}(a, b)$, and let $Q$ be the remainder when $56829$ times this value is divided by $m$. Find $Q$.", "answer": 9430, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(84824),\n \"_n\": Const(32776),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(24749)), IsPrime(Var(\"n\"))))),\n \"b\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(17)),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(56829), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "V1"], "recipe_id": "cbe320", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T05:30:25.766504Z", "verification": {"verified": true, "answer": 9430, "timestamp": "2026-02-08T05:30:25.774240Z"}, "problem_hash": "fe2d9c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}} -{"id": "ff4318", "alias": "nt_min_crt_v1_458359167_1180", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 36$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $k$ be the largest prime number $n$ such that $2 \\leq n \\leq \\min(T)$. Let $a = \\sum_{d \\mid 5} \\phi(d)$ and $b = 4$. Let $u$ be the number of integers $t$ such that $16 \\leq t \\leq 184$ and there exist positive integers $a'$ and $b'$ with $1 \\leq a' \\leq 14$, $1 \\leq b' \\leq 10$, and $t = 6a' + 10b'$. Let $n$ be the smallest positive integer such that $1 \\leq n \\leq u$, $n \\equiv a \\pmod{7}$, and $n \\equiv b \\pmod{k}$. Find the value of $n$.", "answer": 26, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"m\": Const(7),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"a\": SumOverDivisors(n=Const(value=5), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"b\": Const(4),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=14)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=184)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["B3/MAX_PRIME_BELOW", "LIN_FORM", "K3"], "recipe_id": "58a175", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.084, "created_at": "2026-02-08T04:26:26.490664Z", "verification": {"verified": true, "answer": 26, "timestamp": "2026-02-08T04:26:26.574664Z"}, "problem_hash": "933c65", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "8627c7", "alias": "comb_count_derangements_v1_784195855_2673", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ such that $x \\in \\{1, 2\\}$ and $y \\in \\{1, 2, 3, 4, 5, 6, 7\\}$. Let $m$ be the number of elements in $A$.\n\nDefine $t$ as the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$.\n\nLet $n = t \\cdot \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Note that the sum has only one term.\n\nCompute the number of derangements of $n$ elements, denoted $!n$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(7)))),\n \"n2\": Const(0),\n \"f\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"t\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"t\")),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1/BINOMIAL_ALTERNATING"], "recipe_id": "365554", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T05:55:45.039809Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T05:55:45.042328Z"}, "problem_hash": "92e541", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "69d722", "alias": "nt_gcd_compute_v1_458359167_1600", "problem": "Let $n_1$ be the number of integers $t$ with $5 \\leq t \\leq 12$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 3$, and $t = 3a + 2b$. Let $m = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function. Let $n$ be the smallest integer greater than or equal to 2 that divides $224939$. Let $c = \\mu(n)^2$. Define $a = 168090 \\cdot c$ and $b = 271530 \\cdot m$. Compute $\\gcd(a, b)$.", "answer": 12930, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=12)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(224939))))),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Mul(Const(168090), Ref(\"c\")),\n \"b\": Mul(Const(271530), Ref(\"m\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "LIN_FORM/MOBIUS_SQUAREFREE"], "recipe_id": "490275", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T04:46:40.013779Z", "verification": {"verified": true, "answer": 12930, "timestamp": "2026-02-08T04:46:40.017787Z"}, "problem_hash": "2fc684", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K18": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "baf63c", "alias": "comb_sum_binomial_row_v1_168721529_1444", "problem": "Let $c = 2$. Let $m$ be the smallest divisor of $35$ that is at least $2$. Let $S$ be the set of all prime numbers $n$ such that $c \\leq n \\leq 5$. Define $n$ to be the sum\n$$\n\\sum_{k=1}^{\\max(S)} \\varphi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor.\n$$\nCompute $2^n$.", "answer": 32768, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW/K2"], "recipe_id": "ff4923", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:42:03.352117Z", "verification": {"verified": true, "answer": 32768, "timestamp": "2026-02-08T13:42:03.355950Z"}, "problem_hash": "33daf1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 651}, "timestamp": "2026-02-09T17:09:36.686Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K2": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "dd742e", "alias": "nt_count_with_divisor_count_v1_784195855_788", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $P$ to be the maximum value of $xy$ over all such pairs.\n\nLet $T$ be the set of all positive integers $n$ such that $n \\leq 13225$ and the number of positive divisors of $n$ is equal to $P$. Compute the number of elements in $T$.\n\nLet $A$ be the sum of the squares of the number of elements in $T$ and 180, plus the product of 180 and the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 625$. Compute $A$.", "answer": 3155, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(13225),\n \"div_count\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": Const(180),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(625)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_quadratic_mod", "MOBIUS_COPRIME", "B1"], "recipe_id": "808a68", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_quadratic_mod", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.657, "created_at": "2026-02-08T04:36:20.990438Z", "verification": {"verified": true, "answer": 3155, "timestamp": "2026-02-08T04:36:21.647327Z"}, "problem_hash": "a71849", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "MOBIUS_COPRIME": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "438433", "alias": "antilemma_sum_primes_v1_1742523217_1649", "problem": "Let $e$ be the number of prime factors of $1$, counted with multiplicity. Let $p = 3$, and let $q$ be the smallest divisor of $170867$ that is at least $2$. Define $n = p \\cdot q$. Let $c = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Define $k = 2c + ec$. Compute the sum of all prime numbers $m$ such that $k \\le m \\le 3$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(3),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(170867))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"_n\": Mul(Sum(Const(2), Ref(\"e\")), Ref(\"c\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO", "SUM_PRIMES"], "recipe_id": "e6c962", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE", "SUM_PRIMES"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T04:05:42.595366Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T04:05:42.611311Z"}, "problem_hash": "ce5dbf", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "7a7809", "alias": "nt_euler_phi_compute_v1_784195855_982", "problem": "Let $N=41616$ and $p=29$. Consider the set of all positive integers $u$ for which there exists a positive integer $v$ such that\n$$uv=6,\\quad \\gcd(u,v)=1,\\quad u 0] + [D = 0]$, where $[\\cdot]$ denotes the Iverson bracket (1 if true, 0 otherwise). Let $C$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 48984$ and $\\binom{48984}{j} \\equiv 1 \\pmod{2}$. Compute $C - r$.", "answer": 1022, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"a\": Const(2),\n \"b\": Const(-12),\n \"c\": Const(-32),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=27000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_n\"), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(48984)), Eq(Mod(value=Binom(n=Const(48984), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["V8/ENDING_negation_mod", "COPRIME_PAIRS"], "recipe_id": "0baed0", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_negation_mod", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T05:36:06.035548Z", "verification": {"verified": true, "answer": 1022, "timestamp": "2026-02-08T05:36:06.049039Z"}, "problem_hash": "c6ea19", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "K18": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "3725d3", "alias": "antilemma_sum_primes_v1_677425708_4236", "problem": "Let $w$ be the number of distinct prime factors of $1$. Let $n = 10 \\cdot 16 + 1$. Let $v$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 3$. Compute the remainder when $$353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot (|x|^2 + 1 \\bmod 101) + 215534 \\cdot (|x| + 23 \\bmod (103 + v))$$ is divided by $1009091$, and then take the result modulo $52575 + w$.", "answer": 19984, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"a\": Const(10),\n \"b\": Const(16),\n \"n\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"_c\": Const(23),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Sum(Const(103), Ref(\"v\"))))), modulus=Const(1009091)), modulus=Sum(Const(52575), Ref(\"w\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "DIVISOR_PARITY", "lemma_paths": ["DIVISOR_PARITY", "OMEGA_ZERO", "SUM_PRIMES"], "recipe_id": "682408", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "OMEGA_ZERO", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:30:33.116996Z", "verification": {"verified": true, "answer": 19984, "timestamp": "2026-02-08T06:30:33.118433Z"}, "problem_hash": "2c0ec9", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "OMEGA_ZERO": "ok", "SUM_PRIMES": "ok", "DS2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "1eaecb", "alias": "comb_count_surjections_v1_784195855_6186", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3\\}$. Let $k$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 6$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Compute the value of\n$$\n\\sum_{m=1}^{|r|} \\phi(m),\n$$\nwhere $\\phi$ denotes Euler's totient function.\n\nDetermine the value of this sum.", "answer": 88642, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0", "COMB1"], "recipe_id": "4ff681", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T08:25:52.667226Z", "verification": {"verified": true, "answer": 88642, "timestamp": "2026-02-08T08:25:52.683173Z"}, "problem_hash": "cf9576", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "204b70", "alias": "nt_num_divisors_compute_v1_168721529_1948", "problem": "Let $v$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $1$, where $\\mu$ is the M\\\"obius function. Let $n_1 = 19v$. Define $w = \\lambda(n_1) + 1$, where $\\lambda$ is the Liouville function.\n\nLet $m$ be the maximum value of $x \\cdot y$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 108$. Define $n = m + w$.\n\nCompute the number of positive divisors of $n$.", "answer": 21, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19),\n \"n2\": Const(1),\n \"v\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Mul(Ref(\"_n\"), Ref(\"v\")),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(108)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"w\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "recipe_id": "e2f92d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T14:01:40.655373Z", "verification": {"verified": true, "answer": 21, "timestamp": "2026-02-08T14:01:40.661826Z"}, "problem_hash": "008013", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_SUM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_PRIMES": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V3": "no"}} -{"id": "f2958e", "alias": "nt_sum_totient_over_divisors_v1_1520064083_3638", "problem": "Let $a = 45$ and $b$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 529$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ is the M\\\"obius function. Let $f = \\Omega(13)$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Define $n = 85728 \\cdot c \\cdot f$. Compute the sum of $\\varphi(d)$ over all positive divisors $d$ of $n$, where $\\varphi$ is Euler's totient function.\n\nFind the value of this sum.", "answer": 85728, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(529),\n \"a\": Const(45),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(13),\n \"f\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Const(85728), Ref(\"c\"), Ref(\"f\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "BIG_OMEGA_ONE"], "recipe_id": "2c760e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T05:47:04.256661Z", "verification": {"verified": true, "answer": 85728, "timestamp": "2026-02-08T05:47:04.264126Z"}, "problem_hash": "917a0e", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V8": "no"}} -{"id": "32fccc", "alias": "nt_count_divisible_v1_151522320_1101", "problem": "Let $n = 2695$ and $u = 87616$. Let $d_0$ be the smallest divisor of $n$ that is at least 2. Let $r$ be the number of integers $n'$ such that $1 \\le n' \\le u$ and $n'$ is divisible by $d_0$. Let $s = \\sum_{d\\mid \\gcd(11,13)} \\mu(d)$ and $t = |r|$. Compute the remainder when $\\sum_{n'=s}^{t} \\tau(n')$ is divided by 93344.", "answer": 80592, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2695),\n \"upper\": Const(87616),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(93344)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "22070a", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.828, "created_at": "2026-02-08T03:48:28.573613Z", "verification": {"verified": true, "answer": 80592, "timestamp": "2026-02-08T03:48:31.401582Z"}, "problem_hash": "755b79", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "K16": "no", "LTE_DIFF_P2": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "4ed1fa", "alias": "nt_count_coprime_and_v1_865884756_800", "problem": "Let $S$ be the set of all integers $t$ such that $21 \\leq t \\leq 81$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 5$, and $t = 12a + 9b$. Let $d_1$ be the number of elements in $S$. Let $\\mu(d)$ denote the Möbius function. Define $g = \\sum_{d \\mid 8} \\mu(d)$. Let $k_2$ be the largest prime number $n$ such that $2 \\leq n \\leq 11$. Determine the number of positive integers $n_1$ such that $g \\leq n_1 \\leq 37768$, $\\gcd(n_1, 3) = 1$, and $\\gcd(n_1, k_2) = 1$. Find the value of this count.", "answer": 22890, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"upper\": Const(37768),\n \"k1\": Const(3),\n \"k2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), SumOverDivisors(n=GCD(a=Const(value=8), b=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=81)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b')))))))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n1\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_COPRIME", "MAX_PRIME_BELOW"], "recipe_id": "c2ee8a", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 7.046, "created_at": "2026-02-08T15:36:38.683775Z", "verification": {"verified": true, "answer": 22890, "timestamp": "2026-02-08T15:36:45.730088Z"}, "problem_hash": "60cffb", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "200438", "alias": "antilemma_v1_legendre_1742523217_3339", "problem": "Let $m = 5$. Define $n$ to be the largest integer such that $2^n$ divides $7^8 - m^8$. Let $S$ be the set of all prime numbers $p$ satisfying $2 \\leq p \\leq n$. Compute the largest integer $k$ such that the largest prime in $S$ raised to the power $k$ divides $36780!$.", "answer": 9192, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(7), Const(8)), Pow(Ref(\"_m\"), Const(8))), base=Const(2)),\n \"x\": MaxKDivides(target=Factorial(Const(36780)), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "1f0ae6", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:48:29.310765Z", "verification": {"verified": true, "answer": 9192, "timestamp": "2026-02-08T05:48:29.312984Z"}, "problem_hash": "b7c9f8", "license": "CC BY 4.0", "lemma_applicability": {"LTE_DIFF_P2": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "b5e31a", "alias": "nt_count_coprime_v1_798873815_168", "problem": "Let $h$ be the number of prime factors of $1$, counted with multiplicity.\n\nLet $a=18$. Let $b$ be the number of integers $n$ with $2\\le n\\le M$ such that $n$ is prime, where $M$ is the largest prime not exceeding $149$.\n\nLet\n\\[\nt = \\sum_{d\\mid \\gcd(a,b)} \\mu(d),\n\\]\nwhere $\\mu$ is the Möbius function, and let\n\\[\n\\text{upper} = 56169\\,t.\n\\]\nLet $k=21$, and let $R$ be the number of integers $n$ with $1\\le n\\le \\text{upper}$ such that $\\gcd(n,k)=1$.\n\nDefine $Q$ to be the remainder when\n\\[\n(78241 + h)\\,R\n\\]\nis divided by $90938$, with $0\\le Q<90938$. Find the value of $Q$.", "answer": 61204, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(1),\n \"h\": BigOmega(n=Ref(name='n')),\n \"a\": Const(18),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(149)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(Const(56169), Ref(\"t\")),\n \"k\": Const(21),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Sum(Const(78241), Ref(\"h\")), Ref(\"result\")), modulus=Const(90938)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "ce12a1", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 4.06, "created_at": "2026-02-08T02:29:55.469131Z", "verification": {"verified": true, "answer": 61204, "timestamp": "2026-02-08T02:29:59.529118Z"}, "problem_hash": "441aaf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 327, "completion_tokens": 2723}, "timestamp": "2026-02-08T19:07:01.383Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 61204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 2140}, "timestamp": "2026-02-09T13:56:17.139Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:04:31.697Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:54:40.904Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 2170}, "timestamp": "2026-02-09T00:37:39.172Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:28:37.496Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "ok_later", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": 0.98, "mid": 4.17, "hi": 7.3}} -{"id": "8a9235", "alias": "antilemma_k3_v1_151522320_927", "problem": "Let $m = 2$ and $n = 17343$. Let $x = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all integers $x$ such that $x^2 - 7043x + 432822 = 0$, and let $c = \\sum_{d \\mid \\left(\\sum_{s \\in S} s\\right)} \\phi(d)$. Compute the remainder when $c \\cdot x$ is divided by $96970$. Find the value of this expression.", "answer": 61519, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(17343),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": SumOverDivisors(n=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Ref(name='_m')), Mul(Const(value=-7043), Var(name='x')), Const(value=432822)), right=Const(value=0)))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(96970)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/ENDING_affine_mod", "K3"], "recipe_id": "caab74", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:40:25.264375Z", "verification": {"verified": true, "answer": 61519, "timestamp": "2026-02-08T03:40:25.265592Z"}, "problem_hash": "60e5cd", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "ded966", "alias": "antilemma_v8_lucas_1742523217_3345", "problem": "Let $p = 2$ and $q = 17$. Define $n = p \\cdot q$. Let $v$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $a = 289$ and $b = 85 + v$. Define $u$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the M\\\"obius function. Let $\\_n = 69631 + u$. Compute the number of nonnegative integers $j$ such that $0 \\leq j \\leq \\_n$ and $\\binom{69631}{j}$ is odd. Determine the value of this quantity.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(2),\n \"q\": Const(17),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Const(289),\n \"b\": Sum(Const(85), Ref(\"v\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Sum(Const(69631), Ref(\"u\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(69631), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "DIVISOR_PARITY", "V8"], "recipe_id": "80367f", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:48:30.227205Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T05:48:30.228256Z"}, "problem_hash": "f6bf54", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "MOBIUS_COPRIME": "ok", "V8": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "MAX_VAL": "no", "V8_SUM": "no"}} -{"id": "a3a711", "alias": "algebra_quadratic_discriminant_v1_677425708_3293", "problem": "Let $b$ be the largest integer $k$ such that $3^k$ divides $\\binom{515}{206}$. Define $\\phi(k)$ as Euler's totient function. Compute the value of\n$$\n\\sum_{k=1}^{10} \\phi(k) \\left\\lfloor \\frac{10}{k} \\right\\rfloor - (b^2 - 16).\n$$", "answer": 55, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"a\": Const(1),\n \"b\": MaxKDivides(target=Binom(n=Const(515), k=Const(206)), base=Const(3)),\n \"c\": Const(4),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(Summation(var=\"k\", start=Const(1), end=Const(10), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/ENDING_negation_mod", "V7"], "recipe_id": "1bf947", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:38:12.386179Z", "verification": {"verified": true, "answer": 55, "timestamp": "2026-02-08T05:38:12.390241Z"}, "problem_hash": "e89630", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "V7": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3b": "no", "MOD_ADD": "no"}} -{"id": "0e04bc", "alias": "nt_count_coprime_v1_1125832087_1551", "problem": "Let $S$ be the set of all integers $t$ with $10 \\leq t \\leq 34$ for which there exist positive integers $a \\leq 3$ and $b \\leq 4$ such that $t = 6a + 4b$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all positive integers $n \\leq 19044$ such that $\\gcd(n, 9) = 1$. Let $r$ be the number of elements in $T$. Compute the Bell number $B_r \\bmod m$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19044),\n \"k\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=34)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_bell_mod", "ONE_PHI_1"], "recipe_id": "193aed", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.064, "created_at": "2026-02-08T03:47:27.054794Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:47:30.118441Z"}, "problem_hash": "92363d", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "ENDING_bell_mod": "ok_later", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "297780", "alias": "nt_count_coprime_v1_1874849503_655", "problem": "Let $\\text{result}$ be the number of positive integers $n$ with $1 \\leq n \\leq 72900$ such that $\\gcd(n, 36) = 1$. Let $c$ be the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $11^{|\\text{result}|} + c$ is divided by $99991$.", "answer": 96115, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(72900),\n \"k\": Const(36),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_two_stage_modexp", "ONE_PHI_2"], "recipe_id": "a036ba", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_two_stage_modexp", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.84, "created_at": "2026-02-08T13:14:31.214328Z", "verification": {"verified": true, "answer": 96115, "timestamp": "2026-02-08T13:14:37.054827Z"}, "problem_hash": "855e75", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:31:49.722Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "ENDING_two_stage_modexp": "ok_later", "K13": "no", "K5": "no", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "7349e2", "alias": "modular_count_residue_v1_1248542787_134", "problem": "Let $c = 8224$, and let $m$ be the number of positive integers $n \\le c$ such that the sum of the decimal digits of $n$ is even. Let $t$ be the number of positive integers $k \\le 28784$ that are divisible by 7. Let $r$ be the number of nonnegative integers $j \\le t$ such that $\\binom{m}{j}$ is odd. Let $N$ be the number of positive integers $n \\le 82944$ such that $n \\equiv r \\pmod{5}$. Find the remainder when the Fibonacci number $F_N$ is first divisible by $N + 2$, that is, find the smallest positive integer $k$ such that $F_k \\equiv 0 \\pmod{N + 2}$. Compute this $k$.", "answer": 944, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8224),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"_n\": Const(2),\n \"upper\": Const(82944),\n \"m\": Const(5),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(28784)), Divides(divisor=Const(7), dividend=Var(\"k\"))), domain='positive_integers'))), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C2/V8"], "recipe_id": "e54fe8", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "L3B", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.044, "created_at": "2026-02-08T02:57:56.699768Z", "verification": {"verified": true, "answer": 944, "timestamp": "2026-02-08T02:57:59.743815Z"}, "problem_hash": "3ef318", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 944, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 299, "completion_tokens": 6347}, "timestamp": "2026-02-09T00:48:10.915Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 944, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 6164}, "timestamp": "2026-02-09T13:33:09.247Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:58:05.186Z"}], "lemma_applicability": {"L3B": "ok", "C2": "ok_later", "V8": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "L3c": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "0025a9", "alias": "antilemma_v8_lucas_677425708_991", "problem": "Let $ x $ be the number of integers $ j $ such that $ \\sum_{d\\mid \\gcd(117,117)} \\mu(d) \\leq j \\leq 98301 $ and\n$$\n\\binom{98301}{j} \\equiv \\varphi(1) \\pmod{2},\n$$\ndefined over nonnegative integers $ j $. Let $ m $ be the number of primes $ n $ with $ 2 \\leq n \\leq 43 $. Compute the value of\n$$\nx + 2^{x \\bmod m} \\bmod 71677.\n$$\nFind the value of this result.", "answer": 33024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98301),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=GCD(a=Const(value=117), b=Const(value=117)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Const(98301)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), EulerPhi(n=Const(1)))), domain='nonnegative_integers')),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(43)), IsPrime(Var(\"n\"))))))), modulus=Const(71677))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/ENDING_mod_exp", "MOBIUS_COPRIME", "ONE_PHI_1", "V8"], "recipe_id": "62b4a3", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_mod_exp", "MOBIUS_COPRIME", "ONE_PHI_1", "V8"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T03:56:41.833738Z", "verification": {"verified": true, "answer": 33024, "timestamp": "2026-02-08T03:56:41.836766Z"}, "problem_hash": "2d09e7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33024, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 2827}, "timestamp": "2026-02-09T14:38:23.198Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "V8": "ok", "ENDING_mod_exp": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K15": "no", "L3b": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "c00371", "alias": "nt_count_divisors_in_range_v1_1918700295_2755", "problem": "Let $m$ be the largest integer such that $17^m$ divides $239072435685151324847153^2$. Let $a$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 491401$. Let $n = 50400$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the remainder when $54599$ times this count is divided by $94062$.", "answer": 59450, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(17),\n \"_m\": MaxKDivides(target=Pow(Const(239072435685151324847153), Const(2)), base=Ref(\"_c\")),\n \"_n\": Const(94062),\n \"n\": Const(50400),\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(491401)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(54599), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/COMB1", "B3"], "recipe_id": "7d0ee1", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "K14"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T08:11:20.775152Z", "verification": {"verified": true, "answer": 59450, "timestamp": "2026-02-08T08:11:20.795502Z"}, "problem_hash": "cea740", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K14": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "V8_SUM": "no"}} -{"id": "f02553", "alias": "nt_sum_phi_v1_865884756_132", "problem": "Let $N$ be the number of ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 20$ and $1 \\leq j \\leq 44$ such that $\\gcd(i,j) = 1$. Let $U$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $N$, where $\\phi$ denotes Euler's totient function. Compute the sum of $\\phi(n)$ over all positive integers $n$ with $1 \\leq n \\leq U$.", "answer": 93734, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(44))))),\n \"upper\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COUNT_COPRIME_GRID/K3"], "recipe_id": "aa6702", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.159, "created_at": "2026-02-08T15:12:07.620742Z", "verification": {"verified": true, "answer": 93734, "timestamp": "2026-02-08T15:12:07.779438Z"}, "problem_hash": "952483", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "K3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K5": "no", "LTE_DIFF_P2": "no"}} -{"id": "7da62a", "alias": "diophantine_fbi2_count_v1_153355830_2028", "problem": "Let $k = 120$. Compute the number of positive integers $d$ such that $5 \\leq d \\leq 64$, $d$ divides $k$, and $6 \\leq \\frac{k}{d} \\leq 65$. Let this number be $r$. Find the value of $r + 2^r \\bmod 89251$, where the exponentiation is reduced modulo 14 before computing the power.", "answer": 135, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(120),\n \"a\": Const(4),\n \"b\": Const(5),\n \"upper\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(64)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(65))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(14))), modulus=Const(89251))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_mod_exp", "LIN_FORM"], "recipe_id": "0d5363", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "ENDING_mod_exp", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.052, "created_at": "2026-02-08T06:52:26.818434Z", "verification": {"verified": true, "answer": 135, "timestamp": "2026-02-08T06:52:26.870501Z"}, "problem_hash": "e0362f", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "ENDING_mod_exp": "ok_later", "C2": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "7b5ba7", "alias": "nt_sum_gcd_range_mod_v1_677425708_2406", "problem": "Let $p=17$, and let\n\\[f\\equiv (16!+1)\\pmod{17},\\quad 0\\le f<17.\n\\]\n\nLet $n=5$ and define $s=\\lambda(n)+1$, where $\\lambda$ is the Liouville function. Let $N=6666$.\n\nLet $k_0$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1\\le a\\le 60,\\quad 1\\le b\\le 67,\\quad 9\\le t\\le 554,\\quad t=7a+2b.\n\\]\nDefine $k=k_0+f$.\n\nLet\n\\[S=\\sum_{n=1}^{N} \\gcd(n,k),\\]\nand let $r$ be the remainder when $S$ is divided by $10939$.\n\nLet $r_1$ be the remainder when $r$ is divided by $307$, and let $r_2$ be the remainder when $r$ is divided by $317$.\n\nLet $M$ be the largest prime number between $2$ and $2008$, inclusive. Define\n\\[T\\equiv r_1+M\\cdot r_2\\pmod{74119+s},\\quad 0\\le T<74119+s.\n\\]\n\nFind the value of $T$.", "answer": 38046, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(317),\n \"p\": Const(17),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(5),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"N\": Const(6666),\n \"k\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=60)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=67)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=554)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), Ref(\"f\")),\n \"M\": Const(10939),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(307)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(2008)), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Sum(Const(74119), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE/ENDING_two_moduli", "LIN_FORM/WILSON"], "recipe_id": "630f32", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 2, "lemma_set": ["ENDING_two_moduli", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.305, "created_at": "2026-02-08T05:01:55.428029Z", "verification": {"verified": true, "answer": 38046, "timestamp": "2026-02-08T05:01:55.732849Z"}, "problem_hash": "e13686", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_two_moduli": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "WILSON": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no"}} -{"id": "0d5aa7", "alias": "antilemma_sum_factor_cartesian_v1_1520064083_1813", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 30$, such that $\\sum_{d \\mid \\gcd(3,5)} \\mu(d) \\neq 0$, where $\\mu$ is the M\\\"obius function. Let $x$ be the sum of $i \\cdot j$ over all such pairs $(i, j)$ in $S$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x y = 15015625$. Let $s_{\\min}$ be the minimum value of $x + y$ over all such pairs in $T$. Compute the remainder when $s_{\\min} - x$ is divided by $53361$.", "answer": 48091, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53361),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=3), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(30)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(15015625)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "SUM_FACTOR_CARTESIAN", "MOBIUS_COPRIME"], "recipe_id": "060f32", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:19:06.018487Z", "verification": {"verified": true, "answer": 48091, "timestamp": "2026-02-08T04:19:06.020082Z"}, "problem_hash": "1818d9", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V8": "no"}} -{"id": "f45427", "alias": "antilemma_sum_equals_v1_1125832087_942", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 68$, $1 \\leq j \\leq 69$, and $i + j = 70$. Compute the value of\n\\[\n\\left(353702 \\cdot (|x| \\bmod a) + 329703 \\cdot \\left(|x|^2 \\bmod 1\\right) + 215534 \\cdot (|x| \\bmod 3)\\right) \\bmod 103\n\\]\nwhere $a$ is the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 97$, $1 \\leq j \\leq 98$, and $i + j = 98$, and then take the result modulo $53794$.", "answer": 32387, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(68)), right=IntegerRange(start=Const(1), end=Const(69))))),\n \"_c\": Const(3),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(98)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(98))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_n\")), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(102)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(101)), right=IntegerRange(start=Const(1), end=Const(101))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(53794)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_crt_mix_3", "COUNT_SUM_EQUALS"], "recipe_id": "56da18", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_crt_mix_3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T03:22:23.378690Z", "verification": {"verified": true, "answer": 32387, "timestamp": "2026-02-08T03:22:23.390477Z"}, "problem_hash": "425747", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "5a9f31", "alias": "nt_euler_phi_compute_v1_1915831931_1463", "problem": "Let $m = 12$ and $n = 68644$. Define $A$ to be the set of all positive integers $d$ such that $$d \\geq \\text{the number of integers } n_1 \\text{ with } 1 \\leq n_1 \\leq m \\text{ and } 8 \\mid F_{n_1},$$ and $d$ divides $6907543$. Let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when $$\\min(A) - \\varphi(n)$$ is divided by $64767$.", "answer": 30754, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(64767),\n \"n\": Const(68644),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_m\")), Divides(divisor=Const(8), dividend=Fibonacci(arg=Var(name='n1'))))))), Divides(divisor=Var(\"d\"), dividend=Const(6907543))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MIN_PRIME_FACTOR/ENDING_negation_mod"], "recipe_id": "009e2d", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_negation_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T16:09:36.641181Z", "verification": {"verified": true, "answer": 30754, "timestamp": "2026-02-08T16:09:36.644574Z"}, "problem_hash": "4f00c1", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "ENDING_negation_mod": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "V1": "no", "V3": "no"}} -{"id": "5e9506", "alias": "nt_count_phi_equals_v1_809748730_63", "problem": "Let $k = 764$ and let $\\varphi(n)$ denote Euler's totient function. Define $\\text{result}$ to be the number of positive integers $n \\leq 3000$ such that $\\varphi(n) = k$. Let $S$ be the set of positive integers $t$ such that $5 \\leq t \\leq 681$ and there exist positive integers $a \\leq 167$, $b \\leq 90$ satisfying $t = 3a + 2b$. Let $m$ be the number of positive integers $n \\leq |\\text{result}|$ such that $3$ divides $n$ and $\\gcd(n, 14) = 1$. Compute\n$$\n353702 \\cdot (|\\text{result}| \\bmod m) + 329703 \\cdot ((|\\text{result}|^2 + 1) \\bmod 101) + 215534 \\cdot (|\\text{result}| \\bmod 41)\n$$\nand find the remainder when this sum is divided by $69514$.", "answer": 28309, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": Const(3000),\n \"k\": Const(764),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"_c\": Const(41),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=167)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=90)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=681)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_m\")), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(69514)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C5/ENDING_crt_mix_3"], "recipe_id": "0f69f7", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_crt_mix_3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.494, "created_at": "2026-02-08T11:18:46.976440Z", "verification": {"verified": true, "answer": 28309, "timestamp": "2026-02-08T11:18:47.470190Z"}, "problem_hash": "8c1aa3", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "C5": "ok_later", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}} -{"id": "0e12eb", "alias": "antilemma_v1_legendre_1116507919_74", "problem": "Let $c = 2$. Let $m$ be the smallest integer $d \\geq c$ that divides 2205. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 2064969$. Define $n$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Determine the largest integer $k$ such that $m^k$ divides $n!$.", "answer": 1433, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(2205))))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2064969)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/B3/V1", "V1"], "recipe_id": "384316", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:24:14.996390Z", "verification": {"verified": true, "answer": 1433, "timestamp": "2026-02-08T02:24:14.997725Z"}, "problem_hash": "98cc5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1433, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 5994}, "timestamp": "2026-02-08T19:00:39.135Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1433, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 1297}, "timestamp": "2026-02-09T12:55:28.111Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:02:27.326Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1433, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 3389}, "timestamp": "2026-02-09T15:02:46.533Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "B3": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "7bca39", "alias": "nt_sum_gcd_range_mod_v1_1520064083_3502", "problem": "Let $ N = 7396 $ and $ k = 252 $. Compute the sum $ \\sum_{n=1}^{N} \\gcd(n, k) $, and let $ \\text{result} $ be the remainder when this sum is divided by $ 10651 $. Let $ a = \\text{result} \\bmod 97 $, $ b = (\\text{result}^2 + \\phi(1)) \\bmod d_1 $ where $ d_1 $ is the smallest integer $ \\geq 2 $ that divides $ 1113121 $, and $ c = |\\text{result}| \\bmod p_{\\max} $ where $ p_{\\max} $ is the largest prime between $ 2 $ and $ 105 $. Define $ Q $ to be the remainder when $ 353702a + 329703b + 215534c $ is divided by $ 1009091 $, and then take the remainder of that result modulo $ 88491 $. Find $ Q $.", "answer": 62486, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(88491),\n \"_n\": Const(2),\n \"N\": Const(7396),\n \"k\": Const(252),\n \"M\": Const(10651),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), EulerPhi(n=Const(1))), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1113121))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(105)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_crt_mix_3", "MAX_PRIME_BELOW/ENDING_crt_mix_3", "ONE_PHI_1"], "recipe_id": "d7f3b5", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.345, "created_at": "2026-02-08T05:43:26.668892Z", "verification": {"verified": true, "answer": 62486, "timestamp": "2026-02-08T05:43:27.013636Z"}, "problem_hash": "ee9982", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V7": "no"}} -{"id": "4aff8d", "alias": "modular_min_modexp_v1_1918700295_3971", "problem": "Let $a = 11$. Let $b$ be the sum of all positive integers $n \\leq 279$ such that $\\gcd(n, 20) = 1$, and then take the count of all positive integers $n$ such that $1 \\leq n \\leq b$ and $n \\equiv 0 \\pmod{28}$. Let $m = 523$ and let $x$ be the smallest positive integer such that $1 \\leq x \\leq 29$ and $a^x \\equiv b \\pmod{m}$. Determine the value of $Q = (70051 \\cdot x) \\mod 96415$.", "answer": 51210, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(11),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(279)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1)))))), Eq(Mod(value=Var(\"n\"), modulus=Const(28)), Const(0))))),\n \"m\": Const(523),\n \"upper\": Const(29),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(70051),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(96415)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/SUM_DIVISIBLE"], "recipe_id": "67698e", "seed_template_id": "modular_min_modexp_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C4", "SUM_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.037, "created_at": "2026-02-08T09:04:06.898634Z", "verification": {"verified": true, "answer": 51210, "timestamp": "2026-02-08T09:04:06.935981Z"}, "problem_hash": "dc033b", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "DS2": "no", "L3b": "no", "V3": "no", "V5": "no"}} -{"id": "05dcd7", "alias": "nt_count_divisible_v1_1520064083_3282", "problem": "Let $n$ be a positive integer. Define $\\phi = \\gcd(n, 15)$. Let $d$ be the number of positive integers $n$ such that $1 \\leq n \\leq 22$ and $\\gcd(n, 15) = 1$. \n\nNow, let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 55696$ and $n \\equiv r \\pmod{d}$, where $r$ is the sum over all positive divisors $d$ of $s$ of the M\\\"obius function $\\mu(d)$, and $s$ is the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 225$. \n\nCompute the number of elements in $S$.", "answer": 4641, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"upper\": Const(55696),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=225)))), expr=Sum(Var(name='x'), Var(name='y')))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_SUM", "C4"], "recipe_id": "4f5e75", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C4", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.147, "created_at": "2026-02-08T05:33:32.625761Z", "verification": {"verified": true, "answer": 4641, "timestamp": "2026-02-08T05:33:35.773107Z"}, "problem_hash": "0afa3f", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok", "MOBIUS_SUM": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "855188", "alias": "comb_bell_compute_v1_1742523217_2324", "problem": "Let $ n = 9 $. Compute the Bell number $ B_n $, which represents the number of partitions of a set with $ n $ elements. Find the value of $ B_9 $.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(9),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["MAX_PRIME_BELOW/SUM_ARITHMETIC/B1"], "recipe_id": "b899c2", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T04:42:37.389431Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T04:42:37.406939Z"}, "problem_hash": "c389a5", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "B1": "ok_later", "SUM_ARITHMETIC": "ok_later", "C2": "no", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_SUB": "no"}} -{"id": "2b89c2", "alias": "antilemma_sum_primes_v1_548369836_272", "problem": "Let $D$ be the set of all integers $d$ with $2\\le d$ such that $d$ divides $6615$, and let $u$ be the minimum element of $D$. Let $P$ be the set of all prime numbers $n$ with $2\\le n\\le u$, and let $p_{\\max}$ be the maximum element of $P$.\n\nLet $T$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=72,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 72$ and $\\gcd(p, q) = 1$. Define $c = b^d$. Compute the remainder when $52621 \\cdot c$ is divided by $75744$.", "answer": 59840, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17303),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n \"_c\": Const(52621),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75744)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "ee9ac8", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:18:29.384179Z", "verification": {"verified": true, "answer": 59840, "timestamp": "2026-02-08T03:18:29.388699Z"}, "problem_hash": "a00287", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "3c5c36", "alias": "nt_min_coprime_above_v1_677425708_2876", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 1420$ and $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}.$$ Let $m$ be the number of elements in $S$. Define $\\mathcal{M}$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $m$, where $\\phi$ denotes Euler's totient function. Determine the value of the smallest positive integer $k$ such that $72901 \\leq k \\leq 73194$ and $\\gcd(k, \\mathcal{M}) = 1$.", "answer": 72901, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(72900),\n \"upper\": Const(73194),\n \"modulus\": SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=1420)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/K3"], "recipe_id": "e1c5e3", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.027, "created_at": "2026-02-08T05:21:46.207497Z", "verification": {"verified": true, "answer": 72901, "timestamp": "2026-02-08T05:21:46.234790Z"}, "problem_hash": "d0e806", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "K3": "ok_later", "K17": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V7": "no"}} -{"id": "aef17b", "alias": "nt_count_digit_sum_v1_1742523217_2111", "problem": "Let $\\text{upper}$ be the number of positive integers $k$ such that $1 \\le k \\le 209979$ and $21$ divides $k$. Let $\\text{target\\_sum}$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 36$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\le n \\le \\text{upper}$ and the sum of the decimal digits of $n$ equals $\\text{target\\_sum}$. Let $Q$ be the remainder when $28093 \\cdot \\text{result}$ is divided by $55902$. Find $Q$.", "answer": 30979, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(55902),\n \"_n\": Const(28093),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(1))), Leq(Var(\"k\"), Const(209979)), Divides(divisor=Const(21), dividend=Var(\"k\"))), domain='positive_integers')),\n \"target_sum\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["ONE_PHI_1", "C2", "B3"], "recipe_id": "f0f0ea", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.708, "created_at": "2026-02-08T04:28:36.376165Z", "verification": {"verified": true, "answer": 30979, "timestamp": "2026-02-08T04:28:37.084535Z"}, "problem_hash": "21ca37", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C2": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}} -{"id": "9dba80", "alias": "nt_euler_phi_compute_v1_548369836_151", "problem": "Let $n_1 = 329$. Define $w$ as the sum of $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$ itself. Let $p$ be the number of positive integers $k$ such that $1 \\leq k \\leq 65$ and $5$ divides $k$. Define $n_2 = 5p$. Let $\\lambda(n_2)$ be the Liouville function evaluated at $n_2$, which is $(-1)^{\\Omega(n_2)}$ where $\\Omega(n_2)$ is the total number of prime factors of $n_2$ counted with multiplicity. Define $n = 32768 + w$ multiplied by $\\lambda(n_2)$. Compute $\\phi(n)$, the number of positive integers less than or equal to $n$ that are relatively prime to $n$.", "answer": 16384, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32768),\n \"n2\": Const(329),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(65)), Divides(divisor=Const(5), dividend=Var(\"k\"))), domain='positive_integers')),\n \"q\": Const(5),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Sum(Ref(\"_n\"), Ref(\"w\")), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "f912eb", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C2", "EULER_TOTIENT_SUM", "LIOUVILLE_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T02:47:14.741522Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T02:47:14.744716Z"}, "problem_hash": "3e526d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 817}, "timestamp": "2026-02-08T19:54:43.763Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 795}, "timestamp": "2026-02-09T20:19:39.062Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 4861}, "timestamp": "2026-02-09T22:29:29.092Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 602}, "timestamp": "2026-02-09T02:48:02.734Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 610}, "timestamp": "2026-02-09T09:28:58.793Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:26:09.240Z"}], "lemma_applicability": {"C2": "ok", "EULER_TOTIENT_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.54, "mid": 1.1, "hi": 4.5}} -{"id": "6bfd76", "alias": "sequence_count_fib_divisible_v1_865884756_4058", "problem": "Compute the number of positive integers $n$ at most $691$ such that $15$ divides the $n$th Fibonacci number.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(691),\n \"d\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COMB1/COMB1", "B3"], "recipe_id": "07dce9", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COMB1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.175, "created_at": "2026-02-08T17:43:36.824789Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T17:43:37.000034Z"}, "problem_hash": "e16e3f", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COMB1": "ok", "DS2": "no", "K16": "no", "K18": "no", "L3c": "no", "LTE_SUM": "no"}} -{"id": "250c39", "alias": "antilemma_sum_factor_cartesian_v1_1125832087_783", "problem": "Let $m=664$, and let $n$ be the largest integer $k$ such that $3^k$ divides $9^m$.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 14$ and $1\\le j\\le 11$. Let\n$$x=\\sum i j,$$\nwhere the sum is taken over all such ordered pairs $(i,j)$.\n\nLet $c$ be the largest integer $d$ with $1\\le d\\le n$ such that $d$ divides $1815376$.\n\nLet $Q$ be the remainder when $cx$ is divided by $65697$.\n\nCompute $Q$.", "answer": 5460, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(664),\n \"_n\": MaxKDivides(target=Pow(Const(9), Ref(\"_m\")), base=Const(3)),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(11)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1815376))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(65697)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MAX_DIVISOR/ENDING_affine_mod", "SUM_FACTOR_CARTESIAN"], "recipe_id": "6c8bd3", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "K14", "MAX_DIVISOR", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:18:19.008674Z", "verification": {"verified": true, "answer": 5460, "timestamp": "2026-02-08T03:18:19.010439Z"}, "problem_hash": "4b3178", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_affine_mod": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_MUL": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "c3049b", "alias": "nt_count_divisible_and_v1_1125832087_2038", "problem": "Let $d$ be the least integer greater than or equal to $2$ that divides $105$. Let $n_1=1$, and let $s$ be the number of prime factors of $n_1$, counted with multiplicity. Let $p=7$, and let $n=p^d$. Let $e$ be the number of distinct prime factors of $n$.\n\nLet $d_1=6$. For each integer $t$, consider whether there exist integers $a$ and $b$ such that $1\\le a\\le 3$, $1\\le b\\le 3$, $5\\le t\\le 15$, and\n$$t=3a+2b.$$\nLet $d_2$ be the number of integers $t$ for which such integers $a$ and $b$ exist.\n\nLet $\\text{upper}=27594$. Let $\\text{result}$ be the number of integers $n$ with $1\\le n\\le \\text{upper}$ such that\n\\begin{itemize}\n \\item $n\\equiv 0\\pmod{d_1}$, and\n \\item $n\\equiv \\displaystyle \\sum_{d\\mid \\gcd(9,24)} \\mu(d) \\pmod{d_2}$,\n\\end{itemize}\nwhere $\\mu(d)$ denotes the Möbius function.\n\nLet $c=19059$, and define\n$$Q\\equiv c\\cdot \\text{result} \\pmod{\\bigl(54985+s\\bigr)e},$$\nwith $0\\le Q<\\bigl(54985+s\\bigr)e$.\n\nFind the value of $Q$. ", "answer": 20412, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(105))))),\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(7),\n \"n\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"e\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(27594),\n \"d1\": Const(6),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=GCD(a=Const(value=9), b=Const(value=24)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": Const(19059),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Sum(Const(54985), Ref(\"s\")), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIN_FORM/OMEGA_ONE", "BIG_OMEGA_ZERO", "MOBIUS_COPRIME"], "recipe_id": "17b787", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 1.024, "created_at": "2026-02-08T04:17:36.222282Z", "verification": {"verified": true, "answer": 20412, "timestamp": "2026-02-08T04:17:37.246559Z"}, "problem_hash": "a21ad3", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "LIN_FORM": "ok_later", "OMEGA_ONE": "ok_later", "K18": "no", "L3b": "no", "LTE_SUM": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "b0a43e", "alias": "diophantine_fbi2_count_v1_865884756_448", "problem": "Let $k = 420$. Consider the set of all integers $d$ such that $2 \\leq d \\leq 181$, $d$ divides $k$, and $3 \\leq \\frac{k}{d} \\leq 182$. Let $r$ denote the number of such integers $d$. Let $m$ be the smallest divisor of $8091182401$ that is at least 2. Compute the remainder when\n$$\n(r \\bmod m) + \\left(\\nu_5(28020!) \\cdot (r \\bmod 337)\\right)\n$$\nis divided by $82350$, where $\\nu_5(N!)$ denotes the largest power of 5 dividing $N!$.", "answer": 57690, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(337),\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(181)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(182))))),\n \"_c\": MaxKDivides(target=Factorial(Const(28020)), base=Const(5)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(8091182401)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(82350)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_two_moduli", "V1/ENDING_two_moduli"], "recipe_id": "b12eab", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.031, "created_at": "2026-02-08T15:24:25.054753Z", "verification": {"verified": true, "answer": 57690, "timestamp": "2026-02-08T15:24:25.085974Z"}, "problem_hash": "4958eb", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "ENDING_two_moduli": "ok_later", "K5": "same_pattern_wrong", "K13": "no", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V7": "no"}} -{"id": "9bcfaa", "alias": "modular_sum_quadratic_residues_v1_153355830_986", "problem": "Let $m = 2$. Let $S$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 51$, $1 \\leq b \\leq 105$, $10 \\leq t \\leq 726$, and $t = 6a + 4b$. Let $p$ be the largest prime number $n$ such that $m \\leq n \\leq |S|$. Let $T$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $pq = 180$, $\\gcd(p, q) = 1$, and $p < q$. Compute $\\dfrac{p(p-1)}{|T|}$, and let $Q$ be the remainder when this value is divided by $92492$. Find the value of $Q$.", "answer": 34668, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(92492),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=51)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=105)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=726)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=180)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"Q\": Mod(value=Mul(Const(44809), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "e5cc9f", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:20:33.154323Z", "verification": {"verified": true, "answer": 34668, "timestamp": "2026-02-08T04:20:33.160022Z"}, "problem_hash": "45852e", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "fea862", "alias": "nt_gcd_compute_v1_865884756_1090", "problem": "Let $ n = 3 $. Define $ g $ to be the largest integer $ k $ such that $ 11^k $ divides $ 161051^n $. Let $ m = 4 $ and $ n_1 = 11 $. Define $ a_1 = g \\cdot m $ and $ b_1 = g \\cdot n_1 $. Let $ c $ be the sum of $ \\mu(d) $ over all positive divisors $ d $ of $ \\gcd(a_1, b_1) $, where $ \\mu $ denotes the M\\\"obius function. Let $ n = 28561 $ and define $ e = \\mu(n)^2 $. Let $ a = 182332 $ and $ b = 410247 + c $. Define $ \\text{result} = \\gcd(a, b) $. Compute the remainder when $ (58195 + e) \\cdot \\text{result} $ is divided by $ 89739 $.", "answer": 17845, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"g\": MaxKDivides(target=Pow(Const(161051), Ref(\"_n\")), base=Const(11)),\n \"m\": Const(4),\n \"n1\": Const(11),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(28561),\n \"e\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Const(182332),\n \"b\": Sum(Const(410247), Ref(\"c\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Sum(Const(58195), Ref(\"e\")), Ref(\"result\")), modulus=Const(89739)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "recipe_id": "e96419", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T15:47:13.156247Z", "verification": {"verified": true, "answer": 17845, "timestamp": "2026-02-08T15:47:13.162728Z"}, "problem_hash": "f23919", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "c60804", "alias": "comb_sum_binomial_row_v1_1520064083_2940", "problem": "Let $m = 2$. Let $T$ be the set of all integers $t$ with $10 \\leq t \\leq 35$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 6$, $1 \\leq b \\leq 6$, and $t = 2a + 3b + 5$. Let $n$ be the number of integers $k$ such that the sum of the digits of $k$ is even, and $k$ lies in the interval from $\\sum_{d\\mid \\gcd(12,25)} \\mu(d)$ to $|T|$, inclusive. Compute $65025 - m^n$.", "answer": 60929, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=35)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=5)))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": Pow(Ref(\"_m\"), Ref(\"n\")),\n \"Q\": Sub(Const(65025), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3B", "MOBIUS_COPRIME"], "recipe_id": "f2cd90", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:20:14.471035Z", "verification": {"verified": true, "answer": 60929, "timestamp": "2026-02-08T05:20:14.474768Z"}, "problem_hash": "64c084", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "L3B": "ok_later", "C2": "no", "K17": "no", "K5": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "197312", "alias": "comb_bell_compute_v1_677425708_1149", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 10$ such that $i + j = 10$. Let $r$ be the Bell number $B_n$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 12250000$. Let $m$ be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Compute the remainder when $m - r$ is divided by 99643.", "answer": 85496, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(99643),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(10)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(10))))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(12250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "e16daa", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T04:01:12.465894Z", "verification": {"verified": true, "answer": 85496, "timestamp": "2026-02-08T04:01:12.476549Z"}, "problem_hash": "3ae29c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 85496, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 4559}, "timestamp": "2026-02-09T16:17:11.210Z"}], "lemma_applicability": {"B3": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "2ae477", "alias": "modular_mod_compute_v1_784195855_1637", "problem": "Let $a = 88804$ and $m = 44100$. Let $r$ be the remainder when $a$ is divided by $m$. Let $k$ be the largest integer such that $7^k$ divides $30254!$. Compute the value of $\\sum_{d \\mid k} \\phi(d) - r$.", "answer": 4436, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(88804),\n \"m\": Const(44100),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Sub(SumOverDivisors(n=MaxKDivides(target=Factorial(arg=Const(value=30254)), base=Const(value=7)), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/K3/ENDING_negation_mod"], "recipe_id": "116019", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K3", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:11:03.711348Z", "verification": {"verified": true, "answer": 4436, "timestamp": "2026-02-08T05:11:03.712590Z"}, "problem_hash": "8eb480", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "ENDING_negation_mod": "ok_later", "K3": "ok_later", "K5": "same_pattern_wrong", "K17": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "7f6abe", "alias": "nt_sum_over_divisible_v1_677425708_1454", "problem": "Let $n_0 = 2$, $U = 65536$, and $d_0 = 25$. Let $r$ be the sum of all positive integers $n$ such that $1 \\leq n \\leq U$ and $n \\equiv s \\pmod{25}$, where $s$ is the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(80, 72)$, and $\\mu$ denotes the M\\\"obius function. Let $c$ be the number of positive integers $t$ such that $37 \\leq t \\leq 3355$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 19$, $1 \\leq b \\leq 246$, and $t = 21a + 12b + 4$. Let $Q$ be the sum of $c$ and the expression $\\sum_{i=0}^{k-1} d_i (i+1)^2$, where $d_i$ is the $i$-th decimal digit (starting from the units place as $i=0$) of $|r|$, and $k$ is the number of digits in $|r|$. Find the value of $Q$.", "answer": 2269, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(65536),\n \"divisor\": Const(25),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=GCD(a=Const(value=80), b=Const(value=72)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=246)), Geq(left=Var(name='t'), right=Const(value=37)), Leq(left=Var(name='t'), right=Const(value=3355)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=12), Var(name='b')), Const(value=4)))))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), EulerPhi(n=Const(2))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_digits_weighted_mod", "MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "28d0fb", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "LIN_FORM", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 3.953, "created_at": "2026-02-08T04:12:58.982346Z", "verification": {"verified": true, "answer": 2269, "timestamp": "2026-02-08T04:13:02.934909Z"}, "problem_hash": "272367", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2529, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 388, "completion_tokens": 3115}, "timestamp": "2026-02-09T20:11:54.884Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "ENDING_digits_weighted_mod": "ok_later", "K16": "no", "K18": "no", "K5": "no", "LTE_SUM": "no", "V8_SUM": "no"}} -{"id": "325c1f", "alias": "antilemma_product_of_sums_v1_168721529_1138", "problem": "Let $S_1$ be the sum of all values of $k$ as $(k, j)$ ranges over all ordered pairs of positive integers with $1 \\leq k \\leq 5$ and $1 \\leq j \\leq 4$. Let $T$ be the set of all nonnegative integers $j \\leq 31$ such that\n\\[\n\\binom{d}{j} \\equiv 1 \\pmod{2},\n\\]\nwhere $d$ is the smallest divisor of 2149 that is at least 2 and coprime to 15. Let $S_2$ be the number of such integers $j$. Define $x = S_1 \\cdot S_2$ and let $c = 39521$. Compute the remainder when $c \\cdot x$ is divided by $79179$.", "answer": 20094, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(31),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2149)), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))))))), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": Const(39521),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(79179)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "recipe_id": "74411e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:29:31.874993Z", "verification": {"verified": true, "answer": 20094, "timestamp": "2026-02-08T13:29:31.880029Z"}, "problem_hash": "6dd131", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46299, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 298, "completion_tokens": 1895}, "timestamp": "2026-02-09T14:01:44.496Z"}], "lemma_applicability": {"C4": "ok", "PRODUCT_OF_SUMS": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "2783a0", "alias": "nt_count_intersection_v1_784195855_414", "problem": "Let $N = 20000$. Define $A$ to be the number of positive integers $n \\leq N$ such that $9$ divides $n$ and $\\gcd(n, 20) = 1$.\n\nLet $B$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 93$ and $1 \\leq j \\leq 103$. Define\n$$\nc = \\sum_{d \\mid B} \\varphi(d),\n$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $Q$ be the remainder when $c \\cdot A$ is divided by $80456$.\n\nFind the value of $Q$.", "answer": 67851, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80456),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(93)), right=IntegerRange(start=Const(1), end=Const(103)))),\n \"N\": Const(20000),\n \"a\": Const(9),\n \"b\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/K3/ENDING_affine_mod"], "recipe_id": "b2218c", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_affine_mod", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.399, "created_at": "2026-02-08T04:21:48.299412Z", "verification": {"verified": true, "answer": 67851, "timestamp": "2026-02-08T04:21:49.698142Z"}, "problem_hash": "ab5aea", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_affine_mod": "ok_later", "K3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}} -{"id": "0db7c1", "alias": "nt_num_divisors_compute_v1_677425708_1385", "problem": "Let $n = 67081$. Let $d(n)$ be the number of positive divisors of $n$. Compute\n\n$$\n\\sum_{k=1}^{d(n)} \\phi(k),\n$$\n\nwhere $\\phi$ denotes Euler's totient function.", "answer": 28, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(67081),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/COUNT_PRIMES/EULER_TOTIENT_SUM", "WILSON"], "recipe_id": "cfb35e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "EULER_TOTIENT_SUM", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T04:09:47.875660Z", "verification": {"verified": true, "answer": 28, "timestamp": "2026-02-08T04:09:47.901698Z"}, "problem_hash": "dad28f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 28, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 1296}, "timestamp": "2026-02-09T19:14:20.695Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "WILSON": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "905b90", "alias": "nt_count_squarefree_v1_1520064083_1984", "problem": "Let $m = 28$ and let $k$ be the number of positive integers $n$ with $1 \\leq n \\leq 28$ such that the sum of the digits of $n$ is odd. Let $s$ be the sum of all values of $x + y$ where $x$ and $y$ are positive integers satisfying $xy = 16$. Let $g = \\gcd(s, k)$. Compute the number of positive integers $n$ such that $n$ lies between $\\sum_{d\\mid g} \\mu(d)$ and $80000$, inclusive, and $\\mu(n)^2 = 1$. ", "answer": 48627, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(28),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"upper\": Const(80000),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=16)))), expr=Sum(Var(name='x'), Var(name='y')))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B3/MOBIUS_COPRIME"], "recipe_id": "a90977", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 11.571, "created_at": "2026-02-08T04:26:39.601097Z", "verification": {"verified": true, "answer": 48627, "timestamp": "2026-02-08T04:26:51.172480Z"}, "problem_hash": "cda27e", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "B3": "ok_later", "MOBIUS_COPRIME": "ok_later", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "8ac706", "alias": "comb_catalan_compute_v1_784195855_467", "problem": "Let $T$ be the set of all integers $t$ such that $9 \\leq t \\leq 22$ and $t = 2a + 5b + 2$ for some integers $a, b$ with $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 2$. Let $n = |T|$. Compute the $n$-th Catalan number $C_n$. Then compute the sum of $C_n$, $\\phi(|C_n| + \\binom{3}{0})$, and $\\tau(|C_n| + (\\binom{3}{0} - 1)!)$.", "answer": 26964, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=2)))))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Binom(n=Const(3), k=Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Factorial(Sub(Binom(n=Const(3), k=Const(0)), Const(1)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ONE_FACTORIAL_0", "lemma_paths": ["ONE_FACTORIAL_0", "LIN_FORM", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "84c65c", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_BINOM_0", "ONE_FACTORIAL_0", "ZERO_BINOM_0"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:24:17.254430Z", "verification": {"verified": true, "answer": 26964, "timestamp": "2026-02-08T04:24:17.257943Z"}, "problem_hash": "4e0606", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ONE_BINOM_0": "ok", "ONE_FACTORIAL_0": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}} -{"id": "aaa539", "alias": "diophantine_fbi2_min_v1_1915831931_249", "problem": "Let $k = 6$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 176$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $u$ be the number of elements in $A$. Let $B$ be the set of all positive integers $d$ such that $d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq 1$. Let $r$ be the minimum element of $B$. Let $C$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 112908$ and $16$ divides the $n_1$-th Fibonacci number. Let $c$ be the number of elements in $C$. Compute $c - r$.", "answer": 9408, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(6),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(176)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(112908)), Divides(divisor=Const(16), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/ENDING_negation_mod", "L3C"], "recipe_id": "d3741a", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_negation_mod", "L3C"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T15:17:03.148787Z", "verification": {"verified": true, "answer": 9408, "timestamp": "2026-02-08T15:17:03.158373Z"}, "problem_hash": "e04584", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "L3C": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "86ed85", "alias": "comb_factorial_compute_v1_677425708_589", "problem": "Let $ c = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k} $ and $ u = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k} $. Let $ n = 7 $. Define $ R = n! $. Let $ S $ be the set of all ordered pairs $ (x_1, x_2) $ of positive odd integers such that $ x_1 + x_2 = 22 $. Let $ m = |S| \\cdot c $. Compute the $ m $-th Bell number, where the $ m $-th Bell number is the number of partitions of a set of size $ m $. ", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(0),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"c\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(22))))), Ref(\"c\")))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING/ENDING_bell_mod"], "recipe_id": "b92629", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ENDING_bell_mod"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:36:17.476700Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:36:17.478650Z"}, "problem_hash": "315f0a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 678570, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 1004}, "timestamp": "2026-02-08T20:47:59.568Z"}], "lemma_applicability": {"COMB1": "ok", "BINOMIAL_ALTERNATING": "ok_later", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "1fe529", "alias": "nt_count_divisible_v1_153355830_25", "problem": "Let $m = 2$. Let $P$ be the set of all prime numbers $p$ such that $m \\leq p \\leq 240$. Let $N$ be the number of prime numbers less than or equal to the largest element of $P$. Let $D$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = N$. Find the number of positive integers $n$ with $1 \\leq n \\leq 30276$ that are divisible by $D$.", "answer": 1164, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(240)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"upper\": Const(30276),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/COMB1"], "recipe_id": "094f63", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.905, "created_at": "2026-02-08T02:51:16.226894Z", "verification": {"verified": true, "answer": 1164, "timestamp": "2026-02-08T02:51:17.131530Z"}, "problem_hash": "b08ac0", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 1164, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1384}, "timestamp": "2026-02-08T22:03:41.198Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COMB1": "ok_later", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "d751dc", "alias": "antilemma_product_of_sums_v1_798873815_488", "problem": "Let $S_1$ be the sum of all integers $j$ such that\n$$\n\\phi(37) - 36 \\le j \\le 7\n$$\nand\n$$\n\\binom{\\max\\{k : 2^k \\mid 2^7\\}, j} \\equiv 1 \\pmod{2}.\n$$\nLet $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ of positive integers with $1 \\le i \\le 10$ and $1 \\le j \\le 4$. Compute $S_1 \\cdot S_2$.", "answer": 15400, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Sub(EulerPhi(n=Const(37)), Const(36))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MaxKDivides(target=Pow(Const(2), Const(7)), base=Const(2)), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "PRODUCT_OF_SUMS", "lemma_paths": ["PRODUCT_OF_SUMS", "ZERO_PHI_PRIME", "K14"], "recipe_id": "5100a6", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "PRODUCT_OF_SUMS", "ZERO_PHI_PRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:40:16.748293Z", "verification": {"verified": true, "answer": 15400, "timestamp": "2026-02-08T02:40:16.750340Z"}, "problem_hash": "10b8d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 1089}, "timestamp": "2026-02-08T19:36:47.492Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 1030}, "timestamp": "2026-02-09T17:46:17.348Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 7556}, "timestamp": "2026-02-09T19:13:29.463Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 670}, "timestamp": "2026-02-09T00:44:42.317Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 838}, "timestamp": "2026-02-09T06:03:09.096Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:20:34.274Z"}], "lemma_applicability": {"K14": "ok", "PRODUCT_OF_SUMS": "ok", "ZERO_PHI_PRIME": "ok", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -2.54, "mid": 1.09, "hi": 4.48}} -{"id": "d91a8d", "alias": "comb_count_permutations_fixed_v1_784195855_1379", "problem": "Let $a = \\sum_{k=1}^{2} \\varphi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$ and $n = \\sum_{k=1}^{a} \\varphi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\varphi$ denotes Euler's totient function. Let $k = 2$. Define $D(m)$ to be the number of derangements of $m$ elements. Compute the remainder when $\\binom{n}{k} \\cdot D(n - k)$ is divided by 69500.", "answer": 48835, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(69500),\n \"n\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2", "ONE_PHI_1"], "recipe_id": "0ab9d0", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "ONE_PHI_1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:00:01.328187Z", "verification": {"verified": true, "answer": 48835, "timestamp": "2026-02-08T05:00:01.331452Z"}, "problem_hash": "01bdea", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "LTE_SUM": "no", "V8": "no"}} -{"id": "dfce71", "alias": "modular_count_residue_v1_1248542787_812", "problem": "Let $m_0=36$ and $n_0=15$, and let $U=57600$.\n\nLet $m$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[\n1\\le a\\le 5,\\quad 1\\le b\\le 5,\\quad 33\\le t\\le 129,\\quad t=9a+15b+9.\n\\]\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=m_0$. Let $r$ be the minimum possible value of $x+y$ over all such pairs.\n\nLet $S$ be the set of all integers $n$ such that\n\\[\n \\varphi\\!\\left(\\sum_{d\\mid \\gcd(8,n_0)} \\mu(d)\\right) \\le n \\le U\n\\]\n and\n\\[\n n \\equiv r \\pmod{m},\n\\]\nwhere $\\varphi$ denotes Euler's totient function and $\\mu$ denotes the Möbius function. Let $Q$ be the number of elements of $S$.\n\nCompute $Q$.", "answer": 2304, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(36),\n \"_n\": Const(15),\n \"upper\": Const(57600),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=129)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=9)))))))),\n \"r\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=SumOverDivisors(n=GCD(a=Const(value=8), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d'))))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MOBIUS_COPRIME", "LIN_FORM", "ONE_PHI_1", "B3"], "recipe_id": "8b1f56", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 4.405, "created_at": "2026-02-08T03:26:24.654118Z", "verification": {"verified": true, "answer": 2304, "timestamp": "2026-02-08T03:26:29.059551Z"}, "problem_hash": "394a18", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2304, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 360, "completion_tokens": 1865}, "timestamp": "2026-02-09T08:42:29.745Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2304, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 356, "completion_tokens": 1852}, "timestamp": "2026-02-09T21:22:26.920Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:13:25.498Z"}], "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "K15": "no", "K18": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "76105b", "alias": "comb_binomial_compute_v1_1125832087_676", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 324$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $k$ be the smallest integer $d \\geq 2$ that divides $29645$. Define $\\binom{n}{k}$ as the binomial coefficient. Let $Q$ be the remainder when $26005 \\cdot \\binom{n}{k}$ is divided by $68958$. Find the value of $Q$.", "answer": 46476, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(68958),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(324)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(29645),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(26005),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_d\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "B3/B3"], "recipe_id": "cb9dd4", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:12:58.472223Z", "verification": {"verified": true, "answer": 46476, "timestamp": "2026-02-08T03:12:58.477055Z"}, "problem_hash": "e439ba", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "K16": "no", "L3b": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "d29b37", "alias": "diophantine_fbi2_min_v1_1874849503_763", "problem": "Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq 1670$, $10$ divides $n$, and $\\gcd(n, 21) = 1$. Let $u$ be the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of 106. Define $r$ to be the smallest integer $d$ such that $4 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq 6$. Given $n = 65323$ and $m = 58607$, compute the value of\n$$\nQ = (65323 \\cdot r) \\mod 58607.\n$$", "answer": 26864, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(58607),\n \"_n\": Const(65323),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1670)), Divides(divisor=Const(10), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"upper\": SumOverDivisors(n=Const(value=106), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "C5"], "recipe_id": "814458", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T13:18:15.009299Z", "verification": {"verified": true, "answer": 26864, "timestamp": "2026-02-08T13:18:15.021203Z"}, "problem_hash": "2640b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26764, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 1022}, "timestamp": "2026-02-09T20:40:06.283Z"}], "lemma_applicability": {"C5": "ok", "K3": "ok", "C2": "no", "K16": "no", "MOD_MUL": "no", "V5": "no", "V8": "no"}} -{"id": "aafb1a", "alias": "antilemma_sum_primes_v1_1520064083_1964", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le 3$. Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 176091300$ and $\\gcd(p, q) = 1$. Compute $x + 2^{x \\bmod |P|}$, and find the remainder when this value is divided by $81487$.", "answer": 37, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=176091300)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), modulus=Const(81487))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_mod_exp", "SUM_PRIMES"], "recipe_id": "890a42", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_mod_exp", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:26:24.704612Z", "verification": {"verified": true, "answer": 37, "timestamp": "2026-02-08T04:26:24.706076Z"}, "problem_hash": "8d2e89", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "ENDING_mod_exp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "ec8416", "alias": "nt_count_gcd_equals_v1_1520064083_3996", "problem": "Let $N = 271$. Let $U = \\sum_{d \\mid 5555} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $k = 464$ and let $d$ be the number of prime numbers $p$ such that $2 \\leq p \\leq N$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $\\gcd(n, k) = d$.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(271),\n \"upper\": SumOverDivisors(n=Const(value=5555), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"k\": Const(464),\n \"d\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "K3"], "recipe_id": "06de37", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.44, "created_at": "2026-02-08T06:00:53.138079Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T06:00:53.577882Z"}, "problem_hash": "bf96b0", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "K3": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b1bda8", "alias": "antilemma_sum_primes_v1_151522320_494", "problem": "Let $\\lambda(n)$ denote the Liouville function and let $\\mu(n)$ denote the Möbius function. Define $v = \\mu(6!) + 1 \\pmod{7}$, where the result is taken as the unique integer in $\\{0, 1, \\dots, 6\\}$. Let $u = \\lambda(4189)$. Define $m = (2 + v) \\cdot u$. Let $S$ be the set of all prime numbers $n$ such that $m \\leq n \\leq 4$. Compute the sum of all elements in $S$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(7),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(4189),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Sum(Const(2), Ref(\"v\")), Ref(\"u\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIOUVILLE_ONE", "WILSON", "SUM_PRIMES"], "recipe_id": "6fd5fd", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "SUM_PRIMES", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.009, "created_at": "2026-02-08T03:21:49.666668Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T03:21:49.675645Z"}, "problem_hash": "1d38d0", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "SUM_PRIMES": "ok", "WILSON": "ok", "K14": "no", "L3c": "no", "LTE_SUM": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "2dbd24", "alias": "antilemma_sum_factor_cartesian_v1_1918700295_1633", "problem": "Let $x$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 22$ and $1 \\leq j \\leq 27$. Let $d$ be the number of positive integers $n \\leq 29$ such that the sum of the decimal digits of $n$ is even and $\\sum_{d \\mid \\gcd(32, 144)} \\mu(d) = 1$. Compute $x + 2^x \\bmod 82877$, where the exponent is reduced modulo $d$, and then compute the final result modulo $82877$.", "answer": 95635, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(27)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(29)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), SumOverDivisors(n=GCD(a=Const(value=32), b=Const(value=144)), var='d', expr=MoebiusMu(n=Var(name='d'))))))))), modulus=Const(82877))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_mod_exp", "SUM_FACTOR_CARTESIAN", "MOBIUS_COPRIME"], "recipe_id": "4d63e2", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "L3B", "MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T05:55:18.107049Z", "verification": {"verified": true, "answer": 95635, "timestamp": "2026-02-08T05:55:18.109133Z"}, "problem_hash": "9db75c", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MOBIUS_COPRIME": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_mod_exp": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8_SUM": "no"}} -{"id": "7c299d", "alias": "antilemma_coprime_grid_v1_1742523217_2197", "problem": "Let $ x $ be the number of ordered pairs $ (i, j) $ of integers with $ 1 \\leq i \\leq 37 $ and $ 1 \\leq j \\leq 139 $ such that $ \\gcd(i, j) = \\phi(1) $, where $ \\phi $ denotes Euler's totient function. \n\nLet $ a = |x| + \\sum_{d \\mid \\gcd(7,11)} \\mu(d) $, where $ \\mu $ is the M\\\"obius function, and let $ b = |x| + \\phi(2) $. Define $ Q = x + \\phi(a) + \\tau(b) $, where $ \\tau(n) $ denotes the number of positive divisors of $ n $.\n\nCompute the value of $ Q $.", "answer": 5346, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(1))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(139))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(2))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "COUNT_COPRIME_GRID", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "ac26a9", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:34:20.792717Z", "verification": {"verified": true, "answer": 5346, "timestamp": "2026-02-08T04:34:20.795103Z"}, "problem_hash": "b5922d", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "K13": "no", "K18": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "0ca312", "alias": "nt_max_prime_below_v1_677425708_416", "problem": "Let $p$ be the largest prime number less than or equal to $10609$. Compute the remainder when $$353702 \\cdot (p \\bmod 97) + 329703 \\cdot \\left(p^2 + \\phi(2)\\right) \\bmod 101 + 215534 \\cdot \\left(p + 49\\right) \\bmod m$$ is divided by $1009091$, where $m$ is the largest prime number less than or equal to $106$. Then, find the remainder when this result is divided by $77837$.", "answer": 50529, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(10609),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(49),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), EulerPhi(n=Const(2))), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(106)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(77837)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_crt_mix_3", "ONE_PHI_2"], "recipe_id": "4ac3e1", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.322, "created_at": "2026-02-08T03:31:58.522969Z", "verification": {"verified": true, "answer": 50529, "timestamp": "2026-02-08T03:31:58.844469Z"}, "problem_hash": "b993e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 69802, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:34:10.796Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "ENDING_crt_mix_3": "ok_later", "C2": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "805380", "alias": "nt_lcm_compute_v1_1915831931_1882", "problem": "Let $S$ be the set of all integers $t$ with $16 \\leq t \\leq 5688$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 368$, $1 \\leq b \\leq 348$, and $t = 6a + 10b$. Let $a = |S|$. Let $D$ be the set of positive divisors of $8048533$ that are at most $2831$. Define $n$ to be the maximum element of $D$. Let $B$ be the number of integers $n$ with $1 \\leq n \\leq n$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Compute $\\mathrm{lcm}(a, B)$.", "answer": 2829, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2831),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(8048533))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=368)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=348)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=5688)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["MAX_DIVISOR/L3C", "LIN_FORM"], "recipe_id": "57c369", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T16:29:42.903276Z", "verification": {"verified": true, "answer": 2829, "timestamp": "2026-02-08T16:29:42.909574Z"}, "problem_hash": "8bb470", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok", "L3C": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MOD_MUL": "no", "V5": "no", "V8": "no"}} -{"id": "14ae3e", "alias": "modular_product_range_v1_784195855_4801", "problem": "Let $m = 10067$. Define $n$ to be the largest integer $k$ such that $17^k$ divides $2312!$. Let $P$ be the product $\\prod_{i=28}^{128} i$, and let $r$ be the remainder when $P$ is divided by $m$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Define $s_{\\min}$ to be the minimum value of $x + y$ over all pairs in $S$. Compute the remainder when $s_{\\min} - r$ is divided by $90018$.", "answer": 80653, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10067),\n \"_n\": MaxKDivides(target=Factorial(Const(2312)), base=Const(17)),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(28), end=Const(128)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n \"Q\": Mod(value=Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(90018)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/B3/ENDING_negation_mod"], "recipe_id": "5a3c7a", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T07:21:41.454252Z", "verification": {"verified": true, "answer": 80653, "timestamp": "2026-02-08T07:21:41.460977Z"}, "problem_hash": "0ed0e5", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "B3": "ok_later", "ENDING_negation_mod": "ok_later", "K5": "same_pattern_wrong", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "d6e2b7", "alias": "nt_gcd_compute_v1_1742523217_2215", "problem": "Let $n_1$ be the number of positive integers $k$ such that $1 \\leq k \\leq 143$ and $11$ divides $k$.\n\nLet $h = \\lambda(n_1) + \\sum_{d \\mid \\gcd(15,22)} \\mu(d)$, where $\\lambda$ is the Liouville function and $\\mu$ is the Mæbius function.\n\nLet $n$ be the number of integers $t$ with $8 \\leq t \\leq 1260$ for which there exist positive integers $a \\leq 340$ and $b \\leq 48$ such that $t = 3a + 5b$.\n\nLet $v = \\tau(n) \\bmod 2$, where $\\tau(n)$ is the number of positive divisors of $n$.\n\nLet $a = 167492$ and $b = 376857 + h + v$. Let $g = \\gcd(a, b)$.\n\nCompute the remainder when $88657 \\cdot g$ is divided by 98193.", "answer": 50003, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(143)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d')))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=340)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=48)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=1260)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Const(167492),\n \"b\": Sum(Const(376857), Ref(\"h\"), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(88657),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(98193)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/DIVISOR_PARITY", "C2/LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME"], "recipe_id": "b33253", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["C2", "DIVISOR_PARITY", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:34:49.904324Z", "verification": {"verified": true, "answer": 50003, "timestamp": "2026-02-08T04:34:49.909750Z"}, "problem_hash": "469260", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}} -{"id": "34ee67", "alias": "nt_count_phi_equals_v1_784195855_2234", "problem": "Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 1225$. Let $t$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 250000$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq t$ and $\\phi(n) = 1$. Compute the value of $11^r + s$ modulo 99991, and add $s$ to the result; report the final sum.", "answer": 191, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1225),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3/ENDING_two_stage_modexp"], "recipe_id": "8b1de8", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_two_stage_modexp"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.049, "created_at": "2026-02-08T05:37:13.817556Z", "verification": {"verified": true, "answer": 191, "timestamp": "2026-02-08T05:37:13.866840Z"}, "problem_hash": "a5d4d6", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ENDING_two_stage_modexp": "ok_later", "C2": "no", "DS2": "no", "K14": "no", "LTE_SUM": "no", "V3": "no"}} -{"id": "8735dd", "alias": "nt_sum_over_divisible_v1_548369836_11", "problem": "Let $e$ be the value of $\\displaystyle \\sum_{d\\mid 1} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $p$ be one more than the number of nonnegative integers $j$ with $0\\le j\\le 32842$ such that the binomial coefficient $\\binom{32842}{j}$ is odd. Let $q=71$ and $r=37$, and define $n=pqr$. Let $t$ be the remainder when the number of positive divisors of $n$ is divided by $2$.\n\nLet the upper bound be $31329$, and let the divisor be $59e$. Let $R$ be the sum of all integers $m$ with $1\\le m\\le 31329$ such that $59e$ divides $m$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=19749136$, and let $S$ be the set of all possible values of $x+y$ for such pairs. Let $M$ be the minimum element of $S$.\n\nLet\n\\[\nQ \\equiv R^2 + (22+t)R + M \\pmod{61132},\n\\]\nwhere $0\\le Q<61132$. Find the value of $Q$.", "answer": 57984, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(32842)), Eq(Mod(value=Binom(n=Const(32842), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(1)),\n \"q\": Const(71),\n \"r\": Const(37),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Const(31329),\n \"divisor\": Mul(Const(59), Ref(\"e\")),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Sum(Const(22), Ref(\"t\")), Ref(\"result\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(19749136)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), modulus=Const(61132)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/DIVISOR_PARITY/ENDING_quadratic_mod", "V8/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "9c9b33", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "ENDING_quadratic_mod", "MOBIUS_SUM", "V8"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.925, "created_at": "2026-02-08T02:42:22.128480Z", "verification": {"verified": true, "answer": 57984, "timestamp": "2026-02-08T02:42:23.053632Z"}, "problem_hash": "dba33e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 393, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:43:05.051Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 57984, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 389, "completion_tokens": 3355}, "timestamp": "2026-02-09T18:41:43.724Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 365, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:10:04.160Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 17405, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 896}, "timestamp": "2026-02-09T01:25:13.841Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57984, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 2275}, "timestamp": "2026-02-09T07:04:53.172Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 8192}, "timestamp": "2026-02-09T06:15:29.867Z"}], "lemma_applicability": {"B3": "ok", "MOBIUS_SUM": "ok", "V8": "ok", "DIVISOR_PARITY": "ok_later", "ENDING_quadratic_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V3": "no"}, "irt_difficulty": {"lo": 3.6, "mid": 6.63, "hi": 9.28}} -{"id": "c4b79b", "alias": "nt_count_divisors_in_range_v1_153355830_2277", "problem": "Compute the number of positive divisors of $10080$ that are at least $1$ and at most $1261$.", "answer": 65, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(10080),\n \"a\": Const(1),\n \"b\": Const(1261),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["COUNT_CARTESIAN/K3"], "recipe_id": "268ff0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.138, "created_at": "2026-02-08T07:01:31.048695Z", "verification": {"verified": true, "answer": 65, "timestamp": "2026-02-08T07:01:31.186531Z"}, "problem_hash": "f8aba0", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K3": "ok_later", "K13": "no", "MOD_SUB": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "d5c66e", "alias": "sequence_fibonacci_compute_v1_151522320_1457", "problem": "Let $d_0=4$, $c_0=7$, and $m=2$. Consider the sum\n$$S=\\sum_{k=1}^{d_0} \\varphi(k)\\left\\lfloor \\frac{4}{k} \\right\\rfloor,$$\nwhere $\\varphi$ is the Euler totient function. Let $D$ be the set of all integers $d$ with $1\\le d\\le m$ such that $d$ divides $S$. Assume $D$ is nonempty, and let $n_0$ be the largest element of $D$.\n\nConsider the sum\n$$T=\\sum_{k=1}^{c_0} k.$$\nLet $N$ be the set of all integers $n$ such that $n_0\\le n\\le T$ and $n$ is prime. Assume $N$ is nonempty, and let $n$ be the largest element of $N$.\n\nLet $Q$ be the $n$th Fibonacci number $F_n$.\n\nFind the value of $Q$. $$", "answer": 28657, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(4),\n \"_c\": Const(7),\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Summation(var=\"k\", start=Const(1), end=Ref(\"_d\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\"))), IsPrime(Var(\"n\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MAX_DIVISOR/MAX_PRIME_BELOW", "SUM_ARITHMETIC/MAX_PRIME_BELOW"], "recipe_id": "59e7c9", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_DIVISOR", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:01:53.550434Z", "verification": {"verified": true, "answer": 28657, "timestamp": "2026-02-08T04:01:53.554044Z"}, "problem_hash": "01e21f", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "MAX_DIVISOR": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "b921cf", "alias": "comb_sum_binomial_mod_v1_458359167_991", "problem": "Let $m = 421$. Let $n$ be the number of positive integers between 1 and 152, inclusive, that are divisible by 152. Let\n$$\nS = \\sum_{k=9}^{N} \\binom{n}{k},\n$$\nwhere $N$ is the number of positive integers less than or equal to $m$ that are relatively prime to 30. Compute the remainder when $S$ is divided by 11909.", "answer": 6451, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(421),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(152)), Eq(Mod(value=Var(\"n\"), modulus=Const(152)), Const(0))))),\n \"sum\": Summation(var=\"k\", start=Const(9), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11909)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/C4"], "recipe_id": "12e9ba", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "SUM_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.059, "created_at": "2026-02-08T04:12:53.211833Z", "verification": {"verified": true, "answer": 6451, "timestamp": "2026-02-08T04:12:53.271237Z"}, "problem_hash": "94bdf4", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K15": "no", "MAX_VAL": "no", "V8": "no"}} -{"id": "6e142c", "alias": "nt_euler_phi_compute_v1_865884756_692", "problem": "Let $n = 42436$. Define $\\phi(n)$ as Euler's totient function. Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 30$ and $1 \\leq j \\leq 54$, and $\\gcd(i, j) = \\phi(2)$. Compute the remainder when the quantity $\\left|S\\right| - \\phi(n)$ is divided by $76164$.", "answer": 56152, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(42436),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(2))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(30)), right=IntegerRange(start=Const(1), end=Const(54))))), Ref(\"result\")), modulus=Const(76164)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_negation_mod", "ONE_PHI_2"], "recipe_id": "8db7ca", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_negation_mod", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:33:22.364048Z", "verification": {"verified": true, "answer": 56152, "timestamp": "2026-02-08T15:33:22.366896Z"}, "problem_hash": "9bfdb1", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "K17": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "c8dced", "alias": "diophantine_fbi2_count_v1_124444284_279", "problem": "Let $p_1 = 5$, and let $h$ be the remainder when $(4! + 1)$ is divided by $p_1$. Let $p = 7$ and $q = 71$, and define $n = p^2 \\cdot q$. Let $t = (\\mu(n))^2$, where $\\mu$ denotes the M\\\"obius function. Let $k = 360 + h + t$. Let $S$ be the set of all integers $d$ such that $3 \\leq d \\leq 692$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 95$, where $692$ is the number of positive integers at most $692$ that are divisible by $4$ and relatively prime to $15$. Compute the remainder when $44121$ times the number of such $d$ is divided by $51481$.", "answer": 29323, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(5),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Const(7),\n \"q\": Const(71),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"k\": Sum(Const(360), Ref(\"h\"), Ref(\"t\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(692)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(95))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(51481)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "WILSON", "C5"], "recipe_id": "de8042", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C5", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T03:08:41.124733Z", "verification": {"verified": true, "answer": 29323, "timestamp": "2026-02-08T03:08:41.133096Z"}, "problem_hash": "249b6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29323, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 308, "completion_tokens": 7559}, "timestamp": "2026-02-09T15:37:13.903Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 29323, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 1719}, "timestamp": "2026-02-09T00:22:50.539Z"}], "lemma_applicability": {"C5": "ok", "MOBIUS_SQUAREFREE": "ok", "WILSON": "ok", "C2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "ade417", "alias": "nt_count_divisible_and_v1_153355830_160", "problem": "Let $d_1 = \\sum_{k=1}^{3} k$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $P$ to be the set of all values $xy$ where $(x,y) \\in S$. Let $d_2 = \\sum_{d \\mid \\max(P)} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 49644$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Compute the Fibonacci entry point of $|N| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|N| + 2$. Find the value of this $k$.", "answer": 120, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(49644),\n \"d1\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"d2\": SumOverDivisors(n=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x'), Var(name='y')))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "B1/K3"], "recipe_id": "8c124f", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "K3", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.675, "created_at": "2026-02-08T02:55:12.353862Z", "verification": {"verified": true, "answer": 120, "timestamp": "2026-02-08T02:55:14.028414Z"}, "problem_hash": "3be997", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "K3": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "d6cd84", "alias": "comb_count_partitions_v1_1918700295_200", "problem": "Let $S=1+2+3+4$.\n\nLet $n=40$, and let $P$ be the number of integer partitions of $n$.\n\nLet $t$ be the number of integers $u$ with $1\\le u\\le 27$ such that $\\gcd(u,S)=1$.\n\nLet $k$ be the remainder when $|P|$ is divided by $t$, so that $0\\le k p$ such that $p \\cdot q = 72$ and $\\gcd(p,q) = 1$. Let $b = -4$ and $c = -6$. Let $d$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $p \\cdot q = 108$ and $\\gcd(p,q) = 1$. Compute $b^d - n \\cdot a \\cdot c$.", "answer": 64, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"b\": Const(-4),\n \"c\": Const(-6),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3B/COPRIME_PAIRS"], "recipe_id": "245474", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:07:50.327567Z", "verification": {"verified": true, "answer": 64, "timestamp": "2026-02-08T06:07:50.338736Z"}, "problem_hash": "2b235f", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V1": "no", "V5": "no"}} -{"id": "7e0317", "alias": "nt_count_divisors_in_range_v1_153355830_2737", "problem": "Let $m = 20$ and $n$ be the number of positive integers at most $1799$ that are relatively prime to $m$. Let $a = 10$ and $b = 720$. Define $\\text{result}$ to be the number of divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 146$. Compute the remainder when $7^{\\left| \\text{result} \\right|} + c$ is divided by $99991$.", "answer": 66851, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(20),\n \"_n\": Const(146),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1799)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"a\": Const(10),\n \"b\": Const(720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_two_stage_modexp", "C4"], "recipe_id": "e95c95", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C4", "ENDING_two_stage_modexp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T07:18:48.161111Z", "verification": {"verified": true, "answer": 66851, "timestamp": "2026-02-08T07:18:48.171637Z"}, "problem_hash": "69bc6f", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "C4": "ok", "ENDING_two_stage_modexp": "ok_later", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no", "V8": "no"}} -{"id": "7ed15c", "alias": "nt_count_coprime_v1_784195855_2310", "problem": "Let $N$ be the number of positive integers $n \\leq 51076$ that are relatively prime to $11$. Let $d$ be the smallest positive divisor of $93347$ that is at least $2$, and let $m = \\gcd(d, 19)$. Compute the sum\n$$\n\\sum_{i=0}^{k-1} \\left( \\text{digit}_i(N) \\cdot (i + \\mu(m))^2 \\right) + 15576,\n$$\nwhere $k$ is the number of decimal digits of $N$, $\\text{digit}_i(N)$ is the $i$-th digit of $N$ (starting from the units digit as $i=0$), and $\\mu$ denotes the M\\\"obius function.", "answer": 15823, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(51076),\n \"k\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=93347))))), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d')))), Const(2)))), Const(15576)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_digits_weighted_mod"], "recipe_id": "9f2418", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.587, "created_at": "2026-02-08T05:39:54.642985Z", "verification": {"verified": true, "answer": 15823, "timestamp": "2026-02-08T05:40:00.230066Z"}, "problem_hash": "1748cc", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_digits_weighted_mod": "ok_later", "MOBIUS_COPRIME": "ok_later", "K13": "no", "K5": "no", "L3b": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "b99a19", "alias": "nt_sum_totient_over_divisors_v1_2080023795_128", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $105875$. Let $u$ be the number of prime factors of $p$ counted with multiplicity. Let $n_1$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 25343$. Let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Define $n = 32990u + e$. Compute the value of $\\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function.", "answer": 32990, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(105875))))),\n \"u\": BigOmega(n=Ref(name='p')),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(25343)), IsPrime(Var(\"n\"))))),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Mul(Const(32990), Ref(\"u\")), Ref(\"e\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "COUNT_PRIMES/DIVISOR_PARITY"], "recipe_id": "361444", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_PRIMES", "DIVISOR_PARITY", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T11:34:03.929951Z", "verification": {"verified": true, "answer": 32990, "timestamp": "2026-02-08T11:34:03.936541Z"}, "problem_hash": "b3d391", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:45:28.465Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 32990, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 474}, "timestamp": "2026-02-09T10:17:41.936Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32990, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 1519}, "timestamp": "2026-02-09T20:45:12.267Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 0.37, "mid": 4.19, "hi": 8.01}} -{"id": "548d0f", "alias": "comb_count_surjections_v1_458359167_440", "problem": "Let $n = 6$ and $k = 6$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Let $N$ be the absolute value of this result. Define $s$ to be the sum\n$$\n\\sum_{i=0}^{d-2} \\left( \\text{the } i\\text{th digit of } N \\right) \\cdot (i+1)^2,\n$$\nwhere $d$ is the number of decimal digits of $N$, and digit positions are indexed starting from $0$ (the units digit). Compute $s + 57600$.", "answer": 57671, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\n \"k\": Const(6),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(14), k=Const(14)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Binom(n=Const(14), k=Const(14))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(57600)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ZERO_BINOM_N", "lemma_paths": ["ZERO_BINOM_N", "ONE_BINOM_N"], "recipe_id": "b76cb8", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ONE_BINOM_N", "ZERO_BINOM_N"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:18:29.479033Z", "verification": {"verified": true, "answer": 57671, "timestamp": "2026-02-08T03:18:29.482005Z"}, "problem_hash": "dd65ac", "license": "CC BY 4.0", "lemma_applicability": {"ONE_BINOM_N": "ok", "ZERO_BINOM_N": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "3abd6b", "alias": "nt_count_divisible_and_v1_1874849503_1089", "problem": "Let $ N $ be the number of ordered pairs $ (x_1, x_2) $ of positive odd integers such that $ x_1 + x_2 = 8470 $. Let $ c $ be the smallest divisor of $ N $ that is greater than or equal to 2. Let $ R $ be the number of positive integers $ n $ such that $ 1 \\le n \\le 78876 $, $ n $ is divisible by 6, and $ n $ is divisible by 9. Compute the remainder when $ c - R $ is divided by 83122.", "answer": 78745, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(8470))))),\n \"upper\": Const(78876),\n \"d1\": Const(6),\n \"d2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83122)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MIN_PRIME_FACTOR/ENDING_negation_mod"], "recipe_id": "0382a1", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_negation_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.294, "created_at": "2026-02-08T13:33:58.220233Z", "verification": {"verified": true, "answer": 78745, "timestamp": "2026-02-08T13:34:02.513762Z"}, "problem_hash": "7b6b9f", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "ENDING_negation_mod": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K13": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}} -{"id": "80743a", "alias": "modular_mod_compute_v1_865884756_3089", "problem": "Let $a = 128$. Let $S$ be the set of all integers $t$ such that $21 \\leq t \\leq 4872$ and there exist positive integers $a'$ and $b'$ with $1 \\leq a' \\leq 8$, $1 \\leq b' \\leq 400$, and $t = 9a' + 12b'$. Let $N$ be the number of elements in $S$. Let $m$ be the largest prime number $n$ such that $2 \\leq n \\leq N$. Let $r = a \\bmod m$. Let $p = \\max\\{ n_1 \\mid 2 \\leq n_1 \\leq 105 \\text{ and } n_1 \\text{ is prime} \\}$. Compute the remainder when $$ 353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left( (|r|^2 + 1) \\bmod 101 \\right) + 215534 \\cdot \\left( (|r| + 3) \\bmod p \\right) $$ is divided by $1009091$, and then take the result modulo $77398$.", "answer": 55107, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(105),\n \"_n\": Const(2),\n \"a\": Const(128),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=400)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=4872)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(3)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\")))))))), modulus=Const(1009091)), modulus=Const(77398)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_crt_mix_3", "LIN_FORM/MAX_PRIME_BELOW"], "recipe_id": "58d7d7", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T17:10:40.558119Z", "verification": {"verified": true, "answer": 55107, "timestamp": "2026-02-08T17:10:40.566727Z"}, "problem_hash": "f22b46", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "8e31f9", "alias": "antilemma_product_of_sums_v1_153355830_73", "problem": "Let $x$ be the product of two quantities. The first is the sum of all positive integers $k$ such that $3^k \\le 71586494964$. The second is the sum of all $k$ such that $(k, j)$ is an ordered pair of positive integers with $1 \\le k \\le 8$ and $1 \\le j \\le 9$. Compute $x$.", "answer": 81972, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(71586494964)))), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Var(\"k\")))),\n \"Q\": Ref(\"x\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "a95604", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_VAL", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:52:59.497921Z", "verification": {"verified": true, "answer": 81972, "timestamp": "2026-02-08T02:52:59.499942Z"}, "problem_hash": "556a24", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 81972, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 1450}, "timestamp": "2026-02-08T22:41:51.875Z"}], "lemma_applicability": {"MAX_VAL": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "K16": "same_pattern_wrong", "C2": "no", "L3b": "no", "MOD_SUB": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "dfa2cd", "alias": "comb_count_surjections_v1_1918700295_1771", "problem": "Let $N_0=67202$ and $u=7$. Define $N_2=u+1$. Let\n$$H=\\sum_{k=0}^{N_2}(-1)^k\\binom{N_2}{k}.$$\n\nLet\n$$N_1=\\binom{15}{15}-1.$$\nDefine\n$$E=\\sum_{k=0}^{N_1}(-1)^k\\binom{N_1}{k}$$\nand let\n$$n=8E.$$\nLet $k=3$ and define\n$$R=k!\\, S(n,k),$$\nwhere $S(n,k)$ is the Stirling number of the second kind.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 11$ and $1\\le j\\le 12$ such that\n$$i+j=13.$$\nLet $M$ be the number of such ordered pairs. Let $r$ be the remainder when $|R|$ is divided by $M$, so that $0\\le r\\le M-1$.\n\nLet $B_r$ denote the $r$-th Bell number, and let $Q$ be the remainder when $B_r$ is divided by $N_0+H$, taken in the set $\\{0,1,2,\\dots,N_0+H-1\\}$.\n\nFind the value of $Q$.", "answer": 48773, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67202),\n \"u\": Const(7),\n \"n2\": Sum(Ref(\"u\"), Const(1)),\n \"h\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Sub(Binom(n=Const(15), k=Const(15)), Const(1)),\n \"e\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(Const(8), Ref(\"e\")),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(13)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(12))))))), modulus=Sum(Ref(\"_n\"), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING/ENDING_bell_mod", "ZERO_BINOM_N"], "recipe_id": "b98ec4", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "ENDING_bell_mod", "ZERO_BINOM_N"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T06:00:21.750578Z", "verification": {"verified": true, "answer": 48773, "timestamp": "2026-02-08T06:00:21.762491Z"}, "problem_hash": "c193ee", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ZERO_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "ENDING_bell_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "43270f", "alias": "nt_sum_totient_over_divisors_v1_458359167_623", "problem": "Let $t$ be the number of distinct prime factors of $529$. Let $A$ be the set of all integers $t$ such that there exist positive integers $a \\leq 619$ and $b \\leq 527$ for which $t = 6a + 21b$, and $27 \\leq t \\leq 14781$. Define $n_1 = |A| \\cdot t$. Let $c = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ denotes Euler's totient function. Define $n = 52722 + c$. Compute $\\sum_{d \\mid n} \\phi(d)$.", "answer": 52722, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(529),\n \"t\": SmallOmega(n=Ref(name='n2')),\n \"n1\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=619)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=527)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=14781)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))), Ref(\"t\")),\n \"c\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Const(52722), Ref(\"c\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/OMEGA_ONE/EULER_TOTIENT_SUM"], "recipe_id": "f657ef", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIN_FORM", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T03:26:25.692405Z", "verification": {"verified": true, "answer": 52722, "timestamp": "2026-02-08T03:26:25.698952Z"}, "problem_hash": "371505", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "EULER_TOTIENT_SUM": "ok_later", "OMEGA_ONE": "ok_later", "L3b": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "844f01", "alias": "nt_sum_divisors_compute_v1_1874849503_568", "problem": "Let $a$, $b$, and $t$ be positive integers. Define $P$ to be the set of all integers $t$ such that $18 \\leq t \\leq 120$ and for some integers $a$, $b$ with $1 \\leq a \\leq 10$, $1 \\leq b \\leq 13$, we have $t = 2a + 7b + 9$. Let $p = |P|$, $q = 71$, and $r = 17$. Let $n_2 = p \\cdot q \\cdot r$. Define $e = \\mu(n_2)^2$, where $\\mu$ is the M\\\"obius function. Let $n_1 = 1$, and let $w = \\sum_{d \\mid n_1} \\mu(d)$. Let $n = 21139 \\cdot e \\cdot w$. Compute the sum of all positive divisors of $n$.", "answer": 21140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21139),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=9)))))))),\n \"q\": Const(71),\n \"r\": Const(17),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"e\"), Ref(\"w\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "a82319", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T13:11:38.905734Z", "verification": {"verified": true, "answer": 21140, "timestamp": "2026-02-08T13:11:38.912927Z"}, "problem_hash": "24c588", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:36:03.881Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "MOBIUS_SQUAREFREE": "ok_later", "C2": "no", "K14": "no", "K18": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "77ebf7", "alias": "comb_sum_binomial_row_v1_1520064083_5210", "problem": "Let $A$ be the set of prime numbers $n$ such that $2 \\leq n \\leq 7$. Let $B$ be the set of ordered pairs $(k, j)$ with $1 \\leq k \\leq 4$ and $1 \\leq j \\leq 3$. Define\n$$\nm = \\frac{\\max(A) \\cdot \\sum_{(k,j) \\in B} \\varphi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor}{21}.\n$$\nCompute $2^m$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"n\": Div(Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(7)), IsPrime(Var(\"n\"))))), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))))), Const(21)),\n \"result\": Pow(Ref(\"_m\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/SUM_INDEPENDENT", "K2"], "recipe_id": "262f95", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:41:03.538213Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T06:41:03.540946Z"}, "problem_hash": "80f004", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok", "SUM_INDEPENDENT": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "MOD_FACTORIAL": "no", "V5": "no"}} -{"id": "8ba1c4", "alias": "algebra_quadratic_discriminant_v1_1918700295_2366", "problem": "Let $a = 6$, $b = 2$, and $c = -5$. The discriminant of the quadratic equation $ax^2 + bx + c = 0$ is $D = b^2 - 4ac$. Let $s = \\sum_{k=\\binom{7}{0} - \\binom{12}{0}}^{2} (-1)^k \\binom{2}{k}$. Compute $2 \\cdot [D > s] + [D = 0]$, where $[\\cdot]$ denotes the Iverson bracket (1 if true, 0 if false).", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(6),\n \"b\": Const(2),\n \"c\": Const(-5),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Summation(var=\"k\", start=Sub(Binom(n=Const(7), k=Const(0)), Binom(n=Const(12), k=Const(0))), end=Const(2), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(2), k=Var(\"k\"))))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "59db8c", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.029, "created_at": "2026-02-08T07:51:18.932381Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T07:51:18.961820Z"}, "problem_hash": "5fdb7f", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "60e0a3", "alias": "comb_bell_compute_v1_784195855_2350", "problem": "Let $w = \\sum_{k=-1}^{0} (-1)^k \\binom{0}{k}$ and let $s = \\sum_{k=0}^{5} (-1)^k \\binom{5}{k}$. Let $n = 8w + s$. Compute the $n$-th Bell number, which counts the number of partitions of a set of $n$ elements.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(0),\n \"w\": Summation(var=\"k\", start=Sub(Binom(n=Const(4), k=Const(0)), Const(1)), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"u\": Const(0),\n \"n1\": Sum(Ref(\"u\"), Binom(n=Const(4), k=Const(0))),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Mul(Const(8), Ref(\"w\")), Ref(\"s\")),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "59db8c", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T05:41:51.221841Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T05:41:51.225025Z"}, "problem_hash": "a8510d", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}} -{"id": "388e20", "alias": "comb_count_derangements_v1_865884756_3198", "problem": "Let $n_2 = \\binom{2}{0} - 1$. Define $c = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$. Let $n_1 = 0$, and define $u = \\sum_{k_1 = \\binom{2}{0} - \\binom{20}{0}}^{n_1} (-1)^{k_1} \\binom{n_1}{k_1}$. Let $n = 8 \\cdot c \\cdot u$. Compute $!n$, the number of derangements of $n$ elements.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Sub(Binom(n=Const(2), k=Const(0)), Const(1)),\n \"c\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"u\": Summation(var=\"k1\", start=Sub(Binom(n=Const(2), k=Const(0)), Binom(n=Const(20), k=Const(0))), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": Mul(Const(8), Ref(\"c\"), Ref(\"u\")),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "59db8c", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T17:13:30.436941Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T17:13:30.440881Z"}, "problem_hash": "9cfe67", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no"}} -{"id": "cd834a", "alias": "nt_euler_phi_compute_v1_1874849503_1397", "problem": "Let $n = 32041$. Compute $\\varphi(n)$, Euler's totient function of $n$. Let $r = |\\varphi(n)|$. Let $S$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq 31$. Let $k$ be the number of elements in $S$. Compute the $k$-th Bell number modulo $k$, and return the result.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(31),\n \"n\": Const(32041),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/ENDING_bell_mod"], "recipe_id": "b0452d", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_bell_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:52:40.342125Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T13:52:40.346433Z"}, "problem_hash": "4b4d23", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "ok_later", "ENDING_bell_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K15": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "bf15ba", "alias": "modular_sum_quadratic_residues_v1_151522320_1215", "problem": "Let $c = 2$. Let $m$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 59$, $1 \\le j \\le 60$, and $\\gcd(i,j) = 1$. Let $n = 4$. Let $p$ be the largest prime number $n$ satisfying $c \\le n \\le k$, where $k$ is the largest integer such that $3^k$ divides $m^{\\ell}$ and $\\ell$ is the largest integer such that $17^{\\ell}$ divides $5770627412348402378939569991057^2$. Compute $\\frac{p(p-1)}{n}$.", "answer": 30363, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(59)), right=IntegerRange(start=Const(1), end=Const(60))))),\n \"_n\": Const(4),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), MaxKDivides(target=Pow(Ref(\"_m\"), MaxKDivides(target=Pow(Const(5770627412348402378939569991057), Const(2)), base=Const(17))), base=Const(3))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/K14/MAX_PRIME_BELOW", "K14/K14/MAX_PRIME_BELOW"], "recipe_id": "18f5aa", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:51:04.998637Z", "verification": {"verified": true, "answer": 30363, "timestamp": "2026-02-08T03:51:05.002262Z"}, "problem_hash": "2a3f44", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "K14": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}} -{"id": "43e1b6", "alias": "nt_euler_phi_compute_v1_151522320_32", "problem": "Let $n_1$ be the number of integers $t$ such that $7 \\leq t \\leq 2349$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 579$, $1 \\leq b \\leq 153$, and $t = 3a + 4b$. Let $w = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Define $p = 3$ and $t = ( (p - \\phi(2))! + 1 ) \\mod p$, where $\\phi$ is Euler's totient function. Let $n = 70000 + w$. Define $c = 40241 + t$. Compute the remainder when $c \\cdot \\phi(n)$ is divided by 66804.", "answer": 65376, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66804),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=579)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=153)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2349)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"p\": Const(3),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), EulerPhi(n=Const(2)))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(70000), Ref(\"w\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Sum(Const(40241), Ref(\"t\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "WILSON", "ONE_PHI_2"], "recipe_id": "a75565", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "ONE_PHI_2", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T02:55:40.258664Z", "verification": {"verified": true, "answer": 65376, "timestamp": "2026-02-08T02:55:40.262190Z"}, "problem_hash": "3f4c2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 12240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 3681}, "timestamp": "2026-02-08T21:39:25.597Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "WILSON": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K18": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "9c5e55", "alias": "nt_sum_phi_v1_458359167_1137", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 729$. Define $\\Phi$ to be the sum of $\\phi(n)$ over all $n \\in S$, where $\\phi$ is Euler's totient function. Let $D$ be the set of positive integers $n$ such that $1 \\leq n \\leq 17$ and $n \\equiv 0 \\pmod{17}$. Let $g = \\gcd\\left(13, \\sum_{n \\in D} n\\right)$. Let $\\mu$ denote the M\\\"obius function. Define $s = \\sum_{d \\mid g} \\mu(d)$. Compute the remainder when $\\sum_{n = s}^{\\left|\\Phi\\right|} \\phi(n)$ is divided by $65881$.", "answer": 31555, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(729),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=13), b=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=17)), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=17)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(65881)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME/ENDING_sum_totient"], "recipe_id": "92d6d2", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_sum_totient", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 9.443, "created_at": "2026-02-08T04:23:50.602916Z", "verification": {"verified": true, "answer": 31555, "timestamp": "2026-02-08T04:24:00.045431Z"}, "problem_hash": "0df043", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "ENDING_sum_totient": "ok_later", "MOBIUS_COPRIME": "ok_later", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V5": "no"}} -{"id": "a9c6cf", "alias": "nt_sum_phi_v1_865884756_3017", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 50$. Define $T$ to be the set of all values $xy$ where $(x, y) \\in S$. Let $M$ be the maximum value in $T$. Now, let $\\phi(n)$ denote Euler's totient function. Define $R$ to be the sum of $\\phi(n)$ over all positive integers $n$ from $1$ to $M$, inclusive. Let $C$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18050$. Compute $R^2 + 2R + C$, and find the remainder when this value is divided by $80402$. Determine the value of this remainder.", "answer": 13883, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(80402),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(50)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(18050))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_quadratic_mod", "B1"], "recipe_id": "615804", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COMB1", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.057, "created_at": "2026-02-08T17:06:05.650548Z", "verification": {"verified": true, "answer": 13883, "timestamp": "2026-02-08T17:06:05.707643Z"}, "problem_hash": "325b4d", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COMB1": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K18": "no", "MOD_FACTORIAL": "no", "V8": "no"}} -{"id": "784a12", "alias": "comb_factorial_compute_v1_677425708_689", "problem": "Let $n = 7$ and define $\\text{result} = n!$. Let $d_0$ be the number of positive integers $j$ such that $1 \\leq j \\leq 7$ and $j^2 \\leq 49$. Define $a = \\sum_{d \\mid 5} \\mu(d)$, where the sum is over all positive divisors $d$ of $5$. Compute the remainder when $\\sum_{k=a}^{\\text{result}} \\phi(k)$ is divided by $83491$, where $\\phi$ is Euler's totient function.", "answer": 40484, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=5), b=CountOverSet(set=SolutionsSet(var=Var(name='j'), condition=And(Geq(left=Var(name='j'), right=Const(value=1)), Leq(left=Var(name='j'), right=Const(value=7)), Leq(left=Pow(base=Var(name='j'), exp=Const(value=2)), right=Ref(name='_n')))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(83491)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/MOBIUS_COPRIME/ENDING_sum_totient"], "recipe_id": "f0a472", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_sum_totient", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.376, "created_at": "2026-02-08T03:41:13.296164Z", "verification": {"verified": true, "answer": 40484, "timestamp": "2026-02-08T03:41:13.672392Z"}, "problem_hash": "54ee47", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:56:35.754Z"}], "lemma_applicability": {"C3": "ok", "ENDING_sum_totient": "ok_later", "MOBIUS_COPRIME": "ok_later", "K15": "no", "V1": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "b51d7e", "alias": "nt_sum_gcd_range_mod_v1_153355830_83", "problem": "Let $k = 360$. Consider the set of all ordered pairs $(n, j)$ where $n$ ranges from 1 to 2916 and $j$ ranges from 1 to 2. For each such pair, compute $\\gcd(n, k)$. Let $S$ be the set of all values $\\gcd(n, j)$ obtained in this way. Compute the sum of the elements in $S$, multiply the result by 5, then divide by 10. Let this value be $A$. Let $B$ be the remainder when $A$ is divided by 10091.\n\nNow, let $C$ be the number of nonnegative integers $j$ such that $0 \\le j \\le 40831$ and $\\binom{40831}{j}$ is odd. Compute $C - B$.\n\nFind the value of $C - B$.", "answer": 7961, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"k\": Const(360),\n \"M\": Const(10091),\n \"sum\": Div(Mul(Const(5), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"n\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2916)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))))), Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(40831)), Eq(Mod(value=Binom(n=Const(40831), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/ENDING_negation_mod", "SUM_INDEPENDENT"], "recipe_id": "d15cd7", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "SUM_INDEPENDENT", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.152, "created_at": "2026-02-08T02:53:00.497808Z", "verification": {"verified": true, "answer": 7961, "timestamp": "2026-02-08T02:53:00.649755Z"}, "problem_hash": "d35700", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7607, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 1818}, "timestamp": "2026-02-08T22:45:58.174Z"}], "lemma_applicability": {"SUM_INDEPENDENT": "ok", "V8": "ok", "ENDING_negation_mod": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K14": "no", "K16": "no", "K17": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "6611f0", "alias": "nt_sum_divisors_compute_v1_124444284_319", "problem": "Let $a = 10$ and $b = 14$. Define $n_1 = ab + \\phi(2)$. Let $f$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $p$ be the largest integer such that $5^p$ divides $\\binom{130}{52}$. Define $u$ to be the remainder when $\\left((p - f - 1)! + 1\\right)$ is divided by $p$. Let $n = 21025 + u$. Compute the sum of all positive divisors of $n$.", "answer": 27001, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21025),\n \"a\": Const(10),\n \"b\": Const(14),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), EulerPhi(n=Const(2))),\n \"f\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": MaxKDivides(target=Binom(n=Const(130), k=Const(52)), base=Const(5)),\n \"u\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Sum(Const(1), Ref(\"f\")))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"u\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "DIVISOR_PARITY", "lemma_paths": ["DIVISOR_PARITY", "V7/WILSON", "ONE_PHI_2"], "recipe_id": "3e3cce", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "ONE_PHI_2", "V7", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:11:37.483209Z", "verification": {"verified": true, "answer": 27001, "timestamp": "2026-02-08T03:11:37.486956Z"}, "problem_hash": "1f3a90", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 27001, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 927}, "timestamp": "2026-02-09T16:03:11.455Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 27001, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1319}, "timestamp": "2026-02-09T00:45:43.059Z"}], "lemma_applicability": {"DIVISOR_PARITY": "ok", "ONE_PHI_2": "ok", "V7": "ok", "WILSON": "ok_later", "DS2": "no", "K13": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "fbf062", "alias": "nt_num_divisors_compute_v1_784195855_1224", "problem": "Let $n = 48$. Determine the value of the number of positive divisors of $n$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(48),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["SUM_ARITHMETIC/COUNT_FIB_DIVISIBLE"], "recipe_id": "a53b1f", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "SUM_ARITHMETIC"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 3.442, "created_at": "2026-02-08T04:54:32.668436Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T04:54:36.110469Z"}, "problem_hash": "cf1b16", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K18": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no"}} -{"id": "b67736", "alias": "algebra_vieta_sum_v1_677425708_3576", "problem": "Let $m$ be the largest prime number between 2 and 4, inclusive. Let $c = 2$. Let $p$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 74832$ and $\\binom{74832}{j}$ is odd. Let $q$ be the largest prime number between 2 and $p$, inclusive. Consider the polynomial $$x^m - 10x^2 + qx - 30.$$ Find the sum of all real roots of this polynomial.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"_n\": Const(2),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-10), Pow(Var(\"x\"), Ref(\"_n\"))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(74832)), Eq(Mod(value=Binom(n=Const(74832), k=Var(\"j\")), modulus=Ref(\"_c\")), Const(1))), domain='nonnegative_integers'))), IsPrime(Var(\"n\"))))), Var(\"x\")), Const(-30)), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/MAX_PRIME_BELOW", "MAX_PRIME_BELOW/V8"], "recipe_id": "4c1c81", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T05:51:07.034919Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T05:51:07.049236Z"}, "problem_hash": "a94ccc", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V8": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "092c61", "alias": "antilemma_sum_factor_cartesian_v1_151522320_99", "problem": "Let $n = 98675$. Let $S$ be the set of all ordered pairs $(i, j)$ with $1 \\le i \\le 8$ and $1 \\le j \\le 26$ such that\n$$\n\\sum_{d \\mid \\gcd\\left(\\max\\left\\{k : 3^k \\mid (4^9 - 1^9)\\right\\}, 5\\right)} \\mu(d)\n$$\nis nonzero. Let $x$ be the sum of $i \\cdot j$ over all pairs $(i, j)$ in $S$. Let $c = 61747$ and define $Q = (c \\cdot x) \\bmod n$. Compute $Q$.", "answer": 11867, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98675),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=MaxKDivides(target=Sub(left=Pow(base=Const(value=4), exp=Const(value=9)), right=Pow(base=Const(value=1), exp=Const(value=9))), base=Const(value=3)), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(26)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": Const(61747),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/MOBIUS_COPRIME/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "fd51ee", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:58:16.481070Z", "verification": {"verified": true, "answer": 11867, "timestamp": "2026-02-08T02:58:16.483288Z"}, "problem_hash": "5cd221", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 11867, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 1639}, "timestamp": "2026-02-08T23:01:56.398Z"}], "lemma_applicability": {"LTE_DIFF": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "1ab06f", "alias": "nt_sum_divisors_range_v1_1742523217_3438", "problem": "Let $a = \\gcd(11, 13)$. Define $S$ to be the set of all positive integers $n$ such that $$n \\geq \\sum_{d \\mid a} \\mu(d)$$ and $n \\leq 12544$. Let $T$ be the set of all values $\\tau(n)$ for $n \\in S$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Compute the sum of the elements of $T$.\n\nLet $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 8$. Define $M$ to be the maximum value of $xy$ over all such pairs. \n\nCompute the remainder when $$\\left(\\text{sum of elements of }T\\right) + 2^{(\\text{sum of elements of }T) \\bmod M}$$ is divided by $94452$.", "answer": 26902, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94452),\n \"upper\": Const(12544),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(8)))), expr=Mul(Var(\"x\"), Var(\"y\")))))), modulus=Const(94452))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_mod_exp", "MOBIUS_COPRIME"], "recipe_id": "7d9ed4", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_mod_exp", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.744, "created_at": "2026-02-08T05:52:01.344804Z", "verification": {"verified": true, "answer": 26902, "timestamp": "2026-02-08T05:52:02.088842Z"}, "problem_hash": "f18eb8", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "ENDING_mod_exp": "ok_later", "K15": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8": "no"}} -{"id": "742d2d", "alias": "modular_min_modexp_v1_1915831931_2021", "problem": "Let $m$ be the largest prime number less than or equal to the number of integers $t$ with $21 \\le t \\le 1179$ for which there exist positive integers $a \\le 107$ and $b \\le 18$ such that $t = 9a + 12b$. Let $u$ be the number of positive integers $k \\le 23976$ that are divisible by $444$. Determine the smallest positive integer $x \\le u$ such that $11^x \\equiv 185 \\pmod{m}$. Let this smallest solution be $r$. Compute the remainder when $30621 \\cdot r$ is divided by $59494$. Find the value of this remainder.", "answer": 26220, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(11),\n \"b\": Const(185),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=107)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=18)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=1179)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(23976)), Divides(divisor=Const(444), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(30621),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59494)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "C2"], "recipe_id": "c04a9a", "seed_template_id": "modular_min_modexp_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.079, "created_at": "2026-02-08T16:35:24.116019Z", "verification": {"verified": true, "answer": 26220, "timestamp": "2026-02-08T16:35:24.194786Z"}, "problem_hash": "ad12fd", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "db16a3", "alias": "nt_sum_over_divisible_v1_1440796553_818", "problem": "Let $N = 95997$. Define $S$ as the set of all nonnegative integers $j \\le N$ such that $\\binom{N}{j}$ is odd. Let $k$ be the number of elements in $S$. Define $T$ as the set of all positive integers $n \\le k$ that are divisible by 45. Let $s$ be the sum of the elements in $T$. Let $m$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 32$. Compute the remainder when $7^{|s|} + m$ is divided by $99991$.", "answer": 3031, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95997),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(95997), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"divisor\": Const(45),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(32)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_two_stage_modexp", "V8"], "recipe_id": "e3beac", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "ENDING_two_stage_modexp", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.266, "created_at": "2026-02-08T11:59:27.827837Z", "verification": {"verified": true, "answer": 3031, "timestamp": "2026-02-08T11:59:28.094329Z"}, "problem_hash": "69555b", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "V8": "ok", "ENDING_two_stage_modexp": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K17": "no", "V8_SUM": "no"}} -{"id": "dcaad5", "alias": "comb_bell_compute_v1_151522320_1975", "problem": "Let $k_{\\text{max}}$ be the largest integer $k$ such that $2^k \\leq 39341198735$. Let $n$ be the number of positive integers $n'$ such that $1 \\leq n' \\leq 72$, $6$ divides $n'$, and $\\gcd(n', k_{\\text{max}}) = 1$. Compute the $n$th Bell number, which counts the number of partitions of a set of size $n$. Find the value of this Bell number.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(39341198735)))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(72)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/C5"], "recipe_id": "33e5b1", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "MAX_VAL"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:29:46.218674Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T04:29:46.220831Z"}, "problem_hash": "6f546f", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "C5": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "9ab16e", "alias": "antilemma_k3_v1_1918700295_3641", "problem": "Let\n$$X=\\sum_{d\\mid 62278} \\varphi(d),$$\nwhere $\\varphi(d)$ denotes the number of positive integers less than or equal to $d$ that are relatively prime to $d$.\n\nLet $c$ be the sum of all integers $x$ satisfying\n$$x^2-2003x+82362=0.$$\n\nLet $k$ be the sum of all integers $x$ satisfying\n$$x^{\\,S}-337x-16340=0,$$\nwhere\n$$S=\\sum_{d\\mid 2} \\varphi(d).$$\n\nDefine\n$$Q\\equiv X\\bmod 293,$$\nso that $0\\le Q<293$, and then redefine $Q$ by\n$$Q\\equiv Q+c\\cdot (X\\bmod k)\\pmod{61636}.$$\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 47884, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82362),\n \"_n\": Const(61636),\n \"x\": SumOverDivisors(n=Const(value=62278), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2003), Var(\"x\")), Ref(\"_m\")), Const(0)))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), SumOverDivisors(n=Const(value=2), var='d', expr=EulerPhi(n=Var(name='d')))), Mul(Const(-337), Var(\"x\")), Const(-16340)), Mul(Const(20), Const(0)))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/VIETA_SUM/ENDING_two_moduli", "IDENTITY_MUL_ZERO", "K3"], "recipe_id": "cc4ada", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "IDENTITY_MUL_ZERO", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T08:47:40.296576Z", "verification": {"verified": true, "answer": 47884, "timestamp": "2026-02-08T08:47:40.303186Z"}, "problem_hash": "a82e19", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_MUL_ZERO": "ok", "K3": "ok", "ENDING_two_moduli": "ok_later", "VIETA_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "0ac24b", "alias": "modular_product_range_v1_865884756_2245", "problem": "Let $c = 44121$ and $n = 60559$. Define $m$ to be the number of integers $t$ such that $8 \\leq t \\leq 184$ and $t = 5a + 3b$ for some positive integers $a, b$ with $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 28$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 49$, and define $s$ to be the minimum value of $x + y$ over all such pairs. Let $P$ be the product of all integers $i$ from $s$ to $m$, inclusive. Let $R$ be the remainder when $P$ is divided by $10177$. Define $Q = (c \\cdot R) \\bmod n$. Determine the value of $Q$.", "answer": 43772, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(44121),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=28)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=184)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"_n\": Const(60559),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")), end=Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10177)),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC", "LIN_FORM/B3"], "recipe_id": "2e16ee", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T16:39:25.095884Z", "verification": {"verified": true, "answer": 43772, "timestamp": "2026-02-08T16:39:25.100266Z"}, "problem_hash": "a74307", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "SUM_ARITHMETIC": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "72fc85", "alias": "nt_count_divisible_and_v1_865884756_390", "problem": "Let $d_1$ be the largest positive divisor of $42$ that is at most $6$, and let $d_2 = 9$. Let $r$ be the number of positive integers $n \\leq 44622$ such that $n \\equiv 0 \\pmod{d_1}$ and $n \\equiv s \\pmod{d_2}$, where $s = \\sum_{d \\mid 2} \\mu(d)$ and $\\mu$ is the M\\\"{o}bius function. Determine the value of $r$.", "answer": 2479, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(44622),\n \"d1\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(6)), Divides(divisor=Var(\"d\"), dividend=Const(42))))),\n \"d2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=Ref(name='_n'), var='d3', expr=MoebiusMu(n=Var(name='d3'))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "MAX_DIVISOR"], "recipe_id": "7bcb2e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MOBIUS_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 7.461, "created_at": "2026-02-08T15:20:37.950672Z", "verification": {"verified": true, "answer": 2479, "timestamp": "2026-02-08T15:20:45.411229Z"}, "problem_hash": "032254", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "V1": "no", "V7": "no"}} -{"id": "9155c3", "alias": "nt_min_phi_inverse_v1_151522320_1536", "problem": "Let $p=2$ and define\n\\[f\\equiv (p-1)!+\\varphi(1)\\pmod p,\n\\]\nwhere $\\varphi$ denotes Euler's totient function and the remainder is taken in $\\{0,1,\\dots,p-1\\}$.\n\nLet $a=34$ and let $b$ be the sum of the largest prime not exceeding $42$ and $f$.\n\nLet $g=\\gcd(a,b)$, and define\n\\[h=\\sum_{d\\mid g} \\mu(d),\n\\]\nwhere $\\mu$ denotes the Möbius function.\n\nLet $k=22$ and let $r$ be the smallest positive integer $n$ with $n\\le 50$ such that $\\varphi(n)=k$.\n\nLet\n\\[Q\\equiv 44121\\cdot h\\cdot r\\pmod{67618},\n\\]\nwhere the remainder is taken in $\\{0,1,\\dots,67617\\}$. Find the value of $Q$.", "answer": 513, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(2),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), EulerPhi(n=Const(1))), modulus=Ref(\"p\")),\n \"a\": Const(34),\n \"b\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(42)), IsPrime(Var(\"n\"))))), Ref(\"f\")),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(50),\n \"k\": Const(22),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Mod(value=Mul(Mul(Const(44121), Ref(\"h\")), Ref(\"result\")), modulus=Const(67618)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/WILSON/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "ab38a2", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "ONE_PHI_1", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T04:05:02.920954Z", "verification": {"verified": true, "answer": 513, "timestamp": "2026-02-08T04:05:02.935373Z"}, "problem_hash": "197ed3", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "WILSON": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "LTE_DIFF": "no", "V7": "no"}} -{"id": "7083a2", "alias": "nt_gcd_compute_v1_260342960_162", "problem": "Let $a_2 = 8$ and $b_2 = 6$. Define $n_1 = (a_2 b_2)^2$. Let $u$ be the remainder when the number of positive divisors of $n_1$ is divided by 2, and let $g = 2u$. Let $m = 4$, and let $n$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 49$. Define $a_1 = g \\cdot m$ and $b_1 = g \\cdot n$. Let $e = \\sum_{d \\mid \\gcd(a_1,b_1)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Finally, let $a = 395340$ and $b = 682860 + e$. Compute $\\gcd(a, b)$.", "answer": 35940, "graph": "graphs = [\n Graph(\n let={\n \"a2\": Const(8),\n \"b2\": Const(6),\n \"n1\": Pow(Mul(Ref(\"a2\"), Ref(\"b2\")), Const(2)),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"g\": Mul(Const(2), Ref(\"u\")),\n \"m\": Const(4),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(395340),\n \"b\": Sum(Const(682860), Ref(\"e\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "DIVISOR_PARITY"], "recipe_id": "9c27c0", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T11:16:55.232992Z", "verification": {"verified": true, "answer": 35940, "timestamp": "2026-02-08T11:16:55.238352Z"}, "problem_hash": "7d7d29", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 35940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 3004}, "timestamp": "2026-02-08T20:32:29.791Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 35940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 3229}, "timestamp": "2026-02-09T08:04:56.676Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 35940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 1279}, "timestamp": "2026-02-09T18:07:56.560Z"}], "lemma_applicability": {"B3": "ok", "DIVISOR_PARITY": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K16": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.96, "hi": 4.07}} -{"id": "00c9a5", "alias": "nt_count_divisible_and_v1_1353956133_158", "problem": "Let $A$ be the set of all nonnegative integers $j$ such that $\\sum_{k=0}^{3} (-1)^k \\binom{3}{k} \\leq j \\leq 32800$ and $\\binom{32800}{j}$ is odd. Let $d_1$ be the number of elements in $A$. Let $B$ be the set of all integers $t$ such that $5 \\leq t \\leq 12$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 2$, and $t = 2a + 3b$. Let $d_2$ be the number of elements in $B$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 23964$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 1997, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(23964),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Summation(var=\"k\", start=Const(0), end=Const(3), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(3), k=Var(\"k\"))))), Leq(Var(\"j\"), Const(32800)), Eq(Mod(value=Binom(n=Const(32800), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=12)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "LIN_FORM", "V8"], "recipe_id": "202a61", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "LIN_FORM", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.688, "created_at": "2026-02-08T11:19:54.365813Z", "verification": {"verified": true, "answer": 1997, "timestamp": "2026-02-08T11:19:57.053478Z"}, "problem_hash": "1fedc0", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "LIN_FORM": "ok", "V8": "ok", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no"}} -{"id": "896e47", "alias": "nt_sum_divisors_range_v1_865884756_655", "problem": "Let $n_1$ be the maximum value of $xy$ over all positive integers $x$ and $y$ such that $x + y = 6$. Let $h = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $v = \\omega(1)$, the number of distinct prime factors of $1$. Let $s$ be the minimum value of $x_1 + y_1$ over all positive integers $x_1$ and $y_1$ such that $x_1 y_1 = 20250000$. Let $R$ be the sum of the number of positive divisors of all positive integers $n_2$ from $1$ to $s$, inclusive. Find the remainder when $44121 \\cdot R$ is divided by $96332 + h + v$.", "answer": 75222, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(96332),\n \"n1\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n')),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Mul(Var(\"x1\"), Var(\"y1\")), Const(20250000)))), expr=Sum(Var(\"x1\"), Var(\"y1\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n2\")))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Sum(Ref(\"_n\"), Ref(\"h\")), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/EULER_TOTIENT_SUM", "OMEGA_ZERO", "B3"], "recipe_id": "bc9ab1", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B1", "B3", "EULER_TOTIENT_SUM", "OMEGA_ZERO"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.307, "created_at": "2026-02-08T15:33:06.222059Z", "verification": {"verified": true, "answer": 75222, "timestamp": "2026-02-08T15:33:06.528634Z"}, "problem_hash": "0e356d", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok_later", "K14": "no", "K17": "no", "K18": "no", "MOD_SUB": "no", "V3": "no"}} -{"id": "1c94ef", "alias": "comb_sum_binomial_row_v1_548369836_419", "problem": "Let $m=3$. Consider all ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are both odd and\n$$x_1+x_2=4.$$\nLet $n_0$ be the number of such ordered pairs.\n\nLet $n_2=0$ and\n$$s=\\sum_{k=0}^{n_2}(-1)^k\\binom{n_2}{k}.$$\nLet $a=1$ and $b=ms$, and define\n$$n_1=a+b.$$\n\nLet\n$$c=\\sum_{k=\\binom{8}{8}-1}^{n_1}(-1)^k\\binom{n_1}{k}.$$\n\nLet $n$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 4$ and $1\\le v\\le 4$.\n\nFinally, let\n$$R=(n_0+c)^n.$$\n\nCompute $R$. ", "answer": 65536, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4))))),\n \"n2\": Const(0),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"a\": Const(1),\n \"b\": Mul(Ref(\"_m\"), Ref(\"s\")),\n \"n1\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"c\": Summation(var=\"k\", start=Sub(Binom(n=Const(8), k=Const(8)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"result\": Pow(Sum(Ref(\"_n\"), Ref(\"c\")), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "ZERO_BINOM_N"], "recipe_id": "c51063", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN", "ZERO_BINOM_N"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:54:15.659920Z", "verification": {"verified": true, "answer": 65536, "timestamp": "2026-02-08T02:54:15.663136Z"}, "problem_hash": "12cdee", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 65536, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 337, "completion_tokens": 938}, "timestamp": "2026-02-08T20:27:02.062Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 65536, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 404}, "timestamp": "2026-02-09T05:58:12.547Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 65536, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 777}, "timestamp": "2026-02-09T14:57:40.975Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "answer": 65536, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:46:44.127Z"}], "lemma_applicability": {"COMB1": "ok", "ZERO_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_CARTESIAN": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.4, "hi": 1.2}} -{"id": "ffa9d7", "alias": "antilemma_v7_kummer_784195855_1831", "problem": "Let $x$ be the largest integer such that $3^x$ divides $\\binom{145}{58}$.\n\nLet $Q$ be the number of prime numbers $n$ such that $2 \\le n \\le 67493$, minus $x$.\n\nFind the value of $Q$.", "answer": 6723, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(67493),\n \"_n\": Const(58),\n \"x\": MaxKDivides(target=Binom(n=Const(145), k=Ref(\"_n\")), base=Const(3)),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/ENDING_negation_mod", "V7"], "recipe_id": "5eff78", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_negation_mod", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:20:58.261876Z", "verification": {"verified": true, "answer": 6723, "timestamp": "2026-02-08T05:20:58.266174Z"}, "problem_hash": "9673ed", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "V7": "ok", "ENDING_negation_mod": "ok_later", "DS2": "no", "K15": "no", "K17": "no", "MOD_ADD": "no", "MOD_SUB": "no"}} -{"id": "6ea5e3", "alias": "nt_min_with_divisor_count_v1_1874849503_1159", "problem": "Let $A$ be the set of all positive integers $n$ such that $n \\leq 72361$ and $n$ has exactly 8 positive divisors. Let $a$ be the smallest element of $A$.\\\\\n\nLet $B$ be the set of all positive integers $x$ and $y$ such that $xy = 3600$. Define $s = x + y$ for each such pair. Let $m$ be the minimum value of $s$ over all such pairs.\\\\\n\nLet $C$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 720$ and $n$ is divisible by $m$. Let $c$ be the sum of all elements in $C$.\\\\\n\nCompute $c - a$.", "answer": 2496, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(72361),\n \"div_count\": Const(8),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(720)), Eq(Mod(value=Var(\"n\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(3600)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(0))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_DIVISIBLE/ENDING_negation_mod"], "recipe_id": "0d839b", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.141, "created_at": "2026-02-08T13:39:11.596120Z", "verification": {"verified": true, "answer": 2496, "timestamp": "2026-02-08T13:39:14.736747Z"}, "problem_hash": "44e580", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ENDING_negation_mod": "ok_later", "SUM_DIVISIBLE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "LTE_DIFF_P2": "no"}} -{"id": "948faa", "alias": "antilemma_sum_factor_cartesian_v1_1440796553_95", "problem": "Let $x$ be the sum of all products $ij$ over ordered pairs $(i,j)$ of integers with $1 \\le i \\le 20$ and $1 \\le j \\le 7$.\n\nLet $m$ be the smallest positive integer $n$ such that $2^{15}$ divides $n!$.\n\nLet $c=2$, and let $N=101$.\n\nLet $A$ be the remainder when $|x|$ is divided by\n\\[\n\\max\\{n : 2 \\le n \\le d_0,\\ n \\text{ is prime}\\},\n\\]\nwhere $d_0$ is the smallest integer $d \\ge c$ such that $d$ divides $950309$, and the maximum is taken over all integers $n$ with $2 \\le n \\le d_0$ that are prime.\n\nLet $B$ be the remainder when $|x|^2 + 1$ is divided by $N$.\n\nLet $C$ be the remainder when $|x| + m$ is divided by $103$.\n\nDefine\n\\[\nQ_0 = 353702A + 329703B + 215534C,\n\\]\nand let $Q_1$ be the remainder when $Q_0$ is divided by $1009091$.\n\nFinally, let $Q$ be the remainder when $Q_1$ is divided by $86550$.\n\nCompute $Q$. ", "answer": 52639, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(15)), domain='Z_{>0}')),\n \"_n\": Const(101),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(950309)))))), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_m\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(86550)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW/ENDING_crt_mix_3", "V5/MIN_PRIME_FACTOR/ENDING_crt_mix_3", "SUM_FACTOR_CARTESIAN"], "recipe_id": "dd21cf", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_FACTOR_CARTESIAN", "V5"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.008, "created_at": "2026-02-08T11:34:48.746184Z", "verification": {"verified": true, "answer": 52639, "timestamp": "2026-02-08T11:34:48.753772Z"}, "problem_hash": "c13b7f", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_FACTOR_CARTESIAN": "ok", "V5": "ok", "ENDING_crt_mix_3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "K5": "no", "V8_SUM": "no"}} -{"id": "f6f3fe", "alias": "geo_count_lattice_triangle_v1_865884756_1316", "problem": "Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 42515923700250$. Let $B$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 32$. Define $C$ to be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = 16384$. Let $D$ be the set of all nonnegative integers $j$ at most $24360$ such that $\\binom{24360}{j}$ is odd. Compute the value of\n$$\n\\left| \\frac{100 \\cdot 256 + 100 \\cdot |A| - 33 - \\left( \\gcd(100, 33) + \\gcd\\left( \\left| \\max_{(x,y) \\in B} (xy) - 100 \\right|, \\left| \\min_{(x_1,y_1) \\in C} (x_1 + y_1) - 33 \\right| \\right) + \\gcd\\left( |D|, 256 \\right) \\right)}{2} \\right|.\n$$", "answer": 8448, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(33),\n \"_c\": Const(256),\n \"_m\": Const(24360),\n \"_n\": Const(24360),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), Ref(name='_c')), Mul(CountOverSet(set=SolutionsSet(var=Var(name='p'), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=42515923700250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Sub(left=Const(value=0), right=Const(value=33))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=33))), GCD(a=Abs(arg=Sub(left=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=32)))), expr=Mul(Var(name='x'), Var(name='y')))), right=Const(value=100))), b=Abs(arg=Sub(left=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='y1')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(left=Mul(Var(name='x1'), Var(name='y1')), right=Const(value=16384)))), expr=Sum(Var(name='x1'), Var(name='y1')))), right=Const(value=33)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='j'), condition=And(Geq(left=Var(name='j'), right=Const(value=0)), Leq(left=Var(name='j'), right=Ref(name='_n')), Eq(left=Mod(value=Binom(n=Ref(name='_m'), k=Var(name='j')), modulus=Const(value=2)), right=Const(value=1))))))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=256))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "V8", "B1", "B3"], "recipe_id": "d03eb9", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.175, "created_at": "2026-02-08T15:57:03.878061Z", "verification": {"verified": true, "answer": 8448, "timestamp": "2026-02-08T15:57:04.052698Z"}, "problem_hash": "3041b5", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "COPRIME_PAIRS": "ok", "V8": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K16": "no", "K18": "no", "L3c": "no"}} -{"id": "7bb810", "alias": "antilemma_sum_equals_v1_458359167_2994", "problem": "Let $m = 2$ and $n = 98$. Define $x$ to be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 98$, $1 \\leq i \\leq 97$, and $1 \\leq j \\leq 98$.\n\nLet $y$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 15$, $1 \\leq i \\leq 14$, and $1 \\leq j \\leq 14$. Compute the value of\n$$\nx + \\left( m^{(x \\bmod y)} \\bmod 88815 \\right).\n$$", "answer": 8289, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(98),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(98))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Ref(\"_m\"), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(15)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(14))))))), modulus=Const(88815))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_mod_exp", "COUNT_SUM_EQUALS"], "recipe_id": "8d5fb9", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_mod_exp"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.023, "created_at": "2026-02-08T06:53:11.696117Z", "verification": {"verified": true, "answer": 8289, "timestamp": "2026-02-08T06:53:11.719301Z"}, "problem_hash": "f99eb0", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ENDING_mod_exp": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "5758f0", "alias": "nt_sum_divisors_range_v1_677425708_3724", "problem": "Let $ S_1 $ be the set of all positive integers $ p $ for which there exists a positive integer $ q $ such that $ p \\cdot q = 37352700 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ m $ be the number of elements in $ S_1 $. Let $ S_2 $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = 146 $. Let $ M $ be the maximum value of $ x \\cdot y $ over all such pairs. Let $ T $ be the set of positive integers from $ 1 $ to $ M $, inclusive. For each $ n \\in T $, let $ d(n) $ denote the number of positive divisors of $ n $. Let $ R $ be the sum of $ d(n) $ over all $ n \\in T $. Let $ S_3 $ be the set of all positive integers $ p $ for which there exists a positive integer $ q $ such that $ p \\cdot q = 216 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ k $ be the number of elements in $ S_3 $. Let $ r = R \\bmod m $. Compute $ R + (k^r \\bmod 87186) $. Find the value of this result.", "answer": 54749, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=37352700)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": Const(87186),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(146)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_m\"))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS/ENDING_mod_exp", "B1"], "recipe_id": "18bdcb", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "ENDING_mod_exp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.194, "created_at": "2026-02-08T05:55:00.075453Z", "verification": {"verified": true, "answer": 54749, "timestamp": "2026-02-08T05:55:00.269395Z"}, "problem_hash": "5921f2", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "ENDING_mod_exp": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "V1": "no", "V8": "no"}} -{"id": "dc7885", "alias": "nt_count_divisible_and_v1_168721529_1148", "problem": "Let $n$ be a positive integer. Define $\\mathcal{S}$ as the set of all integers $n$ such that $1 \\leq n \\leq 23208$, $n$ is divisible by 8, and $n$ is divisible by 12. Let $r$ be the number of elements in $\\mathcal{S}$.\n\nCompute the value of\n$$\n\\left( 353702 \\cdot \\left( r \\bmod \\max\\{k \\mid 17^k \\text{ divides } 1564!\\} \\right) + 329703 \\cdot \\left( r^2 \\bmod 101 \\right) + 215534 \\cdot \\left( r \\bmod \\max\\{p \\mid p \\text{ is prime}, 2 \\leq p \\leq 106\\} \\right) \\right) \\bmod 1009091\n$$\ngiven that this entire expression is then taken modulo $69691$.", "answer": 41535, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"upper\": Const(23208),\n \"d1\": Const(8),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxKDivides(target=Factorial(Const(1564)), base=Const(17)))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(106)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(69691)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_crt_mix_3", "V1/ENDING_crt_mix_3"], "recipe_id": "3d85df", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.985, "created_at": "2026-02-08T13:30:06.888031Z", "verification": {"verified": true, "answer": 41535, "timestamp": "2026-02-08T13:30:07.873102Z"}, "problem_hash": "64bf1f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 68972, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 2532}, "timestamp": "2026-02-09T14:07:30.828Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "ENDING_crt_mix_3": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "a449b6", "alias": "nt_min_phi_inverse_v1_784195855_246", "problem": "Let $m = 3$ and $n = 17$. Let $u$ be the largest integer $k$ such that $3^k$ divides $63!$. Let $k_0 = \\sum_{i=1}^4 i$. Let $r$ be the smallest positive integer $n \\leq u$ such that $\\phi(n) = k_0$, where $\\phi$ denotes Euler's totient function. Let $A$ be the sum over $i$ from $0$ to $\\text{number of digits of } r - 1$ of $\\text{digit}_i(r) \\cdot (i+1)^2$, where $\\text{digit}_i(x)$ denotes the $i$-th decimal digit of $x$ (starting from the units place at $i=0$). Compute the value of $A + n$.", "answer": 22, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(17),\n \"upper\": MaxKDivides(target=Factorial(Const(63)), base=Ref(\"_m\")),\n \"k\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "V1"], "recipe_id": "bdd6f4", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:03:23.800414Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T03:03:23.807020Z"}, "problem_hash": "8fa297", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}} -{"id": "ebfe09", "alias": "comb_sum_binomial_row_v1_1520064083_2216", "problem": "Let $m = 2$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 14$. Define $n_0$ to be the maximum value of $xy$ over all such pairs $(x,y) \\in S$. Let $n$ be the sum of all solutions $x$ to the equation $x^2 - 14x + n_0 = 0$. Define $r = m^n$. Compute the value of $Q$, where $Q$ is the smallest positive integer such that the $Q$th Fibonacci number is divisible by $|r| + 2$.", "answer": 780, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(14)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-14), Var(\"x\")), Ref(\"_n\")), Const(0)))),\n \"result\": Pow(Ref(\"_m\"), Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/VIETA_SUM"], "recipe_id": "422907", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:35:14.383681Z", "verification": {"verified": true, "answer": 780, "timestamp": "2026-02-08T04:35:14.386936Z"}, "problem_hash": "70de38", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "VIETA_SUM": "ok_later", "K13": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "c50368", "alias": "antilemma_v7_kummer_151522320_1723", "problem": "Let $n_1 = 1$. Define $t = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $p = 3t$, $q = 59$, and $r = 61$. Define $n = p \\cdot q \\cdot r$. Let $f = \\mu(n)^2$, and let $\\_n = 666 \\cdot f$. Define $x$ to be the largest integer $k$ such that $2^k$ divides $\\binom{1665}{\\_n}$. Compute the value of $x \\bmod{293} + 7001 \\cdot (x \\bmod{337})$.", "answer": 63018, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Mul(Const(3), Ref(\"t\")),\n \"q\": Const(59),\n \"r\": Const(61),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"f\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"_n\": Mul(Const(666), Ref(\"f\")),\n \"x\": MaxKDivides(target=Binom(n=Const(1665), k=Ref(\"_n\")), base=Const(2)),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Const(7001), Mod(value=Ref(\"x\"), modulus=Const(337)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "V7"], "recipe_id": "f693f2", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "V7"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T04:12:58.907877Z", "verification": {"verified": true, "answer": 63018, "timestamp": "2026-02-08T04:12:58.908592Z"}, "problem_hash": "d732a1", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok", "V7": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "3f6653", "alias": "antilemma_product_of_sums_v1_1874849503_52", "problem": "Let $n = 16$. Let $t$ be the largest integer $k$ such that $2^k$ divides $7^n - 5^{16}$. Define $s = \\sum_{k=1}^{t} k$. Let $T$ be the set of all ordered pairs $(i,j)$ with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 5$. Define $p$ to be the sum of $i \\cdot j$ over all pairs $(i,j) \\in T$. Let $x = s \\cdot p$. Find the remainder when $84409 \\cdot x$ is divided by $75652$. Determine the value of this remainder.", "answer": 47222, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=MaxKDivides(target=Sub(Pow(Const(7), Ref(\"_n\")), Pow(Const(5), Const(16))), base=Const(2)), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"Q\": Mod(value=Mul(Const(84409), Ref(\"x\")), modulus=Const(75652)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "d524b0", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T12:47:07.308558Z", "verification": {"verified": true, "answer": 47222, "timestamp": "2026-02-08T12:47:07.310875Z"}, "problem_hash": "97a4e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 47222, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 2670}, "timestamp": "2026-02-09T13:35:28.403Z"}], "lemma_applicability": {"LTE_DIFF_P2": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "K16": "no", "K17": "no", "LTE_DIFF": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "6b5b49", "alias": "antilemma_product_of_sums_v1_865884756_748", "problem": "Let $A$ be the set of all integers $j$ such that $0 \\leq j \\leq k$, where $k$ is the largest integer for which $7^k \\leq 1430867$, and such that the binomial coefficient $\\binom{7}{j}$ is odd. Let $s$ be the sum of all elements in $A$. Let $T$ be the set of all ordered pairs $(k_1, j)$ with $1 \\leq k_1 \\leq 8$ and $1 \\leq j \\leq 10$. Let $t$ be the sum of all $k_1$ over the pairs in $T$. Compute the remainder when $s \\cdot t \\cdot 96847$ is divided by 94340.", "answer": 81780, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(96847),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(7), Var(\"k\")), Const(1430867))))), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=Const(2)), Const(1))))), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k1\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Var(\"k1\")))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"x\")), modulus=Const(94340)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "PRODUCT_OF_SUMS", "lemma_paths": ["PRODUCT_OF_SUMS", "MAX_VAL"], "recipe_id": "7f53bb", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_VAL", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T15:35:32.205066Z", "verification": {"verified": true, "answer": 81780, "timestamp": "2026-02-08T15:35:32.207833Z"}, "problem_hash": "c55453", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "PRODUCT_OF_SUMS": "ok", "K16": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K14": "no", "LTE_SUM": "no", "V8": "no"}} -{"id": "47a4a1", "alias": "antilemma_sum_primes_v1_168721529_1164", "problem": "Let $ n $ be a positive integer. Define $ a = 8^{343} - 1^{343} $. Let $ k $ be the largest integer such that $ 7^k $ divides $ a $. Let $ S $ be the set of all prime numbers $ p $ such that $ 2 \\leq p \\leq k $. Let $ x $ be the number of elements in $ S $. Compute the remainder when $ 50204x $ is divided by $ 59291 $.", "answer": 13856, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(343),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Sub(Pow(Const(8), Const(343)), Pow(Const(1), Ref(\"_n\"))), base=Const(7))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(50204), Ref(\"x\")), modulus=Const(59291)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "9e7e0a", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T13:30:33.410602Z", "verification": {"verified": true, "answer": 13856, "timestamp": "2026-02-08T13:30:33.412119Z"}, "problem_hash": "869e57", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 41017, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 1090}, "timestamp": "2026-02-09T14:17:01.027Z"}], "lemma_applicability": {"LTE_DIFF": "ok", "SUM_PRIMES": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_SUM": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "fb65ba", "alias": "nt_min_coprime_above_v1_677425708_3345", "problem": "Let $ P $ be the set of all positive integers $ p $ such that there exists an integer $ q $ with $ p \\cdot q = 281483578588382957904369852600 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ a = |P| $.\n\nLet $ F_n $ denote the $ n $-th Fibonacci number, with $ F_1 = F_2 = 1 $. Let $ B $ be the set of all positive integers $ n $ such that $ 1 \\leq n \\leq 33975 $ and $ 10 \\mid F_n $. Let $ b = |B| $.\n\nLet $ C $ be the set of all integers $ t $ such that there exist integers $ a $ and $ b $ with $ 1 \\leq a \\leq 11 $, $ 1 \\leq b \\leq 43 $, $ 9 \\leq t \\leq 227 $, and $ t = 5a + 4b $. Let $ m = |C| $.\n\nLet $ T $ be the set of all integers $ n $ such that $ n > a $, $ n \\leq b $, and $ \\gcd(n, m) = 1 $. Compute the smallest element of $ T $.", "answer": 2050, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(33975),\n \"start\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=281483578588382957904369852600)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=43)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=227)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "d33579", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.051, "created_at": "2026-02-08T05:40:22.904924Z", "verification": {"verified": true, "answer": 2050, "timestamp": "2026-02-08T05:40:22.955449Z"}, "problem_hash": "6ddb20", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "K17": "no", "K18": "no", "LTE_SUM": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}} -{"id": "4d17a5", "alias": "antilemma_product_of_sums_v1_168721529_1706", "problem": "Let $m=2$, and let $n$ be the smallest integer $d\\ge m$ such that $d$ divides $157757$.\n\nConsider all ordered pairs $(k,j)$ of integers with $1\\le k\\le 6$ and $1\\le j\\le 5$. Let $S_1$ be the sum of all values of $k$ over these ordered pairs. Let\n$$S_2=\\sum_{k=\\varphi(2)}^{n} k,$$\nwhere $\\varphi$ is Euler's totient function. Define\n$$X=S_1\\cdot S_2.$$\nCompute $X$. ", "answer": 19950, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(157757))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/PRODUCT_OF_SUMS/SUM_ARITHMETIC", "ONE_PHI_2"], "recipe_id": "41f75e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T13:53:10.896842Z", "verification": {"verified": true, "answer": 19950, "timestamp": "2026-02-08T13:53:10.901073Z"}, "problem_hash": "f0ace5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1306590012315, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 5334}, "timestamp": "2026-02-09T20:31:57.016Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}} -{"id": "07db91", "alias": "nt_count_gcd_equals_v1_1918700295_3277", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq M$, where $M$ is the number of integers $t$ with $24 \\leq t \\leq 7902$ for which there exist positive integers $a$ and $b$ satisfying $1 \\leq a \\leq 1557$, $1 \\leq b \\leq 15$, and $t = 5a + 7b + 12$, and such that $\\gcd(n, 21) = 1$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = |S|$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 49284$ such that $\\gcd(n, k) = 2$.", "answer": 24275, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"upper\": Const(49284),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1557)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=15)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=7902)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=12))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1)))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C4/B3"], "recipe_id": "7c4f08", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.078, "created_at": "2026-02-08T08:29:55.294196Z", "verification": {"verified": true, "answer": 24275, "timestamp": "2026-02-08T08:29:59.372552Z"}, "problem_hash": "f6cfab", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF": "no", "V1": "no"}} -{"id": "1ed71b", "alias": "comb_count_permutations_fixed_v1_1742523217_977", "problem": "Let $s = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and $f = \\sum_{k=0}^{4} (-1)^k \\binom{4}{k}$. Define $n = 8s$ and $k = 2 + f$. Let $R = \\binom{n}{k} \\cdot !{(n - k)}$, where $!m$ denotes the number of derangements of $m$ elements. Let $C$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 93$ and $1 \\leq b \\leq 93$. Compute the sum of $C$ and the sum of the squares of the positions (starting from 1 for the units digit) of each digit in $|R|$, weighted by the corresponding digit.", "answer": 8805, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(0),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(4),\n \"f\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(Const(8), Ref(\"s\")),\n \"k\": Sum(Const(2), Ref(\"f\")),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(93)), right=IntegerRange(start=Const(1), end=Const(93)))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_digits_weighted_mod", "BINOMIAL_ALTERNATING"], "recipe_id": "e6ffd5", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ENDING_digits_weighted_mod"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:22:30.657460Z", "verification": {"verified": true, "answer": 8805, "timestamp": "2026-02-08T03:22:30.661800Z"}, "problem_hash": "2cdbc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 8805, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 304, "completion_tokens": 1396}, "timestamp": "2026-02-09T09:13:52.799Z"}], "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "ENDING_digits_weighted_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "454dac", "alias": "nt_euler_phi_compute_v1_1520064083_3441", "problem": "Let $n = 42436$. Compute $\\varphi(n)$, where $\\varphi$ denotes Euler's totient function. Let $d = \\varphi(n)$, and let $D$ be the number of digits in $|d|$. For each digit index $i$ from $0$ to $D-1$, let $a_i$ be the $i$-th decimal digit of $|d|$ (with $i=0$ being the units digit). Let $b_i = i + 1$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Define $w_i = a_i \\cdot b_i^c$ for each $i$. Let $W = \\sum_{i=0}^{D-1} w_i$. Let $C = \\sum_{d' \\mid 444} \\varphi(d')$. Compute $W \\cdot C$.", "answer": 516, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(444),\n \"n\": Const(42436),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_digits_weighted_mod", "K3/ENDING_digits_weighted_mod"], "recipe_id": "455674", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_digits_weighted_mod", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:39:16.571685Z", "verification": {"verified": true, "answer": 516, "timestamp": "2026-02-08T05:39:16.576676Z"}, "problem_hash": "49930e", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "K3": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V3": "no"}} -{"id": "44b16b", "alias": "nt_min_crt_v1_865884756_3314", "problem": "Let $m = 5$ and $k = 11$. Define $a = 1$ and $b = 9$. Let $U = \\sum_{k1=1}^{10} \\phi(k1) \\left\\lfloor \\frac{10}{k1} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $n$ be the smallest integer such that $1 \\leq n \\leq U$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 104$. Compute $n^2 + 50n + c$.", "answer": 5215, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(5),\n \"k\": Const(11),\n \"a\": Const(1),\n \"b\": Const(9),\n \"upper\": Summation(var=\"k1\", start=Const(1), end=Const(10), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(10), Var(\"k1\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(104)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(50), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_quadratic_mod", "K2"], "recipe_id": "e716d4", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T17:17:48.942397Z", "verification": {"verified": true, "answer": 5215, "timestamp": "2026-02-08T17:17:48.950537Z"}, "problem_hash": "c58c35", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "K2": "ok", "ENDING_quadratic_mod": "ok_later", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}} -{"id": "c8e607", "alias": "nt_gcd_compute_v1_1918700295_2050", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 43$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Define $p$ to be the number of such integers $n$. Let $e$ be the number of distinct prime factors of $p$, and let $w$ be the number of distinct prime factors of $e$. Compute the multiplicative order of $2$ modulo $2|150416 - (282030 + w)| + 3$.", "answer": 18803, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(43),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"n1\": Ref(\"p\"),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"n\": Ref(\"e\"),\n \"w\": SmallOmega(n=Ref(name='n')),\n \"a\": Const(150416),\n \"b\": Sum(Const(282030), Ref(\"w\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/OMEGA_ONE", "OMEGA_ZERO"], "recipe_id": "204ef3", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3C", "OMEGA_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T07:40:08.832845Z", "verification": {"verified": true, "answer": 18803, "timestamp": "2026-02-08T07:40:08.835453Z"}, "problem_hash": "ead2ee", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "OMEGA_ZERO": "ok", "OMEGA_ONE": "ok_later", "K16": "no", "K17": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "61373a", "alias": "nt_count_primes_v1_1520064083_1316", "problem": "Let $\\text{result}$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 29929$. Let $p_{\\text{max}}$ be the largest prime number less than or equal to $24$. Let $\\phi$ be the number of positive integers $n$ with $1 \\leq n \\leq 11161$ such that $\\gcd(n, 12) = 1$. Compute the remainder when $\\text{result}^2 + p_{\\text{max}} \\cdot \\text{result} + \\phi$ is divided by $73261$.", "answer": 32761, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(12),\n \"upper\": Const(29929),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(24)), IsPrime(Var(\"n\"))))), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(11161)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1)))))), modulus=Const(73261)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_quadratic_mod", "C4/ENDING_quadratic_mod"], "recipe_id": "ecd560", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_quadratic_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.751, "created_at": "2026-02-08T03:55:01.159867Z", "verification": {"verified": true, "answer": 32761, "timestamp": "2026-02-08T03:55:01.910596Z"}, "problem_hash": "e6514a", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_quadratic_mod": "ok_later", "K13": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "19b0c1", "alias": "modular_mod_compute_v1_677425708_3096", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 19600$ and the sum of the decimal digits of $n$ is congruent to $1$ modulo $2$. Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq 10120$ and $5$ divides the $n$-th Fibonacci number. Compute the remainder when $a$ is divided by $m$.", "answer": 1705, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(19600)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10120)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "L3B"], "recipe_id": "dff68c", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:29:24.042838Z", "verification": {"verified": true, "answer": 1705, "timestamp": "2026-02-08T05:29:24.046421Z"}, "problem_hash": "2e3b95", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "L3B": "ok", "K15": "no", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "378491", "alias": "modular_count_residue_v1_1918700295_115", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 1470$, $\\gcd(p, q) = 1$, and $p < q$. Let $r = 0$. Define $S$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq 60031$ and $n \\equiv r \\pmod{m}$. Let $B$ be the number of elements in $S$. Compute $B + 2^B \\bmod 67129$, where the exponentiation is reduced modulo $\\sum_{k=1}^{5} k$ before being used as an exponent, and the final result is taken modulo $67129$.", "answer": 7511, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67129),\n \"upper\": Const(60031),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=1470)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"r\": Const(0),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Const(5), expr=Var(\"k\")))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/ENDING_mod_exp", "COPRIME_PAIRS", "ONE_PHI_1"], "recipe_id": "2c147a", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_mod_exp", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.715, "created_at": "2026-02-08T03:00:30.553866Z", "verification": {"verified": true, "answer": 7511, "timestamp": "2026-02-08T03:00:33.268474Z"}, "problem_hash": "6a929f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7501, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 1313}, "timestamp": "2026-02-08T22:52:08.917Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok", "ENDING_mod_exp": "ok_later", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "032302", "alias": "modular_mod_compute_v1_784195855_3408", "problem": "Let $a=17711$ and $m=16384$, and let $r$ be the remainder when $a$ is divided by $m$.\n\nLet $A$ be the number of integers $n$ with $1\\le n\\le 9210$ such that $20$ divides the $n$-th Fibonacci number $F_n$.\n\nLet $B$ be the largest prime number $n$ such that\n$$2\\le n\\le T,$$\nwhere $T$ is the number of integers $t$ for which there exist integers $u$ and $v$ satisfying\n$$1\\le u\\le 695,\\quad 1\\le v\\le 233,\\quad 9\\le t\\le 3021,\\quad t=2u+7v.$$\n(Assume such a largest prime $B$ exists.)\n\nLet\n$$S=\\big(r\\bmod A\\big)+B\\big(r\\bmod 317\\big).$$\nLet $Q$ be the remainder when $S$ is divided by $95929$.\n\nFind the value of $Q$.", "answer": 81229, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(317),\n \"a\": Const(17711),\n \"m\": Const(16384),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(9210)), Divides(divisor=Const(20), dividend=Fibonacci(arg=Var(name='n'))))))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=695)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=233)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=3021)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(95929)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW/ENDING_two_moduli", "COUNT_FIB_DIVISIBLE/ENDING_two_moduli"], "recipe_id": "fe8639", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_two_moduli", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T06:25:15.032291Z", "verification": {"verified": true, "answer": 81229, "timestamp": "2026-02-08T06:25:15.037685Z"}, "problem_hash": "9fcf23", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "ENDING_two_moduli": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "L3b": "no", "L3c": "no", "V7": "no", "V8": "no"}} -{"id": "0c2a50", "alias": "nt_count_intersection_v1_1520064083_2365", "problem": "Let $N$ be the number of positive integers $n \\leq 50000$ such that $9$ divides $n$ and $\\gcd(n, 16) = 1$. Let $P$ be the largest prime $\\leq 7004$. Let $k$ be the largest integer such that $17^k$ divides $6366!$, and let $m$ be the largest integer such that $2^m$ divides $k!$. Compute the remainder when $$ N + P \\cdot (N \\bmod 251) + (N \\bmod m) $$ is divided by $93676$.", "answer": 55809, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(251),\n \"_n\": Const(17),\n \"N\": Const(50000),\n \"a\": Const(9),\n \"b\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_m\")), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(7004)), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=MaxKDivides(target=Factorial(MaxKDivides(target=Factorial(Const(6366)), base=Const(2))), base=Ref(\"_n\"))))), modulus=Const(93676)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_two_moduli", "V1/V1/ENDING_two_moduli"], "recipe_id": "071892", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.757, "created_at": "2026-02-08T04:41:18.900774Z", "verification": {"verified": true, "answer": 55809, "timestamp": "2026-02-08T04:41:20.657695Z"}, "problem_hash": "aafa76", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "ENDING_two_moduli": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "K17": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "2835f6", "alias": "diophantine_fbi2_count_v1_1125832087_254", "problem": "Let $k = 60$. Compute the number of integers $d$ such that $5 \\leq d \\leq 59$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 56$. Let $r$ be the remainder when this count is divided by $11$. Find the value of the Bell number $B_r$, the number of partitions of a set of $r$ elements.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"a\": Const(4),\n \"b\": Const(1),\n \"upper\": Const(55),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(59)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(56))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["MIN_PRIME_FACTOR", "K3"], "recipe_id": "aa151e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.192, "created_at": "2026-02-08T02:59:32.436587Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T02:59:32.628744Z"}, "problem_hash": "1ac743", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "MOD_ADD": "no", "V3": "no"}} -{"id": "3da56a", "alias": "nt_num_divisors_compute_v1_1125832087_1594", "problem": "Let $n = 2$. Define $n_2$ to be the number of integers $k$ such that $\\phi(2) \\leq k \\leq 3203$ and the sum of the decimal digits of $k$ leaves a remainder of 1 when divided by $n$. Let $c$ be the remainder when the number of positive divisors of $n_2$ is divided by 2. Define $n_1 = 1 + c$. Let $m$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the M\\\"obius function. Define $n = 78961 \\cdot m$. Compute the number of positive divisors of $n$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Const(3203)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": Sum(Const(1), Ref(\"c\")),\n \"m\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(78961), Ref(\"m\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/DIVISOR_PARITY", "MOBIUS_SUM", "ONE_PHI_2"], "recipe_id": "5e2ef9", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "L3B", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:49:29.935430Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T03:49:29.938640Z"}, "problem_hash": "b34a67", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_2": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "K16": "no", "L3b": "no", "LTE_SUM": "no", "V1": "no"}} -{"id": "b15ca5", "alias": "nt_min_phi_inverse_v1_1353956133_5", "problem": "Let $m = 70$ and $n = 247$. Define $u$ to be the sum of all positive integers $k$ such that $1 \\le k \\le m$ and $k$ is divisible by $m$. Let $k$ be the largest integer such that $13^k$ divides $n!$. Let $S$ be the set of all positive integers $x$ such that $1 \\le x \\le u$ and $\\phi(x) = k$, where $\\phi$ denotes Euler's totient function. Determine the value of the smallest element in $S$.", "answer": 25, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70),\n \"_n\": Const(247),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(70)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_m\")), Const(0))))),\n \"k\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["SUM_DIVISIBLE", "V1"], "recipe_id": "40a9cc", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["SUM_DIVISIBLE", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.078, "created_at": "2026-02-08T11:15:50.759943Z", "verification": {"verified": true, "answer": 25, "timestamp": "2026-02-08T11:15:50.838199Z"}, "problem_hash": "bda6b7", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3b": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "f5de30", "alias": "diophantine_fbi2_count_v1_1874849503_941", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 90$ and $t = 5a + 2b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 35$. Let $k$ be the number of positive integers $n \\leq |T|$ such that $n \\equiv 0 \\pmod{16}$. Let $S$ be the set of all integers $d \\geq 2$ such that $d$ divides $k$, $\\frac{k}{d} \\geq 4$, and $\\frac{k}{d} \\leq 199$. Compute the remainder when $44121 \\cdot |S|$ is divided by $63664$.", "answer": 5632, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=35)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=90)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Eq(Mod(value=Var(\"n\"), modulus=Const(16)), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(8271833)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(199))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(63664)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE", "MIN_PRIME_FACTOR"], "recipe_id": "053d4b", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.034, "created_at": "2026-02-08T13:26:19.164557Z", "verification": {"verified": true, "answer": 5632, "timestamp": "2026-02-08T13:26:19.199026Z"}, "problem_hash": "9b2e95", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok_later", "K14": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "67c997", "alias": "nt_euler_phi_compute_v1_1520064083_2349", "problem": "Let $n_0 = 78961$. Consider all pairs of positive integers $(x, y)$ such that $x + y = 146$, and let $n_2$ be the maximum value of $xy$ over all such pairs. Let $\\lambda(n)$ denote the Liouville function, and define $e = \\lambda(n_2)$. Let $g = 10$, $m = 15$, $n_1 = 10$, $a = g \\cdot m$, and $b = g \\cdot n_1$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a,b)$, where $\\mu$ is the M\\\"obius function. Define $n = n_0 + c$. Let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when\n$$\n\\varphi(n) + \\varphi\\left(|\\varphi(n)| + |e|\\right) + \\tau\\left(|\\varphi(n)| + 1\\right)\n$$\nis divided by $81605$, where $\\tau(k)$ is the number of positive divisors of $k$.", "answer": 49531, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78961),\n \"n2\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(146)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"e\": LiouvilleLambda(n=Ref(name='n2')),\n \"g\": Const(10),\n \"m\": Const(15),\n \"n1\": Const(10),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Ref(\"_n\"), Ref(\"c\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Mul(Const(1), Ref(\"e\")))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))), modulus=Const(81605)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/LIOUVILLE_ONE", "MOBIUS_COPRIME"], "recipe_id": "1039a2", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B1", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T04:39:36.269771Z", "verification": {"verified": true, "answer": 49531, "timestamp": "2026-02-08T04:39:36.272400Z"}, "problem_hash": "8aa7d1", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K14": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "a8ab2a", "alias": "antilemma_product_of_sums_v1_1520064083_375", "problem": "Let $M = 54894$. Let $N$ be the number of integers $t$ such that $16 \\le t \\le 60$ and there exist integers $a$ and $b$ with $1 \\le a \\le 5$, $1 \\le b \\le 3$, and\n$$t = 6a + 10b.$$\n\nConsider all ordered pairs $(k,j)$ of integers with $1 \\le k \\le 15$ and $1 \\le j \\le 2$. Let $S_1$ be the sum of all values of $k$ over these ordered pairs, and let\n$$S_2 = \\sum_{k=1}^{25} k.$$\nDefine $x = S_1 S_2$.\n\nLet $P$ be the number of positive integers $p$ for which there exists an integer $q$ such that\n$$pq = 18, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nDefine\n$$Q = x + \\left(x^P \\bmod N\\right) \\bmod M,$$\nwhere $r \\bmod m$ denotes the remainder when $r$ is divided by $m$.\n\nFind the value of $Q$.", "answer": 78001, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(54894),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=60)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Const(25), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Mod(value=Ref(\"x\"), modulus=Ref(\"_n\"))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS/ENDING_mod_exp", "PRODUCT_OF_SUMS"], "recipe_id": "72bd02", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_mod_exp", "LIN_FORM", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.039, "created_at": "2026-02-08T03:19:12.298656Z", "verification": {"verified": true, "answer": 78001, "timestamp": "2026-02-08T03:19:12.337535Z"}, "problem_hash": "d9ce45", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "COPRIME_PAIRS": "ok_later", "ENDING_mod_exp": "ok_later", "DS2": "no", "K13": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no"}} -{"id": "764d00", "alias": "nt_sum_divisors_compute_v1_1520064083_4545", "problem": "Let $m = 396$. Define $t$ to be the number of positive integers $n$ such that $1 \\le n \\le m$ and $16$ divides the $n$-th Fibonacci number $F_n$. Let $s = \\sigma(38226)$, the sum of all positive divisors of 38226. Let $d$ be the number of positive integers $k$ such that $1 \\le k \\le 462$ and $t$ divides $k$. Compute the remainder when\n$$\ns + 2^{s \\bmod d}\n$$\nis divided by 58254.", "answer": 84160, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(396),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(16), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": Const(38226),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(462)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')))), modulus=Const(58254))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/C2/ENDING_mod_exp"], "recipe_id": "1ba600", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COUNT_FIB_DIVISIBLE", "ENDING_mod_exp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:19:05.822983Z", "verification": {"verified": true, "answer": 84160, "timestamp": "2026-02-08T06:19:05.826075Z"}, "problem_hash": "ed1e71", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "C2": "ok_later", "ENDING_mod_exp": "ok_later", "K15": "no", "K18": "no", "K5": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}} -{"id": "cc3768", "alias": "comb_sum_binomial_row_v1_1918700295_414", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 38868$ and $3$ divides the $n$-th Fibonacci number. Let $m$ be the number of elements in $A$. Let $B$ be the set of positive integers $n$ such that $1 \\leq n \\leq m$, $3$ divides $n$, and $\\gcd(n, 10) = 1$. Let $c$ be the number of elements in $B$. Compute $c - 2^{16}$, and find the remainder when this value is divided by $53759$.", "answer": 43278, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(38868)), Divides(divisor=Const(3), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": Const(16),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))), Ref(\"result\")), modulus=Const(53759)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/C5/ENDING_negation_mod"], "recipe_id": "1997c2", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "COUNT_FIB_DIVISIBLE", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:13:05.904222Z", "verification": {"verified": true, "answer": 43278, "timestamp": "2026-02-08T03:13:05.906767Z"}, "problem_hash": "e6e6d4", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "C5": "ok_later", "ENDING_negation_mod": "ok_later", "DS2": "no", "K13": "no", "K17": "no", "LTE_SUM": "no", "V5": "no"}} -{"id": "51adad", "alias": "antilemma_v1_legendre_1125832087_1137", "problem": "Let $p_1 = 19$ and $q_1 = 31$, and define $n_1 = (p_1 q_1)^2$. Let $u$ be the remainder when the number of positive divisors of $n_1$ is divided by the number of ordered pairs $(p, q)$ of positive integers such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $p = 53$ and let $q$ be the largest prime number satisfying $2 \\leq q \\leq 3$. Define $n = p^2 (q + 1)$ and let $s = (\\mu(n))^2$, where $\\mu$ is the M\\\"obius function. Let $x$ be the largest integer $k$ such that $2^k$ divides $s + 7168!$. Compute the Bell number of the absolute value of $x$ modulo $11u$. Find the value of this Bell number.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11),\n \"_m\": Const(2),\n \"p1\": Const(19),\n \"q1\": Const(31),\n \"n1\": Pow(Mul(Ref(\"p1\"), Ref(\"q1\")), Const(2)),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"p\": Const(53),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"s\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"_n\": Sum(Const(7168), Ref(\"s\")),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=Mul(Ref(\"_c\"), Ref(\"u\")))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "COPRIME_PAIRS/DIVISOR_PARITY", "V1"], "recipe_id": "29e82c", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "V1"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:33:16.409656Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T03:33:16.415936Z"}, "problem_hash": "e3d4a1", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "7997e2", "alias": "geo_count_lattice_triangle_v1_1918700295_1744", "problem": "Let $c = 169$, $m = 128$, and $n = 2$. Define\n\\[\n\\text{area}_{2x} = \\left| 136 \\cdot 128 + c \\cdot (0 - 13) \\right|.\n\\]\nLet $A = 136$, $B = 13$, $C = \\sum_{d \\mid 169} \\phi(d) - \\sum_{k=1}^{16} k$, $D = 128 - 13$, $E = 0 - 169$, and $F = 0 - m$. Define the boundary term as\n\\[\n\\text{boundary} = \\gcd(|A|, |B|) + \\gcd(|C|, |D|) + \\gcd(|E|, |F|).\n\\]\nCompute\n\\[\n\\frac{\\text{area}_{2x} + 2 - \\text{boundary}}{n}.\n\\]", "answer": 7605, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(169),\n \"_m\": Const(128),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=136), Const(value=128)), Mul(Ref(name='_c'), Sub(left=Const(value=0), right=Const(value=13))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=136)), b=Abs(arg=Const(value=13))), GCD(a=Abs(arg=Sub(left=SumOverDivisors(n=Const(value=169), var='d', expr=EulerPhi(n=Var(name='d'))), right=Summation(expr=Var(name='k'), var='k', start=Const(value=1), end=Const(value=16)))), b=Abs(arg=Sub(left=Const(value=128), right=Const(value=13)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_m'))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "COMB1", "K3"], "recipe_id": "3f6643", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K3", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T05:59:20.346134Z", "verification": {"verified": true, "answer": 7605, "timestamp": "2026-02-08T05:59:20.357135Z"}, "problem_hash": "9b4124", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "K3": "ok", "SUM_ARITHMETIC": "ok", "K13": "no", "L3c": "no", "LTE_SUM": "no", "V7": "no", "V8": "no"}} -{"id": "95b849", "alias": "antilemma_sum_equals_v1_153355830_1822", "problem": "Let $n$ be the number of integers $t$ such that $12 \\leq t \\leq 23$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 5$, and $t = 3a + 2b + 7$. Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 9$ such that $i + j = n$. Compute $$ Q = 5^{|x|} \\bmod 99991 + \\text{the number of integers } t \\text{ such that } 18 \\leq t \\leq 2076 $$ and for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 225$, $1 \\leq b \\leq 84$, and $t = 4a + 14b$. Find the value of $Q$.", "answer": 54320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=23)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=7)))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=225)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=84)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=2076)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_two_stage_modexp", "LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "668735", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_two_stage_modexp", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T06:38:35.634681Z", "verification": {"verified": true, "answer": 54320, "timestamp": "2026-02-08T06:38:35.646349Z"}, "problem_hash": "a1be86", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ENDING_two_stage_modexp": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "9dfd8d", "alias": "antilemma_product_of_sums_v1_677425708_440", "problem": "Let $m=19$ and $n=6$. Define\n\\[S_1=\\sum_{k=1}^{n} k.\n\\]\nLet $P$ be the set of all integers between $2$ and $18$, inclusive, that are prime, and let $g$ be the greatest element of $P$. Let\n\\[h=\\gcd(g,m).\n\\]\nFor each positive divisor $d$ of $h$, let $\\mu(d)$ be the Möbius function of $d$, and define\n\\[u=\\sum_{d\\mid h} \\mu(d).\n\\]\nConsider all ordered pairs $(k,j)$ of integers with $1\\le k\\le 13$ and $1\\le j\\le 10$ that satisfy $u=0$. Let $S_2$ be the sum of all first coordinates $k$ over these pairs.\n\nLet\n\\[x=S_1\\cdot S_2.\n\\]\nDefine\n\\[Q\\equiv 44121\\cdot x \\pmod{51010},\\quad 0\\le Q<51010.\n\\]\nFind the value of $Q$. ", "answer": 8020, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(19),\n \"_n\": Const(6),\n \"S1\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=18)), IsPrime(arg=Var(name='n'))))), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Var(\"k\"))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(51010)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME/SUM_INDEPENDENT", "PRODUCT_OF_SUMS"], "recipe_id": "108088", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "SUM_INDEPENDENT"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:33:00.643702Z", "verification": {"verified": true, "answer": 8020, "timestamp": "2026-02-08T03:33:00.645480Z"}, "problem_hash": "4aae5b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 356, "completion_tokens": 917}, "timestamp": "2026-02-08T20:34:48.138Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_INDEPENDENT": "ok_later", "K13": "no", "K16": "no", "V3": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "ccc84e", "alias": "comb_count_permutations_fixed_v1_677425708_1427", "problem": "Let $m = 4$. Define $p$ to be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = m$. Let $n$ be the sum\n$$\n\\sum_{k = \\phi(2)}^{p} \\phi(k) \\left\\lfloor \\frac{q}{k} \\right\\rfloor,\n$$\nwhere $q$ is the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = 4$. Let $k = 7$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 240, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Var(\"k\"))))),\n \"k\": Const(7),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/K2", "ONE_PHI_2"], "recipe_id": "062b78", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "K2", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:11:43.646704Z", "verification": {"verified": true, "answer": 240, "timestamp": "2026-02-08T04:11:43.650718Z"}, "problem_hash": "7fd1ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 240, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 1301}, "timestamp": "2026-02-09T19:52:29.578Z"}], "lemma_applicability": {"B1": "ok", "ONE_PHI_2": "ok", "K2": "ok_later", "L3b": "no", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "ae44ca", "alias": "nt_count_divisors_in_range_v1_784195855_951", "problem": "Let $ n = 166320 + \\sum_{d \\mid \\gcd(3 \\cdot 14, 3 \\cdot 14)} \\mu(d) $, where $ \\mu $ denotes the M\\\"obius function. Let $ a = 14 \\cdot \\mu(23)^2 $. Let $ b $ be the minimum value of $ x + y $ over all ordered pairs $ (x, y) $ of positive integers such that $ xy = 356409 $. Determine the value of the number of positive divisors $ d $ of $ n $ such that $ a \\leq d \\leq b $.", "answer": 95, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"n2\": Const(23),\n \"w\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"g\": Const(3),\n \"m\": Const(14),\n \"n1\": Const(14),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(166320), Ref(\"v\")),\n \"a\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(356409)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_COPRIME", "B3"], "recipe_id": "1d7f21", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.152, "created_at": "2026-02-08T04:43:19.603719Z", "verification": {"verified": true, "answer": 95, "timestamp": "2026-02-08T04:43:19.755620Z"}, "problem_hash": "7e6b72", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SQUAREFREE": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "MOD_ADD": "no"}} -{"id": "cf164f", "alias": "nt_sum_totient_over_divisors_v1_1918700295_1748", "problem": "Let $d_0=2$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=1022121$. For each such pair, form the sum $x+y$. Let $m$ be the minimum of all such values of $x+y$.\n\nLet $N=75822$. Let $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ such that\n$$1\\le a\\le 1999,\\quad 1\\le b\\le 325,\\quad 7\\le t\\le 8971,\\quad t=4a+3b.$$\nLet $n$ be the number of elements of $T$.\n\nLet\n$$R=\\sum_{d\\mid n} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Let $c$ be the greatest prime number satisfying\n$$d_0\\le c\\le m.$$\n\nLet $Q$ be the remainder when $c-R$ is divided by $N$, taken in the set $\\{0,1,2,\\dots,75821\\}$.\n\nFind the value of $Q$.", "answer": 68880, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1022121)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(75822),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1999)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=325)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=8971)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_d\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LIN_FORM/MAX_PRIME_BELOW/ENDING_negation_mod"], "recipe_id": "163dda", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T05:59:22.881644Z", "verification": {"verified": true, "answer": 68880, "timestamp": "2026-02-08T05:59:22.885471Z"}, "problem_hash": "e07ae8", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ENDING_negation_mod": "ok_later", "LIN_FORM": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3c": "no", "LTE_DIFF": "no", "V5": "no"}} -{"id": "1f3620", "alias": "comb_sum_binomial_mod_v1_1520064083_366", "problem": "Let $m = 261$ and let $n$ be the number of ordered pairs $(a,b)$ of integers such that $1 \\leq a \\leq 31$ and $1 \\leq b \\leq 65$. Define $S$ to be the set of all positive integers $k$ from 52 to $m$, inclusive, such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}$. Let $\\sigma$ be the sum of the binomial coefficients $\\binom{|S|}{k}$ for all $k$ from 52 to $m$. Find the remainder when $\\sigma$ is divided by $10789$.", "answer": 6938, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(261),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(65)))),\n \"sum\": Summation(var=\"k\", start=Const(52), end=Ref(\"_m\"), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10789)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/L3C"], "recipe_id": "2420ab", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.025, "created_at": "2026-02-08T03:18:33.756358Z", "verification": {"verified": true, "answer": 6938, "timestamp": "2026-02-08T03:18:33.781016Z"}, "problem_hash": "954cc5", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "L3C": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no", "V1": "no"}} -{"id": "ebab02", "alias": "nt_gcd_compute_v1_1918700295_1450", "problem": "Let $p$ be the smallest prime divisor of $71339959$, and let $q = 13$. Define $n_1 = (pq)^2$. Let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $a$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 12355225$. Let $b = 15466 \\cdot e$. Define $r = \\gcd(a, b)$. Compute the remainder when $44121r$ is divided by $55724$.", "answer": 14427, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15466),\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(71339959))))),\n \"q\": Const(13),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Ref(\"_n\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(1),\n \"w\": SmallOmega(n=Ref(name='n')),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(12355225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Mul(Ref(\"_m\"), Ref(\"e\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Const(55723), Ref(\"w\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "OMEGA_ZERO", "B3"], "recipe_id": "c3dd0b", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "MIN_PRIME_FACTOR", "OMEGA_ZERO"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T05:50:49.911687Z", "verification": {"verified": true, "answer": 14427, "timestamp": "2026-02-08T05:50:49.918545Z"}, "problem_hash": "b48780", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "OMEGA_ZERO": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "L3c": "no", "MOD_ADD": "no"}} -{"id": "b07a7b", "alias": "antilemma_sum_equals_v1_151522320_1250", "problem": "Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 198$. Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 97$ and $1 \\leq j \\leq 98$ such that $i + j = n$. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 37$ and $1 \\leq j \\leq 37$ such that $i + j = 39$. Find the remainder when $c - x$ is divided by $67250$.", "answer": 67189, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(39),\n \"_m\": Const(198),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(98))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_d\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(37))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(67250)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_negation_mod", "COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "b4aae4", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T03:51:37.966657Z", "verification": {"verified": true, "answer": 67189, "timestamp": "2026-02-08T03:51:37.977432Z"}, "problem_hash": "65f5f1", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "52525a", "alias": "comb_factorial_compute_v1_1520064083_5672", "problem": "Let $n = 7$. Let $f = n!$. Let $T$ be the set of all integers $t$ such that $12 \\leq t \\leq 9035$ and there exist positive integers $a \\leq 735$ and $b \\leq 778$ such that $t = 7a + 5b$. Let $m$ be the number of elements in $T$. Let $c$ be the number of positive integers $j$ such that $j^2 \\leq 81000000$ and $j \\leq m$. Let $s$ be the sum over all digits of $f$, where the $i$-th digit (starting from the units place as $i=0$) is multiplied by $(i+1)^2$. Compute $s + c$.", "answer": 9096, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=735)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=778)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=9035)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(81000000))), domain='positive_integers')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C3/ENDING_digits_weighted_mod"], "recipe_id": "8e3bcd", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_digits_weighted_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T07:32:44.389382Z", "verification": {"verified": true, "answer": 9096, "timestamp": "2026-02-08T07:32:44.394318Z"}, "problem_hash": "ab8574", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "C3": "ok_later", "ENDING_digits_weighted_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "1a4e27", "alias": "nt_count_squarefree_v1_1742523217_983", "problem": "Let $w$ be the number of distinct prime factors of $1$.\n\nLet $N$ be the number of positive integers $k$ such that $1 \\le k \\le M$ and $77$ divides $k$, where $M$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 989$, $1 \\le b \\le 112$, $10 \\le t \\le 7259$, and\n$$t = 7a + 3b.$$\n\nDefine\n$$f = \\mu(N)^{2 + w},$$\nwhere $\\mu$ denotes the Möbius function.\n\nLet $U = 30241 f$. Let $R$ be the number of positive integers $n$ such that $1 \\le n \\le U$ and\n$$\\mu(n)\\cdot\\mu(n) = 1.$$\n\nCompute $R$. ", "answer": 18389, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77),\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=989)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=112)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=7259)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"f\": Pow(MoebiusMu(n=Ref(name='n')), Sum(Ref(\"_n\"), Ref(\"w\"))),\n \"upper\": Mul(Const(30241), Ref(\"f\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2/MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "recipe_id": "4281d6", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C2", "LIN_FORM", "MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 4.164, "created_at": "2026-02-08T03:22:30.749061Z", "verification": {"verified": true, "answer": 18389, "timestamp": "2026-02-08T03:22:34.913071Z"}, "problem_hash": "77dec9", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 8192}, "timestamp": "2026-02-09T09:29:26.726Z"}], "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ZERO": "ok", "C2": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "3e0bde", "alias": "comb_count_permutations_fixed_v1_784195855_2836", "problem": "Let $n$ be the number of nonnegative integers $j$ at most $36928$ such that $\\binom{36928}{j}$ is odd. Let $k$ be the number of positive integers $n$ at most $25$ that are divisible by $5$ and relatively prime to $12$. Define $\\mathcal{D}(m)$ to be the number of derangements of $m$ elements. Let $Q = 20736 - \\binom{n}{k} \\cdot \\mathcal{D}(n - k)$. Find the value of $Q$.", "answer": 13316, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(36928),\n \"_n\": Const(20736),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(36928)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(25)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "C5"], "recipe_id": "a532c0", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:04:28.928193Z", "verification": {"verified": true, "answer": 13316, "timestamp": "2026-02-08T06:04:28.931499Z"}, "problem_hash": "3cf1c0", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "V8": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K17": "no", "L3c": "no", "MOD_MUL": "no"}} -{"id": "02fda8", "alias": "sequence_lucas_compute_v1_1915831931_2155", "problem": "Let $n$ be the number of prime numbers between 2 and 79, inclusive. Let $r = L_n$, where $L_n$ denotes the $n$th Lucas number. Let $c$ be the maximum value of $x \\cdot y$ over all pairs of positive integers $(x, y)$ such that $x + y = 12$. Compute the remainder when $c - r$ is divided by 84381.", "answer": 44814, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(79)), IsPrime(Var(\"n1\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(84381)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_negation_mod", "COUNT_PRIMES"], "recipe_id": "18e742", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T16:39:07.832424Z", "verification": {"verified": true, "answer": 44814, "timestamp": "2026-02-08T16:39:07.836874Z"}, "problem_hash": "a31e9c", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}} -{"id": "e3f291", "alias": "nt_min_coprime_above_v1_458359167_1361", "problem": "Let $n$ be the least integer such that $20160 0 \\\\ x+y=s}} xy \\right) + 111 - 512.\n$$\n\nLet $B$ be the sum of the greatest common divisors of the absolute values of the following three pairs:\n- $121$ and $64$,\n- $8 - 121$ and $111 - 64$,\n- $0 - 8$ and $0 - 111$.\n\nDefine $R$ by\n$$\nR = \\frac{A + 2 - B}{2}.\n$$\n\nCompute the sum of the number of positive divisors of all integers from 1 to $|R|$ inclusive. That is, compute\n$$\n\\sum_{n=1}^{|R|} \\tau(n),\n$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 57652, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": Const(64),\n \"area_2x\": Abs(arg=Sum(Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='y1')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(left=Mul(Var(name='x1'), Var(name='y1')), right=Const(value=121)))), expr=Sum(Var(name='x1'), Var(name='y1'))))))), expr=Mul(Var(name='x'), Var(name='y')))), Const(value=111)), Mul(Ref(name='_m'), Sub(left=Const(value=0), right=Const(value=64))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=Const(value=8), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=64)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=8))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=111))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "B3/B1"], "recipe_id": "7c6036", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T17:34:43.166119Z", "verification": {"verified": true, "answer": 57652, "timestamp": "2026-02-08T17:34:43.182529Z"}, "problem_hash": "87a147", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok", "B1": "ok_later", "C2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no"}} -{"id": "afe376", "alias": "nt_sum_divisors_mod_v1_153355830_1669", "problem": "Let $m = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$ and $n = \\sum_{k=1}^{m} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor$. Let $T$ be the set of all integers $t$ with $9 \\leq t \\leq 5060$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 832$, $1 \\leq b \\leq 225$, and $t = 5a + 4b$. Let $\\sigma$ be the sum of all positive divisors of the number of elements in $T$. Compute the remainder when $n - \\sigma$ is divided by $95582$.", "answer": 86506, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(95582),\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=832)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=225)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=5060)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"M\": Const(10247),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2/LIN_FORM/ENDING_negation_mod"], "recipe_id": "cd154d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:32:59.448360Z", "verification": {"verified": true, "answer": 86506, "timestamp": "2026-02-08T06:32:59.451744Z"}, "problem_hash": "82b9fa", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "ENDING_negation_mod": "ok_later", "LIN_FORM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "9cad16", "alias": "antilemma_product_of_sums_v1_1520064083_447", "problem": "Let $S_1$ be the sum of all integers $j$ with $0 \\leq j \\leq 31$ such that $\\binom{31}{j} \\equiv 1 \\pmod{m}$, where $m$ is the number of positive integers $p$ for which there exists an integer $q$ satisfying $p \\cdot q = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $S_2$ be the sum of the first components $k$ over all ordered pairs $(k, j)$ with $1 \\leq k \\leq 5$ and $1 \\leq j \\leq 6$. Let $x = S_1 \\cdot S_2$. Compute the remainder when $38171 \\cdot x$ is divided by 65176.", "answer": 57272, "graph": "graphs = [\n Graph(\n let={\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(31)), Eq(Mod(value=Binom(n=Const(31), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=EulerPhi(n=Const(2)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Var(\"k\"))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": Const(38171),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(65176)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "aced18", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_2", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:21:35.432711Z", "verification": {"verified": true, "answer": 57272, "timestamp": "2026-02-08T03:21:35.434961Z"}, "problem_hash": "144a10", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "L3c": "no", "LTE_DIFF": "no", "V8_SUM": "no"}} -{"id": "3b2752", "alias": "antilemma_sum_equals_v1_677425708_634", "problem": "Let $N$ be the number of integers $t$ such that $12 \\leq t \\leq 129$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 9$, $1 \\leq b \\leq 12$, and $t = 5a + 7b$. Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 94$, $1 \\leq j \\leq 94$, and $i + j = N$. Compute $$\\sum_{n=1}^{x} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 439, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=12)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=129)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(94)), right=IntegerRange(start=Const(1), end=Const(94))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(2), k=Const(2)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_BINOM_N"], "recipe_id": "f9469e", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T03:38:05.814740Z", "verification": {"verified": true, "answer": 439, "timestamp": "2026-02-08T03:38:05.834184Z"}, "problem_hash": "e7c9ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:51:54.853Z"}], "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "9630b1", "alias": "antilemma_v8_lucas_784195855_1222", "problem": "Let $N=96242$. For each integer $j$ with $0\\le j\\le N$, consider the binomial coefficient $\\binom{N}{j}$. Let $A$ be the set of all integers $n$ with $1\\le n\\le 30$ such that the sum of the binary digits of $n$ is even. Let\n$$g=\\gcd\\bigl(|A|,22\\bigr),$$\nand let\n$$s=\\sum_{d\\mid g}\\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $x$ be the number of integers $j$ with $0\\le j\\le N$ such that\n$$\\binom{N}{j}\\equiv s\\pmod{2}.$$\nDefine\n$$Q\\equiv 7^{|x|}+36481\\pmod{99991},$$\nwhere $0\\le Q<99991$. Find the value of $Q$.", "answer": 64608, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(96242)), Eq(Mod(value=Binom(n=Const(96242), k=Var(\"j\")), modulus=Ref(\"_n\")), SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=30)), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Const(value=2)), right=Const(value=0))))), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d'))))), domain='nonnegative_integers')),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(36481)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MOBIUS_COPRIME/V8", "V8"], "recipe_id": "745c9b", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["L3B", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:54:32.650982Z", "verification": {"verified": true, "answer": 64608, "timestamp": "2026-02-08T04:54:32.653779Z"}, "problem_hash": "15d61e", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "V8": "ok", "MOBIUS_COPRIME": "ok_later", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "134426", "alias": "comb_count_surjections_v1_153355830_2368", "problem": "Let $c$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\le i \\le 22$, $1 \\le j \\le 22$, and $i + j = 23$. Let $m$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1 + x_2 = c$. Let $n$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\le i \\le 9$, $1 \\le j \\le 9$, and $i + j = m$. Define $n_{\\text{final}}$ as the number of ordered pairs $(i,j)$ of positive integers with $1 \\le i \\le 7$, $1 \\le j \\le 7$, and $i + j = n$. Let $\\text{result} = 5! \\cdot S(n_{\\text{final}},5)$, where $S(n,k)$ denotes the Stirling number of the second kind. Find the remainder when $44121 \\cdot \\text{result}$ is divided by $76948$.", "answer": 69664, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(44121),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(23)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(22))))),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_c\"))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(7))))),\n \"k\": Const(5),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Mul(Ref(\"_d\"), Ref(\"result\")), modulus=Const(76948)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS/COUNT_SUM_EQUALS"], "recipe_id": "ac6e20", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.029, "created_at": "2026-02-08T07:05:01.523290Z", "verification": {"verified": true, "answer": 69664, "timestamp": "2026-02-08T07:05:01.552048Z"}, "problem_hash": "de8b45", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}} -{"id": "a74c1c", "alias": "nt_count_gcd_equals_v1_1742523217_5295", "problem": "Let $ u $ be the number of ordered pairs $ (i, j) $ with $ 1 \\leq i \\leq 88 $ and $ 1 \\leq j \\leq 126 $ such that $ \\gcd(i, j) = 1 $. Let $ k $ be the largest integer such that $ 41^k $ divides\n\\[\n12417343769139486882278320020632149721 \\times 1028284051348806419394197543369106879402347184354526438356021285427505174089263570927642922527417489867055794217534472469588506532366490069178590326882959609312975042299667940411716121540133797992945134031524307659206442486664205230346703270997562262053554394354898915800385934627096740023338982650551096176130365012268569098493164307992266875369134527719599797779031077728286267324510697972813658206340287539069272722923204056589810192137584654531294005520048412522565642325035837095359079275592561789140222724647164386152204788486662110533892441184950778640514142058908985507798342146533136974976113172281071834034194946125983364275355895473095701922341825644469743468719187523828046145974712917542923699161.\n\\]\nFind the number of positive integers $ n \\leq u $ such that $ \\gcd(n, k) = 2 $. Compute the remainder when $ 66229 $ times this number is divided by 87388.", "answer": 50925, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(88)), right=IntegerRange(start=Const(1), end=Const(126))))),\n \"k\": MaxKDivides(target=Mul(Const(12417343769139486882278320020632149721), Const(1028284051348806419394197543369106879402347184354526438356021285427505174089263570927642922527417489867055794217534472469588506532366490069178590326882959609312975042299667940411716121540133797992945134031524307659206442486664205230346703270997562262053554394354898915800385934627096740023338982650551096176130365012268569098493164307992266875369134527719599797779031077728286267324510697972813658206340287539069272722923204056589810192137584654531294005520048412522565642325035837095359079275592561789140222724647164386152204788486662110533892441184950778640514142058908985507798342146533136974976113172281071834034194946125983364275355895473095701922341825644469743468719187523828046145974712917542923699161)), base=Const(41)),\n \"d\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(66229), Ref(\"result\")), modulus=Const(87388)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "K13"], "recipe_id": "684d9a", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.521, "created_at": "2026-02-08T10:54:26.504240Z", "verification": {"verified": true, "answer": 50925, "timestamp": "2026-02-08T10:54:27.025459Z"}, "problem_hash": "7792a7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "K13": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "90f315", "alias": "comb_factorial_compute_v1_1116507919_366", "problem": "Let $N=58$. Let\n$$h=\\sum_{k=0}^0(-1)^k\\binom{0}{k}.$$\n\nConsider all integers $t$ such that there exist integers $a$ and $b$ with $1\\le a\\le 4$, $1\\le b\\le 7$, $5\\le t\\le 26$, and\n$$t=3a+2b.$$\nLet $K$ be the number of such integers $t$.\n\nLet\n$$s=\\sum_{k=\\binom{K}{0}-1}^0(-1)^k\\binom{0}{k},$$\nand let $n=8s$.\n\nLet $R$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=N.$$\nLet $F=n!$.\n\nLet $Q$ be the remainder when $Rh-F$ is divided by $70872$.\n\nFind the value of $Q$.", "answer": 30581, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(58),\n \"n2\": Const(0),\n \"h\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"s\": Summation(var=\"k\", start=Sub(Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=26)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), k=Const(0)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(Const(8), Ref(\"s\")),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Sub(Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"h\")), Ref(\"result\")), modulus=Const(70872)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING/ENDING_negation_mod", "LIN_FORM/ZERO_BINOM_0/BINOMIAL_ALTERNATING"], "recipe_id": "f5f949", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ENDING_negation_mod", "LIN_FORM", "ZERO_BINOM_0"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:32:18.924188Z", "verification": {"verified": true, "answer": 30581, "timestamp": "2026-02-08T02:32:18.928127Z"}, "problem_hash": "eb7d9c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 30581, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 334, "completion_tokens": 5344}, "timestamp": "2026-02-08T19:26:40.454Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30581, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 330, "completion_tokens": 1356}, "timestamp": "2026-02-09T16:36:54.643Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:25:34.524Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 30581, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 1229}, "timestamp": "2026-02-09T20:08:47.973Z"}], "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "ENDING_negation_mod": "ok_later", "ZERO_BINOM_0": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "fe8a4a", "alias": "antilemma_v1_legendre_677425708_2976", "problem": "Let $n = 19365!$ and $k = 5$. Let $x$ be the largest integer such that $k^x$ divides $n$. Let $S$ be the set of all integers $d \\geq 2$ that divide $26071$. Let $m = 77515$. Compute the remainder when $x^2 + 9x + \\min(S)$ is divided by $m$.", "answer": 40285, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77515),\n \"_n\": Const(5),\n \"x\": MaxKDivides(target=Factorial(Const(19365)), base=Ref(\"_n\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(9), Ref(\"x\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(26071)))))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_quadratic_mod", "V1"], "recipe_id": "906b0c", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:24:46.684517Z", "verification": {"verified": true, "answer": 40285, "timestamp": "2026-02-08T05:24:46.686270Z"}, "problem_hash": "1e5543", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "ENDING_quadratic_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "MOD_ADD": "no", "V3": "no", "V8": "no"}} -{"id": "963e10", "alias": "nt_count_intersection_v1_677425708_3718", "problem": "Let $a = 146$ and $b = 159$. Let $g = \\gcd(a,b)$, and define $e = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $s = \\Omega(97)$, the number of prime factors of 97 counted with multiplicity. Define $N = 20000e$, $a' = 5$, and $b' = s \\cdot v$, where $v$ is the largest integer such that $3^v$ divides $48!$. Determine the number of positive integers $n \\leq N$ such that $a'$ divides $n$ and $\\gcd(n, b') = 1$.", "answer": 1818, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48),\n \"a1\": Const(146),\n \"b1\": Const(159),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(97),\n \"s\": BigOmega(n=Ref(name='p')),\n \"N\": Mul(Const(20000), Ref(\"e\")),\n \"a\": Const(5),\n \"b\": Mul(MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(3)), Ref(\"s\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/BIG_OMEGA_ONE", "MOBIUS_COPRIME"], "recipe_id": "534bae", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.038, "created_at": "2026-02-08T05:54:56.192235Z", "verification": {"verified": true, "answer": 1818, "timestamp": "2026-02-08T05:54:57.230260Z"}, "problem_hash": "85a5fe", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "V1": "ok", "BIG_OMEGA_ONE": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "595bb7", "alias": "nt_count_coprime_and_v1_458359167_542", "problem": "Let $N = 23293$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 18$, and let $M = \\max P$. Let $c = \\sum_{d \\mid \\gcd(13,M)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n,10) = c$. Let $u$ be the number of elements in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq u$, $\\gcd(n,8) = 1$, and $\\gcd(n,9) = 1$. Let $r$ be the number of elements in $T$. Compute the remainder when $20896r$ is divided by $80505$.", "answer": 15946, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23293),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), SumOverDivisors(n=GCD(a=Const(value=13), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=18)), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"k1\": Const(8),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(20896), Ref(\"result\")), modulus=Const(80505)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME/C4"], "recipe_id": "5b6799", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.904, "created_at": "2026-02-08T03:24:13.459637Z", "verification": {"verified": true, "answer": 15946, "timestamp": "2026-02-08T03:24:14.363829Z"}, "problem_hash": "1c6eff", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C4": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "4e0c5e", "alias": "nt_count_coprime_v1_1918700295_3815", "problem": "Let $n = 70640$ and $k = 9$. Define $A$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq 14641$ and $\\gcd(n, k) = 1$. Let $a$ be the number of elements in $A$.\n\nLet $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 2004$ and the sum of the decimal digits of $n$ is odd. Let $b$ be the number of elements in $B$. Define $C$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq b$ and $n$ is divisible by $59$. Let $c$ be the sum of all elements of $C$.\n\nCompute the remainder when $c \\cdot a$ is divided by $n$.", "answer": 24467, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70640),\n \"upper\": Const(14641),\n \"k\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2004)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), Eq(Mod(value=Var(\"n\"), modulus=Const(59)), Const(0))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/SUM_DIVISIBLE/ENDING_affine_mod"], "recipe_id": "099d6e", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "L3B", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.763, "created_at": "2026-02-08T08:57:46.091229Z", "verification": {"verified": true, "answer": 24467, "timestamp": "2026-02-08T08:57:47.854556Z"}, "problem_hash": "eb9081", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "ENDING_affine_mod": "ok_later", "SUM_DIVISIBLE": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "L3c": "no", "V3": "no", "V8": "no"}} -{"id": "66180f", "alias": "nt_num_divisors_compute_v1_1125832087_1391", "problem": "Let $n = 45360$. Determine the value of the number of positive divisors of $n$.", "answer": 100, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(45360),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SUM", "B3/DIVISOR_PARITY"], "recipe_id": "ea4ef5", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.022, "created_at": "2026-02-08T03:42:42.141939Z", "verification": {"verified": true, "answer": 100, "timestamp": "2026-02-08T03:42:42.163542Z"}, "problem_hash": "32e9b4", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SUM": "ok_later", "DS2": "no", "K14": "no", "K15": "no", "K18": "no", "L3c": "no"}} -{"id": "dc77ab", "alias": "nt_count_divisible_v1_1520064083_1572", "problem": "Let $c=2$. Let $M$ be the largest integer $k$ such that $2^k\\le657471$.\n\nLet $p$ be the greatest prime number $n$ with $2\\le n\\le53$. Let $q=3$ and define\n$$n_1=p^2(q+1).$$\nLet $v=\\mu(n_1)^c$, where $\\mu$ is the Möbius function.\n\nAmong all ordered pairs $(x,y)$ of positive integers satisfying $xy=1327104$, consider the set of all values of $x+y$. Let $T$ be the smallest value in this set. Define\n$$n=T+v.$$\nLet $d(n)$ denote the number of positive divisors of $n$, and set\n$$r\\equiv d(n)\\pmod2.$$\nLet $U=33856$ and let $D=M\\cdot r$.\n\nLet $R$ be the number of integers $t$ with $1\\le t\\le U$ such that $t\\equiv0\\pmod D$.\n\nCompute $R$. ", "answer": 1781, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(657471)))),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(53)), IsPrime(Var(\"n\"))))),\n \"q\": Const(3),\n \"n1\": Mul(Pow(Ref(\"p\"), Ref(\"_n\")), Sum(Ref(\"q\"), Const(1))),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_c\")),\n \"n\": Sum(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1327104)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"v\")),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Const(33856),\n \"divisor\": Mul(Ref(\"_m\"), Ref(\"c\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MAX_PRIME_BELOW/DIVISOR_PARITY", "B3/MOBIUS_SQUAREFREE/DIVISOR_PARITY", "MAX_PRIME_BELOW/MOBIUS_SQUAREFREE"], "recipe_id": "14b6a0", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MAX_VAL", "MOBIUS_SQUAREFREE"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 1.058, "created_at": "2026-02-08T04:07:34.546754Z", "verification": {"verified": true, "answer": 1781, "timestamp": "2026-02-08T04:07:35.605210Z"}, "problem_hash": "88d0d6", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "MAX_VAL": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K16": "same_pattern_wrong", "K17": "no", "L3c": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_SUB": "no"}} -{"id": "a6c5b7", "alias": "comb_count_partitions_v1_784195855_3189", "problem": "Let $m = 22$. Let $P$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 38$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = P$. Let $p(s)$ denote the number of integer partitions of $s$. Let $d$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(15, m)$, where $\\mu$ is the M\\\"obius function. Compute the remainder when\n\n$$\n\\sum_{n = d}^{p(s)} \\tau(n)\n$$\n\nis divided by $96118$, where $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 76273, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(38)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=15), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(96118)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "B1/B3"], "recipe_id": "cf8ed4", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:17:39.077062Z", "verification": {"verified": true, "answer": 76273, "timestamp": "2026-02-08T06:17:39.080031Z"}, "problem_hash": "c04aa5", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "B3": "ok_later", "C2": "no", "DS2": "no", "L3c": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "7bfbbb", "alias": "nt_sum_phi_v1_458359167_2792", "problem": "Let $m = 7$ and let $n$ be the number of positive integers $j$ not exceeding $3703$ such that $j^3 \\leq 50776309927$. Let $\\text{upper}$ be the number of positive integers $k$ not exceeding $n$ that are divisible by $m$. Compute the sum of $\\phi(k)$ over all positive integers $k$ not exceeding $\\text{upper}$.", "answer": 85338, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(3703)), Leq(Pow(Var(\"j\"), Const(3)), Const(50776309927))), domain='positive_integers')),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["C3/C2"], "recipe_id": "b4a912", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "C3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.063, "created_at": "2026-02-08T06:46:24.488367Z", "verification": {"verified": true, "answer": 85338, "timestamp": "2026-02-08T06:46:24.551145Z"}, "problem_hash": "72fc1d", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "C2": "ok_later", "K13": "no", "K14": "no", "L3b": "no", "L3c": "no", "VAL_SUM_EQ": "no"}} -{"id": "358a5e", "alias": "modular_sum_quadratic_residues_v1_1742523217_4631", "problem": "Let $m = 23409$. Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 32770$ such that $\\binom{32770}{j}$ is odd. Let $p$ be the largest prime number that does not exceed the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Compute $\\frac{p(p-1)}{n}$.", "answer": 21389, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23409),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(32770)), Eq(Mod(value=Binom(n=Const(32770), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "V8/MAX_PRIME_BELOW"], "recipe_id": "8eadba", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T09:00:12.695373Z", "verification": {"verified": true, "answer": 21389, "timestamp": "2026-02-08T09:00:12.700061Z"}, "problem_hash": "6c44df", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "V8": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "K16": "no", "K5": "no"}} -{"id": "cd66ce", "alias": "nt_count_divisors_in_range_v1_1978505735_426", "problem": "Let $n = 10080$ and $a = 20$. Let $b$ be the largest positive divisor of $721560$ that does not exceed $840$. Define $r$ to be the number of positive divisors $d_1$ of $n$ such that $a \\leq d_1 \\leq b$. Let $c = \\sum_{k=1}^{36} \\phi(k) \\left\\lfloor \\frac{36}{k} \\right\\rfloor$. Compute $r^2 + 3r + c$.", "answer": 3016, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(10080),\n \"a\": Const(20),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(840)), Divides(divisor=Var(\"d\"), dividend=Const(721560))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Divides(divisor=Var(\"d1\"), dividend=Ref(\"n\")), Geq(Var(\"d1\"), Ref(\"a\")), Leq(Var(\"d1\"), Ref(\"b\"))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(36), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(36), Var(\"k\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(3), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/ENDING_quadratic_mod", "MAX_DIVISOR"], "recipe_id": "bd98a2", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K2", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.021, "created_at": "2026-02-08T15:22:25.306930Z", "verification": {"verified": true, "answer": 3016, "timestamp": "2026-02-08T15:22:25.328104Z"}, "problem_hash": "770e87", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "MAX_DIVISOR": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "1554f1", "alias": "antilemma_product_of_sums_v1_151522320_62", "problem": "Let $S_1$ be the sum of the first coordinates of all ordered pairs $(k, j)$ where $k$ ranges from $1$ to $10$ and $j$ ranges from $1$ to $9$. Let $S_2$ be the sum of all integers $k$ from $\\phi(2)$ to the largest prime at most $15$. Let $x = S_1 \\cdot S_2$. Find the remainder when $28177 \\cdot x$ is divided by $55700$.", "answer": 52765, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(28177),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(15)), IsPrime(Var(\"n\"))))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"x\")), modulus=Const(55700)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/SUM_ARITHMETIC", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "0e5a84", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T02:56:29.449902Z", "verification": {"verified": true, "answer": 52765, "timestamp": "2026-02-08T02:56:29.452989Z"}, "problem_hash": "79a027", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 52765, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 2100}, "timestamp": "2026-02-08T22:19:54.202Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "L3c": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "17592b", "alias": "nt_count_intersection_v1_677425708_1895", "problem": "Let $N$ be the largest integer $k$ such that $19^k$ divides\n$$\n276694923365479939206136720157402168770424495600768933256383205227744788540971952915537919949111926211401406890292433337636956721106573689396969104285836412582295745352169228729040633377632120215109359583186639532342963501142974558388302693926012347545793198906245556646701858983408054190415747727615173285429988167849263702802257362040316680633814569528520968003263670044358084796831067693128052457177979725268823103022696416093516857992581455995719063320967906504629709958023670058620076676257427732250823960148089885769146050529102126178680759419522576515897047835667678674998832271049246396267170809225262759261158651112539104748734302969503211920864698900662212379749726981912262735827432297850183622028918395813447969164368998078540144122310512525650013645805408356365925280826072210166263492848860596229015360527858443784223941444559538944102414359557813643975435853332038384381579695209325674650330684378240124152730465208183471119102571855575254852086872604750035951806526239698381363352852638420690891899809613136488937000938418319439040416428737246218533086195783543113426399303626818025381001552567345917310068000089171589772961824293026775105512942639680239475919399838120015843402337627558078555737824518069961826244431648803499562780025360442244801712010195723158525888631113142538902242592272024232899454505097893449986642176774807728808535708700781058470473293859845871952050051423550978504624609038860888338131361265627433492842738727474955013602648591368066387053154916821347408634848675833752925595837297342833418353694115457636337872702089650780117935086374492522363452792225001)^4.\n$$\nLet $a = 7$, and let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9$. Define $S$ to be the set of positive integers $n$ such that $1 \\le n \\le N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Let $\\alpha$ be the number of elements in $S$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9253764$. Compute $\\alpha + \\sum_{i=0}^{d-1} d_i (i+1)^2$, where $d$ is the number of decimal digits of $\\alpha$ and $d_i$ is the $i$-th decimal digit of $\\alpha$ (starting from the units digit as $i=0$).", "answer": 6122, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": MaxKDivides(target=Pow(Const(276694923365479939206136720157402168770424495600768933256383205227744788540971952915537919949111926211401406890292433337636956721106573689396969104285836412582295745352169228729040633377632120215109359583186639532342963501142974558388302693926012347545793198906245556646701858983408054190415747727615173285429988167849263702802257362040316680633814569528520968003263670044358084796831067693128052457177979725268823103022696416093516857992581455995719063320967906504629709958023670058620076676257427732250823960148089885769146050529102126178680759419522576515897047835667678674998832271049246396267170809225262759261158651112539104748734302969503211920864698900662212379749726981912262735827432297850183622028918395813447969164368998078540144122310512525650013645805408356365925280826072210166263492848860596229015360527858443784223941444559538944102414359557813643975435853332038384381579695209325674650330684378240124152730465208183471119102571855575254852086872604750035951806526239698381363352852638420690891899809613136488937000938418319439040416428737246218533086195783543113426399303626818025381001552567345917310068000089171589772961824293026775105512942639680239475919399838120015843402337627558078555737824518069961826244431648803499562780025360442244801712010195723158525888631113142538902242592272024232899454505097893449986642176774807728808535708700781058470473293859845871952050051423550978504624609038860888338131361265627433492842738727474955013602648591368066387053154916821347408634848675833752925595837297342833418353694115457636337872702089650780117935086374492522363452792225001), Const(4)), base=Const(19)),\n \"a\": Const(7),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9253764)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_digits_weighted_mod", "K14"], "recipe_id": "9ddd19", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_digits_weighted_mod", "K14"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.183, "created_at": "2026-02-08T04:37:54.803618Z", "verification": {"verified": true, "answer": 6122, "timestamp": "2026-02-08T04:37:54.986926Z"}, "problem_hash": "73f917", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K14": "ok", "ENDING_digits_weighted_mod": "ok_later", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "e6dfd3", "alias": "nt_sum_divisors_mod_v1_784195855_5409", "problem": "Let $n = 55440$ and $M = 10501$. Define $\\sigma$ to be the sum of all positive divisors of $n$. Let $\\text{result} = \\sigma \\bmod M$. Let $s$ be the number of prime numbers $p$ such that $\\sum_{d \\mid 2} \\varphi(d) \\leq p \\leq 28687$. Compute $Q = s - \\text{result}$.", "answer": 2019, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(55440),\n \"M\": Const(10501),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d')))), Leq(Var(\"n\"), Const(28687)), IsPrime(Var(\"n\"))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/COUNT_PRIMES/ENDING_negation_mod"], "recipe_id": "eebc47", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_negation_mod", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T07:53:07.974300Z", "verification": {"verified": true, "answer": 2019, "timestamp": "2026-02-08T07:53:07.982878Z"}, "problem_hash": "b879ba", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "COUNT_PRIMES": "ok_later", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "057bca", "alias": "modular_product_range_v1_153355830_367", "problem": "Let $c=11$ and $m=194$, and let\n$$n=\\sum_{k=1}^{c} k.$$\nConsider all ordered pairs $(x,y)$ of positive integers such that $x+y=m$. Let $P$ be the maximum value of $xy$ over all such pairs $(x,y)$. Among all ordered pairs $(x,y)$ of positive integers satisfying $xy=P$, consider the set of all values of $x+y$, and let $L$ be the minimum element of this set.\n\nDefine\n$$\\Pi=\\prod_{i=n}^{L} i.$$\nLet $R$ be the remainder when $\\Pi$ is divided by $11783$, with $0\\le R<11783$.\n\nFind the value of $R$.", "answer": 8527, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11),\n \"_m\": Const(194),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\")),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11783)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/B3", "B1/B3"], "recipe_id": "8bc728", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:03:28.060462Z", "verification": {"verified": true, "answer": 8527, "timestamp": "2026-02-08T03:03:28.064742Z"}, "problem_hash": "0bcbcd", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "4b39f6", "alias": "antilemma_v7_kummer_1918700295_2778", "problem": "Let $A$ be the number of positive integers $n \\leq 1251$ such that the sum of the digits of $n$ is divisible by 2. Let $B$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 1583$. Let $x$ be the largest integer $k$ such that $2^k$ divides $\\binom{A}{B}$. Compute $x$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1251)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(0))))), k=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1583)), IsPrime(Var(\"n\")))))), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/V7", "L3B/V7", "V7"], "recipe_id": "e1b2ed", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "lemma_set": ["COUNT_PRIMES", "L3B", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:12:06.294891Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T08:12:06.296556Z"}, "problem_hash": "436968", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok", "V7": "ok", "K14": "no", "K5": "no", "MOD_MUL": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "8d6c89", "alias": "antilemma_k3_v1_1248542787_841", "problem": "Let $n=13412$, and let\n$$x=\\sum_{d\\mid n} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Define\n$$Q=x+\\varphi(|x|+1)+\\tau(|x|+1),$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$.\n\nCompute $Q$.", "answer": 21804, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13412),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/IDENTITY_POW_ZERO/ENDING_arith_invariants", "K3"], "recipe_id": "7b83f8", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_arith_invariants", "IDENTITY_POW_ZERO", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:27:35.211880Z", "verification": {"verified": true, "answer": 21804, "timestamp": "2026-02-08T03:27:35.216450Z"}, "problem_hash": "096857", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 1029}, "timestamp": "2026-02-09T08:57:41.304Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 21804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 1182}, "timestamp": "2026-02-09T21:43:50.531Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 21804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 8181}, "timestamp": "2026-02-09T21:40:01.637Z"}], "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "ENDING_arith_invariants": "ok_later", "IDENTITY_POW_ZERO": "ok_later", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "4b4845", "alias": "nt_count_intersection_v1_1915831931_1900", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\le n \\le k$, where $k$ is the number of positive integers $n_1$ with $1 \\le n_1 \\le 163$ and even digit sum, and such that $3$ divides $n$ and $\\gcd(n, 10) = 1$.\n\nLet $b = \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor$.\n\nLet $Q$ be the Bell number $B_m$, where $m$ is the remainder when the absolute value of the number of positive integers $n_2$ with $1 \\le n_2 \\le 50000$, divisible by $a$, and satisfying $\\gcd(n_2, b) = 1$, is divided by $11$.\n\nCompute $Q$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(4),\n \"N\": Const(50000),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(163)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Const(2)), Const(0)))))), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n2\")), Eq(GCD(a=Var(\"n2\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C5", "K2"], "recipe_id": "114a61", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "K2", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.731, "created_at": "2026-02-08T16:29:45.083690Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T16:29:47.815057Z"}, "problem_hash": "f886cf", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "L3B": "ok", "C5": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "e9b5ca", "alias": "nt_min_coprime_above_v1_1520064083_5645", "problem": "Let $s$ be the smallest divisor of $15999976015997$ that is at least $2$. Let $r$ be the smallest integer $n$ such that $s < n \\leq 2132$ and $\\gcd(n, 123) = 1$. Let $c$ be the number of integers $n$ with $1 \\leq n \\leq 159$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute $2^{r} \\bmod{99991} + c$.", "answer": 57449, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15999976015997))))),\n \"upper\": Const(2132),\n \"modulus\": Const(123),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(159)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/ENDING_two_stage_modexp", "MIN_PRIME_FACTOR"], "recipe_id": "86ec55", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.028, "created_at": "2026-02-08T07:31:56.700390Z", "verification": {"verified": true, "answer": 57449, "timestamp": "2026-02-08T07:31:56.728714Z"}, "problem_hash": "47caa5", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K14": "no", "MOD_ADD": "no", "V1": "no"}} -{"id": "aed47f", "alias": "modular_mod_compute_v1_1440796553_61", "problem": "Let $j$ be a positive integer such that $j \\geq \\phi(2)$ and $j \\leq N$, where $N$ is the number of positive integers $t$ with $5 \\leq t \\leq 2030$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 218$, $1 \\leq b \\leq 688$, and $t = 3a + 2b$. Also suppose that $j^4 \\leq 16781934923776$. Compute the number of such integers $j$, and find the remainder when this number is divided by $34453$.", "answer": 2024, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), EulerPhi(n=Const(2))), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=218)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=688)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=2030)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Leq(Pow(Var(\"j\"), Const(4)), Const(16781934923776))), domain='positive_integers')),\n \"m\": Const(34453),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C3", "ONE_PHI_2"], "recipe_id": "e2fd42", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:14:16.961281Z", "verification": {"verified": true, "answer": 2024, "timestamp": "2026-02-08T11:14:16.965558Z"}, "problem_hash": "48c46c", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "C3": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "9350bc", "alias": "antilemma_v1_legendre_153355830_422", "problem": "Let $n_1=1$. Let $u$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ is the Möbius function. Define\n\\[n=361u.\\]\nLet $h$ be given by\n\\[h=\\sum_{d\\mid n} \\varphi(d)-n,\\]\nwhere the sum is over all positive divisors $d$ of $n$ and $\\varphi$ is Euler's totient function.\n\nLet $m=30550$. Let $S$ be the set of all integers $t$ such that $1\\le t\\le m$ and\n\\[t\\equiv \\left\\lfloor\\frac{t}{2}\\right\\rfloor \\pmod{5}.\n\\]\nLet $N$ be the number of elements in $S$, and define\n\\[L=N+h.\\]\nLet $x$ be the largest integer $k$ such that $5^k$ divides $L!$. Compute $x$.", "answer": 1524, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30550),\n \"n1\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(361), Ref(\"u\")),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), Ref(\"h\")),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(5)),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/EULER_TOTIENT_SUM/V1", "MOBIUS_SUM", "V1"], "recipe_id": "8035c1", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3C", "MOBIUS_SUM", "V1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:05:57.581424Z", "verification": {"verified": true, "answer": 1524, "timestamp": "2026-02-08T03:05:57.582914Z"}, "problem_hash": "ad5bb0", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MOBIUS_SUM": "ok", "V1": "ok", "EULER_TOTIENT_SUM": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "K13": "no", "K14": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "904761", "alias": "nt_count_divisible_v1_865884756_3825", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 80089$ and $n$ is divisible by $7$. Let $B$ be the number of positive integers $k$ such that $1 \\leq k \\leq 21632$ and the number of unordered pairs of coprime positive integers $(p, q)$ with $p < q$ and $pq = 1417115700$ divides $k$. Find the remainder when $B - A$ is divided by $72045$.", "answer": 61280, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(80089),\n \"divisor\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(21632)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=1417115700)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"result\")), modulus=Const(72045)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/C2/ENDING_negation_mod"], "recipe_id": "986204", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.188, "created_at": "2026-02-08T17:35:15.822828Z", "verification": {"verified": true, "answer": 61280, "timestamp": "2026-02-08T17:35:19.010594Z"}, "problem_hash": "c3d087", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "C2": "ok_later", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "V3": "no", "V8": "no"}} -{"id": "7c1390", "alias": "comb_factorial_compute_v1_124444284_609", "problem": "Let $T$ be the set of all integers $t$ with $29 \\le t \\le 43$ that can be expressed as $4a + 6b + 19$ for some integers $a, b$ satisfying $1 \\le a \\le 3$ and $1 \\le b \\le 2$. Let $m = |T|$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Define $n$ to be the largest prime number at most $\\max\\{xy \\mid (x, y) \\in P\\}$. Compute $17956 - n!$.", "answer": 12916, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=29)), Leq(left=Var(name='t'), right=Const(value=43)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=19)))))))),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(17956),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1/MAX_PRIME_BELOW"], "recipe_id": "c219ab", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:24:03.178715Z", "verification": {"verified": true, "answer": 12916, "timestamp": "2026-02-08T03:24:03.181597Z"}, "problem_hash": "ef0bcf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 12916, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 994}, "timestamp": "2026-02-09T19:44:59.711Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 12916, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 1071}, "timestamp": "2026-02-09T03:57:30.362Z"}], "lemma_applicability": {"LIN_FORM": "ok", "B1": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "f731ae", "alias": "modular_count_residue_v1_260342960_67", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 77284$ such that $n\\equiv 4\\pmod{8}$. Let $Q$ be the Bell number $B_r$, where $r$ is the remainder when $|N|$ is divided by $11$.\n\nFind the value of $Q$. ", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(77284),\n \"m\": Const(8),\n \"r\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR/ENDING_bell_mod", "ONE_PHI_2"], "recipe_id": "29f5e0", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_bell_mod", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 25.571, "created_at": "2026-02-08T11:12:38.443649Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T11:13:04.014299Z"}, "problem_hash": "f9b848", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 662}, "timestamp": "2026-02-08T20:28:11.820Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 365}, "timestamp": "2026-02-09T06:52:20.618Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 612}, "timestamp": "2026-02-09T16:13:20.875Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 7084}, "timestamp": "2026-02-09T14:41:19.935Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "ENDING_bell_mod": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.4, "hi": 1.2}} -{"id": "465279", "alias": "nt_count_with_divisor_count_v1_168721529_1453", "problem": "Let $S$ be the set of all positive integers $t$ such that $11 \\leq t \\leq 76$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 12$, $1 \\leq b \\leq 4$, and $t = 4a + 7b$. Let $m$ be the number of positive integers $n$ with $1 \\leq n \\leq |S|$ such that the Fibonacci number $F_n$ is divisible by 9. Define\n$$\ndiv\\_count = \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor.\n$$\nCompute the number of positive integers $n$ with $1 \\leq n \\leq 53824$ such that the number of positive divisors of $n$ is equal to $div\\_count$.", "answer": 626, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=76)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), Divides(divisor=Const(9), dividend=Fibonacci(arg=Var(name='n')))))),\n \"upper\": Const(53824),\n \"div_count\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["LIN_FORM/COUNT_FIB_DIVISIBLE/K2"], "recipe_id": "49da3e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "K2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.667, "created_at": "2026-02-08T13:42:27.182944Z", "verification": {"verified": true, "answer": 626, "timestamp": "2026-02-08T13:42:30.849660Z"}, "problem_hash": "1ad457", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:23:21.980Z"}], "lemma_applicability": {"LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K2": "ok_later", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "61dd7f", "alias": "nt_gcd_compute_v1_151522320_1259", "problem": "Let $n = 77$, and let $p$ be the smallest prime divisor of $n$. Let $m$ be the smallest positive integer such that $3^1$ divides $m!$, and define $n_1 = p^m$. Let $h = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function. Let $s$ be the number of distinct prime factors of 28561. Define $a = 223200 + h$ and $b = 418500 \\cdot s$. Compute $\\gcd(a, b)$. Find the value of this greatest common divisor.", "answer": 27900, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"n1\": Pow(Ref(\"p\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(1)), domain='Z_{>0}'))),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Const(28561),\n \"s\": SmallOmega(n=Ref(name='n')),\n \"a\": Sum(Const(223200), Ref(\"h\")),\n \"b\": Mul(Const(418500), Ref(\"s\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE", "V5/LIOUVILLE_MINUS_ONE", "OMEGA_ONE"], "recipe_id": "ac03a4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "OMEGA_ONE", "V5"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:51:43.050636Z", "verification": {"verified": true, "answer": 27900, "timestamp": "2026-02-08T03:51:43.054763Z"}, "problem_hash": "361a9c", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "OMEGA_ONE": "ok", "V5": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "L3c": "no", "MOD_MUL": "no"}} -{"id": "3c4d9a", "alias": "modular_count_residue_v1_677425708_670", "problem": "Let $m = 13$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1521$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $S$ be the set of positive integers $k$ such that $1 \\leq k \\leq 65$ and $k$ is divisible by $m$. Define $m'$ as the largest integer $e$ such that $2^e$ divides $\\binom{\\sum S}{n}$. Let $r = 2$ and let $T$ be the set of integers $t$ such that $1 \\leq t \\leq 83521$ and $t \\equiv r \\pmod{m'}$. Define $Q = 37636 - |T|$. Compute $Q$.", "answer": 20932, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1521)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(83521),\n \"m\": MaxKDivides(target=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(65)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_m\")), Const(0))))), k=Ref(\"_n\")), base=Const(2)),\n \"r\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sub(Const(37636), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_DIVISIBLE/V7"], "recipe_id": "f62ecb", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.722, "created_at": "2026-02-08T03:40:23.565791Z", "verification": {"verified": true, "answer": 20932, "timestamp": "2026-02-08T03:40:26.287985Z"}, "problem_hash": "a234eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20932, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 2035}, "timestamp": "2026-02-08T20:54:22.063Z"}], "lemma_applicability": {"B3": "ok", "SUM_DIVISIBLE": "ok_later", "V7": "ok_later", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "a0f3ef", "alias": "modular_sum_quadratic_residues_v1_1742523217_3000", "problem": "Let $m = 13025$. Define $S$ as the set of all positive integers $n$ from 1 to $m$ such that the sum of the decimal digits of $n$ is odd. Let $p$ be the largest prime $\\leq 14$, and let $k$ be the largest integer such that $p^k$ divides $|S|!$. Compute $\\frac{k(k-1)}{4}$. Let $c = 41209$. Find the value of $c - \\frac{k(k-1)}{4}$ modulo 72441.", "answer": 40615, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13025),\n \"_n\": Const(4),\n \"p\": MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(14)), IsPrime(Var(\"n\")))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"_c\": Const(41209),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72441)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V1", "L3B/V1"], "recipe_id": "e88dcc", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:29:49.039410Z", "verification": {"verified": true, "answer": 40615, "timestamp": "2026-02-08T05:29:49.042829Z"}, "problem_hash": "864510", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "f949cb", "alias": "modular_count_residue_v1_1742523217_5675", "problem": "Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq 67$ and $\\gcd(n, 10) = \\varphi(1)$. Let $r$ be the number of positive integers $k$ such that $1 \\leq k \\leq 1536$ and $256$ divides $k$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 45369$ and $n \\equiv r \\pmod{m}$.\n\nFind the value of this number.", "answer": 1681, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67),\n \"upper\": Const(45369),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), EulerPhi(n=Const(1)))))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1536)), Divides(divisor=Const(256), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["ONE_PHI_1", "C4", "C2"], "recipe_id": "a54a49", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "C4", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.481, "created_at": "2026-02-08T11:09:27.344596Z", "verification": {"verified": true, "answer": 1681, "timestamp": "2026-02-08T11:09:28.825253Z"}, "problem_hash": "d56bb2", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "C4": "ok", "ONE_PHI_1": "ok", "COUNT_SUM_EQUALS": "no", "K15": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}} -{"id": "a72663", "alias": "comb_count_partitions_v1_1520064083_3376", "problem": "Let $m = 12$. Let $n_0$ be the smallest positive integer $n$ such that the highest power of $2$ dividing $n!$ is at least $1$. Define $n = 45$. Let $p(n)$ denote the number of integer partitions of $n$. Let $P$ be the set of all prime numbers $n$ satisfying $n_0 \\leq n \\leq m$. Let $M$ be the maximum element of $P$. Compute the Bell number $B_k$, where $k$ is the remainder when $p(n)$ is divided by $M$. Determine the value of this Bell number.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(1)), domain='Z_{>0}')),\n \"n\": Const(45),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["V5/MAX_PRIME_BELOW/ENDING_bell_mod"], "recipe_id": "d08e5f", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T05:36:39.716504Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T05:36:39.724348Z"}, "problem_hash": "4e0251", "license": "CC BY 4.0", "lemma_applicability": {"V5": "ok", "ENDING_bell_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "L3c": "no", "LTE_SUM": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "da7343", "alias": "antilemma_product_of_sums_v1_784195855_1291", "problem": "Let $S_1$ be the sum of all integers $j$ such that $0 \\leq j \\leq N$ and\n$$\n\\binom{k}{j} \\text{ is odd},\n$$\nwhere $N$ is the largest prime number at most $34$, and $k$ is the number of integers from $1$ to $61$, inclusive, whose digit sum is odd. Let $S_2$ be the sum of all values of $k$ as $(k, \\ell)$ ranges over all ordered pairs of positive integers with $1 \\leq k \\leq 13$ and $1 \\leq \\ell \\leq 2$. Define $x = S_1 \\cdot S_2$. Compute the multiplicative order of $2$ modulo $2|x| + 3$, and then find the remainder when that order is divided by $89252$.", "answer": 2042, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(34)), IsPrime(Var(\"n\")))))), Eq(Mod(value=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(61)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\"))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='x')), Const(value=2)), Const(value=3))), modulus=Const(89252)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "L3B"], "recipe_id": "73d03e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:57:33.822715Z", "verification": {"verified": true, "answer": 2042, "timestamp": "2026-02-08T04:57:33.826047Z"}, "problem_hash": "f4ec72", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "K14": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "054a5b", "alias": "nt_sum_phi_v1_784195855_2460", "problem": "Let $m = 17$. Let $t$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 11$ such that $\\gcd(i, j) = 1$. Let $p$ be the largest prime number at most $501$. Compute the largest integer $e$ such that $m^e$ divides $t^p$. Then compute the sum of $\\phi(n)$ over all positive integers $n$ from $1$ to $e$, where $\\phi$ is Euler's totient function.", "answer": 75916, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"upper\": MaxKDivides(target=Pow(Ref(\"_n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(501)), IsPrime(Var(\"n\")))))), base=Ref(\"_m\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/K14", "MAX_PRIME_BELOW/K14"], "recipe_id": "cfba00", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.097, "created_at": "2026-02-08T05:45:12.506353Z", "verification": {"verified": true, "answer": 75916, "timestamp": "2026-02-08T05:45:12.603113Z"}, "problem_hash": "fe635a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "159868", "alias": "antilemma_count_primes_v1_677425708_761", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest divisor of $36863$ that is at least $2$. Let $A = 353702 \\cdot |x| \\bmod 97$, let $B = 329703 \\cdot \\left( |x|^2 + 1 \\right) \\bmod d'$, where $d'$ is the smallest divisor of $11354947321$ that is at least $2$, and let $C = 215534 \\cdot \\left( |x| \\bmod 30 \\right) \\bmod p_{\\text{max}}$, where $p_{\\text{max}}$ is the largest prime number between $2$ and $104$, inclusive. Compute the remainder when $A + B + C$ is divided by $52412$.", "answer": 16109, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(2),\n \"_n\": Const(97),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_d\")), Divides(divisor=Var(\"d\"), dividend=Const(36863)))))), IsPrime(Var(\"n\"))))),\n \"_c\": Const(30),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11354947321))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(104)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(52412)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "MIN_PRIME_FACTOR/ENDING_crt_mix_3", "MAX_PRIME_BELOW/ENDING_crt_mix_3", "COUNT_PRIMES"], "recipe_id": "bce7b1", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T03:42:54.735125Z", "verification": {"verified": true, "answer": 16109, "timestamp": "2026-02-08T03:42:54.744565Z"}, "problem_hash": "e23f84", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 318, "completion_tokens": 8192}, "timestamp": "2026-02-08T21:04:31.190Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K16": "no", "L3b": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "0e0807", "alias": "nt_gcd_compute_v1_677425708_4033", "problem": "Let $a = 300592$ and $b = 563610$. Let $d = \\gcd(a, b)$. Let $m$ be the smallest integer at least $2$ that divides $989497$. Compute the value of $$353702 \\cdot |d| \\bmod m + 329703 \\cdot \\left(d^2 \\bmod \\phi(2)\\right) \\bmod 101 + 215534 \\cdot \\left(|d| + 31\\right) \\bmod 103,$$ and find the remainder when this sum is divided by $1009091$.", "answer": 37969, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(300592),\n \"b\": Const(563610),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(31),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(989497))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), EulerPhi(n=Const(2))), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_crt_mix_3", "ONE_PHI_2"], "recipe_id": "4d8088", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:24:14.190986Z", "verification": {"verified": true, "answer": 37969, "timestamp": "2026-02-08T06:24:14.193643Z"}, "problem_hash": "e543c8", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "ENDING_crt_mix_3": "ok_later", "DS2": "no", "K16": "no", "MAX_VAL": "no", "V3": "no", "V8": "no"}} -{"id": "8fbcb9", "alias": "algebra_poly_eval_v1_1742523217_1987", "problem": "Let $m = 3$. Define $n$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = 16$. Compute the value of $$7a^m - 3a^n + 2a - 9.$$\n\nLet $R$ be this value. Now let $S$ be the number of positive integers $j$ such that $1 \\leq j \\leq 444$ and $j^3 \\leq 87528384$. Find the remainder when $S - R$ is divided by $98990$.", "answer": 71507, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(16),\n \"result\": Sum(Mul(Const(7), Pow(Ref(\"a\"), Ref(\"_m\"))), Mul(Const(-3), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(Const(2), Ref(\"a\")), Const(-9)),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(444)), Leq(Pow(Var(\"j\"), Const(3)), Const(87528384))), domain='positive_integers')), Ref(\"result\")), modulus=Const(98990)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/ENDING_negation_mod", "COPRIME_PAIRS/C3"], "recipe_id": "6797cc", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:23:07.265350Z", "verification": {"verified": true, "answer": 71507, "timestamp": "2026-02-08T04:23:07.272013Z"}, "problem_hash": "af4c95", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "COPRIME_PAIRS": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K17": "no", "LTE_SUM": "no", "MOD_ADD": "no"}} -{"id": "9aa8e4", "alias": "sequence_lucas_compute_v1_784195855_171", "problem": "Let $a$ and $b$ be positive integers such that $\\gcd(a, b) = 1$. Define $m = 2$ and $n = 21$. Let $S$ be the set of all integers $k$ such that $2^k \\leq 494092386630$. Define $T$ to be the set of all integers $n$ such that $n$ is at least the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(11, 13)$, at most the maximum element of $S$, and $\\gcd(n, 21) = 1$. Let $c = |T|$. Define $L_c$ to be the $c$-th Lucas number. Compute the Fibonacci entry point modulo $|L_c| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|L_c| + 2$. Find the value of this Fibonacci entry point.", "answer": 4895, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(21),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_m\"), Var(\"k\")), Const(494092386630))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/C4", "MOBIUS_COPRIME"], "recipe_id": "1285cf", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_VAL", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:00:34.971890Z", "verification": {"verified": true, "answer": 4895, "timestamp": "2026-02-08T03:00:34.974672Z"}, "problem_hash": "6b6339", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_COPRIME": "ok", "C4": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K15": "no", "V3": "no", "V5": "no", "V7": "no"}} -{"id": "f211db", "alias": "modular_count_residue_v1_1742523217_91", "problem": "Let $R$ be the number of positive integers $n$ such that $1 \\leq n \\leq 77284$ and $n \\equiv 16 \\pmod{19}$. Let $S$ be the set of all integers $t$ such that $9 \\leq t \\leq 519$ and there exist positive integers $a \\leq 111$, $b \\leq 15$ such that $t = 4a + 5b$. Let $C = |S|$. Let $E = \\max\\{ k \\mid 3^k \\text{ divides } 3^{2003} \\}$. Compute the remainder when $\\left( R \\bmod{199} \\right) + E \\cdot \\left( R \\bmod{C} \\right)$ is divided by $95626$.", "answer": 54686, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(199),\n \"upper\": Const(77284),\n \"m\": Const(19),\n \"r\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(MaxKDivides(target=Pow(Const(3), Const(2003)), base=Const(3)), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=111)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=15)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=519)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), modulus=Const(95626)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_two_moduli", "K14/ENDING_two_moduli"], "recipe_id": "3eaccd", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "K14", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.153, "created_at": "2026-02-08T02:52:33.023130Z", "verification": {"verified": true, "answer": 54686, "timestamp": "2026-02-08T02:52:36.176403Z"}, "problem_hash": "98012d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 54168, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:43:27.480Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 54686, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 5778}, "timestamp": "2026-02-08T22:53:01.799Z"}], "lemma_applicability": {"K14": "ok", "LIN_FORM": "ok", "ENDING_two_moduli": "ok_later", "K13": "no", "K17": "no", "K18": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": 3.6, "mid": 7.25, "hi": 10.0}} -{"id": "9c2f20", "alias": "antilemma_v8_lucas_458359167_1683", "problem": "Let $m=10070$ and $n=10070$. Let $A$ be the number of positive integers $k$ with $1\\le k\\le 3738$ such that $89$ divides $k$. Let $B$ be the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n\\[pq=108,\\quad \\gcd(p,q)=1,\\quad p 0] + [D = 0]$, where $[P]$ denotes the Iverson bracket, equal to 1 if $P$ is true and 0 otherwise. Find the value of this expression.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8224),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(8224)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"a\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"b\": Const(-3),\n \"c\": Const(-4),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/SUM_ARITHMETIC"], "recipe_id": "a28292", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:54:38.610516Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T02:54:38.613424Z"}, "problem_hash": "4f00ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 847}, "timestamp": "2026-02-09T14:25:57.917Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 720}, "timestamp": "2026-02-09T00:03:59.514Z"}], "lemma_applicability": {"V8": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "fd4561", "alias": "modular_min_linear_v1_151522320_1380", "problem": "Let $a=20242$, $b=34231$, and $m=89443$. Among all integers $x$ with $1\\le x\\le m$ satisfying\n$$ax\\equiv b\\pmod m,$$\nlet $x_0$ be the smallest such integer.\n\nLet\n$$A\\equiv 7^{|x_0|}\\pmod{99991},$$\nwhere $0\\le A<99991$ and $7^{|x_0|}\\equiv A\\pmod{99991}$.\n\nLet $P$ be the set of all positive integers $p$ for which there exists an integer $q$ such that\n$$pq=6,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 330750$ and $\\gcd(p, q) = 1$. Compute $n!$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=330750)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_DIVISIBLE", "B3/SUM_DIVISIBLE"], "recipe_id": "974b16", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:27:01.668887Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T11:27:01.672435Z"}, "problem_hash": "8e04bc", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "K16": "no", "K17": "no", "LTE_SUM": "no", "MOD_MUL": "no"}} -{"id": "ad01f5", "alias": "nt_sum_divisors_compute_v1_1520064083_4450", "problem": "Let $n = 21025$ and define $\\text{result}$ to be the sum of all positive divisors of $n$. Let $c$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $99$, where $\\phi$ denotes Euler's totient function. Let\n$$\nS = \\sum_{i=a}^{b} \\left( \\text{digit}_i(\\text{result}) \\cdot (i + 1)^2 \\right),\n$$\nwhere $\\text{digit}_i(x)$ denotes the $i$-th decimal digit of $x$ (starting from the units place as $i=0$), $a = \\sum_{k=0}^{8} (-1)^k \\binom{8}{k}$, and $b = \\text{number of digits of } |\\text{result}| - 1$. Define $Q = S + c$. Find the value of $Q$.", "answer": 262, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(99),\n \"n\": Const(21025),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Summation(var=\"i\", start=Summation(var=\"k\", start=Const(0), end=Const(8), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(8), k=Var(\"k\")))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/ENDING_digits_weighted_mod", "BINOMIAL_ALTERNATING"], "recipe_id": "4de11f", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "ENDING_digits_weighted_mod", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T06:17:15.682954Z", "verification": {"verified": true, "answer": 262, "timestamp": "2026-02-08T06:17:15.687528Z"}, "problem_hash": "f58d8a", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "K3": "ok", "ENDING_digits_weighted_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "de63a3", "alias": "comb_binomial_compute_v1_1874849503_544", "problem": "Let $n = 14$ and let $k = \\sum_{i=1}^{3} i$. Let $\\text{result} = \\binom{n}{k}$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 16777216$. Compute the minimum value of $x + y$ over all elements of $S$, and subtract $\\text{result}$ from this minimum.", "answer": 5189, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(14),\n \"k\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(16777216)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "SUM_ARITHMETIC"], "recipe_id": "d67904", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:09:38.901890Z", "verification": {"verified": true, "answer": 5189, "timestamp": "2026-02-08T13:09:38.905675Z"}, "problem_hash": "fd1e55", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5189, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 863}, "timestamp": "2026-02-09T18:16:14.576Z"}], "lemma_applicability": {"B3": "ok", "SUM_ARITHMETIC": "ok", "ENDING_negation_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "180916", "alias": "algebra_quadratic_discriminant_v1_1520064083_1579", "problem": "Let $a = -4$, $b = 3$, and $c = 4$. Define\n$$\nD = b^{k} - 4ac,\n$$\nwhere $k$ is the largest integer such that $3^k$ divides $2^3 + 1^3$. Let $\\alpha = 1$ if $D > 0$, and $0$ otherwise. Let $\\beta = 1$ if $D = \\sum_{d \\mid 3} \\mu(d)$, and $0$ otherwise, where $\\mu$ denotes the M\\\"obius function. Compute $2\\alpha + \\beta$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-4),\n \"b\": Const(3),\n \"c\": Const(4),\n \"D\": Sub(Pow(Ref(\"b\"), MaxKDivides(target=Sum(Pow(Const(2), Const(3)), Pow(Const(1), Const(3))), base=Const(3))), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), SumOverDivisors(n=Const(value=3), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_SUM", "LTE_SUM"], "recipe_id": "af0cd5", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MOBIUS_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.024, "created_at": "2026-02-08T04:07:43.792369Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:07:43.816684Z"}, "problem_hash": "d1bdbd", "license": "CC BY 4.0", "lemma_applicability": {"LTE_SUM": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "V3": "no", "V7": "no"}} -{"id": "ed9b43", "alias": "sequence_lucas_compute_v1_865884756_3011", "problem": "Let $D$ be the set of all positive integers $d$ such that $1 \\leq d \\leq 100$ and $d$ divides $10100$. Let $M$ be the maximum element of $D$. Now, let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = M$. Define $T$ to be the set of all values $x + y$ where $(x, y) \\in S$. Let $u$ be the minimum value in $T$. Consider all prime numbers $n$ such that $2 \\leq n \\leq u$. Let $p$ be the largest such prime. Define $L_p$ to be the $p$-th Lucas number. Compute $23716 - L_p$. Determine the value of this result.", "answer": 14367, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(23716),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(100)), Divides(divisor=Var(\"d\"), dividend=Const(10100)))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n1\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/B3/MAX_PRIME_BELOW"], "recipe_id": "bb11e1", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T17:06:04.490124Z", "verification": {"verified": true, "answer": 14367, "timestamp": "2026-02-08T17:06:04.497981Z"}, "problem_hash": "e0d059", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "B3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K18": "no", "MOD_ADD": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "af474a", "alias": "geo_count_lattice_triangle_v1_153355830_2811", "problem": "Let $A = \\left| 100 \\sum_{k=1}^{15} \\phi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor - 31 \\cdot 300 \\right|$. Let $B = \\gcd(120, 300) + \\gcd(|31 - 120|, |100 - 300|) + \\gcd(31, 100)$. Compute $\\frac{A + 2 - B}{2}$.", "answer": 1320, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(100),\n \"area_2x\": Abs(arg=Sum(Mul(Summation(expr=Mul(EulerPhi(n=Var(name='k')), Floor(arg=Div(left=Const(value=15), right=Var(name='k')))), var='k', start=Const(value=1), end=Const(value=15)), Const(value=100)), Mul(Const(value=31), Sub(left=Const(value=0), right=Const(value=300))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=300))), GCD(a=Abs(arg=Sub(left=Const(value=31), right=Const(value=120))), b=Abs(arg=Sub(left=Const(value=100), right=Const(value=300)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=31))), b=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Ref(\"_m\"), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "B3", "B1"], "recipe_id": "4f6ac4", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T07:22:38.516052Z", "verification": {"verified": true, "answer": 1320, "timestamp": "2026-02-08T07:22:38.527115Z"}, "problem_hash": "235cf6", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "K2": "ok", "K14": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "4099bf", "alias": "antilemma_v1_legendre_784195855_4446", "problem": "Let $m = 11$. Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 76$ and $1 \\leq j \\leq 154$ such that $\\gcd(i, j) = 1$. Let $n$ be the number of elements in $S$. Compute the largest integer $k$ such that $m^k$ divides $n!$.", "answer": 715, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(76)), right=IntegerRange(start=Const(1), end=Const(154))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/V1", "V1"], "recipe_id": "4cbe30", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:06:07.382879Z", "verification": {"verified": true, "answer": 715, "timestamp": "2026-02-08T07:06:07.384314Z"}, "problem_hash": "b3e78e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K14": "no", "K18": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "dc9dd5", "alias": "nt_sum_gcd_range_mod_v1_1440796553_651", "problem": "Let $N = 2809$ and $k = 84$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when $\\text{sum}$ is divided by $10313$.\n\nNow compute\n$$\n\\sum_{n=1}^{r} \\phi(n),\n$$\nwhere $\\phi(n)$ is the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nFind the remainder when this sum is divided by $76216$.", "answer": 27360, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(2809),\n \"k\": Const(84),\n \"M\": Const(10313),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(76216)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/B1"], "recipe_id": "fe937a", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.319, "created_at": "2026-02-08T11:55:02.212416Z", "verification": {"verified": true, "answer": 27360, "timestamp": "2026-02-08T11:55:03.530986Z"}, "problem_hash": "f9bc09", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "B1": "ok_later", "K14": "no", "K16": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "391530", "alias": "antilemma_coprime_grid_v1_784195855_3184", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 20$, $1 \\leq j \\leq 90$, and $\\gcd(i,j) = 1$. Let $c$ be the smallest integer $d \\geq 2$ that divides $7789357$. Compute the remainder when $x^2 + 2x \\cdot \\max\\{n \\mid 2 \\leq n \\leq 22,\\ n\\ \\text{is prime}\\}$ is divided by $63893$.", "answer": 11457, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(90))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7789357))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_m\")), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(22)), IsPrime(Var(\"n\"))))), Ref(\"x\")), Ref(\"_c\")), modulus=Const(63893)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_quadratic_mod", "MAX_PRIME_BELOW/ENDING_quadratic_mod", "COUNT_COPRIME_GRID"], "recipe_id": "af37b2", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_quadratic_mod", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T06:17:33.376462Z", "verification": {"verified": true, "answer": 11457, "timestamp": "2026-02-08T06:17:33.378418Z"}, "problem_hash": "24a0c2", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3b": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "64c3f4", "alias": "nt_count_gcd_equals_v1_1918700295_1773", "problem": "Let $T$ be the set of all integers $t$ such that $20 \\leq t \\leq 16242$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 744$, $1 \\leq b \\leq 971$, and $t = 14a + 6b$. Let $u = |T|$. Let $k$ be the number of integers $n$ with $1 \\leq n \\leq 908$ such that the sum of the decimal digits of $n$ is odd. Let $d$ be the number of ordered pairs $(i,j)$ of positive integers such that $i \\leq 35$, $j \\leq 36$, and $i + j = 37$. Compute the number of integers $n$ with $1 \\leq n \\leq u$ such that $\\gcd(n, k) = d$. Let $Q$ be the remainder when $44121$ times this number is divided by $99559$. Find the value of $Q$.", "answer": 83348, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(99559),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=744)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=971)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=16242)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(908)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"d\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(37)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(36))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "LIN_FORM", "L3B"], "recipe_id": "d1b604", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "L3B", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.643, "created_at": "2026-02-08T06:00:21.792126Z", "verification": {"verified": true, "answer": 83348, "timestamp": "2026-02-08T06:00:22.434966Z"}, "problem_hash": "8b45f8", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "L3B": "ok", "LIN_FORM": "ok", "K16": "no", "K17": "no", "L3c": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "c4aa99", "alias": "antilemma_sum_primes_v1_1440796553_193", "problem": "Let $c=397$, $m=2$, and $n_0=251$. Let $x$ be the sum of all prime integers between $2$ and $4$, inclusive.\n\nLet $d_0$ be the least integer $d$ with $d\\ge m$ such that $d$ divides $2418880432840693$.\n\nLet $p_{\\max}$ be the largest prime number between $2$ and $c$, inclusive. Let $q_{\\max}$ be the largest prime number between $2$ and $p_{\\max}$, inclusive.\n\nDefine\n$$Q \\;=\\; \\big(x \\bmod n_0\\big) \\, + \\, d_0\\cdot \\big(x \\bmod q_{\\max}\\big).$$\n\nCompute $Q$.", "answer": 35010, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(397),\n \"_m\": Const(2),\n \"_n\": Const(251),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(2418880432840693))))), Mod(value=Ref(\"x\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/ENDING_two_moduli", "MIN_PRIME_FACTOR/ENDING_two_moduli", "SUM_PRIMES"], "recipe_id": "96b6d6", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T11:38:25.989662Z", "verification": {"verified": true, "answer": 35010, "timestamp": "2026-02-08T11:38:25.994034Z"}, "problem_hash": "0330e3", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "DS2": "no", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}} -{"id": "f549ca", "alias": "nt_count_coprime_and_v1_124444284_881", "problem": "Let $m=11$. Let $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=144$.\n\nLet $k_1$ be the number of integers $t$ with $1\\le t\\le n$ such that $21$ divides the $t$-th Fibonacci number $F_t$. Let $k_2$ be the largest prime number $t$ with $2\\le t\\le m$.\n\nLet $R$ be the number of integers $u$ with $1\\le u\\le 49396$ such that $\\gcd(u,k_1)=1$ and $\\gcd(u,k_2)=1$.\n\nDefine $Q$ to be the unique integer with $0\\le Q<97094$ such that\n$$Q\\equiv 78745\\,R\\pmod{97094}.$$\n\nFind the value of $Q$.", "answer": 43839, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(144))))),\n \"upper\": Const(49396),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(21), dividend=Fibonacci(arg=Var(name='n')))))),\n \"k2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(78745), Ref(\"result\")), modulus=Const(97094)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW/COUNT_FIB_DIVISIBLE"], "recipe_id": "7c1cc9", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.48, "created_at": "2026-02-08T03:33:44.940211Z", "verification": {"verified": true, "answer": 43839, "timestamp": "2026-02-08T03:33:50.420415Z"}, "problem_hash": "768120", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 43839, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 2467}, "timestamp": "2026-02-09T07:04:01.485Z"}], "lemma_applicability": {"COMB1": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K14": "no", "L3b": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "d275fa", "alias": "nt_gcd_compute_v1_153355830_358", "problem": "Let $a$ be the number of positive integers $n \\leq 15250$ such that the sum of the decimal digits of $n$ is congruent to $\\phi(37) - 36$ modulo 2. Let $b = 16775$, and let $d = \\gcd(a, b)$. Compute the multiplicative order of 2 modulo $2|d| + 3$.", "answer": 70, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15250),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Sub(EulerPhi(n=Const(37)), Const(36)))))),\n \"b\": Const(16775),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ZERO_PHI_PRIME", "lemma_paths": ["ZERO_PHI_PRIME", "L3B"], "recipe_id": "557ef1", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "ZERO_PHI_PRIME"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:03:17.814677Z", "verification": {"verified": true, "answer": 70, "timestamp": "2026-02-08T03:03:17.820243Z"}, "problem_hash": "65cc7a", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "ZERO_PHI_PRIME": "ok", "C2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V3": "no"}} -{"id": "8027a3", "alias": "modular_modexp_compute_v1_784195855_5804", "problem": "Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 3780$, $\\gcd(p, q) = 1$, and $p < q$. Let $e$ be the number of positive integers $n$ such that $1 \\le n \\le 19448$, $c$ divides $n$, and $\\gcd(n, 15) = 1$. Define $r = 43^e \\bmod 36481$. Compute the remainder when $50737 \\cdot r$ is divided by $76699$.", "answer": 39720, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76699),\n \"a\": Const(43),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(19448)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=3780)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\n \"m\": Const(36481),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(50737),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/C5"], "recipe_id": "195cc1", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "COPRIME_PAIRS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T08:07:22.645702Z", "verification": {"verified": true, "answer": 39720, "timestamp": "2026-02-08T08:07:22.649212Z"}, "problem_hash": "e41654", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "C5": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "K14": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "e9e1de", "alias": "nt_sum_gcd_range_mod_v1_153355830_70", "problem": "Let $A$ be the set of positive integers $n \\leq 16$ such that $n$ is divisible by 16. Let $d$ be the sum of all elements in $A$.\n\nLet $N$ be the number of positive integers $k \\leq 112000$ that are divisible by $d$.\n\nLet $k_0 = 120$, and let $S = \\sum_{n=1}^{N} \\gcd(n, k_0)$.\n\nCompute the remainder when $S$ is divided by 11383.", "answer": 6930, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(112000)), Divides(divisor=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16)), Eq(Mod(value=Var(\"n\"), modulus=Const(16)), Const(0))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k\": Const(120),\n \"M\": Const(11383),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/C2"], "recipe_id": "060803", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "SUM_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.322, "created_at": "2026-02-08T02:52:58.703232Z", "verification": {"verified": true, "answer": 6930, "timestamp": "2026-02-08T02:52:59.024876Z"}, "problem_hash": "09e360", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 6930, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 3737}, "timestamp": "2026-02-08T22:40:47.587Z"}], "lemma_applicability": {"SUM_DIVISIBLE": "ok", "C2": "ok_later", "K15": "no", "K18": "no", "L3b": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "57f1f0", "alias": "comb_catalan_compute_v1_1520064083_827", "problem": "Let $n_1 = 5$ and define\n$$\nf = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $n_2$ be the value of\n$$\n\\sum_{k=0}^{9} (-1)^k \\binom{9}{k}.\n$$\nDefine\n$$\nw = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nLet $n = 11w + f$. Define $C_n$ to be the $n$th Catalan number. Compute the remainder when $48 \\cdot 66 \\cdot C_n$ is divided by $72311$.", "answer": 33223, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72311),\n \"n2\": Summation(var=\"k\", start=Const(0), end=Const(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\")))),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(5),\n \"f\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Mul(Const(11), Ref(\"w\")), Ref(\"f\")),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(48)), right=IntegerRange(start=Const(1), end=Const(66)))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_affine_mod", "BINOMIAL_ALTERNATING"], "recipe_id": "f28f83", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:37:29.412574Z", "verification": {"verified": true, "answer": 33223, "timestamp": "2026-02-08T03:37:29.414554Z"}, "problem_hash": "99a7db", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "019e0d", "alias": "nt_max_prime_below_v1_1520064083_3501", "problem": "Let $ f = \\lambda(12167) + \\phi(2) $, where $ \\lambda $ denotes the Liouville function. Let $ n = \\phi(1) + f $. Define $ h $ to be the number of distinct prime factors of $ n $. Let the upper bound be $ 11903 + h $. Find the largest prime number less than or equal to this upper bound. Let $ Q $ be the remainder when the sum of $ \\phi(n) $ from $ n = \\sum_{d\\mid\\gcd(4,9)} \\mu(d) $ to the absolute value of this largest prime is divided by $ 82685 $. Compute $ Q $.", "answer": 75948, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(12167),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n1')), EulerPhi(n=Const(2))),\n \"n\": Sum(EulerPhi(n=Const(1)), Ref(\"f\")),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"upper\": Sum(Const(11903), Ref(\"h\")),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(82685)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "OMEGA_ZERO", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "e76ee3", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "OMEGA_ZERO", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.882, "created_at": "2026-02-08T05:43:23.290543Z", "verification": {"verified": true, "answer": 75948, "timestamp": "2026-02-08T05:43:24.172660Z"}, "problem_hash": "dadcb4", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_COPRIME": "ok", "OMEGA_ZERO": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "5f56dc", "alias": "nt_count_with_divisor_count_v1_1742523217_1233", "problem": "Let $d = 11$, $c = 2$, and $m = 44121$. Define $n$ to be the number of integers $t$ such that $10 \\leq t \\leq 217$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 25$, $1 \\leq b \\leq 14$, and $t = 7a + 3b$. \n\nLet $\\text{upper}$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n$. Let $\\text{div\\_count}$ be the largest prime number $n$ satisfying $2 \\leq n \\leq k$, where $k$ is the smallest positive integer for which $11$ divides $k!$. \n\nDefine $\\text{result}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and the number of positive divisors of $n$ is equal to $\\text{div\\_count}$. \n\nCompute $m \\cdot \\text{result}$.", "answer": 44121, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(11),\n \"_c\": Const(2),\n \"_m\": Const(44121),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=217)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"div_count\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_d\")), Const(1)), domain='Z_{>0}'))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mul(Ref(\"_m\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/MAX_PRIME_BELOW", "LIN_FORM/B1"], "recipe_id": "cc0879", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.423, "created_at": "2026-02-08T03:34:40.315140Z", "verification": {"verified": true, "answer": 44121, "timestamp": "2026-02-08T03:34:40.737832Z"}, "problem_hash": "9cc636", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "V5": "ok", "B1": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "12b2cc", "alias": "nt_min_coprime_above_v1_1125832087_760", "problem": "Let $\\_n = 2$. Define $\\text{start}$ to be the smallest integer $d \\geq \\_n$ that divides $1052651$. Let $\\text{upper}$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 223$. Let $\\text{result}$ be the smallest integer $n$ such that $\\text{start} < n \\leq \\text{upper}$ and $\\gcd(n, 84) = 1$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 12250000$. Define $\\text{sums} = \\{x + y \\mid (x, y) \\in S\\}$. Let $\\text{minsum}$ be the minimum value in $\\text{sums}$. Compute $\\text{minsum} - \\text{result}$.", "answer": 5975, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1052651))))),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(223)))),\n \"modulus\": Const(84),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(12250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "MIN_PRIME_FACTOR", "COUNT_CARTESIAN"], "recipe_id": "fd9d9a", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "ENDING_negation_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.026, "created_at": "2026-02-08T03:15:34.444588Z", "verification": {"verified": true, "answer": 5975, "timestamp": "2026-02-08T03:15:34.470107Z"}, "problem_hash": "e19805", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_negation_mod": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no"}} -{"id": "d0882d", "alias": "nt_gcd_compute_v1_168721529_1671", "problem": "Let $A$ be the set of all integers $n$ such that $2 \\le n \\le 21$ and $n$ is prime. Let $k$ be the maximum of $A$.\n\nLet $B = 8650415919381337933^k$. Let $C$ be the largest integer $t$ such that $13^t$ divides $B$. Let $p$ be the smallest integer $d \\ge 2$ such that $d$ divides $C$.\n\nLet $n_1 = p^2$, and let $u$ be the value of the Liouville function $\\lambda(n_1)$, defined by $\\lambda(n_1) = (-1)^{\\Omega(n_1)}$, where $\\Omega(n_1)$ is the total number of prime factors of $n_1$ counted with multiplicity.\n\nLet $n = 29$, and let $w$ be the value of the Möbius function $\\mu(n)$ squared, that is, $w = (\\mu(29))^2$.\n\nLet $a = 152361$ and $b = 355509$, and let $g$ be $\\gcd(a,b)$. Define\n$$Q \\equiv 44121 \\cdot g \\pmod{65404 \\cdot u \\cdot w},$$\nwhere $0 \\le Q < 65404 \\cdot u \\cdot w$.\n\nFind the value of $Q$. ", "answer": 32187, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=MaxKDivides(target=Pow(Const(8650415919381337933), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(21)), IsPrime(Var(\"n\")))))), base=Const(13)))))),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"u\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(29),\n \"w\": Pow(MoebiusMu(n=Ref(name='n')), Ref(\"_m\")),\n \"a\": Const(152361),\n \"b\": Const(355509),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Mul(Const(65404), Ref(\"u\")), Ref(\"w\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14/MIN_PRIME_FACTOR/LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "105c4a", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:49:55.109681Z", "verification": {"verified": true, "answer": 32187, "timestamp": "2026-02-08T13:49:55.114849Z"}, "problem_hash": "9811ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32187, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 422, "completion_tokens": 2585}, "timestamp": "2026-02-09T20:11:28.094Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok", "K14": "ok_later", "LIOUVILLE_ONE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K17": "no", "L3b": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "1bbe5c", "alias": "nt_euler_phi_compute_v1_798873815_225", "problem": "Let $n$ be the smallest positive integer such that $n \\geq 1$ and $16$ divides $F_n$, the $n$-th Fibonacci number. Let $A$ be the set of all positive integers $n \\leq 58956$ for which $16$ divides $F_n$. Define $n_2 = |A|$, the number of elements in $A$.\n\nLet $B$ be the set of all integers $t$ such that $5 \\leq t \\leq 90$ and there exist positive integers $a \\leq 36$, $b \\leq 6$ satisfying $t = 2a + 3b$. Define $n_1 = |B|$.\n\nLet $h = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $m = \\lambda(n_2) + 1$, where $\\lambda$ is the Liouville function.\n\nDefine $n = 33333 + m + h$. Compute $\\phi(n)$, Euler's totient function evaluated at $n$.", "answer": 21600, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(58956)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=36)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=90)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"h\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(33333), Ref(\"m\"), Ref(\"h\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/LIOUVILLE_MINUS_ONE", "LIN_FORM/MOBIUS_SUM"], "recipe_id": "aa9824", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:31:30.455566Z", "verification": {"verified": true, "answer": 21600, "timestamp": "2026-02-08T02:31:30.458261Z"}, "problem_hash": "028e26", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21600, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 355, "completion_tokens": 5074}, "timestamp": "2026-02-08T19:12:56.061Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 21600, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 351, "completion_tokens": 3464}, "timestamp": "2026-02-09T14:30:32.937Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:30:49.578Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 25600, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 908}, "timestamp": "2026-02-08T21:13:24.320Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21600, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 2579}, "timestamp": "2026-02-09T01:26:31.773Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:23:26.589Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "K15": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.98, "mid": 4.17, "hi": 7.3}} -{"id": "d3123e", "alias": "nt_min_phi_inverse_v1_1520064083_508", "problem": "Let $A$ be the set of integers $n$ with $1 \\le n \\le 605$ such that $5$ divides $n$ and $\\gcd(n,14)=1$. Let $T$ be the number of elements in $A$.\n\nAmong the integers $n$ with $2 \\le n \\le T$ that are prime, let $N$ be the largest such prime.\n\nLet $k$ be the number of integers $j$ with $0 \\le j \\le 45056$ such that $\\binom{45056}{j}$ is odd.\n\nLet $U$ be the set of integers $n$ with $1 \\le n \\le 40$ such that $\\varphi(n)=k$, where $\\varphi$ is Euler's totient function. Assume $U$ is nonempty, and let $R$ be the smallest integer in $U$.\n\nLet $V$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 1119$, $1 \\le b \\le 760$, $18 \\le t \\le 16552$, and\n$$t = 8a + 10b.$$\nLet $L$ be the number of elements in $V$.\n\nDefine\n$$Q = R^2 + NR + L.$$\n\nCompute $Q$.", "answer": 9186, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(605)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"upper\": Const(40),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(45056)), Eq(Mod(value=Binom(n=Const(45056), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(Ref(\"_n\"), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1119)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=760)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=16552)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW/LIN_FORM/ENDING_quadratic_mod", "V8"], "recipe_id": "fd37bf", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C5", "ENDING_quadratic_mod", "LIN_FORM", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.011, "created_at": "2026-02-08T03:27:15.248151Z", "verification": {"verified": true, "answer": 9186, "timestamp": "2026-02-08T03:27:15.259537Z"}, "problem_hash": "bb86d6", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "V8": "ok", "ENDING_quadratic_mod": "ok_later", "LIN_FORM": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "L3c": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "c743c5", "alias": "comb_sum_binomial_mod_v1_458359167_292", "problem": "Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1\\le a\\le 81$, $1\\le b\\le 49$, $37\\le t\\le 1509$, and\n$$t = 10a + 14b + 13.$$\nLet $N$ be the number of elements in $S$.\n\nLet $R$ be the set of all integers $n$ such that $1\\le n\\le N$ and\n$$\\gcd(n,10) = \\sum_{d\\mid \\gcd(12,25)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $K$ be the number of elements in $R$.\n\nFor each integer $k$ with $72\\le k\\le 223$ and each integer $j$ with $1\\le j\\le 3$, consider the binomial coefficient $\\binom{K}{k}$. Let\n$$T = \\sum_{k=72}^{223} \\sum_{j=1}^{3} \\binom{K}{k}.$$\nDefine\n$$X = \\frac{5T}{15}.$$\n\nLet $m = 11579$, and let $r$ be the remainder when $X$ is divided by $m$. Finally, let\n$$Q = 20736 - r.$$\n\nFind the remainder when $Q$ is divided by $m$. ", "answer": 10732, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11579),\n \"sum\": Div(Mul(Const(5), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(72), end=Const(223)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=81)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=49)), Geq(left=Var(name='t'), right=Const(value=37)), Leq(left=Var(name='t'), right=Const(value=1509)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=14), Var(name='b')), Const(value=13))))))))), Eq(GCD(a=Var(\"n\"), b=Const(10)), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d'))))))), k=Var(\"k\"))))), Const(15)),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n \"_c\": Const(20736),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C4/SUM_INDEPENDENT", "MOBIUS_COPRIME"], "recipe_id": "61a5e7", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "MOBIUS_COPRIME", "SUM_INDEPENDENT"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.035, "created_at": "2026-02-08T03:10:56.814840Z", "verification": {"verified": true, "answer": 10732, "timestamp": "2026-02-08T03:10:56.850309Z"}, "problem_hash": "947192", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "C4": "ok_later", "SUM_INDEPENDENT": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MOD_MUL": "no", "V5": "no", "V8": "no"}} -{"id": "cf4048", "alias": "antilemma_v7_kummer_1874849503_288", "problem": "Let $d$ be a positive integer divisor of $2289804619483$ with $d \\geq 2$. Let $k$ be the smallest such $d$. Define $\\nu$ to be the number of positive integers $n \\leq k$ such that $\\gcd(n, 30) = 1$. Let $x$ be the largest integer such that $2^x$ divides $\\binom{190}{\\nu}$. Compute $33687 \\times x$.", "answer": 33687, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(190),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2289804619483)))))), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1)))))), base=Const(2)),\n \"_c\": Const(33687),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C4/V7", "V7"], "recipe_id": "a1b933", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T12:55:52.011199Z", "verification": {"verified": true, "answer": 33687, "timestamp": "2026-02-08T12:55:52.014671Z"}, "problem_hash": "dc7668", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:24:03.531Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V7": "ok", "C4": "ok_later", "COUNT_INTEGER_RANGE": "no", "K15": "no", "L3c": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "f54528", "alias": "nt_sum_divisors_compute_v1_153355830_516", "problem": "Let $n = 72361$. Let $n_2 = \\phi(\\phi(1))$, where $\\phi$ denotes Euler's totient function. Let $t = \\Omega(n_2)$, the number of prime factors of $n_2$ counted with multiplicity. Define $n_1$ to be the number of ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 2015$, $1 \\leq b \\leq 49$, $10 \\leq t \\leq 8354$, and $t = 4a + 6b$. Let $c = \\left( \\sum_{d \\mid n_1} \\phi(d) \\right) - n_1$. Define $n = 72361 + t + c$. Compute the sum of all positive divisors of $n$.", "answer": 72631, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72361),\n \"n2\": EulerPhi(n=EulerPhi(n=Const(1))),\n \"t\": BigOmega(n=Ref(name='n2')),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2015)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=49)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=8354)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"c\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"t\"), Ref(\"c\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO", "ONE_PHI_1"], "recipe_id": "d26fb8", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:08:26.725704Z", "verification": {"verified": true, "answer": 72631, "timestamp": "2026-02-08T03:08:26.729176Z"}, "problem_hash": "bcdf33", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "ONE_PHI_1": "ok", "EULER_TOTIENT_SUM": "ok_later", "C2": "no", "DS2": "no", "K5": "no", "LTE_SUM": "no", "V3": "no"}} -{"id": "9cf287", "alias": "comb_count_surjections_v1_1918700295_229", "problem": "Let $n = 5$ and $k = 4$. Let $A = k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind. Let $d$ be the number of positive integers $t$ such that $7 \\leq t \\leq 29$ and $t = 2a + 5b$ for some positive integers $a \\leq 7$ and $b \\leq 3$. Compute $$\\left(\\sum_{i=1}^{\\lfloor \\log_{10} |A| \\rfloor} \\left( \\text{the } i\\text{-th digit of } |A| \\right) \\cdot (i+1)^2 \\right) + 50176,$$ where the $i$-th digit is the coefficient of $10^{i-1}$ in the decimal expansion.", "answer": 50210, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5),\n \"k\": Const(4),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), k=Const(19)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(50176)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ZERO_BINOM_N/ENDING_digits_weighted_mod"], "recipe_id": "c64ffa", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "LIN_FORM", "ZERO_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.149, "created_at": "2026-02-08T03:06:30.487852Z", "verification": {"verified": true, "answer": 50210, "timestamp": "2026-02-08T03:06:30.636970Z"}, "problem_hash": "50e079", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ENDING_digits_weighted_mod": "ok_later", "ZERO_BINOM_N": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "b3bf6a", "alias": "antilemma_v1_legendre_168721529_1697", "problem": "Let $d_0=65757$, $m=429$, and $n=33775$. Define $A$ to be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\begin{itemize}\n \\item $1\\le a\\le 254$,\n \\item $1\\le b\\le 97$,\n \\item $20\\le t\\le 4138$,\n \\item $t=14a+6b$.\n\\end{itemize}\nLet\n$$B=7^{2048}-5^{A}.$$ \nLet $C$ be the largest integer $k$ such that $2^k$ divides $B$. Let $D$ be the largest integer $e$ such that $C^e$ divides $m!$. Define $E$ to be the smallest integer $d\\ge2$ such that $d$ divides $D$. Let $x$ be the largest integer $f$ such that $E^f$ divides $n!$.\n\nLet $c_0=22916$, and define $Q$ to be the remainder when $c_0x$ is divided by $d_0$, with $0\\le Q \\sum_{d \\mid \\gcd(51,136)} \\mu(d), \\\\ 0 & \\text{otherwise} \\end{cases} + \\begin{cases} 1 & \\text{if } D = 0, \\\\ 0 & \\text{otherwise.} \\end{cases}\n$$", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-8),\n \"b\": Const(8),\n \"c\": Sub(EulerPhi(n=Const(47)), Const(46)),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), SumOverDivisors(n=GCD(a=Const(value=51), b=Const(value=136)), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ZERO_PHI_PRIME", "B1"], "recipe_id": "944869", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME", "ZERO_PHI_PRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:57:13.253004Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:57:13.260829Z"}, "problem_hash": "187880", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "ZERO_PHI_PRIME": "ok", "K15": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "V7": "no"}} -{"id": "de7c2e", "alias": "nt_count_intersection_v1_677425708_3021", "problem": "Let $m=4$, and let $p$ be the greatest prime number $n$ such that $2\\le n\\le m$.\n\nLet $N=50000$. Let $a$ be the smallest integer $d\\ge 2$ such that $d$ divides $49049$.\n\nLet $b=18$. Let $R$ be the number of integers $n$ with $1\\le n\\le N$ such that $a$ divides $n$ and $\\gcd(n,b)=1$.\n\nDefine\n\\[\nQ = R + \\varphi\\bigl(|R|+1\\bigr) + \\tau\\Bigl(|R| + \\sum_{d\\mid \\gcd(p,5)} \\mu(d)\\Bigr),\n\\]\nwhere $\\varphi$ is Euler's totient function, $\\tau$ is the number of positive divisors function, and $\\mu$ is the Möbius function.\n\nCompute $Q$.", "answer": 3181, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(49049))))),\n \"b\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), SumOverDivisors(n=GCD(a=Ref(name='_n'), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_arith_invariants"], "recipe_id": "96bded", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_arith_invariants", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.109, "created_at": "2026-02-08T05:26:12.169359Z", "verification": {"verified": true, "answer": 3181, "timestamp": "2026-02-08T05:26:14.278695Z"}, "problem_hash": "cd318a", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_arith_invariants": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "571013", "alias": "nt_min_crt_v1_865884756_1386", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y$ equals the number of integers $t$ with $9 \\leq t \\leq 44$ for which there exist integers $a'$ and $b'$ satisfying $1 \\leq a' \\leq 15$, $1 \\leq b' \\leq 2$, and $t = 2a' + 7b'$. Let $P$ be the set of all products $xy$ where $(x,y) \\in S$. Let $m$ be the smallest divisor of the maximum element of $P$ that is at least $2$. Find the smallest positive integer $n$ such that $1 \\leq n \\leq 15$, $n \\equiv 1 \\pmod{m}$, and $n \\equiv 4 \\pmod{5}$. Compute $19779$ times this value of $n$.", "answer": 79116, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19779),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))))), expr=Mul(Var(\"x\"), Var(\"y\")))))))),\n \"k\": Const(5),\n \"a\": Const(1),\n \"b\": Const(4),\n \"upper\": Const(15),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"Q\": Mul(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1/MIN_PRIME_FACTOR"], "recipe_id": "fbd179", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T16:00:04.495261Z", "verification": {"verified": true, "answer": 79116, "timestamp": "2026-02-08T16:00:04.507414Z"}, "problem_hash": "c5e5e3", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "B1": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "d6df7e", "alias": "antilemma_product_of_sums_v1_1742523217_4593", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 324$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$.\n\nLet $S_1$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 3$.\n\nLet $S_2 = \\sum_{k=1}^{n} k$.\n\nLet $x = S_1 \\cdot S_2$, and let $Q$ be the remainder when $\\sum_{n=1}^{|x|} \\phi(n)$ is divided by $90595$, where $\\phi(n)$ is Euler's totient function.\n\nCompute the value of $Q$.", "answer": 39098, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(90595),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(324)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3/PRODUCT_OF_SUMS/SUM_ARITHMETIC"], "recipe_id": "e3f27a", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.84, "created_at": "2026-02-08T08:58:35.849260Z", "verification": {"verified": true, "answer": 39098, "timestamp": "2026-02-08T08:58:36.688856Z"}, "problem_hash": "dd1acd", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "8671eb", "alias": "comb_binomial_compute_v1_1915831931_2127", "problem": "Let $ n = 13 $ and $ k = 6 $. Define $ \\binom{n}{k} $ as the number of ways to choose $ k $ elements from a set of $ n $ elements. Compute $ \\binom{n}{k} $.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(13),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LTE_DIFF", "MAX_PRIME_BELOW"], "recipe_id": "85d4b7", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:37:43.586602Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T16:37:43.597394Z"}, "problem_hash": "21d974", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "ok_later", "K15": "no", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "21a358", "alias": "antilemma_v7_kummer_168721529_199", "problem": "Let $c=85264$.\n\nLet $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=212521$. Let $T$ be the set of all values of $x+y$ as $(x,y)$ ranges over $S$, and let $m$ be the minimum element of $T$.\n\nLet $U$ be the set of all integers $n$ such that $1\\le n\\le 11529$ and\n$$n\\equiv \\left\\lfloor\\frac{n}{2}\\right\\rfloor \\pmod{5}.$$\nLet $N$ be the number of elements of $U$.\n\nLet $V$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=36,\\quad \\gcd(p,q)=1,\\quad p a$ with $ab = 18$ and $\\gcd(a, b) = 1$. Compute $\\frac{p(p-1)}{m}$.", "answer": 39303, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(8))))),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(63837997))))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW", "COMB1/MIN_PRIME_FACTOR"], "recipe_id": "5896bf", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T15:58:04.857789Z", "verification": {"verified": true, "answer": 39303, "timestamp": "2026-02-08T15:58:04.867161Z"}, "problem_hash": "51f7c0", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "K5": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "677387", "alias": "nt_num_divisors_compute_v1_865884756_561", "problem": "Let $d$ be the smallest divisor of $23437829$ that is at least $2$. Let $n$ be the number of positive integers at most $d$ that are relatively prime to $21$. Define $k$ to be the largest integer such that $n^k$ divides $30991!$. Compute the number of positive divisors of $k$. Find the remainder when this number is multiplied by $44121$ and then divided by $79451$.", "answer": 26207, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(79451),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(23437829))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n1\"), b=Const(21)), Const(1))))),\n \"n\": MaxKDivides(target=Factorial(Const(30991)), base=Ref(\"_n\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C4/V1"], "recipe_id": "08a3c0", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T15:30:52.354381Z", "verification": {"verified": true, "answer": 26207, "timestamp": "2026-02-08T15:30:52.360935Z"}, "problem_hash": "cc87d8", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C4": "ok_later", "V1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "V7": "no"}} -{"id": "5ba97e", "alias": "nt_min_crt_v1_677425708_3546", "problem": "Let $m = 4$ and $k = 9$. Define $a = \\phi(2)$ and let $b$ be the largest prime number $n$ such that $2 \\leq n \\leq 9$. Let $\\text{upper}$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 12$. Determine the smallest positive integer $n$ such that $1 \\leq n \\leq \\text{upper}$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$.", "answer": 25, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(4),\n \"k\": Const(9),\n \"a\": EulerPhi(n=Const(2)),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_2", "B1"], "recipe_id": "38ea64", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.083, "created_at": "2026-02-08T05:48:56.388884Z", "verification": {"verified": true, "answer": 25, "timestamp": "2026-02-08T05:48:56.471953Z"}, "problem_hash": "c531a7", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "K13": "no", "K14": "no", "K15": "no", "K17": "no", "L3c": "no"}} -{"id": "86644f", "alias": "nt_sum_divisors_compute_v1_1125832087_148", "problem": "Let $S$ be the set of integers $n$ with $1\\le n\\le2$ such that $\\gcd(n,15)=1$, and let $N=\\varphi(|S|)$, where $\\varphi$ denotes Euler's totient function. Let $w$ be the number of prime factors of $N$, counted with multiplicity.\n\nLet $u$ be the number of distinct prime factors of $1$. Define\n$$T=46225+w+u.$$ \n\nLet $Q$ be the sum of all positive divisors of $T$. Compute $Q$.", "answer": 58683, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))),\n \"w\": BigOmega(n=Ref(name='n2')),\n \"n1\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(46225), Ref(\"w\"), Ref(\"u\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ONE_PHI_2/BIG_OMEGA_ZERO", "OMEGA_ZERO"], "recipe_id": "15960a", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C4", "OMEGA_ZERO", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:54:16.899304Z", "verification": {"verified": true, "answer": 58683, "timestamp": "2026-02-08T02:54:16.901080Z"}, "problem_hash": "676d19", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "OMEGA_ZERO": "ok", "BIG_OMEGA_ZERO": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K16": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "b91ab8", "alias": "nt_count_coprime_v1_151522320_1105", "problem": "Let $m = 2$. Let $n$ be the smallest divisor of 75 that is at least $m$. Let $u = 59049$. Let $k = \\sum_{i=1}^{3} \\phi(i) \\left\\lfloor \\frac{n}{i} \\right\\rfloor$. Compute the number of integers $a$ such that $1 \\le a \\le u$ and $\\gcd(a, k) = \\phi(1)$.", "answer": 19683, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(75))))),\n \"upper\": Const(59049),\n \"k\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), EulerPhi(n=Const(1)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K2", "ONE_PHI_1"], "recipe_id": "eda5a8", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.32, "created_at": "2026-02-08T03:48:40.154740Z", "verification": {"verified": true, "answer": 19683, "timestamp": "2026-02-08T03:48:45.474612Z"}, "problem_hash": "fe16de", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "K2": "ok_later", "K15": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "7ed905", "alias": "nt_sum_over_divisible_v1_548369836_118", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 2829124$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the minimum value in $T$. Now let $U$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $d$ be the minimum value of $x + y$ over all $(x, y) \\in U$. Compute the sum of all positive integers $n \\leq 42849$ such that\n\\[\nn \\equiv \\sum_{k=0}^{1} (-1)^k \\binom{\\binom{19}{19}}{k} \\pmod{d}.\n\\]\nThen find the remainder when $70123$ times this sum is divided by $60802$.", "answer": 48442, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70123),\n \"upper\": Const(42849),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2829124)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Summation(var=\"k\", start=Const(0), end=Const(1), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Binom(n=Const(19), k=Const(19)), k=Var(\"k\")))))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(60802)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "B3/B3", "ONE_BINOM_N"], "recipe_id": "dedaf6", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "BINOMIAL_ALTERNATING", "ONE_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.28, "created_at": "2026-02-08T02:46:10.761446Z", "verification": {"verified": true, "answer": 48442, "timestamp": "2026-02-08T02:46:12.041512Z"}, "problem_hash": "0a8559", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 311, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:54:07.565Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:56:48.663Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:53:23.599Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 621}, "timestamp": "2026-02-09T02:32:13.077Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48442, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 2310}, "timestamp": "2026-02-09T09:00:36.575Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 8192}, "timestamp": "2026-02-09T07:55:04.003Z"}], "lemma_applicability": {"B3": "ok", "BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no"}, "irt_difficulty": {"lo": 3.72, "mid": 6.92, "hi": 10.0}} -{"id": "81d32d", "alias": "nt_sum_divisors_compute_v1_153355830_1093", "problem": "Let $a = 160$ and define $b$ to be the largest integer $k$ such that $3^k$ divides $243^{28}$. Let $d_0 = \\gcd(a, b)$. Define $v$ to be $$\\sum_{d \\mid d_0} \\mu(d),$$ where $\\mu$ denotes the M\\\"obius function. Let $c$ be the number of distinct prime factors of $1$. Define $n = 58081 + v + c$. Compute the sum of all positive divisors of $n$.", "answer": 58323, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"a\": Const(160),\n \"b\": MaxKDivides(target=Pow(Const(243), Const(28)), base=Ref(\"_n\")),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(1),\n \"c\": SmallOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(58081), Ref(\"v\"), Ref(\"c\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_COPRIME", "OMEGA_ZERO"], "recipe_id": "c182fe", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["K14", "MOBIUS_COPRIME", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T04:23:45.456777Z", "verification": {"verified": true, "answer": 58323, "timestamp": "2026-02-08T04:23:45.460322Z"}, "problem_hash": "3aa54b", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}} -{"id": "bfd3a1", "alias": "nt_sum_divisors_mod_v1_1520064083_220", "problem": "Consider all triples $(a,b,t)$ of integers such that\n\\begin{itemize}\n \\item $1\\le a\\le 256$,\n \\item $1\\le b\\le 189$,\n \\item $22\\le t\\le 5096$, and\n \\item $t=14a+8b$.\n\\end{itemize}\nLet $u$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying these conditions.\n\nLet $n$ be the number of positive integers $j$ such that\n\\begin{itemize}\n \\item $1\\le j\\le u$, and\n \\item $j^{\\displaystyle \\sum_{d\\mid 3} \\varphi(d)}\\le 16003008000$,\n\\end{itemize}\nwhere $\\varphi$ is Euler's totient function.\n\nLet $\\sigma(n)$ be the sum of the positive divisors of $n$, and let $M=11437$. Define\n$$r\\equiv \\sigma(n)\\pmod M,\\quad 0\\le r p$ such that $pq = 18$ and $\\gcd(p, q) = 1$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 14700$ and $\\gcd(p, q) = 1$. Let $r$ be the largest prime number between $m$ and $n$, inclusive. Compute $!r$, the number of derangements of $r$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=14700)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "6694fa", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:56:34.272285Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T06:56:34.274587Z"}, "problem_hash": "f7a6e1", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "V1": "no", "V3": "no", "V5": "no"}} -{"id": "3bfdd1", "alias": "nt_count_coprime_and_v1_1742523217_1621", "problem": "Let $m=11$. Let $n_1=1$, and let $e$ be the number of prime factors of $n_1$, counted with multiplicity.\n\nLet $p=13$. Let $q$ be the least integer $d\\ge 2$ such that $d$ divides $63771971$.\n\nLet $N=p^{r}\\bigl(q+1+e\\bigr)$, where $r$ is the number of integers $n$ with $1\\le n\\le 2$ and such that the sum of the decimal digits of $n$ is odd.\n\nLet $\\mu(N)$ be the Möbius function of $N$, and let $M=\\mu(N)^2$. Let $k_1$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers satisfying $x+y=6$. Let $k_2=m+M$.\n\nLet $U=24175$, and let $R$ be the number of integers $n$ with $1\\le n\\le U$ such that $\\gcd(n,k_1)=1$ and $\\gcd(n,k_2)=1$.\n\nCompute $R$.", "answer": 14652, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(13),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(63771971))))),\n \"n\": Mul(Pow(Ref(\"p\"), Ref(\"_n\")), Sum(Ref(\"q\"), Const(1), Ref(\"e\"))),\n \"m\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(24175),\n \"k1\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k2\": Sum(Ref(\"_m\"), Ref(\"m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B1/BIG_OMEGA_ZERO/MOBIUS_SQUAREFREE", "MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE"], "recipe_id": "bbf5a7", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "BIG_OMEGA_ZERO", "L3B", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 2.554, "created_at": "2026-02-08T04:05:16.056034Z", "verification": {"verified": true, "answer": 14652, "timestamp": "2026-02-08T04:05:18.609951Z"}, "problem_hash": "4bb163", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "BIG_OMEGA_ZERO": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K13": "no", "L3b": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "7e84cf", "alias": "nt_sum_totient_over_divisors_v1_1874849503_531", "problem": "Let $n_2 = 9$ and define $h = \\lambda(n_2)$, where $\\lambda$ denotes the Liouville function. Let $p = 29$, $q = 19$, and $r = 31$, and define $n_1 = p^2 \\cdot q \\cdot r$. Let $w = \\mu(n_1)^{2h}$, where $\\mu$ denotes the M\\\"obius function. Let $n$ be the sum of $w$ and the number of integers $t$ such that $25 \\leq t \\leq 8750$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 254$, $1 \\leq b \\leq 1866$, and $t = 5a + 4b + 16$. Compute $\\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function.", "answer": 8714, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(9),\n \"h\": LiouvilleLambda(n=Ref(name='n2')),\n \"p\": Const(29),\n \"q\": Const(19),\n \"r\": Const(31),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"w\": Pow(MoebiusMu(n=Ref(name='n1')), Mul(Const(2), Ref(\"h\"))),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=254)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1866)), Geq(left=Var(name='t'), right=Const(value=25)), Leq(left=Var(name='t'), right=Const(value=8750)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=16)))))))), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SQUAREFREE", "LIOUVILLE_ONE"], "recipe_id": "70ca55", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T13:09:10.685701Z", "verification": {"verified": true, "answer": 8714, "timestamp": "2026-02-08T13:09:10.693099Z"}, "problem_hash": "7c1299", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 320, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:08:25.425Z"}], "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K5": "no", "L3b": "no", "V1": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "9ea22c", "alias": "comb_count_surjections_v1_1915831931_136", "problem": "Let $a$ be the number of ways to partition a set of $5$ labeled elements into exactly $4$ nonempty unlabeled subsets, multiplied by $4!$. Let $d_k$ denote the $k$th decimal digit of $|a|$, where $k=0$ corresponds to the units digit. Let $s$ be the sum of $d_i (i+1)^2$ for all $i$ from $0$ to the tens digit of $|a|$ (i.e., $i$ from $0$ to $\\lfloor \\log_{10} |a| \\rfloor - 1$). Let $c$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 74$ and $1 \\leq j \\leq 74$. Compute the value of $s + c$.", "answer": 5510, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5),\n \"k\": Const(4),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(74)), right=IntegerRange(start=Const(1), end=Const(74)))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(12), k=Const(12)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_digits_weighted_mod", "ZERO_BINOM_N"], "recipe_id": "a66f5e", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_digits_weighted_mod", "ZERO_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T15:12:09.378784Z", "verification": {"verified": true, "answer": 5510, "timestamp": "2026-02-08T15:12:09.381246Z"}, "problem_hash": "674256", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ZERO_BINOM_N": "ok", "ENDING_digits_weighted_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "d42561", "alias": "antilemma_count_primes_v1_1520064083_3992", "problem": "Let $m = 7$ and let $n$ be the largest integer such that $7^n$ divides $14!$. Let $x$ be the number of prime numbers $p$ such that $2 \\leq p \\leq d$, where $d$ is the smallest positive divisor of $307270728369983881$ that is at least $n$. Compute the remainder when $44121 \\cdot x$ is divided by $60965$.", "answer": 3115, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": MaxKDivides(target=Factorial(Const(14)), base=Ref(\"_m\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(307270728369983881)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(60965)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MIN_PRIME_FACTOR/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "8d2fe8", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:00:23.927512Z", "verification": {"verified": true, "answer": 3115, "timestamp": "2026-02-08T06:00:23.929565Z"}, "problem_hash": "927612", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "MAX_VAL": "no"}} -{"id": "331525", "alias": "antilemma_count_primes_v1_784195855_3979", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 739$. Let $c$ be the number of integers $t$ with $7 \\leq t \\leq 3013$ for which there exist positive integers $a$ and $b$ satisfying $1 \\leq a \\leq 223$, $1 \\leq b \\leq 586$, and $t = 3a + 4b$. Compute the value of\n$$\n(x \\bmod 251) + c \\cdot (x \\bmod 397),\n$$\nand then find the remainder when this sum is divided by $62369$.", "answer": 19048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(251),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(739)), IsPrime(Var(\"n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=223)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=586)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=3013)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(397)))), modulus=Const(62369)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_two_moduli", "COUNT_PRIMES"], "recipe_id": "a5b060", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_two_moduli", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:43:45.392031Z", "verification": {"verified": true, "answer": 19048, "timestamp": "2026-02-08T06:43:45.393547Z"}, "problem_hash": "9603db", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "ENDING_two_moduli": "ok_later", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "5e67ac", "alias": "nt_gcd_compute_v1_1918700295_855", "problem": "Let $p = 19$ and $n = p^3$. Define $m = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $p_0$ be the smallest integer $d \\geq 2$ that divides $175$. Define $f$ to be the remainder when $\\left( (p_0 - \\phi(1))! + 1 \\right)$ is divided by $p_0$. Let $a = 211833 + f$ and $b = 494277 + m$. Determine the value of $\\gcd(a, b)$.", "answer": 70611, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(19),\n \"n\": Pow(Ref(\"p1\"), Const(3)),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(175))))),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), EulerPhi(n=Const(1)))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Sum(Const(211833), Ref(\"f\")),\n \"b\": Sum(Const(494277), Ref(\"m\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "LIOUVILLE_MINUS_ONE", "ONE_PHI_1"], "recipe_id": "8ae245", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "ONE_PHI_1", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:32:36.669866Z", "verification": {"verified": true, "answer": 70611, "timestamp": "2026-02-08T03:32:36.676772Z"}, "problem_hash": "ad64d5", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "WILSON": "ok_later", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}} -{"id": "72830d", "alias": "nt_lcm_compute_v1_1520064083_1702", "problem": "Let $c = 614$. Let $m$ be the largest prime number less than or equal to 3468. Let $n = 63530$. Define $a = 568$ and $b$ as the largest prime number less than or equal to $c$. Compute $\\text{LCM}(a, b)$, and denote this value as $\\text{result}$. Let $S$ be the set of all integers $k$ such that $1 \\leq k \\leq m$ and $\\gcd(k, 6) = 1$. Compute the number of elements in $S$, subtract $\\text{result}$ from this count, and let $Q$ be the remainder when this difference is divided by $n$. Find the value of $Q$.", "answer": 34152, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(614),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3468)), IsPrime(Var(\"n\"))))),\n \"_n\": Const(63530),\n \"a\": Const(568),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/C4/ENDING_negation_mod"], "recipe_id": "aa8658", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:13:55.004180Z", "verification": {"verified": true, "answer": 34152, "timestamp": "2026-02-08T04:13:55.011199Z"}, "problem_hash": "78830c", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C4": "ok_later", "ENDING_negation_mod": "ok_later", "K13": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "f5b8ac", "alias": "comb_catalan_compute_v1_168721529_6", "problem": "Let $m = 12$. Let $a$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 12$ and $1 \\leq j \\leq 12$ such that $i + j = m$. Let $n$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 11$ such that $i + j = a$. Let $C_n$ denote the $n$-th Catalan number. Let $c$ be the number of ordered pairs $(x, y)$ with $1 \\leq x \\leq 87$ and $1 \\leq y \\leq 109$. Compute the remainder when $c \\cdot C_n$ is divided by $86120$.", "answer": 40588, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(87)), right=IntegerRange(start=Const(1), end=Const(109)))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(86120)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_CARTESIAN/ENDING_affine_mod"], "recipe_id": "0bd5ca", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.087, "created_at": "2026-02-08T12:45:56.365672Z", "verification": {"verified": true, "answer": 40588, "timestamp": "2026-02-08T12:45:56.452745Z"}, "problem_hash": "d3493b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 40588, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 1903}, "timestamp": "2026-02-08T20:52:54.087Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 40588, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 5912}, "timestamp": "2026-02-09T11:30:14.687Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40588, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 2576}, "timestamp": "2026-02-09T22:02:19.374Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:44:28.325Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.54, "mid": 1.1, "hi": 4.52}} -{"id": "b4f6a0", "alias": "diophantine_product_count_v1_1125832087_2300", "problem": "Let $k = 120$. Define $r$ to be the number of positive integers $x$ such that $1 \\leq x \\leq 100$, $x$ divides $k$, and $\\frac{k}{x} \\leq 100$. Compute $\\sum_{n=1}^{r} \\phi(n)$, where $\\phi(n)$ denotes the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\\n\\nFind the value of this sum.", "answer": 64, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(120),\n \"upper\": Const(100),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "MAX_DIVISOR", "C5"], "recipe_id": "84ec2d", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.058, "created_at": "2026-02-08T04:30:23.664246Z", "verification": {"verified": true, "answer": 64, "timestamp": "2026-02-08T04:30:23.722151Z"}, "problem_hash": "04bb41", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "MAX_DIVISOR": "ok", "MOBIUS_COPRIME": "ok", "DS2": "no", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V8_SUM": "no"}} -{"id": "7227c1", "alias": "antilemma_v7_kummer_1520064083_4694", "problem": "Let $m = 18$ and $n = 1999$. Let $p$ be the largest prime number less than or equal to $m$. Define $a$ to be the largest integer $k$ such that $p^k$ divides $\\binom{18632234095690335995531487144037270620940910280559788395460969940763180169779327759236265392932486333925893884586542497180342777375578333870919291486085013060131863283614169134265551924633604160004510810526697900136038810779397846627995386712837155060187675122802039497753448612170835368012568949595102467880475228798426125018555019763873412929962703480917802067741280771862973248937779900065334346373644715806812473672384995326164808298577), 14)$. Let $x$ be the largest integer $k$ such that $2^k$ divides $\\binom{a}{n}$. Let $c = 79501$. Compute the remainder when $c \\cdot x$ is divided by $70555$.", "answer": 36797, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\n \"_n\": Const(1999),\n \"x\": MaxKDivides(target=Binom(n=MaxKDivides(target=Pow(Const(18632234095690335995531487144037270620940910280559788395460969940763180169779327759236265392932486333925893884586542497180342777375578333870919291486085013060131863283614169134265551924633604160004510810526697900136038810779397846627995386712837155060187675122802039497753448612170835368012568949595102467880475228798426125018555019763873412929962703480917802067741280771862973248937779900065334346373644715806812473672384995326164808298577), Const(14)), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), k=Ref(\"_n\")), base=Const(2)),\n \"_c\": Const(79501),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(70555)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["MAX_PRIME_BELOW/K14/V7", "V7"], "recipe_id": "34666a", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["K14", "MAX_PRIME_BELOW", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T06:23:19.418384Z", "verification": {"verified": true, "answer": 36797, "timestamp": "2026-02-08T06:23:19.425737Z"}, "problem_hash": "e0417f", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V7": "ok", "K14": "ok_later", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "1f9db6", "alias": "nt_count_divisors_in_range_v1_784195855_1202", "problem": "Let $n = 10080$, $a = 38$, and $b = 2527$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 46, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(10080),\n \"a\": Const(38),\n \"b\": Const(2527),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["MOBIUS_SUM", "LIN_FORM", "L3B"], "recipe_id": "c7c13d", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.142, "created_at": "2026-02-08T04:54:11.667524Z", "verification": {"verified": true, "answer": 46, "timestamp": "2026-02-08T04:54:11.809519Z"}, "problem_hash": "87ae37", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "6219c6", "alias": "nt_euler_phi_compute_v1_677425708_3584", "problem": "Let $n_2 = 2$. Define $w = \\mu(n_2)^2$, where $\\mu$ denotes the M\\\"obius function. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides 6125, and define $n_1 = d_{\\text{min}} \\cdot w$. Let $f = \\omega(n_1)$, the number of distinct prime factors of $n_1$. Let $n = 85849$, and let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when $67203 \\cdot f \\cdot \\varphi(n)$ is divided by 91492.", "answer": 79604, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67203),\n \"n2\": Const(2),\n \"w\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6125))))), Ref(\"w\")),\n \"f\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(85849),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Mul(Ref(\"_n\"), Ref(\"f\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91492)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE/OMEGA_ONE"], "recipe_id": "cf08ab", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:51:16.419693Z", "verification": {"verified": true, "answer": 79604, "timestamp": "2026-02-08T05:51:16.421995Z"}, "problem_hash": "b6b131", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_SQUAREFREE": "ok_later", "OMEGA_ONE": "ok_later", "C2": "no", "DS2": "no", "L3c": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "849121", "alias": "nt_count_intersection_v1_1742523217_868", "problem": "Let $a$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18$. Let $b = \\sum_{d \\mid 14} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Compute the number of positive integers $n \\leq 20000$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$.", "answer": 952, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(18),\n \"N\": Const(20000),\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"b\": SumOverDivisors(n=Const(value=14), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "K3"], "recipe_id": "f04e15", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.839, "created_at": "2026-02-08T03:19:03.993886Z", "verification": {"verified": true, "answer": 952, "timestamp": "2026-02-08T03:19:05.832787Z"}, "problem_hash": "fc449d", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 952, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 1530}, "timestamp": "2026-02-09T07:59:40.922Z"}], "lemma_applicability": {"COMB1": "ok", "K3": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "cc4cd2", "alias": "nt_sum_divisors_compute_v1_1248542787_579", "problem": "Let $ v = \\lambda(11) + \\phi(2) $, where $ \\lambda $ is the Liouville function and $ \\phi $ is Euler's totient function. Let $ t $ be the number of integers $ t $ with $ 7 \\leq t \\leq 42 $ such that there exist integers $ a, b $ with $ 1 \\leq a \\leq 6 $, $ 1 \\leq b \\leq 6 $, and $ t = 4a + 3b $. Define $ n_1 = t^{2 + v} $. Let $ h $ be the remainder when the number of positive divisors of $ n_1 $ is divided by the number of positive integers $ p $ such that there exists a positive integer $ q $ with $ p \\cdot q = 108 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ n = 60025 \\cdot h $. Compute the sum of the positive divisors of $ n $.", "answer": 86831, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60025),\n \"n2\": Const(11),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n2')), EulerPhi(n=Const(2))),\n \"t\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=42)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"n1\": Pow(Ref(\"t\"), Sum(Const(2), Ref(\"v\"))),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"h\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/DIVISOR_PARITY", "LIN_FORM/DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE", "ONE_PHI_2"], "recipe_id": "29226b", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "ONE_PHI_2"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:14:33.249244Z", "verification": {"verified": true, "answer": 86831, "timestamp": "2026-02-08T03:14:33.254049Z"}, "problem_hash": "735696", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 86831, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 335, "completion_tokens": 1947}, "timestamp": "2026-02-09T05:46:15.420Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 86831, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 331, "completion_tokens": 2544}, "timestamp": "2026-02-09T18:38:17.474Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:18:20.366Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "ONE_PHI_2": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "ab7a76", "alias": "sequence_lucas_compute_v1_865884756_4410", "problem": "Let $m$ be the number of ordered pairs $(x, y)$ with $1 \\leq x \\leq 50$ and $1 \\leq y \\leq 50$. Let $n_1$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $n$ be the minimum value of $x_1 + y_1$ over all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = n_1$. Compute the $n$-th Lucas number.", "answer": 15127, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(50)), right=IntegerRange(start=Const(1), end=Const(50)))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Mul(Var(\"x1\"), Var(\"y1\")), Ref(\"_n\")))), expr=Sum(Var(\"x1\"), Var(\"y1\")))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/B3", "B3/B3"], "recipe_id": "2280fc", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T17:55:12.426243Z", "verification": {"verified": true, "answer": 15127, "timestamp": "2026-02-08T17:55:12.432276Z"}, "problem_hash": "a4b020", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "658d5c", "alias": "antilemma_sum_factor_cartesian_v1_1742523217_3753", "problem": "Let $A$ be the set of all positive integers $n \\leq 9$ such that $n \\equiv 0 \\pmod{9}$. Let $d$ be a positive divisor of $\\gcd(4, |A|)$. Define $\\mu(d)$ to be the Möbius function. Let $\\sigma = \\sum_{d \\mid \\gcd(4, |A|)} \\mu(d)$. Consider all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 11$. Compute the sum of $i \\cdot j$ over all such pairs $(i,j)$ for which $\\sigma > 0$.", "answer": 18216, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=4), b=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=9)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(11)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "25cc9d", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T06:05:00.609874Z", "verification": {"verified": true, "answer": 18216, "timestamp": "2026-02-08T06:05:00.624957Z"}, "problem_hash": "904dcc", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "2582db", "alias": "nt_gcd_compute_v1_865884756_1908", "problem": "Let $a = 924242$ and $b = 1596418$. Let $d = \\gcd(a, b)$. Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 6$. Define $e = \\sum_{k=1}^{\\max(S)} k$. Compute the value of $$d + \\left(2^{d \\bmod e} \\bmod 62135\\right).$$", "answer": 84150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62135),\n \"a\": Const(924242),\n \"b\": Const(1596418),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))), expr=Var(\"k\")))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/SUM_ARITHMETIC/ENDING_mod_exp"], "recipe_id": "442c69", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T16:23:26.871786Z", "verification": {"verified": true, "answer": 84150, "timestamp": "2026-02-08T16:23:26.876734Z"}, "problem_hash": "2ebc54", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_mod_exp": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K15": "no", "LTE_DIFF": "no"}} -{"id": "d12222", "alias": "antilemma_sum_equals_v1_1918700295_3511", "problem": "Let $d = 57600$. Let $c$ be the number of integers $t$ such that $27 \\leq t \\leq 408$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 8$, $1 \\leq b \\leq 40$, and $t = 21a + 6b$. Let $m$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = c$. Let $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 60$ and $1 \\leq j \\leq 60$ such that $i + j = m$. Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 58$ and $1 \\leq j \\leq 59$ such that $i + j = n$. Compute $d - x$.", "answer": 57542, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(57600),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=40)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=408)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_c\"))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(60)), right=IntegerRange(start=Const(1), end=Const(60))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(58)), right=IntegerRange(start=Const(1), end=Const(59))))),\n \"Q\": Sub(Ref(\"_d\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "bb8f40", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T08:40:34.265818Z", "verification": {"verified": true, "answer": 57542, "timestamp": "2026-02-08T08:40:34.278457Z"}, "problem_hash": "35b428", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "477435", "alias": "antilemma_product_of_sums_v1_458359167_191", "problem": "Let $n=41327$. Consider all ordered pairs $(k,j)$ of integers with $1\\le k\\le5$ and $1\\le j\\le2$. Let $A$ be the sum of all values of $k$ over these pairs.\n\nLet $d_0$ be the minimum element of the set of all integers $d\\ge2$ such that $d$ divides $n$. Let\n$$T=\\sum_{d\\mid \\gcd(7,d_0)} \\mu(d),$$\nwhere $\\mu$ is the function that assigns to each positive integer its Möbius value.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le7$ and $1\\le j\\le8$. Let $B$ be the sum of all values of $ij$ over these pairs. Define\n$$x = A\\cdot B.$$ \n\nCompute $x$.", "answer": 30240, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41327),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\"))), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=7), b=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Ref(name='_n')))))), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/SUM_FACTOR_CARTESIAN", "PRODUCT_OF_SUMS"], "recipe_id": "7f69ce", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:03:23.325652Z", "verification": {"verified": true, "answer": 30240, "timestamp": "2026-02-08T03:03:23.327891Z"}, "problem_hash": "180c2a", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "PRODUCT_OF_SUMS": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_FACTOR_CARTESIAN": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no"}} -{"id": "e82213", "alias": "nt_count_divisible_and_v1_168721529_1793", "problem": "Let $n = 279841$. Define $w = \\mu(n)^2$, where $\\mu$ denotes the M\\\"obius function. Let $p = 71$ and $u = \\Omega(p)$, where $\\Omega(p)$ is the number of prime factors of $p$ counted with multiplicity. Define $d_1 = 6u$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 25$. Define $d_2 = \\min\\{x + y \\mid (x, y) \\in S\\} + w$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 146910$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Compute the Fibonacci entry point of $|N| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|N| + 2$. Find the value of this $k$.", "answer": 840, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(279841),\n \"w\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"p\": Const(71),\n \"u\": BigOmega(n=Ref(name='p')),\n \"upper\": Const(146910),\n \"d1\": Mul(Const(6), Ref(\"u\")),\n \"d2\": Sum(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"w\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_SQUAREFREE", "BIG_OMEGA_ONE"], "recipe_id": "c94963", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 9.383, "created_at": "2026-02-08T13:54:59.006490Z", "verification": {"verified": true, "answer": 840, "timestamp": "2026-02-08T13:55:08.389403Z"}, "problem_hash": "9d695d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 345, "completion_tokens": 3272}, "timestamp": "2026-02-09T21:40:54.794Z"}], "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "DS2": "no", "L3b": "no", "L3c": "no"}} -{"id": "44c7a5", "alias": "nt_count_squarefree_v1_1520064083_3598", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq 13778$ and the sum of the digits of $n$ is even. Let $c = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Define $p = 29c$ and $n = p^3$. Let $u = \\lambda(n) + 1$, and define $\\text{upper} = 77841 + u$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\mu(n)^2 = 1$, where $\\mu$ denotes the M\\\"obius function. Find the value of $\\text{result}$.", "answer": 47317, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13778),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"c\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Mul(Const(29), Ref(\"c\")),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Const(77841), Ref(\"u\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/LIOUVILLE_ONE", "LIOUVILLE_MINUS_ONE"], "recipe_id": "95252a", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_MINUS_ONE", "LIOUVILLE_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 11.126, "created_at": "2026-02-08T05:46:20.618345Z", "verification": {"verified": true, "answer": 47317, "timestamp": "2026-02-08T05:46:31.744630Z"}, "problem_hash": "933855", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "LIOUVILLE_MINUS_ONE": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "880b98", "alias": "algebra_quadratic_discriminant_v1_1520064083_4289", "problem": "Let $m = 108$ and $n = 2$. Let $a = -2$ and $b = -18$. Define $c$ to be the largest integer $k$ such that $2^k \\leq 1450840$. Compute the value of $$\\max\\{xy \\mid x \\text{ and } y \\text{ are positive integers such that } x + y = m\\} - (b^n - 4ac).$$", "answer": 2432, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(108),\n \"_n\": Const(2),\n \"a\": Const(-2),\n \"b\": Const(-18),\n \"c\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(1450840)))),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_negation_mod", "MAX_VAL"], "recipe_id": "bbec55", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "MAX_VAL"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:11:33.091346Z", "verification": {"verified": true, "answer": 2432, "timestamp": "2026-02-08T06:11:33.093911Z"}, "problem_hash": "af5680", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MAX_VAL": "ok", "ENDING_negation_mod": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}} -{"id": "dd307a", "alias": "nt_lcm_compute_v1_1742523217_1937", "problem": "Let $d=2$, $m=101$, and $n$ be the greatest prime number between $2$ and $104$, inclusive.\n\nLet $a=1197$. Let $b$ be the sum of all integers $x$ satisfying\n$$x^2-1806x-38367=0.$$\nLet $r=\\operatorname{lcm}(a,b)$.\n\nLet $c=7$. Let $D$ be the set of all integers $d$ with $d\\ge2$ such that $d$ divides $9310177273$, and let $k$ be the smallest element of $D$.\n\nDefine\n\\[\nQ \\equiv 353702\\cdot |r| \\bmod k \n\\; +\\; 329703\\cdot\\bigl(|r|^2+1\\bigr) \\bmod m \n\\; +\\; 215534\\cdot\\bigl(|r|+c\\bigr) \\bmod n \n\\pmod{1009091},\n\\]\nwhere each “$\\bmod$” inside the expression denotes taking the remainder upon division by the indicated modulus, and the outer “$\\pmod{1009091}$” denotes taking the final result modulo $1009091$.\n\nCompute $Q$.", "answer": 38345, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(101),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(104)), IsPrime(Var(\"n\"))))),\n \"a\": Const(1197),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1806), Var(\"x\")), Const(-38367)), Const(0)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(7),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_d\")), Divides(divisor=Var(\"d\"), dividend=Const(9310177273))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/VIETA_SUM/ENDING_crt_mix_3", "MIN_PRIME_FACTOR/ENDING_crt_mix_3"], "recipe_id": "e826b1", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T04:21:23.957659Z", "verification": {"verified": true, "answer": 38345, "timestamp": "2026-02-08T04:21:23.962797Z"}, "problem_hash": "a3db3d", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "VIETA_SUM": "ok_later", "C2": "no", "K13": "no", "L3b": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "74e76c", "alias": "antilemma_sum_factor_cartesian_v1_153355830_1643", "problem": "Let $x$ be the sum of all products $ij$ over all ordered pairs $(i,j)$ of integers such that $1 \\le i \\le 22$ and $1 \\le j \\le 8$.\n\nFor each integer $n$, let $F_n$ denote the $n$-th Fibonacci number, with $F_1 = 1$, $F_2 = 1$, and $F_{n+2} = F_{n+1} + F_n$ for all $n \\ge 1$.\n\nLet $C$ be the number of integers $n$ such that $1 \\le n \\le N$ and $2$ divides $F_n$, where $N$ is defined as follows. First, let $M$ be the number of integers $j$ with $0 \\le j \\le 35346$ for which the binomial coefficient $\\binom{35346}{j}$ is odd. Then define $N = M + 19$.\n\nLet\n$$Q \\equiv x^2 + 25x + C \\pmod{66297},$$\nwhere $0 \\le Q < 66297$.\n\nFind the value of $Q$.", "answer": 46943, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66297),\n \"_n\": Const(25),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(35346)), Eq(Mod(value=Binom(n=Const(35346), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(19))), Divides(divisor=Const(2), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"x\")), Ref(\"_c\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/COUNT_FIB_DIVISIBLE/ENDING_quadratic_mod", "SUM_FACTOR_CARTESIAN"], "recipe_id": "4ea695", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_quadratic_mod", "SUM_FACTOR_CARTESIAN", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T06:32:23.502095Z", "verification": {"verified": true, "answer": 46943, "timestamp": "2026-02-08T06:32:23.505069Z"}, "problem_hash": "992257", "license": "CC BY 4.0", "lemma_applicability": {"SUM_FACTOR_CARTESIAN": "ok", "V8": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "ENDING_quadratic_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3c": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "9a327f", "alias": "comb_binomial_compute_v1_1520064083_5003", "problem": "Let $m$ be the number of integers $t$ with $10 \\leq t \\leq 68$ that can be expressed as $t = 3a + 7b$ for some positive integers $a \\leq 11$ and $b \\leq 5$. Let $n$ be the number of prime numbers between $2$ and $m$, inclusive. Let $k$ be the number of positive integers $p$ such that $p < q$, $pq = 63000$, and $\\gcd(p, q) = 1$. Compute $\\binom{n}{k}$.", "answer": 6435, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=68)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=63000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_PRIMES", "COPRIME_PAIRS"], "recipe_id": "ee02b5", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T06:32:50.511040Z", "verification": {"verified": true, "answer": 6435, "timestamp": "2026-02-08T06:32:50.516483Z"}, "problem_hash": "ebe29d", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "ok_later", "K16": "no", "K17": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no"}} -{"id": "6bc47e", "alias": "nt_sum_divisors_range_v1_1742523217_1524", "problem": "Let $m = 5929$. Let $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Let $u$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n$. Compute the sum of the number of positive divisors of all integers from $1$ to $u$, inclusive. Then, let $Q$ be the sum of this result, $\\varphi(|\\text{result}| + 1)$, and the number of positive divisors of $|\\text{result}| + 1$. Find the value of $Q$.", "answer": 65175, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5929),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1", "ONE_PHI_1"], "recipe_id": "a2786c", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.21, "created_at": "2026-02-08T04:02:24.460543Z", "verification": {"verified": true, "answer": 65175, "timestamp": "2026-02-08T04:02:24.670735Z"}, "problem_hash": "2e471d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "B1": "ok_later", "DS2": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "ab78df", "alias": "nt_euler_phi_compute_v1_1742523217_1242", "problem": "Let $c=2$. Let $m$ be the number of integers $n$ with $1\\le n\\le652$ such that $2$ divides $n$ and $\\gcd(n,35)=1$.\n\nLet $n$ be the greatest prime not exceeding $m$. Let $N=46656$, and let $\\varphi(N)$ denote the number of positive integers less than or equal to $N$ that are relatively prime to $N$.\n\nLet $P$ be the number of primes $p$ with $2\\le p\\le n$. Define\n\\[\nQ\\equiv P-\\varphi(46656)\\pmod{52302},\n\\]\nwhere $0\\le Q<52302$.\n\nFind the value of $Q$.", "answer": 36798, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(652)), Divides(divisor=Ref(\"_c\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"n\": Const(46656),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(52302)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW/COUNT_PRIMES/ENDING_negation_mod"], "recipe_id": "d4cbbc", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COUNT_PRIMES", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:34:41.412650Z", "verification": {"verified": true, "answer": 36798, "timestamp": "2026-02-08T03:34:41.417322Z"}, "problem_hash": "3ddc49", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "COUNT_PRIMES": "ok_later", "ENDING_negation_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}} -{"id": "73a9b4", "alias": "nt_count_intersection_v1_677425708_1794", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 23333$ and $\\gcd(n, 14) = 1$. Let $a$ be the largest prime number in the interval $[2, 3]$. Define $b = 16$. Let $S$ be the set of positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Let $r_1$ be the number of elements in $S$. Let $d_{\\text{min}}$ be the smallest divisor of $989497$ that is at least $2$. Compute\n$$\n353702 \\cdot (r_1 \\bmod d_{\\text{min}}) + 329703 \\cdot (r_1^2 \\bmod 101) + 215534 \\cdot (r_1 \\bmod 103)\n$$\nand find the remainder when this value is divided by $79930$.", "answer": 75877, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(103),\n \"_m\": Const(2),\n \"_n\": Const(34),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(23333)), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"b\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(989497))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=Ref(\"_c\")))), modulus=Const(1009091)), modulus=Const(79930)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_crt_mix_3", "MAX_PRIME_BELOW", "C4"], "recipe_id": "cdaee8", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 1.172, "created_at": "2026-02-08T04:27:25.931770Z", "verification": {"verified": true, "answer": 75877, "timestamp": "2026-02-08T04:27:27.103746Z"}, "problem_hash": "5c2124", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K14": "no", "LTE_DIFF": "no"}} -{"id": "c32f70", "alias": "nt_euler_phi_compute_v1_865884756_353", "problem": "Let $n_1$ be the smallest positive integer such that $3^{40}$ divides $n_1!$. Let $v$ be the number of distinct prime factors of $n_1$. Define $a = 14v$ and $b = 15$. Let $u = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $n = 40804u$. Compute $\\varphi(n)$.", "answer": 20200, "graph": "graphs = [\n Graph(\n let={\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n2\")), base=Const(3)), Const(40)), domain='Z_{>0}')),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"a\": Mul(Const(14), Ref(\"v\")),\n \"b\": Const(15),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(40804), Ref(\"u\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/OMEGA_ONE", "MOBIUS_COPRIME"], "recipe_id": "f17ebf", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_COPRIME", "OMEGA_ONE", "V5"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:19:28.610735Z", "verification": {"verified": true, "answer": 20200, "timestamp": "2026-02-08T15:19:28.613421Z"}, "problem_hash": "163e60", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "V5": "ok", "OMEGA_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3b": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "2257f3", "alias": "modular_mod_compute_v1_458359167_1339", "problem": "Let $m = 21197$ and let $n$ be the smallest integer $d \\geq 2$ that divides $75809$. Let $a = -29241$ and $m' = 69696$. Define $\\text{result}$ to be the remainder when $a$ is divided by $m'$. Let $k$ be a positive integer such that $1 \\leq k \\leq m$ and $n$ divides $k$. Let $c$ be the number of such integers $k$. Define $Q = (c \\cdot \\text{result}) \\bmod 62394$. Compute the value of $Q$.", "answer": 13245, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21197),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(75809))))),\n \"a\": Const(-29241),\n \"m\": Const(69696),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"result\")), modulus=Const(62394)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C2/ENDING_affine_mod"], "recipe_id": "262e9a", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "ENDING_affine_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:33:24.333032Z", "verification": {"verified": true, "answer": 13245, "timestamp": "2026-02-08T04:33:24.337229Z"}, "problem_hash": "acd9a5", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "ok_later", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "8613c7", "alias": "modular_sum_quadratic_residues_v1_1116507919_422", "problem": "Let $c = 1386$ and $m = 4$. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq k$, where $k$ is the largest integer for which $7^k$ divides $1386!$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 4$. Compute $\\frac{p(p-1)}{s}$.", "answer": 13053, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(1386),\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Ref(\"_c\")), base=Const(7))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW", "B3"], "recipe_id": "029b5c", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:34:11.367096Z", "verification": {"verified": true, "answer": 13053, "timestamp": "2026-02-08T02:34:11.370441Z"}, "problem_hash": "e6cd3b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1095}, "timestamp": "2026-02-08T19:32:39.039Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 917}, "timestamp": "2026-02-09T17:29:26.599Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 6085}, "timestamp": "2026-02-09T21:18:07.324Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 728}, "timestamp": "2026-02-09T21:04:42.489Z"}], "lemma_applicability": {"B3": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "52f29f", "alias": "nt_sum_totient_over_divisors_v1_865884756_72", "problem": "Let $v$ be the remainder when $9! + 1$ is divided by $11$. Let $d_{\\text{min}}$ be the smallest divisor of $899$ that is at least $2$. Let $p = d_{\\text{min}} + v$. Let $c$ be the number of prime factors of $p$, counted with multiplicity. Let $n = 35032 \\cdot c$. Compute $\\sum_{d \\mid n} \\phi(d)$, where the sum is over all positive divisors $d$ of $n$.", "answer": 35032, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35032),\n \"p1\": Const(11),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(899))))), Ref(\"v\")),\n \"c\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"c\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d1', expr=EulerPhi(n=Var(name='d1'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON/BIG_OMEGA_ONE"], "recipe_id": "b5ab16", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.018, "created_at": "2026-02-08T15:09:15.033072Z", "verification": {"verified": true, "answer": 35032, "timestamp": "2026-02-08T15:09:15.051501Z"}, "problem_hash": "e075cb", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "WILSON": "ok_later", "DS2": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "b68180", "alias": "nt_sum_gcd_range_mod_v1_1918700295_1916", "problem": "Let $\\phi(n)$ denote Euler's totient function. Let $S$ be the set of all positive integers $k$ such that $3^k \\leq 11$, and let $m = \\max(S)$. Define $N$ to be the number of positive integers $k$ satisfying $k \\leq 1016064$, $k \\geq \\phi(m)$, and $256$ divides $k$. Let $k = 252$ and $M = 10771$. Compute $$\\sum_{n=1}^{N} \\gcd(n, k),$$ and let the result be the remainder when this sum is divided by $M$. Find the value of this result.", "answer": 1978, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(256),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(11)))))), Leq(Var(\"k\"), Const(1016064)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k\": Const(252),\n \"M\": Const(10771),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/ONE_PHI_2/C2"], "recipe_id": "21a6a8", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "MAX_VAL", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.487, "created_at": "2026-02-08T06:11:02.808168Z", "verification": {"verified": true, "answer": 1978, "timestamp": "2026-02-08T06:11:03.294898Z"}, "problem_hash": "8be3ce", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "C2": "ok_later", "ONE_PHI_2": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no"}} -{"id": "ce1b65", "alias": "sequence_lucas_compute_v1_1520064083_4670", "problem": "Let $m = 21$. Let $k$ be the largest integer such that $11^k$ divides $10^{11} + 1$. Define $n$ to be the largest prime number $p$ such that $k \\leq p \\leq m$. Let $L_n$ denote the $n$-th Lucas number. Compute\n$$\nL_n + \\phi(|L_n| + 1) + \\tau(|L_n| + \\phi(1)),\n$$\nwhere $\\phi$ is Euler's totient function and $\\tau$ counts the number of positive divisors.", "answer": 12573, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21),\n \"_n\": MaxKDivides(target=Sum(Pow(Const(10), Const(11)), Const(1)), base=Const(11)),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=Const(1))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "2c1770", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:22:45.245338Z", "verification": {"verified": true, "answer": 12573, "timestamp": "2026-02-08T06:22:45.247877Z"}, "problem_hash": "16c0ea", "license": "CC BY 4.0", "lemma_applicability": {"LTE_SUM": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "MOD_SUB": "no"}} -{"id": "3a88b4", "alias": "diophantine_fbi2_count_v1_153355830_45", "problem": "Let $c = 670$ and $m = 11$. Define $n_0$ to be the largest positive divisor of $453590$ that is at most $c$. Let $k$ be the number of positive integers at most $141960$ that are divisible by $169$. Determine the number of positive integers $d$ such that $4 \\leq d \\leq s$, where $s$ is the number of positive integers $n \\leq n_0$ for which $m$ divides $F_n$ (the $n$th Fibonacci number), and such that $d$ divides $k$, $\\frac{k}{d} \\geq 2$, and $\\frac{k}{d} \\leq 65$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(670),\n \"_m\": Const(11),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(453590))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(141960)), Divides(divisor=Const(169), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n'))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(65))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/COUNT_FIB_DIVISIBLE", "C2"], "recipe_id": "f2fd7e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "COUNT_FIB_DIVISIBLE", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T02:51:26.316259Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T02:51:26.326009Z"}, "problem_hash": "07c0e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 12, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 2905}, "timestamp": "2026-02-08T22:28:57.848Z"}], "lemma_applicability": {"C2": "ok", "MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "5984c3", "alias": "nt_num_divisors_compute_v1_1520064083_3188", "problem": "Let $n_2$ be the number of positive integers $k$ such that $1 \\leq k \\leq 8170$ and $10$ divides $k$. Define $c = \\sum_{d \\mid n_2} \\phi(d) - n_2$. Let $n_1$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = 12$. Define $u = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $n = 88209 + u$ and let $\\text{result}$ be the number of positive divisors of $n$. Define $c' = 50901 + c$. Compute the remainder when $c' \\cdot \\text{result}$ is divided by $74294$.", "answer": 28805, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88209),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(8170)), Divides(divisor=Const(10), dividend=Var(\"k\"))), domain='positive_integers')),\n \"c\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Ref(\"_n\"), Ref(\"u\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Sum(Const(50901), Ref(\"c\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(74294)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/EULER_TOTIENT_SUM", "B1/MOBIUS_SUM"], "recipe_id": "a94154", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "C2", "EULER_TOTIENT_SUM", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:30:21.221606Z", "verification": {"verified": true, "answer": 28805, "timestamp": "2026-02-08T05:30:21.224012Z"}, "problem_hash": "151308", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "C2": "ok", "EULER_TOTIENT_SUM": "ok_later", "MOBIUS_SUM": "ok_later", "K15": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "d23347", "alias": "algebra_poly_eval_v1_124444284_169", "problem": "Let $k = 7$. Define $a$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_0$ be the smallest divisor of $1002001$ that is at least $\\sum_{d\\mid 2} \\phi(d)$. Compute the value of\n$$\n9k^4 - 9k^3 - 2k^a - 3k + d_0.\n$$", "answer": 18410, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(7),\n \"result\": Sum(Mul(Const(9), Pow(Ref(\"k\"), Const(4))), Mul(Const(-9), Pow(Ref(\"k\"), Ref(\"_n\"))), Mul(Const(-2), Pow(Ref(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Mul(Const(-3), Ref(\"k\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), SumOverDivisors(n=Const(value=2), var='d', expr=EulerPhi(n=Var(name='d')))), Divides(divisor=Var(\"d\"), dividend=Const(1002001)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "b3fc8d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:02:17.601582Z", "verification": {"verified": true, "answer": 18410, "timestamp": "2026-02-08T03:02:17.610747Z"}, "problem_hash": "431650", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 18410, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1558}, "timestamp": "2026-02-09T14:19:35.574Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 18410, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1266}, "timestamp": "2026-02-08T23:40:14.177Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "K3": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K17": "no", "V3": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "316f13", "alias": "antilemma_coprime_grid_v1_1520064083_4715", "problem": "Let $n = 2$. Define $S$ to be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 31$ and $1 \\le j \\le 51$. Let $D$ be the set of all positive integers $d$ such that $d \\le n$ and $d$ divides 14. Compute the number of ordered pairs $(i,j)$ in $S$ for which $\\gcd(i,j) = \\varphi\\left(\\max(D)\\right)$.\n\nFind the value of this quantity.", "answer": 996, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(14))))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(51))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/ONE_PHI_2/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "08f2ce", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_DIVISOR", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T06:24:02.557274Z", "verification": {"verified": true, "answer": 996, "timestamp": "2026-02-08T06:24:02.558318Z"}, "problem_hash": "99ed60", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_DIVISOR": "ok", "ONE_PHI_2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "6bbff9", "alias": "diophantine_fbi2_min_v1_1918700295_869", "problem": "Let $n = 73$ and define $m = \\left( \\sum_{d \\mid n} \\phi(d) \\right) - n$, where $\\phi$ denotes Euler's totient function. Let $p$ be the smallest divisor of $367517$ that is at least $2$. Define $e$ as the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $k = 32$ and let $d_{\\text{min}}$ be the smallest integer $d$ such that $5 \\leq d \\leq 42$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Compute the remainder when $ (94283 + m) \\cdot d_{\\text{min}} $ is divided by $84888 + e$.", "answer": 75160, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n\": Const(73),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(367517))))),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"k\": Const(32),\n \"upper\": Const(42),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Mod(value=Mul(Sum(Const(94283), Ref(\"m\")), Ref(\"result\")), modulus=Sum(Const(84888), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "EULER_TOTIENT_SUM", "COPRIME_PAIRS"], "recipe_id": "fc592e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "EULER_TOTIENT_SUM", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T05:22:53.300235Z", "verification": {"verified": true, "answer": 75160, "timestamp": "2026-02-08T05:22:53.312204Z"}, "problem_hash": "3b27ca", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "EULER_TOTIENT_SUM": "ok", "MIN_PRIME_FACTOR": "ok", "WILSON": "ok_later", "K13": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no"}} -{"id": "2d683f", "alias": "antilemma_v1_legendre_124444284_1082", "problem": "Let $m = 11$ and $n = 28997$. Let $S$ be the set of all positive integers $x, y$ such that $x \\cdot y = 225$. Define $s$ to be the minimum value of $x + y$ over all such pairs $(x,y)$. Let $T$ be the set of all positive integers $k$ such that $1 \\le k \\le n$ and $\\gcd(k, s) = 1$. Let $N$ be the number of elements in $T$. Determine the largest integer $k$ such that $m^k$ divides $N!$. Compute $k$.", "answer": 771, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(28997),\n \"x\": MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(225)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(1)))))), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C4/V1", "V1"], "recipe_id": "c13241", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:40:55.998515Z", "verification": {"verified": true, "answer": 771, "timestamp": "2026-02-08T03:40:56.000266Z"}, "problem_hash": "565a0a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 771, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 1687}, "timestamp": "2026-02-09T09:22:26.571Z"}], "lemma_applicability": {"B3": "ok", "V1": "ok", "C4": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "3487f5", "alias": "comb_sum_binomial_mod_v1_1918700295_1852", "problem": "Let $c = 2$. Let $n$ be the sum of all real solutions $x$ to the equation $x^2 - 476x + 7360 = 0$. Let $m$ be the number of integers $t$ with $7 \\leq t \\leq 122$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 30$, $1 \\leq b \\leq 8$, and $t = 3a + 4b$. Let $p$ be the number of integers $t$ with $17 \\leq t \\leq 508$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 74$, $1 \\leq b \\leq 64$, and $t = 5a + 2b + 10$. Compute the remainder when $\\sum_{k=m}^{n} \\binom{p}{k}$ is divided by 11321.", "answer": 9634, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(11321),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-476), Var(\"x\")), Const(7360)), Const(0)))),\n \"sum\": Summation(var=\"k\", start=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=30)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=122)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), end=Ref(\"_n\"), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=74)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=64)), Geq(left=Var(name='t'), right=Const(value=17)), Leq(left=Var(name='t'), right=Const(value=508)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=10)))))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/LIN_FORM"], "recipe_id": "eaa1fa", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T06:07:11.847919Z", "verification": {"verified": true, "answer": 9634, "timestamp": "2026-02-08T06:07:11.891402Z"}, "problem_hash": "ae3e72", "license": "CC BY 4.0", "lemma_applicability": {"VIETA_SUM": "ok", "LIN_FORM": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "158e76", "alias": "nt_sum_gcd_range_mod_v1_677425708_465", "problem": "Let $N$ be the largest integer $k$ such that $23^k$ divides\n$$\n1058324091125248837501135328509955524195855294699653035742906263913125371116538848247018876694713446763937944789764375968659729755090838839018370348616714467315340121673959122449\n\n\\times 22587859041797651890862066210649446948512608235076363106223467191067486568807437877625204500100461993109021738552492879063121223173528464422814894050246394699042863500657943151176576143822931910200965155592478979753619957114209705963687008384482523349480952898941310606789396024313175521012002108370106846021279123285851966513165254385304941705051925290966417622206968557428431931539426035822184633065929864908397526245922711428275693782262179634267603089171043779452048537970014950801962390497628895132705849113023703312216062039082075299818323888174599114393223436225925045989216826526607510875703936308532883522730361332273196373592082837376949775482832519583076883976501566702458370908402052022825360274714977812794872816847096426860107706189431386836496182396920950483537852060288382638773182468741083444140615433436079512993060890582262141435786014317072148390983269445634331176947405102356360832719131820988737930744169798576857005881561730314832944693461164829559926402366184844440352711228610912507217272363087149495475390090245670049260995647465230021158980860439531747694074692683059125568262590662706285036808582741833851090082696077106854306522485206358216296117013147625395607303193475614742851561003578639892892976557973549945312433046259638748229071129151149073345508802151373105477053023075744560083578752666876198447144695990987756844759730798723319560752906420307832754855286743817800441831657732708743150159216877453457624737069296157533953420502944867168273929033378502459502646632097406016175734023041274120701658987040257709648308819856467386054383298787481248419428932700085354022685918112315361440724987269751526010265899694748341573393722478768432611357407989484194992893531764614971160815232767499921265990113508551582955301260705298504295578865165898005509923774633978025193404774270934885268622840788142131794638970630155898610459930394061778681278919651747159135105073766966343173994248543536493451300013918006122478194384239461795192136038147459865309943745186247595200711606717355365613684935783367559976308457856563071465910044162244600937263485266101149306193629871282476445420808272204746190956488760662505720939985810902447668981227406655205480363919677602454433230064404323865783830103299360539792847717593373328971082873883794498505385322188718075609801914775200101128030101325379301582926691816949615361619605329437462678580992260681032545310989781300303262550405919638810873316397579354469553210565399188137127303373587304855826750975808760264636849787820896358829577027891876625671175603894243713710247646621719741281403013245493149168662233386641762047473509989216046962334844703261809990071956638800888513719483335266972217694356733094462903564311241687009881375260960199159546376034323544776127655524700077336551879308823945553838791273799321970432716763942290377787853343351388831547880922422634719768858294270664034279704506261371754206325003646749476115807919837700179507799975234320738926602586273654747247867245094811732459185008341039222352005079469023683549008112219361462394260364930787081412720400965650587509412027160108204787940551435052196583403594165572112334187577670626624369804905820199210138802635626200023341759699546085164608764643519783522160720573114923610640927453138791013573441022262432372747472893510064198152307808415365756746392401344219665319601264338006384941275243402546457587487553934687739841473336701704144769579764676764114666327179861032629858381322098484211509750144472115301635805756370111053495527237912465429661317359990681109278715509583357419909970206372184975850965431332175526190059566265571623299920996555637891315096272530400452448909414754627015589278786732139845547250903556850098555023688602057197598165564112689260032009544710653643860518434995910178160905395754020842648042513244814435488960601905678680920998039932064274748226194690427013037755071561195478024149898361994372075859825685221661761587064009100064628553521897714725596188912314548037022696920447011657886587088803772461861488953719239859122249871468144680442613812222438110648441637129152464454866897998510505087461729631058651580955889).\n$$\nLet $k$ be the smallest positive integer such that $3^k$ divides $n!$ is at least 34. Let $S = \\sum_{n=1}^{N} \\gcd(n, k)$. Find the remainder when $S$ is divided by 10141.", "answer": 8125, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"N\": MaxKDivides(target=Mul(Const(1058324091125248837501135328509955524195855294699653035742906263913125371116538848247018876694713446763937944789764375968659729755090838839018370348616714467315340121673959122449), Const(22587859041797651890862066210649446948512608235076363106223467191067486568807437877625204500100461993109021738552492879063121223173528464422814894050246394699042863500657943151176576143822931910200965155592478979753619957114209705963687008384482523349480952898941310606789396024313175521012002108370106846021279123285851966513165254385304941705051925290966417622206968557428431931539426035822184633065929864908397526245922711428275693782262179634267603089171043779452048537970014950801962390497628895132705849113023703312216062039082075299818323888174599114393223436225925045989216826526607510875703936308532883522730361332273196373592082837376949775482832519583076883976501566702458370908402052022825360274714977812794872816847096426860107706189431386836496182396920950483537852060288382638773182468741083444140615433436079512993060890582262141435786014317072148390983269445634331176947405102356360832719131820988737930744169798576857005881561730314832944693461164829559926402366184844440352711228610912507217272363087149495475390090245670049260995647465230021158980860439531747694074692683059125568262590662706285036808582741833851090082696077106854306522485206358216296117013147625395607303193475614742851561003578639892892976557973549945312433046259638748229071129151149073345508802151373105477053023075744560083578752666876198447144695990987756844759730798723319560752906420307832754855286743817800441831657732708743150159216877453457624737069296157533953420502944867168273929033378502459502646632097406016175734023041274120701658987040257709648308819856467386054383298787481248419428932700085354022685918112315361440724987269751526010265899694748341573393722478768432611357407989484194992893531764614971160815232767499921265990113508551582955301260705298504295578865165898005509923774633978025193404774270934885268622840788142131794638970630155898610459930394061778681278919651747159135105073766966343173994248543536493451300013918006122478194384239461795192136038147459865309943745186247595200711606717355365613684935783367559976308457856563071465910044162244600937263485266101149306193629871282476445420808272204746190956488760662505720939985810902447668981227406655205480363919677602454433230064404323865783830103299360539792847717593373328971082873883794498505385322188718075609801914775200101128030101325379301582926691816949615361619605329437462678580992260681032545310989781300303262550405919638810873316397579354469553210565399188137127303373587304855826750975808760264636849787820896358829577027891876625671175603894243713710247646621719741281403013245493149168662233386641762047473509989216046962334844703261809990071956638800888513719483335266972217694356733094462903564311241687009881375260960199159546376034323544776127655524700077336551879308823945553838791273799321970432716763942290377787853343351388831547880922422634719768858294270664034279704506261371754206325003646749476115807919837700179507799975234320738926602586273654747247867245094811732459185008341039222352005079469023683549008112219361462394260364930787081412720400965650587509412027160108204787940551435052196583403594165572112334187577670626624369804905820199210138802635626200023341759699546085164608764643519783522160720573114923610640927453138791013573441022262432372747472893510064198152307808415365756746392401344219665319601264338006384941275243402546457587487553934687739841473336701704144769579764676764114666327179861032629858381322098484211509750144472115301635805756370111053495527237912465429661317359990681109278715509583357419909970206372184975850965431332175526190059566265571623299920996555637891315096272530400452448909414754627015589278786732139845547250903556850098555023688602057197598165564112689260032009544710653643860518434995910178160905395754020842648042513244814435488960601905678680920998039932064274748226194690427013037755071561195478024149898361994372075859825685221661761587064009100064628553521897714725596188912314548037022696920447011657886587088803772461861488953719239859122249871468144680442613812222438110648441637129152464454866897998510505087461729631058651580955889)), base=Const(23)),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_n\")), Const(34)), domain='Z_{>0}')),\n \"M\": Const(10141),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "V5"], "recipe_id": "197436", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "V5"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.138, "created_at": "2026-02-08T03:33:15.557018Z", "verification": {"verified": true, "answer": 8125, "timestamp": "2026-02-08T03:33:15.694617Z"}, "problem_hash": "640c11", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 1630, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:37:01.781Z"}], "lemma_applicability": {"K13": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "a240ae", "alias": "nt_sum_divisors_compute_v1_153355830_1363", "problem": "Let $n = 225$. Let $a$ be the number of positive integers $k$ such that $1 \\leq k \\leq 1061325$ and $n$ divides $k$. Let $b = 43$, and let $g = \\gcd(a, b)$. Define $c$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $g$. Let $n_1 = 1331 \\cdot c$, $u = \\lambda(n_1) + 1$, and $n' = 24025 + u$, where $\\lambda(n_1)$ is the Liouville function. Compute the sum of all positive divisors of $n'$.", "answer": 30783, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(225),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1061325)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"b\": Const(43),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Mul(Const(1331), Ref(\"c\")),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(Const(24025), Ref(\"u\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MOBIUS_COPRIME", "LIOUVILLE_MINUS_ONE"], "recipe_id": "9041b4", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C2", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T06:20:45.781866Z", "verification": {"verified": true, "answer": 30783, "timestamp": "2026-02-08T06:20:45.789248Z"}, "problem_hash": "e8c4bd", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "ecd83f", "alias": "nt_euler_phi_compute_v1_124444284_1604", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=6, \\quad \\gcd(p,q)=1, \\quad p \\sum_{d \\mid k} \\mu(d)$, where $k$ is the largest integer such that $5^k$ divides $180!$, and $\\alpha = 0$ otherwise. Let $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Compute the value of $2\\alpha + \\beta$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(2),\n \"b\": Const(6),\n \"c\": Const(-7),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), SumOverDivisors(n=MaxKDivides(target=Factorial(arg=Const(value=180)), base=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["V1/MOBIUS_SUM"], "recipe_id": "6b1ace", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.026, "created_at": "2026-02-08T03:31:28.237651Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:31:28.263237Z"}, "problem_hash": "a22714", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "K17": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "cdbf4d", "alias": "comb_count_permutations_fixed_v1_677425708_3370", "problem": "Compute $\\binom{7}{5} \\cdot !2$, where $!2$ denotes the number of derangements of 2 elements. Let $Q$ be the sum of the following two quantities: the sum from $i = 1$ to $4$ of $d_i \\cdot (i+1)^2$, where $d_i$ is the $i$th digit of the absolute value of the computed result (counting from the right, starting at $i=1$), and the number of positive integers $n$ at most $16427$ that are relatively prime to $6$. Find the value of $Q$.", "answer": 5485, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Const(7),\n \"k\": Const(5),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16427)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=SumOverDivisors(n=GCD(a=Const(value=99), b=Const(value=99)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), EulerPhi(n=Const(1))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_digits_weighted_mod", "MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "496216", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_digits_weighted_mod", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:40:37.209575Z", "verification": {"verified": true, "answer": 5485, "timestamp": "2026-02-08T05:40:37.214531Z"}, "problem_hash": "13061e", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K18": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "0d007c", "alias": "sequence_fibonacci_compute_v1_50713871_37", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 47$ and the sum of the decimal digits of $n$ is odd. Let $B$ be the number of positive integers $j$ such that $j^5 \\leq 7962624$ and $1 \\leq j \\leq A$. Let $F_B$ denote the $B$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$. Compute the remainder when $44121 \\cdot F_B$ is divided by $99958$.", "answer": 62100, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(47),\n \"_n\": Const(5),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(7962624))), domain='positive_integers')),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(99958)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C3"], "recipe_id": "16113d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:43:44.820663Z", "verification": {"verified": true, "answer": 62100, "timestamp": "2026-02-08T02:43:44.822626Z"}, "problem_hash": "dbf3c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 62100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 3161}, "timestamp": "2026-02-08T19:45:15.655Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 62100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 3324}, "timestamp": "2026-02-09T19:18:06.909Z"}], "lemma_applicability": {"L3B": "ok", "C3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "f214a7", "alias": "modular_modexp_compute_v1_458359167_2294", "problem": "Let $d$ be a positive integer such that $1 \\leq d \\leq 17$ and $d$ divides the sum of $\\phi(d)$ over all positive divisors $d$ of $493$, where $\\phi$ denotes Euler's totient function. Let $a$ be the largest such $d$. Let $e$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 17298$. Compute the remainder when $a^e$ is divided by $19881$.", "answer": 17, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=SumOverDivisors(n=Const(value=493), var='d', expr=EulerPhi(n=Var(name='d'))))))),\n \"e\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(17298))))),\n \"m\": Const(19881),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_DIVISOR", "COMB1"], "recipe_id": "5426e2", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K3", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:17:48.723717Z", "verification": {"verified": true, "answer": 17, "timestamp": "2026-02-08T05:17:48.727587Z"}, "problem_hash": "d8056e", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "K3": "ok", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "11c075", "alias": "antilemma_k3_v1_151522320_2041", "problem": "Let $m = 2$. Let $n$ be the number of integers $x$ such that $x^2 - 4852x + 139867 = 0$. Define\n$$\nx = \\sum_{d \\mid n} \\phi(d),\n$$\nwhere the sum is over all positive divisors $d$ of $n$. Compute $x$.", "answer": 4852, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-4852), Var(\"x\")), Const(139867)), Mul(Const(59), Const(0))))),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3", "IDENTITY_MUL_ZERO", "K3"], "recipe_id": "88a4a5", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_MUL_ZERO", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:33:07.973785Z", "verification": {"verified": true, "answer": 4852, "timestamp": "2026-02-08T04:33:07.977070Z"}, "problem_hash": "768e53", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_MUL_ZERO": "ok", "K3": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8": "no"}} -{"id": "6df606", "alias": "comb_sum_binomial_row_v1_1520064083_5893", "problem": "Let $m = 660$. Define $t$ to be the number of positive integers $k$ such that $1 \\leq k \\leq m$ and $55$ divides $k$. Let $n$ be the largest prime number satisfying $2 \\leq n \\leq t$. Now, let $S$ be the set of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in $S$. Compute $c^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(660),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(55), dividend=Var(\"k\"))), domain='positive_integers'))), IsPrime(Var(\"n\"))))),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "300618", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:42:22.804309Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T07:42:22.807066Z"}, "problem_hash": "439a8b", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "V1": "no", "V3": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "349acd", "alias": "nt_gcd_compute_v1_1742523217_4799", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq 1863$ and $\\gcd(n, 14) = 1$. Define $f = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function. Let $p$ be the smallest prime divisor of $36384418009$, and let $q = 59$, $r = 43$. Define $n = p \\cdot q \\cdot r$. Let $v$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $\\text{result} = \\gcd(240260, 540585)$. Compute the remainder when $\\left(72470 \\cdot f + v\\right) \\cdot \\text{result}$ is divided by $99937$.", "answer": 54578, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1863),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"f\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(36384418009))))),\n \"q\": Const(59),\n \"r\": Const(43),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Const(240260),\n \"b\": Const(540585),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Sum(Mul(Const(72470), Ref(\"f\")), Ref(\"v\")), Ref(\"result\")), modulus=Const(99937)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "C4/LIOUVILLE_ONE"], "recipe_id": "7aded1", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C4", "DIVISOR_PARITY", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T09:08:16.932320Z", "verification": {"verified": true, "answer": 54578, "timestamp": "2026-02-08T09:08:16.938910Z"}, "problem_hash": "aadd85", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_ONE": "ok_later", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "d1c9d9", "alias": "modular_sum_quadratic_residues_v1_1742523217_4229", "problem": "Let $p$ be the smallest prime divisor of $236410337$. Define $r = \\frac{p(p-1)}{4}$. Let $S$ be the set of all positive integers $j$ such that $1 \\leq j \\leq 11$ and $j^5 \\leq 161051$. Let $k = |S|$. Compute the Bell number $B_{|r| \\bmod k}$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(236410337))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(11)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(161051))), domain='positive_integers')))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/ENDING_bell_mod", "MIN_PRIME_FACTOR"], "recipe_id": "cac1bc", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_bell_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T07:08:20.164010Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T07:08:20.168789Z"}, "problem_hash": "8a7889", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "K13": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "8f4c23", "alias": "comb_binomial_compute_v1_151522320_2039", "problem": "Let $A$ be the set of all ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = s$, where $s$ is the number of integers $t$ with $12 \\leq t \\leq 37$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 3$, $1 \\leq b \\leq 8$, and $t = 2a + 3b + 7$. Let $n$ be the number of elements in $A$. Let $d$ be the smallest integer $d \\geq 2$ that divides $847$. Compute $\\binom{n}{d}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=37)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=7)))))))))))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1", "MIN_PRIME_FACTOR"], "recipe_id": "ec7858", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:33:07.932650Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T04:33:07.940493Z"}, "problem_hash": "0e6790", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COMB1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}} -{"id": "7a2ec1", "alias": "diophantine_product_count_v1_1742523217_3665", "problem": "Let $d$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=6350400$. Let\n\\[\n m = \\sum_{k=1}^{5} k.\n\\]\nLet $k$ be the number of positive integers $n$ with $1\\le n\\le d$ such that the following holds: if $P$ is the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n\\[\npq = 189000,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Let $\\text{prod} = \\prod_{i=n}^{d_{\\min}} i$. Find the remainder when $\\text{prod}$ is divided by 11071.", "answer": 3002, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(9),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(19172437)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11071)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MIN_PRIME_FACTOR", "COPRIME_PAIRS/MIN_PRIME_FACTOR"], "recipe_id": "24a94c", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:43:04.250836Z", "verification": {"verified": true, "answer": 3002, "timestamp": "2026-02-08T04:43:04.257035Z"}, "problem_hash": "fccc79", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "44d051", "alias": "antilemma_sum_factor_cartesian_v1_865884756_910", "problem": "Let $m=2$ and $n=34$. Consider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 5$ and $1\\le j\\le 15$. For each such pair, form the product $ij$, and let $x$ be the sum of all these products.\n\nLet $A$ be the set of all integers $k$ with $1\\le k\\le 10234$ such that\n$$k\\equiv \\left\\lfloor\\frac{k}{2}\\right\\rfloor \\pmod{7}.$$\nLet $N$ be the number of elements in $A$.\n\nLet $B$ be the set of all integers $d$ with $1\\le d\\le n$ such that $d$ divides $N$. Let $c$ be the maximum element of $B$.\n\nLet $P$ be the set of all integers $t$ with $m\\le t\\le 103$ such that $t$ is prime, and let $p$ be the maximum element of $P$.\n\nDefine\n\\[\nQ \\equiv 353702\\cdot (|x| \\bmod 97)\n+ 329703\\cdot \\bigl((|x|^2+1) \\bmod 101\\bigr)\n+ 215534\\cdot \\bigl((|x|+c) \\bmod p\\bigr)\n\\pmod{1009091},\n\\]\nwhere $a\\bmod b$ denotes the unique remainder of $a$ upon division by $b$, taken between $0$ and $b-1$ inclusive. Finally, let $Q$ be reduced again modulo $81822$, that is, replace $Q$ by the remainder when the above value of $Q$ is divided by $81822$.\n\nFind the value of $Q$. ", "answer": 33563, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(34),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(15)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10234)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Const(103)), IsPrime(Var(\"n1\")))))))), modulus=Const(1009091)), modulus=Const(81822)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MAX_DIVISOR/ENDING_crt_mix_3", "MAX_PRIME_BELOW/ENDING_crt_mix_3", "SUM_FACTOR_CARTESIAN"], "recipe_id": "08bece", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "L3C", "MAX_DIVISOR", "MAX_PRIME_BELOW", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.006, "created_at": "2026-02-08T15:41:02.190208Z", "verification": {"verified": true, "answer": 33563, "timestamp": "2026-02-08T15:41:02.195813Z"}, "problem_hash": "f8a330", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MAX_PRIME_BELOW": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_crt_mix_3": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "4b370f", "alias": "antilemma_v1_legendre_677425708_2076", "problem": "Let $p_1=19$ and let $q$ be the greatest prime number $n$ with $2\\le n\\le 27$. Define\n\\[N=p_1^2\\,(q+1).\n\\]\nLet $v=\\mu(N)^2$, where $\\mu$ is the Möbius function. Let $p=13$ and let\n\\[u\\equiv (p-1)!+1\\pmod p,\\qquad 0\\le u A $ such that $ n \\leq B $ and $ \\gcd(n, 15) = 1 $. Compute the remainder when $ 44121 \\times C $ is divided by $ 50074 $. ", "answer": 16147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": MaxKDivides(target=Mul(Const(2392032866531905486790942578809394338145620987608332988883503686824375178865503049616412016019962016447144819201720664620106359620960485637227891297994520232330261783830994590149049944504587400511488), Const(3987527419489428978934891797539519074407964567436787186133619573501046471683744380659059161937985807259468675374073145280737497721642052937815042118700682845870910169347677909227832368695028770450412842403709263345644496696985054600802825392442509910854943490420673962888628144965097175804215761432440180478119397118650550445707581358533929378076799381878425215674358616643302551330255407000153121771310799585481738504362758992372927823872)), base=Const(2)),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(2141)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(4583881))), domain='positive_integers')),\n \"modulus\": Const(15),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(50074)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "C3"], "recipe_id": "127bc1", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.045, "created_at": "2026-02-08T06:41:21.196040Z", "verification": {"verified": true, "answer": 16147, "timestamp": "2026-02-08T06:41:21.241439Z"}, "problem_hash": "ebad5c", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "K13": "ok", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "c44b66", "alias": "diophantine_fbi2_min_v1_1520064083_2656", "problem": "Let $ k $ be the number of ordered pairs $ (i, j) $ of positive integers such that $ 1 \\leq i \\leq 72 $, $ 1 \\leq j \\leq 73 $, and $ i + j = 73 $. Let $ m = 245 $ and $ n = 4 $. Define $ T $ to be the set of all integers $ d $ such that $ 4 \\leq d \\leq 82 $, $ d $ divides $ k $, and $ \\frac{k}{d} \\geq \\min\\left\\{ d' \\geq 2 : d' \\mid 245 \\right\\} $. Find the value of the smallest such $ d $.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(245),\n \"_n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(73)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(73))))),\n \"upper\": Const(82),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "recipe_id": "7f0b78", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.06, "created_at": "2026-02-08T04:54:16.964639Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T04:54:17.024675Z"}, "problem_hash": "081228", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "MAX_VAL": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}} -{"id": "89a86c", "alias": "nt_sum_divisors_range_v1_124444284_1550", "problem": "Let $m = 8988$. Let $n$ be the number of integers $j$ with $0 \\leq j \\leq m$ such that $\\binom{8988}{j}$ is odd. Let $S$ be the set of all integers $n$ with $1 \\leq n \\leq 10816$. Define $\\text{sumdiv}$ to be the sum of the number of positive divisors of each element in $S$. Let $c$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = n$. Let $Q$ be the remainder when $c - \\text{sumdiv}$ is divided by $66919$. Find the value of $Q$.", "answer": 31694, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8988),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(8988), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"upper\": Const(10816),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66919)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/B3/ENDING_negation_mod"], "recipe_id": "dd3b45", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.563, "created_at": "2026-02-08T03:59:07.650846Z", "verification": {"verified": true, "answer": 31694, "timestamp": "2026-02-08T03:59:08.214004Z"}, "problem_hash": "e9c688", "license": "CC BY 4.0", "lemma_applicability": {"V8": "ok", "B3": "ok_later", "ENDING_negation_mod": "ok_later", "K13": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "dde890", "alias": "antilemma_count_primes_v1_1874849503_97", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 463$. Let $m = 11$. Define $c$ as the smallest positive integer $n$ such that the largest integer $k$ for which $m^k$ divides $n!$ is at least $5$. Compute the remainder when $c - x$ is divided by $97722$.", "answer": 97687, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(463)), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(5)), domain='Z_{>0}')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(97722)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/ENDING_negation_mod", "COUNT_PRIMES"], "recipe_id": "16b336", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_negation_mod", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T12:48:34.604546Z", "verification": {"verified": true, "answer": 97687, "timestamp": "2026-02-08T12:48:34.607144Z"}, "problem_hash": "cce950", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 97687, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1587}, "timestamp": "2026-02-09T13:47:39.268Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "V5": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "71369c", "alias": "antilemma_count_primes_v1_1125832087_35", "problem": "Let $m = 72250$. Define $A$ as the set of all positive integers $k$ such that $1 \\leq k \\leq 46469$ and $31$ divides $k$. Let $n = |A|$. Let $B$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 12$, and $\\gcd(p, q) = 1$. Let $r = |B|$. Define $S$ as the set of all prime numbers $n'$ such that $r \\leq n' \\leq n$. Let $x = |S|$. Compute the remainder when $47493 \\cdot x$ is divided by $m$. Determine the value of this remainder.", "answer": 7577, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(72250),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(46469)), Divides(divisor=Const(31), dividend=Var(\"k\"))), domain='positive_integers')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(47493), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/COPRIME_PAIRS/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "fc4298", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:50:43.995738Z", "verification": {"verified": true, "answer": 7577, "timestamp": "2026-02-08T02:50:43.998383Z"}, "problem_hash": "b29daf", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_SUM_EQUALS": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "53af22", "alias": "nt_gcd_compute_v1_677425708_1728", "problem": "Let $N$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=216,\\quad \\gcd(p,q)=1,\\quad p0} : \\nu_{13}(n!) \\geq 14 \\right\\} - 225 \\cdot 17 \\right|,\n$$\nand\n$$\nb = \\gcd(169, 17) + \\gcd(56, 94) + \\gcd(225, 111).\n$$\nCompute the value of $\\frac{a + 2 - b}{2}$.", "answer": 7465, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2313)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"_n\": Const(17),\n \"area_2x\": Abs(arg=Sum(Mul(MinOverSet(set=SolutionsSet(var=Var(name='n'), condition=Geq(left=MaxKDivides(target=Factorial(arg=Var(name='n')), base=Const(value=13)), right=Const(value=14)), domain='Z_{>0}')), Const(value=111)), Mul(Const(value=225), Sub(left=Const(value=0), right=Const(value=17))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=17))), GCD(a=Abs(arg=Sub(left=Const(value=225), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=111), right=Ref(name='_n')))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=225))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=111))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "C5/V5"], "recipe_id": "9cd50e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T13:08:45.063360Z", "verification": {"verified": true, "answer": 7465, "timestamp": "2026-02-08T13:08:45.074146Z"}, "problem_hash": "d7a085", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7465, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 2135}, "timestamp": "2026-02-09T06:36:17.723Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 971, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 646}, "timestamp": "2026-02-09T18:58:52.728Z"}], "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "V5": "ok_later", "DS2": "no", "K17": "no", "MAX_VAL": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 0.37, "mid": 4.19, "hi": 8.01}} -{"id": "132d2f", "alias": "algebra_quadratic_discriminant_v1_1742523217_5732", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 3$, $1 \\leq j \\leq 3$, and $i + j = 3$. Define $n$ to be the number of elements in $A$. Let\n$$\nb = \\sum_{k=0}^{6} (-1)^k \\binom{6}{k}.\n$$\nLet $C$ be the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2\\}$, and define\n$$\nD = b^n - |C| \\cdot 2 \\cdot 5.\n$$\nLet\n$$\nr = \\begin{cases}\n2 & \\text{if } D > 0, \\\\\n1 & \\text{if } D = 0.\n\\end{cases}\n$$\nCompute $81665 \\cdot r$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(3)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3))))),\n \"a\": Const(2),\n \"b\": Summation(var=\"k\", start=Const(0), end=Const(6), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(6), k=Var(\"k\")))),\n \"c\": Const(5),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": Const(81665),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_CARTESIAN", "BINOMIAL_ALTERNATING"], "recipe_id": "5b3467", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T11:12:41.857344Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T11:12:41.871973Z"}, "problem_hash": "375d63", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_CARTESIAN": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "59fcb9", "alias": "antilemma_v8_lucas_798873815_151", "problem": "Let $x$ be the number of nonnegative integers $j$ with $j\\le 93133$ such that\n\\[\n\\binom{93133}{j}\\equiv 1\\pmod 2\n\\]\nand $j$ is at least\n\\[\n\\sum_{d\\mid g} \\mu(d),\n\\]\nwhere $\\mu$ denotes the Möbius function and $g$ is the greatest common divisor of the following two integers:\n\\begin{itemize}\n \\item the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 7$, $1\\le b\\le 14$, $28\\le t\\le 258$, and\n \\[\n t = 8a + 14b + 6,\n \\]\n \\item the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=441$.\n\\end{itemize}\nLet\n\\[\nQ \\equiv 84910\\,x \\pmod{73987},\\qquad 0\\le Q<73987.\n\\]\nFind the value of $Q$.", "answer": 26230, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(93133),\n \"_m\": Const(93133),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=28)), Leq(left=Var(name='t'), right=Const(value=258)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=14), Var(name='b')), Const(value=6)))))))), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=441)))), expr=Sum(Var(name='x'), Var(name='y'))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Ref(\"_c\"), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Const(84910), Ref(\"x\")), modulus=Const(73987)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_COPRIME/V8", "B3/MOBIUS_COPRIME/V8", "V8"], "recipe_id": "7447f4", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_COPRIME", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T02:29:43.810377Z", "verification": {"verified": true, "answer": 26230, "timestamp": "2026-02-08T02:29:43.814425Z"}, "problem_hash": "df10ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 370, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:05:15.819Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26230, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 366, "completion_tokens": 5720}, "timestamp": "2026-02-09T13:51:38.253Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 335, "completion_tokens": 8192}, "timestamp": "2026-02-08T21:45:13.075Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 26230, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:49:41.439Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26230, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 4708}, "timestamp": "2026-02-09T00:22:27.483Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:11:46.966Z"}], "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "V8": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K18": "no", "K5": "no", "V1": "no"}, "irt_difficulty": {"lo": 0.98, "mid": 4.17, "hi": 7.3}} -{"id": "eaf34a", "alias": "modular_product_range_v1_1874849503_555", "problem": "Let $c=49$ and $m=139$. Let $e$ be the smallest integer $d\\ge2$ such that $d\\mid15$, and let $N$ be the number of positive integers $j$ with $1\\le j\\le m$ and\n$$j^{e}\\le 2685619.$$\n\nLet\n$$P=\\prod_{i=c}^{N} i,$$\nand let $R$ be the remainder when $P$ is divided by $11597$.\n\nLet $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with\n$$1\\le a\\le 41,\\quad 1\\le b\\le 193,\\quad 7\\le t\\le 1047,\\quad\\text{and}\\quad t=2a+5b.$$\nLet $T$ be the number of elements in $S$.\n\nLet\n$$Q\\equiv TR\\pmod{59773},$$\nwith $0\\le Q<59773$. Find the value of $Q$.", "answer": 29028, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(49),\n \"_m\": Const(139),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_m\")), Leq(Pow(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15)))))), Const(2685619))), domain='positive_integers')),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_c\"), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11597)),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=41)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=193)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=1047)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), Ref(\"result\")), modulus=Const(59773)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C3/LIN_FORM", "LIN_FORM/ENDING_affine_mod"], "recipe_id": "9859bb", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "ENDING_affine_mod", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T13:09:54.222657Z", "verification": {"verified": true, "answer": 29028, "timestamp": "2026-02-08T13:09:54.228685Z"}, "problem_hash": "0bb14a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:27:00.854Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "ENDING_affine_mod": "ok_later", "DS2": "no", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "23e331", "alias": "nt_count_digit_sum_v1_1248542787_210", "problem": "Let $U$ be the number of integers $t$ such that $5\\le t\\le 10005$ and there exist integers $a$ and $b$ with $1\\le a\\le 1483$, $1\\le b\\le 2778$, and\n$$t=3a+2b.$$\n\nFor each integer $k$ with $1\\le k\\le 5$, let\n$$m_k=\\min\\{d\\mid d\\text{ is an integer},\\ d\\ge 2,\\ d\\text{ divides }67375\\},$$\nand define\n$$T=\\sum_{k=1}^{5} \\varphi(k)\\left\\lfloor\\frac{m_k}{k}\\right\\rfloor,$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le U$ and digit sum equal to $T$.\nFinally, let\n$$Q\\equiv 85951\\cdot R\\pmod{82410},$$\nwhere $0\\le Q<82410$.\n\nFind the value of $Q$.", "answer": 36022, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1483)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2778)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=10005)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"target_sum\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(67375))))), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(85951),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82410)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K2", "LIN_FORM"], "recipe_id": "e0942a", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.824, "created_at": "2026-02-08T03:01:12.436381Z", "verification": {"verified": true, "answer": 36022, "timestamp": "2026-02-08T03:01:13.260141Z"}, "problem_hash": "b2688d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 364, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:24:24.471Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 36022, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 360, "completion_tokens": 5855}, "timestamp": "2026-02-09T14:02:48.618Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:45:35.299Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K5": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "f7abe4", "alias": "nt_count_coprime_and_v1_1742523217_2491", "problem": "Let $k_1 = 3$ and $k_2 = 11$. Let $r$ be the number of positive integers $n \\leq 18159$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Let $T$ be the set of all integers $t$ for which there exist positive integers $a \\leq 81$, $b \\leq 17$ such that $t = 9a + 15b$ and $24 \\leq t \\leq 984$. Let $c$ be the largest prime number $p$ such that $2 \\leq p \\leq |T|$, where $|T|$ is the number of elements in $T$. Compute\n$$\n(r \\bmod 317 + c \\cdot (r \\bmod |T|)) \\bmod 57501.\n$$\nFind the value of this expression.", "answer": 25377, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(317),\n \"upper\": Const(18159),\n \"k1\": Const(3),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=201)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1206)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=5025)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=81)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=17)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=984)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b')))))))))))), modulus=Const(57501)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW/ENDING_two_moduli", "LIN_FORM/ENDING_two_moduli"], "recipe_id": "5c966a", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.995, "created_at": "2026-02-08T04:48:03.291119Z", "verification": {"verified": true, "answer": 25377, "timestamp": "2026-02-08T04:48:05.286421Z"}, "problem_hash": "0159c7", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ENDING_two_moduli": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}} -{"id": "7052fd", "alias": "nt_max_prime_below_v1_784195855_990", "problem": "Let $a = 232582849345724962061808152564655542758970670101721869455380995292050708596028544827179076934311238442854429336643819$. Let $n_1$ be the largest integer $k$ such that $19^k$ divides $a^3$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the M\\\"{o}bius function. Let $n = 13^3$. Let $e = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $U = 72900 + c + e$. Determine the largest prime number less than or equal to $U$. Compute this prime.", "answer": 72893, "graph": "graphs = [\n Graph(\n let={\n \"n1\": MaxKDivides(target=Pow(Const(232582849345724962061808152564655542758970670101721869455380995292050708596028544827179076934311238442854429336643819), Const(3)), base=Const(19)),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(13),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Const(72900), Ref(\"c\"), Ref(\"e\")),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "K14/MOBIUS_SUM"], "recipe_id": "5623e8", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.883, "created_at": "2026-02-08T04:44:08.996525Z", "verification": {"verified": true, "answer": 72893, "timestamp": "2026-02-08T04:44:10.879984Z"}, "problem_hash": "3264fe", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SUM": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "MOD_ADD": "no"}} -{"id": "39b926", "alias": "nt_euler_phi_compute_v1_458359167_776", "problem": "Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 79$. Let $s$ be the total number of prime factors of $p$, counted with multiplicity. Define $n_1 = \\sum_{d \\mid \\gcd(12, 25)} \\mu(d)$, where $\\mu$ is the M\\\"obius function, and let $e = \\sum_{d \\mid n_1} \\mu(d)$. Set $n = 62001 \\cdot s \\cdot e$. Determine the value of Euler's totient function $\\varphi(n)$.", "answer": 40836, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(79)), IsPrime(Var(\"n\"))))),\n \"s\": BigOmega(n=Ref(name='p')),\n \"n1\": SumOverDivisors(n=GCD(a=Const(value=12), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(62001), Ref(\"s\"), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/BIG_OMEGA_ONE", "MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "08850e", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:32:47.892663Z", "verification": {"verified": true, "answer": 40836, "timestamp": "2026-02-08T03:32:47.895263Z"}, "problem_hash": "925857", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "BIG_OMEGA_ONE": "ok_later", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "fc82ac", "alias": "comb_count_derangements_v1_153355830_1412", "problem": "Let $n_0 = 7$, and let $R$ be the number of derangements of $n_0$ objects (that is, the number of permutations of $n_0$ elements with no fixed points).\n\nFor each positive integer $j \\le 15$, define $B(j)$ to be the number of integers $n$ with $1 \\le n \\le 6748$ such that the sum of the base-$2$ digits of $n$ is odd. Let $J$ be the number of positive integers $j \\le 15$ such that $j^3 \\le B(j)$.\n\nLet $g$ be the greatest common divisor of $8$ and $J$, and let\n$$S = \\sum_{d \\mid g} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $a = S$.\n\nDefine\n$$Q = \\sum_{n=a}^{|R|} d(n),$$\nwhere $d(n)$ denotes the number of positive divisors of $n$.\n\nCompute $Q$.", "answer": 14243, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(15),\n \"n\": Const(7),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=8), b=CountOverSet(set=SolutionsSet(var=Var(name='j'), condition=And(Geq(left=Var(name='j'), right=Const(value=1)), Leq(left=Var(name='j'), right=Ref(name='_n')), Leq(left=Pow(base=Var(name='j'), exp=Const(value=3)), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=6748)), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Ref(name='_m')), right=Const(value=1)))))))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C3/MOBIUS_COPRIME/ENDING_sum_divisor_count"], "recipe_id": "d1f96c", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "ENDING_sum_divisor_count", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T06:22:50.474260Z", "verification": {"verified": true, "answer": 14243, "timestamp": "2026-02-08T06:22:50.477409Z"}, "problem_hash": "6cb33d", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "C3": "ok_later", "ENDING_sum_divisor_count": "ok_later", "MOBIUS_COPRIME": "ok_later", "K18": "no", "K5": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}} -{"id": "07bc00", "alias": "nt_gcd_compute_v1_151522320_747", "problem": "Let $p_1 = 5$. Define $c$ to be the remainder when $(p_1 - 1)! + 1$ is divided by $p_1$. Let $p = 73$ and let $q$ be the sum of $c$ and the smallest integer $d \\geq 2$ such that $d$ divides $9797$. Define $n = (p \\cdot q)^2$. Let $w$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $a = 555544$ and $b = 959576 \\cdot w$. Let $g = \\gcd(a, b)$. Determine the value of the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $g + 2$.", "answer": 12627, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(5),\n \"c\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Const(73),\n \"q\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(9797))))), Ref(\"c\")),\n \"n\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Const(555544),\n \"b\": Mul(Const(959576), Ref(\"w\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON/DIVISOR_PARITY"], "recipe_id": "2a283f", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T03:29:36.219158Z", "verification": {"verified": true, "answer": 12627, "timestamp": "2026-02-08T03:29:36.225142Z"}, "problem_hash": "4e64a4", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "WILSON": "ok_later", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "0962ff", "alias": "nt_count_divisors_in_range_v1_1918700295_3929", "problem": "Let $n = 83160$. Let $a$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 26$ such that $\\gcd(i, j) = 1$. Let $b$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq 11519$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 71, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(83160),\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(26))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11519)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "COUNT_PRIMES"], "recipe_id": "9127a3", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.097, "created_at": "2026-02-08T09:03:24.650888Z", "verification": {"verified": true, "answer": 71, "timestamp": "2026-02-08T09:03:24.748262Z"}, "problem_hash": "8f748a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "V5": "no"}} -{"id": "9a7c93", "alias": "nt_gcd_compute_v1_2080023795_28", "problem": "Let $n_1 = 1$, and let $c$ be the total number of prime factors of $n_1$, counted with multiplicity.\n\nLet $L$ be the largest integer $k$ such that $5^{k} \\le 386007449903461$. Let $p$ be the largest prime number $n$ with $2 \\le n \\le L$. Define\n$$u = \\sum_{d\\mid p} \\varphi(d) - p,$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet\n$$a = 225324 + u, \\qquad b = 389196 + c,$$\nand let\n$$R = \\gcd(a,b).$$\n\nCompute $R$.", "answer": 20484, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"c\": BigOmega(n=Ref(name='n1')),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(5), Var(\"k\")), Const(386007449903461))))), IsPrime(Var(\"n\"))))),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Sum(Const(225324), Ref(\"u\")),\n \"b\": Sum(Const(389196), Ref(\"c\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MAX_PRIME_BELOW/EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "af9524", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM", "MAX_PRIME_BELOW", "MAX_VAL"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:30:15.869860Z", "verification": {"verified": true, "answer": 20484, "timestamp": "2026-02-08T11:30:15.872353Z"}, "problem_hash": "c622bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20484, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 4815}, "timestamp": "2026-02-08T20:36:58.013Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 20484, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 3666}, "timestamp": "2026-02-09T09:00:36.575Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20484, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 1369}, "timestamp": "2026-02-09T19:16:40.090Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_VAL": "ok", "EULER_TOTIENT_SUM": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.96, "hi": 4.09}} -{"id": "cd9eb4", "alias": "diophantine_fbi2_count_v1_1820931509_99", "problem": "Let $k$ be the largest positive divisor of $181020$ that is at most $420$. Compute the number of positive integers $d$ such that $5 \\leq d \\leq 115$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 115$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(420)), Divides(divisor=Var(\"d\"), dividend=Const(181020))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(115)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(115))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2", "MAX_DIVISOR"], "recipe_id": "aad17f", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T11:20:37.790432Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T11:20:37.799607Z"}, "problem_hash": "6c370e", "license": "CC BY 4.0", "lemma_applicability": {"LTE_DIFF_P2": "ok", "MAX_DIVISOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MOD_SUB": "no"}} -{"id": "04c8b9", "alias": "nt_count_coprime_and_v1_124444284_1350", "problem": "Let $N = 10639226983570068051109577728726560931865963377456778141515142022908568668340333451188361312316933461447529279081346109158854434909043618966061985663117962089619903710628146191684781367407562513807666337733675722258639108322704886199013004040244315498632808048531105708833342843411799422136159498594819585573639410294941586416065654899202727217107731898099639151587839047991681854534274256157257784326016776309326963255005817042163941366181175227828042556821624307576918441109233696163074113760689296429719623385355028237228185879928487241065392934718347077217434052650184198678984592357828031349740659829780739679015618679498237884757643790850140997974119546666125300656984425896802144471565707809865319932208102546551346944521421317429265712235116786111720131657505052105106062102379786180992110283946300450072158038622786222221704255689165090579740108408703388594010911339509434068705696466734283540404907345136772405308739054929816289478592974677504170219276256845322184298081409812198606228941927481278796366134773240577049170689410056026512741199567106943401329581041544928092961598658912111237028368862227275359601265420830630932453733148851638364843357921959769006981979271099674773972036889258630086722782712555190860901515798265030719145116747224076651882184171154327561554846516922225064489587637359040532004975144326383153735121585719299077560009842788395620177105984893568152953441049951827167202884514079476136028087723784617029543336839757380202614907787873993679243889281979113975560671827559267965653368093633269458363772333869554392004617440512071311767321189315029708075454692354900822302202479972506652446020275226859117875090927230747487911927614639429675878505049407194298561566570348405767003749163628994921201023502668423228445070864813910899092426477542441677326184242583734160562724932271023621297625909839586420488310733053522194331084408686835030467374965017478764064501311313067794187888921256170622608753004731147093682169245670793133727056361291839965792484167789365617846398834344651834671517916548651548017130020307701226652781254842095267505974282377089756069531899719598967112725943043133752164225813269026242922676891810253852178145755993352396476582476619241185538032847654777192582282341331451459765950403463882249804022301475689124081581358395670957172622719455500157691588722328031567828009177933288305538569959479176847925226232846315333527234117695850775177705300412599164153422165339814594198729817838420167516708518279976164611325265699287390866131937963541226910646329919141838563137162158197813332716312026276804889781769556360125243981524354418097037899147999304097766767011075849555614418334912478036034458726943797898533742691116076497609679853555124216688625309588997736768768889380046844434088826452786296319916766347100547650764646762429814235030802250333546503841525097435981857691928552949281586166068484732958013452867910166459754432324120037034281381296897237596304934591111667791176282045038845897753798665926624659095046667260483275645469016690691267912444634921344945058954870234256875693709469195926035288105961587849721109429081986816010431295623386279658539786718905314098759614493814282759543211973223430915130373369203775287995191131368138049472837031180349407964587824458847632001746629404305381891463239521572181467097899425454977616296989059619180009742009312549414276741522650670385652844748529320803263267790452597978110837687256904959076699629859900247391057154697683745992693383636880797073547467060339327715424582791508445345377825031138986854929745236878373407821501420696129250259573678277517438119557528726033077949738555509253245306997994908586701842934551456273185025605388222348974334707693149668205046235350064837540292202953104405739932696021913001179660337268791970926180823070786328069808385242076902147980527110583754699442429199017641914831454635584236007370749861440249132829377855175013590266034191811156756409769231793412301610098836904114630719562992623503906307213426702201028258643730467849293999676283171229415790643474886830687729246637440011790486892583250936575891794129960695907850619535822665065178997442341869716953473963005006646664563115241851733920655789286180872385753241162446576446598299312833833517239514218289124352654429252142450649816808839578244263331142350074154723668609498611270969966195496734053447087548939442162152306150537296083752687759735983236628211458270015864382809450081560290168092345919750529966274400507578756776760453846771223358431993973188949423507804984656420992687631566169968850840403615777049432270329709202247873223392637170159886778171255814873246741878125888693371085283069594355572251442091497156942264248982596929625376655885394324064505378955593509976654750881602445932517979919043334716746401110271836435725903574467409408986138376208629077939710596486860227018306904543498856236981360272048678293498510035077525857084712899292737686230348922674498798319662717588798435844203068590153447110525386138696667485949156664015215561258064485961647996771971134430231869156601730689834047486922618246859893403139592399641097627107942876915791428587839614670601701259035381772131829089689445314104307883140294409958605344123926932348622523651024060603544934390558354686956541885608272257512707374122907637569665533982416282543625571667129337398245650071331478665269777160321643255011025637063726039219414086269487259655277077908926851989135125886363509176314444717403099188547709496382050395401744871417176614847534125315646010088835659400235449436330869871938611931671192006335330638344137100652710809027553303424965233390756343562458522541489059213925485584390512347632055246869326530364124760515863949761898945724753541317285051639832172187261250910829479821493689457550710155764800661379325389700925069356056626419660670783299148958007850399204553204244164044587402743157314079524743953603160142817575190913953113125038419785285473950340946329833544727292018389512109538953401265324570065194593034268490601502402883650367744006871181776822137703641916598405116554428010081$. \n\nLet $d_{\\max}$ be the largest positive integer $d$ such that $d$ divides $N$ and $d \\le \\left\\lfloor \\log_{19} N \\right\\rfloor$. \n\nLet $k_1 = 5$ and $k_2 = 9$. Define $S$ as the set of all positive integers $n$ such that $1 \\le n \\le d_{\\max}$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Let $\\text{result} = |S|$. \n\nCompute the remainder when $52591 \\cdot \\text{result}$ is divided by $82826$.", "answer": 4859, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxKDivides(target=Mul(Const(106392269835700680511095777287265609318659633774567781415151420229085686683403334511883613123169334614475292790813461091588544349090436189660619856631179620896199037106281461916847813674075625138076663377336757222586391083227048861990130040402443154986328080485311057088333428434117994221361594985948195855736394102949415864160656548992027272171077318980996391515878390479916818545342742561572577843260167763093269632550058170421639413661811752278280425568216243075769184411092336961630741137606892964297196233853550282372281858799284872410653929347183470772174340526501841986789845923578280313497406598297807396790156186794982378847576437908501409979741195466661253006569844258968021444715657078098653199322081025465513469445214213174292657122351167861117201316575050521051060621023797861809921102839463004500721580386227862222217042556891650905797401084087033885940109113395094340687056964667342835404049073451367724053087390549298162894785929746775041702192762568453221842980814098121986062289419274812787963661347732405770491706894100560265127411995671069434013295810415449280929615986589121112370283688622272753596012654208306309324543733148851638364843357921959769006981979271099674773972036889258630086722782712555190860901515798265030719145116747224076651882184171154327561554846516922225064489587637359040532004975144326383153735121585719299077560009842788395620177105984893568152953441049951827167202884514079476136028087723784617029543336839757380202614907787873993679243889281979113975560671827559267965653368093633269458363772333869554392004617440512071311767321189315029708075454692354900822302202479972506652446020275226859117875090927230747487911927614639429675878505049407194298561566570348405767003749163628994921201023502668423228445070864813910899092426477542441677326184242583734160562724932271023621297625909839586420488310733053522194331084408686835030467374965017478764064501311313067794187888921256170622608753004731147093682169245670793133727056361291839965792484167789365617846398834344651834671517916548651548017130020307701226652781254842095267505974282377089756069531899719598967112725943043133752164225813269026242922676891810253852178145755993352396476582476619241185538032847654777192582282341331451459765950403463882249804022301475689124081581358395670957172622719455500157691588722328031567828009177933288305538569959479176847925226232846315333527234117695850775177705300412599164153422165339814594198729817838420167516708518279976164611325265699287390866131937963541226910646329919141838563137162158197813332716312026276804889781769556360125243981524354418097037899147999304097766767011075849555614418334912478036034458726943797898533742691116076497609679853555124216688625309588997736768768889380046844434088826452786296319916766347100547650764646762429814235030802250333546503841525097435981857691928552949281586166068484732958013452867910166459754432324120037034281381296897237596304934591111667791176282045038845897753798665926624659095046667260483275645469016690691267912444634921344945058954870234256875693709469195926035288105961587849721109429081986816010431295623386279658539786718905314098759614493814282759543211973223430915130373369203775287995191131368138049472837031180349407964587824458847632001746629404305381891463239521572181467097899425454977616296989059619180009742009312549414276741522650670385652844748529320803263267790452597978110837687256904959076699629859900247391057154697683745992693383636880797073547467060339327715424582791508445345377825031138986854929745236878373407821501420696129250259573678277517438119557528726033077949738555509253245306997994908586701842934551456273185025605388222348974334707693149668205046235350064837540292202953104405739932696021913001179660337268791970926180823070786328069808385242076902147980527110583754699442429199017641914831454635584236007370749861440249132829377855175013590266034191811156756409769231793412301610098836904114630719562992623503906307213426702201028258643730467849293999676283171229415790643474886830687729246637440011790486892583250936575891794129960695907850619535822665065178997442341869716953473963005006646664563115241851733920655789286180872385753241162446576446598299312833833517239514218289124352654429252142450649816808839578244263331142350074154723668609498611270969966195496734053447087548939442162152306150537296083752687759735983236628211458270015864382809450081560290168092345919750529966274400507578756776760453846771223358431993973188949423507804984656420992687631566169968850840403615777049432270329709202247873223392637170159886778171255814873246741878125888693371085283069594355572251442091497156942264248982596929625376655885394324064505378955593509976654750881602445932517979919043334716746401110271836435725903574467409408986138376208629077939710596486860227018306904543498856236981360272048678293498510035077525857084712899292737686230348922674498798319662717588798435844203068590153447110525386138696667485949156664015215561258064485961647996771971134430231869156601730689834047486922618246859893403139592399641097627107942876915791428587839614670601701259035381772131829089689445314104307883140294409958605344123926932348622523651024060603544934390558354686956541885608272257512707374122907637569665533982416282543625571667129337398245650071331478665269777160321643255011025637063726039219414086269487259655277077908926851989135125886363509176314444717403099188547709496382050395401744871417176614847534125315646010088835659400235449436330869871938611931671192006335330638344137100652710809027553303424965233390756343562458522541489059213925485584390512347632055246869326530364124760515863949761898945724753541317285051639832172187261250910829479821493689457550710155764800661379325389700925069356056626419660670783299148958007850399204553204244164044587402743157314079524743953603160142817575190913953113125038419785285473950340946329833544727292018389512109538953401265324570065194593034268490601502402883650367744006871181776822137703641916598405116554428010081), Const(33879029306047803394055749344167455282180381522903653939211716721016623152162449649784364297142685276940535017043483508272883315894169285241818333505998784368995156650072829818857424155252693492965829615349631645283965482631434496141808428399507554477248352313014516468148166156751987974798483579561677080819319954890261702590106668216846718460520021517026152567021261133366799951143512401425568945073122028758079828730755132327439155579937114594754500643562142913562426204806632658455217458920507823989781460944509949605065080683613856288196776061002697642641303492926225501132830199824284243504502968078008209846410502921157207503764652974511725535762505718202190401682576103353632919540226847942863890547340172454670287705584897904033704498221421079201510562400174340826703397189561136322741428786269917914801185895478571861597908716953147651903361683042995725867524816356794207416352542874888827002926370364714232965772320020515138789316366897521590926510540912753317628555667897626689456344714326718739712977714273121646916774426851201097955280990113876776621016020918547816097400862751913331690287230985156790746297300856254315444600072731737025508353278369404365053237369386592040762407281842196255981355991527958378351782827545291903811101679137221408273372227387342830900705808583724249077044811542865861602025214273454344881359222433460609329416943416274881713629614783040347264229340871764619169657509140498771143410396112179248470984247094194638047266338005773426287994799501152833424398944814609374947209213971654352240409751984762224999579826841264627419991405588482878546150895391812595358842877887141202759142524930563757177682967428303886920285284159278429304664080152321824266688177858804506124044779150488570067770259263395463482393752485888813878936660995948073429565894515421342631330395436128805752815528795753654884456716754085439436878718694117994326191521008385440297419057500572327972918335812647785210404110424611445739891609107455945814197818623195348340430869400539309731748246713705933457698370362084179785577835181671814138546871992570030173026008248497739709826014839062147165488947591549568608636677138443734597143670041264035707667161567267508347555273750096891364192299189877568596210508500438749885696588306386321556768922190751209995244899117590549945789998085902672133905588386161607145172924787261717197888350671821495875266470881569977729722947291922015465690152348868676768995283918401972925230479649627023789433379812097727203071941333907374492516551875810085215060022342691520684334291119224038180853439467745814424568217315504451785417561017732755024865332329988357019739204267327499262570382227460395366269095774169236965740229046854088360686998662159276487407541588368619652877303193919712414109447020469357487923890797884870905291906541100627813476178091802988668967876350252916416866840371207900640364396495524798768707947825790444527048505226176014979765541293264401924445773414349885841341446246954625463783640882038503762326995392752177930903566918779749300180815335516149949486967813662807976574545704877765923351747730705699507797773816359633629383893285373200654127718320720590142048350229479972820193401984960632859723241924413525907529762396279360197187335886307005494504507347377033693044213498860283093998704232136401890036999840463717683275533619531007727242152954861784561472233376323985490014846822630496180346917967268139476975462777579004922959402625506223149630293207376627263561816605260447632108974741933597295491829257344492960000007774674652583206352368946231913287330544540355460771428236629527124120845199480318258255545525255330905227060777906742084409982568416846369869425728106234640155222595701955729155625769342624417865799426346148148232943935854484203895920240569903174469668852427834666067175841821165515099441129979459631196554772272683675752967796343916336973239711129627143447905882451065007542380942497682209156052997102503356394611576130000204937517484974765283722235856792263139030558099)), base=Const(19))), Divides(divisor=Var(\"d\"), dividend=Const(60980417))))),\n \"k1\": Const(5),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": Const(52591),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82826)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/MAX_DIVISOR"], "recipe_id": "cbdf93", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.849, "created_at": "2026-02-08T03:50:28.006651Z", "verification": {"verified": true, "answer": 4859, "timestamp": "2026-02-08T03:50:28.855954Z"}, "problem_hash": "5376bf", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "MAX_DIVISOR": "ok_later", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "e9cc64", "alias": "comb_sum_binomial_row_v1_677425708_364", "problem": "Let $c=5$. Compute\n$$M=\\max\\{e\\in\\mathbb{Z}_{\\ge0}:2^e\\text{ divides }(c^4-3^4)\\}.$$ \nLet\n$$g=\\gcd(3,M).$$\nFor each positive divisor $d$ of $g$, let $\\mu(d)$ be the value of the Möbius function at $d$, and define\n$$L=\\sum_{d\\mid g} \\mu(d).$$\nLet $m=2$. Let $P$ be the largest prime number $k$ such that $m\\le k\\le 5$.\n\nDefine\n$$n=\\sum_{k=L}^{P} \\varphi(k)\\left\\lfloor\\frac{5}{k}\\right\\rfloor,$$\nwhere $\\varphi$ is Euler's totient function. Finally, let\n$$Q=2^n.$$\nCompute $Q$.", "answer": 32768, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=3), b=MaxKDivides(target=Sub(left=Pow(base=Ref(name='_c'), exp=Const(value=4)), right=Pow(base=Const(value=3), exp=Const(value=4))), base=Const(value=2))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MOBIUS_COPRIME/K2", "MAX_PRIME_BELOW/K2"], "recipe_id": "8bbc3e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LTE_DIFF_P2", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:14:20.455715Z", "verification": {"verified": true, "answer": 32768, "timestamp": "2026-02-08T03:14:20.462498Z"}, "problem_hash": "91a198", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 907}, "timestamp": "2026-02-08T20:28:57.638Z"}], "lemma_applicability": {"LTE_DIFF_P2": "ok", "MAX_PRIME_BELOW": "ok", "K2": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K5": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "c19d18", "alias": "nt_sum_totient_over_divisors_v1_1742523217_422", "problem": "Let $n = 54559$. Compute $$\\sum_{d \\mid n} \\phi(d),$$ where $\\phi$ denotes Euler's totient function. Let $c$ be the sum of all real solutions $x$ to the equation $x^2 - 5003x + 384150 = 0$. Let $p$ be the maximum prime number less than or equal to $294$. Compute the remainder when $$\\left(\\sum_{d \\mid n} \\phi(d) \\bmod p\\right) + c \\cdot \\left(\\sum_{d \\mid n} \\phi(d) \\bmod 337\\right)$$ is divided by $52657$.", "answer": 36571, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(294),\n \"_n\": Const(52657),\n \"n\": Const(54559),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-5003), Var(\"x\")), Const(384150)), Const(0)))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(337)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_two_moduli", "VIETA_SUM/ENDING_two_moduli"], "recipe_id": "7dd09f", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:01:53.071597Z", "verification": {"verified": true, "answer": 36571, "timestamp": "2026-02-08T03:01:53.076666Z"}, "problem_hash": "fecd2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 36571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 670}, "timestamp": "2026-02-09T17:42:02.825Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 36571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 1028}, "timestamp": "2026-02-09T02:53:49.919Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "VIETA_SUM": "ok", "ENDING_two_moduli": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "K5": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "515385", "alias": "nt_count_coprime_and_v1_677425708_247", "problem": "Let $m = 41$ and $n_0 = 2$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 24673$, $\\gcd(n, 11) = 1$, and\n$$\n\\gcd(n, 13) = \\sum_{d \\mid D} \\mu(d),\n$$\nwhere $\\mu$ is the M\\\"obius function, $D = \\gcd(P, C)$, $P$ is the largest prime number $p$ such that $n_0 \\leq p \\leq 6$, and $C$ is the number of positive integers $k$ such that $1 \\leq k \\leq 287$ and $m \\mid k$. Compute the number of elements in $A$.", "answer": 20705, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(41),\n \"_n\": Const(2),\n \"upper\": Const(24673),\n \"k1\": Const(11),\n \"k2\": Const(13),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_n')), Leq(left=Var(name='n'), right=Const(value=6)), IsPrime(arg=Var(name='n'))))), b=CountOverSet(set=SolutionsSet(var=Var(name='k'), condition=And(Geq(left=Var(name='k'), right=Const(value=1)), Leq(left=Var(name='k'), right=Const(value=287)), Divides(divisor=Ref(name='_m'), dividend=Var(name='k')))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "C2/MOBIUS_COPRIME"], "recipe_id": "f22314", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.726, "created_at": "2026-02-08T03:10:45.035134Z", "verification": {"verified": true, "answer": 20705, "timestamp": "2026-02-08T03:10:47.761057Z"}, "problem_hash": "048bd3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20705, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 1439}, "timestamp": "2026-02-08T20:25:52.111Z"}], "lemma_applicability": {"C2": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "d024b3", "alias": "algebra_poly_eval_v1_1742523217_1738", "problem": "Let $x = 19$. Let $m = 5$ and let $n$ be the largest integer $k$ such that $2^k \\leq 10$. Determine the value of\n$$\n\\frac{67x^4 \\cdot s - 122x^n - 184x^2 - 358x - 168 + 6x^m \\cdot t}{13974},\n$$\nwhere $s$ is the number of ordered triples $(x_1, x_2, x_3)$ of positive odd integers satisfying $x_1 + x_2 + x_3 = 29$, and $t$ is the number of such triples (same as $s$).", "answer": 19165, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(10)))),\n \"x\": Const(19),\n \"result\": Div(Sum(Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\"), Var(\"x3\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='x3')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), IsOdd(arg=Var(name='x3')), Eq(Sum(Var(\"x1\"), Var(\"x2\"), Var(\"x3\")), Const(29))))), Pow(Ref(\"x\"), Ref(\"_m\"))), Mul(Const(67), Pow(Ref(\"x\"), Const(4))), Mul(Const(-122), Pow(Ref(\"x\"), Ref(\"_n\"))), Mul(Const(-184), Pow(Ref(\"x\"), Const(2))), Mul(Const(-358), Ref(\"x\")), Const(-168)), Const(13974)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/COMB1"], "recipe_id": "aa79fb", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_VAL"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T04:11:50.270634Z", "verification": {"verified": true, "answer": 19165, "timestamp": "2026-02-08T04:11:50.280596Z"}, "problem_hash": "d0fc28", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "COMB1": "ok_later", "K16": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K17": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "9a7582", "alias": "comb_bell_compute_v1_1874849503_1292", "problem": "Let $j$ be a positive integer with $1 \\leq j \\leq 8$. Let $S$ be the set of all integers $n$ such that $2 \\leq n \\leq 6$ and $n$ is prime. For each such $j$, consider the maximum element $m$ in $S$, and compute $j^m$. Let $n$ be the number of values of $j$ for which $j^m \\leq 32768$. Compute the Bell number $B_n$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8),\n \"_m\": Const(2),\n \"_n\": Const(32768),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_c\")), Leq(Pow(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\"))), IsPrime(Var(\"n\")))))), Ref(\"_n\"))), domain='positive_integers')),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/MAX_PRIME_BELOW/C3"], "recipe_id": "c7ec5f", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:45:41.910681Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T13:45:41.915386Z"}, "problem_hash": "7281e1", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "C3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "daef62", "alias": "antilemma_v1_legendre_784195855_716", "problem": "Let $ S $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ xy = 18627856 $. Let $ T $ be the set of all values $ x + y $ for $ (x, y) \\in S $. Let $ m $ be the minimum element of $ T $. Let $ k $ be the largest integer such that $ 13^k $ divides $ m! $. Let $ s = \\sum_{i=0}^{d-1} d_i (i+1)^2 $, where $ d_i $ is the $ i $-th decimal digit of $ |k| $ (starting from the units digit as $ i = 0 $), and $ d $ is the number of digits of $ |k| $. Let $ U $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = 118 $. Let $ p $ be the maximum value of $ xy $ over $ U $. Compute $ s + p $.", "answer": 3556, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(118),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Factorial(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(18627856)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Const(13)),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_digits_weighted_mod", "B3/V1", "V1"], "recipe_id": "2d507b", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_digits_weighted_mod", "V1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T04:33:55.825809Z", "verification": {"verified": true, "answer": 3556, "timestamp": "2026-02-08T04:33:55.828703Z"}, "problem_hash": "639cf2", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "V1": "ok", "ENDING_digits_weighted_mod": "ok_later", "K5": "same_pattern_wrong", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "b521ba", "alias": "antilemma_sum_primes_v1_865884756_900", "problem": "Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 4$. Let $M$ be the maximum value of $xy$ over all $(x, y) \\in T$. Let $A$ be the set of all prime numbers $n_1$ such that $2 \\leq n_1 \\leq M$. Let $M'$ be the maximum element of $A$. Let $B$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq M'$. Compute the sum of all elements in $B$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x1\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x1\"), Var(\"y\"))))), IsPrime(Var(\"n1\")))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["B1/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "00a837", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.046, "created_at": "2026-02-08T15:40:49.530031Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T15:40:49.576263Z"}, "problem_hash": "d43b4e", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "d6b827", "alias": "nt_sum_divisors_mod_v1_677425708_3500", "problem": "Let $w$ be the number of distinct prime factors of $1$.\n\nLet $p$ be the smallest integer $d$ such that $d \\geq M$ and $d$ divides $21175$, where $M$ is the largest integer $d$ such that $1 \\le d \\le 2$ and $d$ divides $10$.\n\nDefine\n$$f \\equiv \\bigl(p- (1+w)\\bigr)! + 1 \\pmod p,$$\nwhere $0 \\le f < p$.\n\nLet $\\sigma$ be the sum of all positive divisors of $15120$, and let $r$ be the remainder when $\\sigma$ is divided by $10099$.\n\nFinally, let\n$$Q = 33856 + f - r.$$\n\nCompute $Q$. ", "answer": 24831, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(33856),\n \"n1\": Const(1),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10)))))), Divides(divisor=Var(\"d\"), dividend=Const(21175))))),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Sum(Const(1), Ref(\"w\")))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(15120),\n \"M\": Const(10099),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sub(Sum(Ref(\"_n\"), Ref(\"f\")), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MIN_PRIME_FACTOR/WILSON", "OMEGA_ZERO"], "recipe_id": "77630a", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR", "OMEGA_ZERO", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T05:46:32.048987Z", "verification": {"verified": true, "answer": 24831, "timestamp": "2026-02-08T05:46:32.054976Z"}, "problem_hash": "49270b", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok_later", "WILSON": "ok_later", "K17": "no", "K5": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "6e22fd", "alias": "nt_min_coprime_above_v1_1918700295_2607", "problem": "Let $a$ be the smallest integer $n$ such that $15376 < n \\leq 15644$ and $\\gcd(n, 258) = 1$. Let $c$ be the number of positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 2263176716354353800$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $c - a$ is divided by 69202.", "answer": 55873, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(15376),\n \"upper\": Const(15644),\n \"modulus\": Const(258),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), EulerPhi(n=Const(1)))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=2263176716354353800)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(69202)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_negation_mod", "ONE_PHI_1"], "recipe_id": "a0c8b6", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_negation_mod", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.025, "created_at": "2026-02-08T08:07:27.689675Z", "verification": {"verified": true, "answer": 55873, "timestamp": "2026-02-08T08:07:27.714778Z"}, "problem_hash": "729439", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "5aeb07", "alias": "antilemma_product_of_sums_v1_1116507919_459", "problem": "Let $A$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 10$ and $1 \\le j \\le 6$. For each $(i,j)$ in $A$, consider the product $ij$. Let\n\\[S = \\sum_{(i,j) \\in A} ij.\n\\]\nLet\n\\[T = \\sum_{k=1}^{8} k,\n\\]\nand define\n\\[x = S \\cdot T.\n\\]\n\nLet $B$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 25$. For each $(x,y)$ in $B$, consider the sum $x + y$, and let $m$ be the minimum value among these sums.\n\nLet $C$ be the set of all positive integers $k$ such that\n\\[1 \\le k \\le 41810\\quad\\text{and}\\quad m \\text{ divides } k.\n\\]\nLet $L$ be the number of elements in $C$.\n\nLet $Q$ be the remainder when $L - x$ is divided by $65108$.\n\nFind the value of $Q$.", "answer": 27709, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Mul(Var(\"i\"), Var(\"j\")))), Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\"))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(41810)), Divides(divisor=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"x\")), modulus=Const(65108)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C2/ENDING_negation_mod", "PRODUCT_OF_SUMS"], "recipe_id": "820b7a", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2", "ENDING_negation_mod", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T02:34:39.366078Z", "verification": {"verified": true, "answer": 27709, "timestamp": "2026-02-08T02:34:39.368291Z"}, "problem_hash": "da51c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 27709, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 365, "completion_tokens": 913}, "timestamp": "2026-02-08T19:34:51.227Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 27709, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 361, "completion_tokens": 802}, "timestamp": "2026-02-09T18:05:46.417Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 27709, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 7186}, "timestamp": "2026-02-09T21:59:48.240Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27709, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 946}, "timestamp": "2026-02-09T21:40:39.688Z"}], "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "C2": "ok_later", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "8aaed6", "alias": "antilemma_sum_equals_v1_1353956133_567", "problem": "Let $d$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are both odd and\n$$x_1+x_2=634.$$\n\nLet $m=10006$ and $n=81$. Let $x$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 81$, $1\\le j\\le 81$, and\n$$i+j=n.$$\n\nLet $c$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are both odd and\n$$x_1+x_2=m.$$\n\nFor each integer $t$, $9\\le t\\le 333$, consider all pairs of integers $(a,b)$ such that $1\\le a\\le 37$, $1\\le b\\le 37$, and\n$$t=5a+4b.$$\nLet $T$ be the set of all integers $t$ in this range for which at least one such pair $(a,b)$ exists, and let $|T|$ denote the number of elements in $T$.\n\nDefine\n$$Q\\equiv \\Bigl(\\operatorname{Mod}(x,d)+c\\cdot \\operatorname{Mod}(x,|T|)\\Bigr) \\pmod{57395},$$\nwhere $\\operatorname{Mod}(u,v)$ denotes the remainder when $u$ is divided by $v$, taken in $\\{0,1,\\dots,v-1\\}$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 55950, "graph": "graphs = [\n Graph(\n let={\n \"_d\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(634))))),\n \"_m\": Const(10006),\n \"_n\": Const(81),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(81)), right=IntegerRange(start=Const(1), end=Const(81))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_d\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=37)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=37)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=333)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))))), modulus=Const(57395)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/LIN_FORM/ENDING_two_moduli", "COMB1/ENDING_two_moduli", "COUNT_SUM_EQUALS"], "recipe_id": "cf1288", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_two_moduli", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T11:31:34.772740Z", "verification": {"verified": true, "answer": 55950, "timestamp": "2026-02-08T11:31:34.780344Z"}, "problem_hash": "18ed1d", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_two_moduli": "ok_later", "LIN_FORM": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "d13274", "alias": "nt_count_gcd_equals_v1_1520064083_3203", "problem": "Let $\\mu(n)$ denote the M\\\"obius function and $\\phi(n)$ denote Euler's totient function. Define $k$ to be the largest prime number less than or equal to 34. Compute the number of positive integers $n$ such that $n \\leq 32768$ and $\\gcd(n, k) = 31$; call this count $r$. Let $S$ be the set of all integers $t$ such that $9 \\leq t \\leq 117$ and there exist positive integers $a \\leq 8$ and $b \\leq 17$ with $t = 4a + 5b$. Let $c = |S|$. Compute the value of $$ 353702 \\cdot (|r| \\bmod c) + 329703 \\cdot (r^2 \\bmod 101) + 215534 \\cdot (r \\bmod 103), $$ and find the remainder when this value is divided by 53811.", "answer": 26829, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(32768),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(34)), IsPrime(Var(\"n\"))))),\n \"d\": Const(31),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": Const(21),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=17)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=117)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(53811)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_crt_mix_3", "MOBIUS_COPRIME", "MAX_PRIME_BELOW"], "recipe_id": "c37b86", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.607, "created_at": "2026-02-08T05:31:14.511552Z", "verification": {"verified": true, "answer": 26829, "timestamp": "2026-02-08T05:31:17.118352Z"}, "problem_hash": "b98a24", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "ENDING_crt_mix_3": "ok_later", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V3": "no", "V7": "no"}} -{"id": "8e4460", "alias": "nt_num_divisors_compute_v1_677425708_4069", "problem": "Let $n = 93025$. Let $d$ be the number of positive divisors of $n$. Find the value of $d$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(93025),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["COUNT_FIB_DIVISIBLE/C3/MOBIUS_COPRIME", "V5/C3/LIOUVILLE_MINUS_ONE"], "recipe_id": "419b43", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["C3", "COUNT_FIB_DIVISIBLE", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "V5"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.878, "created_at": "2026-02-08T06:25:11.324646Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T06:25:12.202265Z"}, "problem_hash": "311c0a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "V5": "ok", "C3": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "9539af", "alias": "comb_count_surjections_v1_1116507919_234", "problem": "Let $n = 6$ and $k = 2$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ is the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Compute the Bell number $B_{|r| \\bmod 11}$, where $B_m$ is the number of partitions of a set with $m$ elements.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1", "LIN_FORM/ENDING_bell_mod"], "recipe_id": "df5015", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_bell_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.031, "created_at": "2026-02-08T02:29:26.266921Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T02:29:26.297935Z"}, "problem_hash": "e187b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 843}, "timestamp": "2026-02-08T19:16:27.825Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 439}, "timestamp": "2026-02-09T14:38:08.436Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 7412}, "timestamp": "2026-02-09T18:05:46.402Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 1479}, "timestamp": "2026-02-09T17:59:46.548Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.12, "hi": 1.76}} -{"id": "cc970e", "alias": "algebra_poly_eval_v1_151522320_1399", "problem": "Let $m = 6$ and $n = 3$. Let $T$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 27000$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of elements in $T$. Define\n$$\n\\alpha = 4 \\cdot m^k - 6 \\cdot m^n + 6 \\cdot m^2 - 5 \\cdot m + 7.\n$$\nLet $d_0$ be the smallest divisor of $4108772779$ that is at least $2$. Compute the remainder when $\\alpha^2 + 11\\alpha + d_0$ is divided by $81591$.", "answer": 56485, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"m\": Const(6),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"m\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=27000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Mul(Const(-6), Pow(Ref(\"m\"), Ref(\"_n\"))), Mul(Const(6), Pow(Ref(\"m\"), Const(2))), Mul(Const(-5), Ref(\"m\")), Const(7)),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4108772779))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(11), Ref(\"result\")), Ref(\"_c\")), modulus=Const(81591)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_quadratic_mod", "COPRIME_PAIRS"], "recipe_id": "3a10d2", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_quadratic_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:58:31.736090Z", "verification": {"verified": true, "answer": 56485, "timestamp": "2026-02-08T03:58:31.745487Z"}, "problem_hash": "605210", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "MAX_VAL": "no", "V3": "no"}} -{"id": "f061b0", "alias": "nt_sum_divisors_mod_v1_1742523217_5638", "problem": "Let $\\Omega(n)$ denote the number of prime factors of $n$ counted with multiplicity, and let $\\mu(n)$ denote the M\\\"obius function. Define $c = \\Omega(1)$ and $t = \\sum_{d \\mid 1} \\mu(d)$. Let $\\sigma = \\sum_{d \\mid 83160} d$, and let $M = 11491$. Compute the remainder when $\\sigma$ is divided by $M$, and denote this value by $r$. Let $C$ be the number of integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 357$, $1 \\leq b \\leq 1389$, $36 \\leq t \\leq 28332$, and $t = 21a + 15b$. Let $Q$ be the remainder when $r^2 + 41r + C$ is divided by $(87969 + c) \\cdot t$. Find the value of $Q$.", "answer": 10258, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41),\n \"n2\": Const(1),\n \"c\": BigOmega(n=Ref(name='n2')),\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(83160),\n \"M\": Const(11491),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=357)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1389)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=28332)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")), modulus=Mul(Sum(Const(87969), Ref(\"c\")), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_quadratic_mod", "BIG_OMEGA_ZERO", "MOBIUS_SUM"], "recipe_id": "1e6eb9", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "ENDING_quadratic_mod", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:08:31.947664Z", "verification": {"verified": true, "answer": 10258, "timestamp": "2026-02-08T11:08:31.950020Z"}, "problem_hash": "2778f8", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "6e716a", "alias": "algebra_poly_eval_v1_1918700295_3291", "problem": "Let $c = 4$, $m = 3$, and let $n = \\sum_{k=1}^{32} \\phi(k) \\left\\lfloor \\frac{32}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $a = 17$. Define $\\alpha$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 185220$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\beta$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 46225$. Compute the remainder when $7 - \\dfrac{\\alpha \\cdot a^c - 48a^m - 262a^2 - \\beta a - 144}{n}$ is divided by $68864$.", "answer": 68182, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(3),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(32), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(32), Var(\"k\"))))),\n \"a\": Const(17),\n \"result\": Div(Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=185220)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Pow(Ref(\"a\"), Ref(\"_c\"))), Mul(Const(-48), Pow(Ref(\"a\"), Ref(\"_m\"))), Mul(Const(-262), Pow(Ref(\"a\"), Const(2))), Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(46225)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"a\")), Const(-144)), Ref(\"_n\")),\n \"Q\": Mod(value=Sub(Const(7), Ref(\"result\")), modulus=Const(68864)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "K2/B3"], "recipe_id": "ba7272", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T08:30:25.043863Z", "verification": {"verified": true, "answer": 68182, "timestamp": "2026-02-08T08:30:25.053860Z"}, "problem_hash": "0469cf", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "K2": "ok", "B3": "ok_later", "C2": "no", "K13": "no", "K5": "no", "LTE_SUM": "no", "V8": "no"}} -{"id": "8b6c6b", "alias": "sequence_count_fib_divisible_v1_124444284_314", "problem": "Let $d$ be the largest positive divisor of $497718$ that is less than or equal to $702$. Let $r$ be the number of positive integers $n$, where $1 \\leq n \\leq d$, such that $6$ divides the $n$-th Fibonacci number.\n\nLet $c$ be the number of positive integers $n$, where $1 \\leq n \\leq 20999$, such that $\\gcd(n, 14) = 1$.\n\nCompute the value of $r^2 + 22r + c$.", "answer": 13640, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(20999),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(702)), Divides(divisor=Var(\"d\"), dividend=Const(497718))))),\n \"d\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(22), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_quadratic_mod", "MAX_DIVISOR"], "recipe_id": "c42700", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_quadratic_mod", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.041, "created_at": "2026-02-08T03:10:30.689933Z", "verification": {"verified": true, "answer": 13640, "timestamp": "2026-02-08T03:10:30.731294Z"}, "problem_hash": "a66f26", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 2584}, "timestamp": "2026-02-09T15:59:01.941Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 2303}, "timestamp": "2026-02-09T00:42:20.255Z"}], "lemma_applicability": {"C4": "ok", "MAX_DIVISOR": "ok", "ENDING_quadratic_mod": "ok_later", "K18": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "75ce03", "alias": "antilemma_sum_equals_v1_1125832087_2052", "problem": "Let $n = 76$. Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = n$, $1 \\leq i \\leq 74$, and $1 \\leq j \\leq 75$. Let $c$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 119$. Define\n$$\nQ = \\sum_{i=0}^{\\text{number of digits of } |x| - 1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i + 1)^2 + c.\n$$\nCompute $Q$.", "answer": 2055, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(74)), right=IntegerRange(start=Const(1), end=Const(75))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(119)))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_digits_weighted_mod", "COUNT_SUM_EQUALS"], "recipe_id": "f8b274", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_digits_weighted_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:17:58.320460Z", "verification": {"verified": true, "answer": 2055, "timestamp": "2026-02-08T04:17:58.328863Z"}, "problem_hash": "dc57cf", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_digits_weighted_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "bd3f2f", "alias": "nt_count_divisible_and_v1_151522320_1892", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\le n \\le 203$ and $\\gcd(n, 12) = 1$. Define $f = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $w = \\sum_{d \\mid 112} \\mu(d)$. Define $d_1 = 12 + w$ and let $d_2$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 81$. Let $U = 161532 + f$. Compute the number of positive integers $n$ such that $1 \\le n \\le U$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 4487, "graph": "graphs = [\n Graph(\n let={\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(203)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"f\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(112),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Const(161532), Ref(\"f\")),\n \"d1\": Sum(Const(12), Ref(\"w\")),\n \"d2\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(81)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MOBIUS_SUM", "B3"], "recipe_id": "518f95", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "C4", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 5.618, "created_at": "2026-02-08T04:26:41.571767Z", "verification": {"verified": true, "answer": 4487, "timestamp": "2026-02-08T04:26:47.190222Z"}, "problem_hash": "4eb69c", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "1bb7ef", "alias": "sequence_lucas_compute_v1_1918700295_2560", "problem": "Let $ S $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ xy = 96100 $. Let $ T $ be the set of all values $ x + y $ where $ (x, y) \\in S $. Let $ m $ be the minimum value in $ T $. Let $ n $ be the largest positive integer such that $ n \\leq 20 $, $ n \\geq \\phi(2) $, and $ n $ divides $ m $. Let $ L_n $ denote the $ n $th Lucas number. Compute the remainder when $ 73002 \\cdot L_n $ is divided by $ 58661 $.", "answer": 7929, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(73002),\n \"_n\": Const(20),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), EulerPhi(n=Const(2))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(96100)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(58661)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_DIVISOR", "ONE_PHI_2"], "recipe_id": "9b2b3a", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:59:07.914209Z", "verification": {"verified": true, "answer": 7929, "timestamp": "2026-02-08T07:59:07.916541Z"}, "problem_hash": "747e1d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "MAX_DIVISOR": "ok_later", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "a85b7d", "alias": "nt_count_divisors_in_range_v1_1520064083_5663", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\ell$ be the number of elements in $P$. Let $a$ be the smallest divisor of $115002253$ that is at least $\\ell$. Let $b$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 281$. Compute the number of positive divisors $d$ of $10080$ such that $a \\leq d \\leq b$.", "answer": 44, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": Const(10080),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(115002253))))),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(281)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "COUNT_CARTESIAN"], "recipe_id": "fd7ac1", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T07:32:10.363687Z", "verification": {"verified": true, "answer": 44, "timestamp": "2026-02-08T07:32:10.401786Z"}, "problem_hash": "905d30", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_INTEGER_RANGE": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}} -{"id": "6476c4", "alias": "nt_count_primes_v1_168721529_2115", "problem": "Let $p_1$ be the largest integer $k$ such that $3^k$ divides $198!$. Let $n = p_1^2$. Define $t = \\lambda(n)$, where $\\lambda(n)$ is the Liouville function, equal to $(-1)^{\\Omega(n)}$ and $\\Omega(n)$ counts the total number of prime factors of $n$ with multiplicity. Let $p = 13$ and let $e$ be the remainder when $( (p-1)! + 1 )$ is divided by $p$. Let $U = 80000 \\cdot t + e$. Compute the number of prime numbers $q$ such that $2 \\leq q \\leq U$. Determine the value of this count.", "answer": 7837, "graph": "graphs = [\n Graph(\n let={\n \"p1\": MaxKDivides(target=Factorial(Const(198)), base=Const(3)),\n \"n\": Pow(Ref(\"p1\"), Const(2)),\n \"t\": LiouvilleLambda(n=Ref(name='n')),\n \"p\": Const(13),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"upper\": Sum(Mul(Const(80000), Ref(\"t\")), Ref(\"e\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/LIOUVILLE_ONE", "WILSON"], "recipe_id": "1cbfec", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "V1", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 3.54, "created_at": "2026-02-08T14:07:24.103192Z", "verification": {"verified": true, "answer": 7837, "timestamp": "2026-02-08T14:07:27.643283Z"}, "problem_hash": "1c1dfd", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "WILSON": "ok", "LIOUVILLE_ONE": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "78eaa9", "alias": "nt_sum_divisors_compute_v1_784195855_2981", "problem": "Let $n = 25600$, and let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Let $\\ell = 5$, and define $m = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{\\ell}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Compute the value of $\\sigma(n) + 2^{\\sigma(n) \\bmod m} \\bmod 91207$.", "answer": 63585, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"n\": Const(25600),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_m\"), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))))), modulus=Const(91207))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2/ENDING_mod_exp"], "recipe_id": "105ef2", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:09:44.162383Z", "verification": {"verified": true, "answer": 63585, "timestamp": "2026-02-08T06:09:44.166536Z"}, "problem_hash": "d2d460", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_mod_exp": "ok_later", "K2": "ok_later", "K13": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "5ba893", "alias": "comb_factorial_compute_v1_677425708_2745", "problem": "Let $T$ be the number of integers $t$ with $10 \\leq t \\leq 166$ for which there exist positive integers $a \\leq 19$ and $b \\leq 13$ such that $t = 6a + 4b$. Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 12$, $\\gcd(p,q) = 1$, and $p < q$. Let $n$ be the smallest divisor of $T$ that is at least $P$. Define $r = n!$. Compute the multiplicative order of $2$ modulo $2|r| + 3$. Determine the value of this order.", "answer": 168, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=166)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS/MIN_PRIME_FACTOR"], "recipe_id": "72102e", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:14:39.665440Z", "verification": {"verified": true, "answer": 168, "timestamp": "2026-02-08T05:14:39.668998Z"}, "problem_hash": "6a89d6", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "COPRIME_PAIRS": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "MOD_MUL": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "8f6707", "alias": "nt_gcd_compute_v1_1520064083_73", "problem": "Let $n = 1221$. Define $v = \\Omega(89)$, where $\\Omega(k)$ denotes the number of prime factors of $k$ counted with multiplicity. Let $k$ be the largest integer such that $11^k$ divides $1221!$. Define\n\n$$\nt = \\left( \\sum_{d \\mid k} \\phi(d) \\right) - k,\n$$\n\nwhere $\\phi$ denotes Euler's totient function. Let $a = 389704 \\cdot v$ and $b = 730695 + t$. Compute $\\gcd(a, b)$.", "answer": 48713, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1221),\n \"p\": Const(89),\n \"v\": BigOmega(n=Ref(name='p')),\n \"n\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(11)),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Mul(Const(389704), Ref(\"v\")),\n \"b\": Sum(Const(730695), Ref(\"t\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/EULER_TOTIENT_SUM", "BIG_OMEGA_ONE"], "recipe_id": "2c1c53", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "EULER_TOTIENT_SUM", "V1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T02:58:50.745544Z", "verification": {"verified": true, "answer": 48713, "timestamp": "2026-02-08T02:58:50.748811Z"}, "problem_hash": "b6527e", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "V1": "ok", "EULER_TOTIENT_SUM": "ok_later", "K5": "same_pattern_wrong", "L3b": "no", "L3c": "no", "V3": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "f56aaa", "alias": "antilemma_product_of_sums_v1_151522320_590", "problem": "Let $n_1 = 71 \\times 23$. Define $v = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function, equal to $(-1)^{\\Omega(n)}$ with $\\Omega(n)$ the number of prime factors of $n$ counted with multiplicity.\n\nLet $p = 43$, and let $q$ be the number of integers $t$ such that $14 \\leq t \\leq 178$ and there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 15$, $1 \\leq b \\leq 7$, and $t = 10a + 4b$.\n\nDefine $n = p \\times q$ and $e = \\lambda(n)$, and let $\\_n = 7e$.\n\nLet $S_1$ be the sum of all nonnegative integers $j$ such that $j$ is at most the smallest divisor $d \\geq 2$ of $77$, and $\\binom{\\_n}{j}$ is odd.\n\nLet $S_2 = \\sum_{k=1}^{25} k$.\n\nDefine $x = S_1 \\times S_2$, and let $Q$ be the remainder when $40138x$ is divided by $59245v$.\n\nCompute $Q$.", "answer": 10375, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77),\n \"p1\": Const(71),\n \"q1\": Const(23),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Const(43),\n \"q\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=178)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(7), Ref(\"e\")),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Const(25), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Const(40138), Ref(\"x\")), modulus=Mul(Const(59245), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "recipe_id": "493bc8", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:23:12.733533Z", "verification": {"verified": true, "answer": 10375, "timestamp": "2026-02-08T03:23:12.738643Z"}, "problem_hash": "6ff3f3", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "PRODUCT_OF_SUMS": "ok", "LIOUVILLE_ONE": "ok_later", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "f28b4e", "alias": "antilemma_cartesian_v1_153355830_122", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 30$ and $1 \\leq j \\leq 36$. Let $Q$ be the sum of $17424$ and the expression\n$$\n\\sum_{i=0}^{k-2} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2,\n$$\nwhere $k$ is the number of decimal digits of $|x|$. Compute $Q$.", "answer": 17472, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(30)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(4), k=Const(0)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(17424)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ZERO_BINOM_0"], "recipe_id": "547f12", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ZERO_BINOM_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T02:53:56.024260Z", "verification": {"verified": true, "answer": 17472, "timestamp": "2026-02-08T02:53:56.025594Z"}, "problem_hash": "7d845c", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 17497, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 1476}, "timestamp": "2026-02-08T23:08:25.384Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "91e260", "alias": "antilemma_cartesian_v1_1918700295_2052", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 31$ and $1 \\leq b \\leq 33$. Compute the value of\n$$\n\\sum_{i=0}^{2} \\left( \\text{the } i\\text{-th decimal digit of } |x| \\right) \\cdot (i+1)^2 + 42025.\n$$", "answer": 42052, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(33)))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(9), k=Const(0)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(42025)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ZERO_BINOM_0"], "recipe_id": "547f12", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ZERO_BINOM_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:40:08.867740Z", "verification": {"verified": true, "answer": 42052, "timestamp": "2026-02-08T07:40:08.868836Z"}, "problem_hash": "0d9666", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "1b630c", "alias": "comb_count_derangements_v1_1874849503_437", "problem": "Let $n=8$, and let $!n$ denote the number of derangements of $n$ objects. Let $D=!n$. For each integer $i$ with $0\\le i\\le \\bigl(\\text{number of decimal digits of }|D|\\bigr)-1$, let $d_i$ be the $i$th decimal digit of $|D|$, where $d_0$ is the units digit, $d_1$ is the tens digit, and so on.\n\nDefine\n$$S = \\sum_{i=0}^{\\,\\text{(number of digits of }|D|)-1} d_i\\,(i+1)^2,$$\nand let $Q = S + 42195$.\n\nFind the value of $Q$.", "answer": 42371, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(8),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(42195),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "ONE_BINOM_N"], "recipe_id": "e12e67", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.066, "created_at": "2026-02-08T13:03:36.554197Z", "verification": {"verified": true, "answer": 42371, "timestamp": "2026-02-08T13:03:36.619789Z"}, "problem_hash": "1cf9d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 42371, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 1223}, "timestamp": "2026-02-09T16:51:59.022Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ONE_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "79b4df", "alias": "nt_sum_totient_over_divisors_v1_1125832087_1038", "problem": "Let $p = 2$. Define $e$ to be the remainder when $ (p-1)! + \\sum_{d \\mid \\gcd(8,15)} \\mu(d) $ is divided by $p$. Let $n_1 = 14 + e$. Define $h = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $n = 78768 + h$. Compute $ \\sum_{d \\mid n} \\phi(d) $.", "answer": 78768, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(2),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), modulus=Ref(\"p\")),\n \"n1\": Sum(Const(14), Ref(\"e\")),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Const(78768), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "MOBIUS_COPRIME", "WILSON"], "recipe_id": "98e00f", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:28:08.368806Z", "verification": {"verified": true, "answer": 78768, "timestamp": "2026-02-08T03:28:08.372848Z"}, "problem_hash": "f7581f", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MOBIUS_COPRIME": "ok", "WILSON": "ok", "COUNT_PRIMES": "no", "K15": "no", "L3b": "no", "MOD_FACTORIAL": "no", "V3": "no"}} -{"id": "4b8281", "alias": "modular_count_residue_v1_1742523217_2260", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 1001. Let $t$ range over integers expressible as $15a + 6b$ where $1 \\leq a \\leq 65$ and $1 \\leq b \\leq 14$, and $21 \\leq t \\leq 1059$. Let $c$ be the number of such $t$. Define $m$ to be the largest power of $n$ that divides $c^2$. Let $r = 1$ and let $\\text{result}$ be the number of integers $n$ with $1 \\leq n \\leq 67081$ such that $n \\equiv r \\pmod{m}$. Compute the remainder when $69865 \\cdot \\text{result}$ is divided by 54657.", "answer": 2721, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(54657),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\n \"upper\": Const(67081),\n \"m\": MaxKDivides(target=Pow(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=65)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=1059)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Const(2)), base=Ref(\"_n\")),\n \"r\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(69865),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K14", "LIN_FORM/K14"], "recipe_id": "f1d992", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.029, "created_at": "2026-02-08T04:38:46.910428Z", "verification": {"verified": true, "answer": 2721, "timestamp": "2026-02-08T04:38:50.939857Z"}, "problem_hash": "4f8b26", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "V1": "no", "V8": "no"}} -{"id": "a3ecc0", "alias": "sequence_lucas_compute_v1_548369836_133", "problem": "Let $m = 11901$ and $n = 67805$. Define $L$ to be the 20th Lucas number. Let $S$ be the set of all positive integers $k$ such that $1 \\leq k \\leq m$ and $\\gcd\\left(k, 1 + 2 + 3 + 4\\right) = 1$. Let $C$ be the number of elements in $S$. Compute the remainder when $C - L$ is divided by $n$.", "answer": 57439, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11901),\n \"_n\": Const(67805),\n \"n\": Const(20),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\"))), Const(1))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/C4/ENDING_negation_mod"], "recipe_id": "db3d2e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "ENDING_negation_mod", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:46:52.528023Z", "verification": {"verified": true, "answer": 57439, "timestamp": "2026-02-08T02:46:52.529900Z"}, "problem_hash": "b2bc8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 57439, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 1246}, "timestamp": "2026-02-08T19:54:07.567Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 57439, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 1313}, "timestamp": "2026-02-09T20:06:21.427Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:08:43.929Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 57439, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 2611}, "timestamp": "2026-02-09T02:41:08.755Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57439, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 1015}, "timestamp": "2026-02-09T09:12:04.195Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:11:32.901Z"}], "lemma_applicability": {"SUM_ARITHMETIC": "ok", "C4": "ok_later", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -2.54, "mid": 1.1, "hi": 4.5}} -{"id": "0e5410", "alias": "geo_count_lattice_triangle_v1_124444284_1966", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ of positive integers such that $i \\leq 144$, $j \\leq 145$, and $i + j = 145$. Let $C$ be the number of positive integers $n \\leq 316$ such that $\\gcd(n, 15) = 1$. Define\n$$\n\\text{area\\_2x} = \\left| 120 \\cdot |A| - 200 \\cdot 169 \\right|.\n$$\nLet\n$$\n\\text{boundary} = \\gcd(144, C) + \\gcd(56, 49) + \\gcd(200, 120).\n$$\nLet $\\text{result} = \\frac{\\text{area\\_2x} + 2 - \\text{boundary}}{2}$. Let $Q$ be the Bell number corresponding to the remainder when $|\\text{result}|$ is divided by 11. Compute $Q$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(316),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='i'), Var(name='j')]), condition=Eq(left=Sum(Var(name='i'), Var(name='j')), right=Const(value=145)), domain=CartesianProduct(left=IntegerRange(start=Const(value=1), end=Const(value=144)), right=IntegerRange(start=Const(value=1), end=Const(value=145))))), Const(value=120)), Mul(Const(value=200), Sub(left=Const(value=0), right=Const(value=169))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=144)), b=Abs(arg=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_m')), Eq(left=GCD(a=Var(name='n'), b=Const(value=15)), right=Const(value=1))))))), GCD(a=Abs(arg=Sub(left=Const(value=200), right=Const(value=144))), b=Abs(arg=Sub(left=Const(value=120), right=Const(value=169)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=200))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "C4"], "recipe_id": "ebd983", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T04:13:30.836009Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T04:13:30.844840Z"}, "problem_hash": "666287", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "2d9ed6", "alias": "modular_count_residue_v1_1520064083_2944", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $L$ be the number of elements in $P$. Let $c$ be the largest prime number at most $95$ that is greater than or equal to $L$. Let $R$ be the number of positive integers $n \\leq 36100$ such that $n \\equiv 9 \\pmod{14}$. Find the remainder when $c - R$ is divided by $72939$.", "answer": 70450, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72939),\n \"upper\": Const(36100),\n \"m\": Const(14),\n \"r\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Const(95)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW/ENDING_negation_mod"], "recipe_id": "f70030", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.495, "created_at": "2026-02-08T05:21:16.636953Z", "verification": {"verified": true, "answer": 70450, "timestamp": "2026-02-08T05:21:18.131905Z"}, "problem_hash": "472a01", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ENDING_negation_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "26f0e2", "alias": "antilemma_sum_primes_v1_1125832087_1234", "problem": "Let $a = 105$ and $b = 2$. Let $d_{\\min}$ be the smallest divisor of $a$ that is at least 2. Define $x$ to be the sum of all prime numbers $n$ such that $b \\leq n \\leq d_{\\min}$. Compute the value of $$\n x + \\phi(|x| + 1) + \\tau\\left(|x| + \\sum_{d \\mid \\gcd(8,15)} \\mu(d)\\right),\n$$ where $\\phi$ denotes Euler's totient function, $\\tau(n)$ denotes the number of positive divisors of $n$, and $\\mu$ denotes the M\\\"obius function.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(105),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_PRIMES", "MOBIUS_COPRIME", "SUM_PRIMES"], "recipe_id": "96f209", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:37:43.815315Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T03:37:43.820256Z"}, "problem_hash": "057f37", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "SUM_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K18": "no", "LTE_SUM": "no", "V8": "no"}} -{"id": "3b0bea", "alias": "algebra_quadratic_discriminant_v1_153355830_1379", "problem": "Let $a = 1$, $b = -16$, and let $c$ be the number of integers $t$ between $42$ and $249$, inclusive, that can be expressed as $t = 6a + 21b + 15$ for some integers $a$ and $b$ with $1 \\leq a \\leq 18$ and $1 \\leq b \\leq 6$. Let $D = b^k - 4ac$, where $k$ is the number of positive integers $p < q$ such that $pq = 72$ and $\\gcd(p, q) = 1$. Define $\\alpha = 1$ if $D > \\sum_{k=0}^{9} (-1)^k \\binom{9}{k}$, and $\\alpha = 0$ otherwise. Define $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Compute $2\\alpha + \\beta$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"a\": Const(1),\n \"b\": Const(-16),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=18)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=42)), Leq(left=Var(name='t'), right=Const(value=249)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b')), Const(value=15)))))))),\n \"D\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_m\"), Iverson(condition=Gt(Ref(\"D\"), Summation(var=\"k\", start=Const(0), end=Const(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\"))))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "cf4c01", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T06:22:24.063331Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T06:22:24.069052Z"}, "problem_hash": "7e6145", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}} -{"id": "8e1470", "alias": "nt_count_coprime_v1_1125832087_433", "problem": "Let $n$ be the number of positive integers $m$ such that $1 \\leq m \\leq 228$, $4$ divides $m$, and $\\gcd(m, 35) = 1$. Let $k$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 38$, $1 \\leq j \\leq 38$, and $i + j = n$. Determine the number of positive integers $\\nu$ such that $1 \\leq \\nu \\leq 48841$ and $\\gcd(\\nu, k) = 1$.", "answer": 23136, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(228)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"upper\": Const(48841),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(38))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/COUNT_SUM_EQUALS"], "recipe_id": "be240e", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 3.972, "created_at": "2026-02-08T03:04:38.779552Z", "verification": {"verified": true, "answer": 23136, "timestamp": "2026-02-08T03:04:42.751963Z"}, "problem_hash": "9a648e", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}} -{"id": "bb8eb4", "alias": "algebra_quadratic_discriminant_v1_1915831931_2033", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 88045650$, $\\gcd(p, q) = 1$, and $p < q$. Let $N$ be the number of elements in $S$. Now let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $3$ divides the $n$th Fibonacci number. Let $m$ be the number of elements in $T$. Consider the quadratic equation $-x^2 - 16x - 64 = 0$ and compute its discriminant $D = (-16)^2 - 4 \\cdot (-1) \\cdot (-64)$. Let $R$ be the number of positive integers $p_1$ for which there exists a positive integer $q$ such that $p_1 \\cdot q = 36$, $\\gcd(p_1, q) = 1$, and $p_1 < q$. Compute the value of $R$ if $D > 0$, or $1$ if $D = 0$. Determine the value of this result.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=88045650)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"a\": Const(-1),\n \"b\": Const(-16),\n \"c\": Const(-64),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/COUNT_FIB_DIVISIBLE/COPRIME_PAIRS"], "recipe_id": "02cb16", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.058, "created_at": "2026-02-08T16:35:43.019274Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T16:35:43.076824Z"}, "problem_hash": "d0c8d3", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "ea2b0a", "alias": "diophantine_fbi2_count_v1_1353956133_205", "problem": "Let $A$ be the set of integers $n$ such that $1 \\leq n \\leq 36$ and the sum of the decimal digits of $n$ is even. Let $m = |A|$. Let $k$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 24$ and $1 \\leq j \\leq 30$. Define $S$ to be the set of all integers $d$ satisfying the following conditions:\n\n- $4 \\leq d \\leq 83$,\n- $d$ divides $k$,\n- $\\frac{k}{d} \\geq 2$,\n- $\\frac{k}{d} \\leq M$, where $M$ is the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = m$.\n\nLet $r = |S|$. Compute the remainder when $44121 \\cdot r$ is divided by 65008.", "answer": 55856, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(36)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"_n\": Const(83),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_c\")), Leq(Div(Ref(\"k\"), Var(\"d\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(65008)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "L3B/B1"], "recipe_id": "ddfbdc", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_CARTESIAN", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T11:20:30.740788Z", "verification": {"verified": true, "answer": 55856, "timestamp": "2026-02-08T11:20:30.751114Z"}, "problem_hash": "ba5ddd", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "L3B": "ok", "B1": "ok_later", "COUNT_INTEGER_RANGE": "no", "K13": "no", "K14": "no", "K17": "no", "V8_SUM": "no"}} -{"id": "f2f483", "alias": "nt_sum_gcd_range_mod_v1_1918700295_2373", "problem": "Let $N$ be the number of integers $n$ such that $1 \\leq n \\leq \\max\\{k \\mid 13^k \\text{ divides } 60489!\\}$ and the sum of the decimal digits of $n$ leaves a remainder of 1 when divided by 2. Let $k = 360$ and $M = 10891$. Compute the remainder when $$\\sum_{n=1}^{N} \\gcd(n, k)$$ is divided by $M$.", "answer": 4678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Const(60489)), base=Const(13))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"k\": Const(360),\n \"M\": Const(10891),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/L3B"], "recipe_id": "6ddb42", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.117, "created_at": "2026-02-08T07:51:19.021305Z", "verification": {"verified": true, "answer": 4678, "timestamp": "2026-02-08T07:51:19.138675Z"}, "problem_hash": "b038ba", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "L3B": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "c40347", "alias": "antilemma_cartesian_v1_458359167_1253", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 8, inclusive, and $b$ is an integer from 1 to 9, inclusive. Compute $$\n\nx + \\phi\\left(|x| + \\binom{16}{0}\\right) + \\tau\\left(|x| + \\binom{3}{3}\\right),\n\n$$\n\nwhere $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$. Determine the value of this expression.", "answer": 146, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(9)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Binom(n=Const(16), k=Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Binom(n=Const(3), k=Const(3))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_BINOM_N", "ONE_BINOM_0"], "recipe_id": "1c4c00", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0", "ONE_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:30:48.894659Z", "verification": {"verified": true, "answer": 146, "timestamp": "2026-02-08T04:30:48.896418Z"}, "problem_hash": "fc00ff", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}} -{"id": "795552", "alias": "nt_count_digit_sum_v1_458359167_244", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 5929$. Let $T$ be the set of all values of $x + y$ as $(x, y)$ ranges over $S$. Let $M$ be the minimum value in $T$. Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq M$ and the sum of the digits of $n$ is even. Let $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq A$ and $\\gcd(n, 12) = 1$. Compute the number of positive integers $n$ not exceeding 99999 such that the sum of the digits of $n$ equals $B$.", "answer": 5280, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"upper\": Const(99999),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(5929)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3B/C4"], "recipe_id": "74093d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C4", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.518, "created_at": "2026-02-08T03:05:37.326142Z", "verification": {"verified": true, "answer": 5280, "timestamp": "2026-02-08T03:05:40.844381Z"}, "problem_hash": "1bd21e", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok_later", "L3B": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K15": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "93e066", "alias": "antilemma_v7_kummer_677425708_3193", "problem": "Let $m = 2$ and $n = 330$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 24$. Define $P$ to be the set of products $xy$ as $(x, y)$ ranges over $T$. Let $M$ be the maximum element of $P$. Let $K$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 19008$ and $M$ divides $k$. Let $c = |K|$, the number of elements in $K$. Determine the value of the largest integer $x$ such that $2^x$ divides $\\binom{330}{c}$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(330),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(19008)), Divides(divisor=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(24)))), expr=Mul(Var(\"x\"), Var(\"y\")))), dividend=Var(\"k\"))), domain='positive_integers'))), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/C2/V7", "V7"], "recipe_id": "58eb6e", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "lemma_set": ["B1", "C2", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:31:58.781269Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T05:31:58.782815Z"}, "problem_hash": "17f22b", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "V7": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}} -{"id": "661b06", "alias": "sequence_count_fib_divisible_v1_1520064083_31", "problem": "Let $U$ be the sum of all positive integers $n$ at most $143$ such that $n$ is divisible by $143$. Let $r$ be the number of positive integers $n$ with $1 \\leq n \\leq U$ such that the $n$-th Fibonacci number is divisible by $11$. Let $c$ be the number of integers $t$ with $22 \\leq t \\leq 10136$ for which there exist positive integers $a \\leq 608$ and $b \\leq 203$ such that $t = 14a + 8b$. Compute $c - r$.", "answer": 5026, "graph": "graphs = [\n Graph(\n let={\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(143)), Eq(Mod(value=Var(\"n\"), modulus=Const(143)), Const(0))))),\n \"d\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=608)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=203)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=10136)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_negation_mod", "SUM_DIVISIBLE"], "recipe_id": "6dea86", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T02:58:09.234468Z", "verification": {"verified": true, "answer": 5026, "timestamp": "2026-02-08T02:58:09.244349Z"}, "problem_hash": "589383", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 5044, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 3078}, "timestamp": "2026-02-08T21:39:25.599Z"}], "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "79aac4", "alias": "antilemma_sum_equals_v1_458359167_2851", "problem": "Let $d = 17902$. Let $m$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = 81$, $1 \\le i \\le 79$, and $1 \\le j \\le 80$. Let $n$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = m$, $1 \\le i \\le 79$, and $1 \\le j \\le 79$. Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = n$, $1 \\le i \\le 77$, and $1 \\le j \\le 77$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = d$. Compute the remainder when $c \\cdot x$ is divided by $88328$.", "answer": 70931, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(17902),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(81)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(79)), right=IntegerRange(start=Const(1), end=Const(80))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(79)), right=IntegerRange(start=Const(1), end=Const(79))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(77)), right=IntegerRange(start=Const(1), end=Const(77))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_d\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(88328)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/COUNT_SUM_EQUALS", "COMB1/ENDING_affine_mod", "COUNT_SUM_EQUALS"], "recipe_id": "45fb03", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T06:48:13.121181Z", "verification": {"verified": true, "answer": 70931, "timestamp": "2026-02-08T06:48:13.132268Z"}, "problem_hash": "fe1c6d", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "b3ccf5", "alias": "nt_count_with_divisor_count_v1_151522320_669", "problem": "Let $p=13$ and let $e$ be the number of prime factors of $p$, counted with multiplicity. Let $D$ be the set of all integers $d$ such that $2\\le d$ and $d$ divides $94987$, and let $M$ be the minimum element of $D$. Let $a$ be the number of integers $n$ such that $2\\le n\\le M$ and $n$ is prime. Let $b=13$ and define\n\\[N=ab+1.\n\\]\nLet $m$ be the remainder when the number of positive divisors of $N$ is divided by $2e$.\n\nLet $U$ be the largest prime number that is at most $6566$. Let\n\\[T=11+m.\n\\]\nFinally, let $R$ be the number of positive integers $n$ such that $1\\le n\\le U$ and $n$ has exactly $T$ positive divisors.\n\nCompute $R$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(13),\n \"e\": BigOmega(n=Ref(name='p')),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(94987)))))), IsPrime(Var(\"n\"))))),\n \"b\": Const(13),\n \"n\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Mul(Const(2), Ref(\"e\"))),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6566)), IsPrime(Var(\"n\"))))),\n \"div_count\": Sum(Const(11), Ref(\"m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES/DIVISOR_PARITY", "MAX_PRIME_BELOW", "BIG_OMEGA_ONE"], "recipe_id": "e58761", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_PRIMES", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 3.052, "created_at": "2026-02-08T03:27:07.647309Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:27:10.698923Z"}, "problem_hash": "2b5a7a", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "DIVISOR_PARITY": "ok_later", "K13": "no", "K16": "no", "K5": "no", "L3b": "no", "V3": "no"}} -{"id": "c9f97a", "alias": "nt_sum_divisors_compute_v1_1456120455_61", "problem": "Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 8$. Define $w = (p-1)! + 1 \\pmod{p}$. Let $g$ be the largest prime number satisfying $2 \\leq g \\leq 22$. Let $m = 14 + w$ and $n_1 = 11$. Let $a = g \\cdot m$ and $b = g \\cdot n_1$. Let $v = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $n = 85849 + v$. Compute the sum of all positive divisors of $n$.", "answer": 86143, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(14),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))),\n \"w\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"g\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(22)), IsPrime(Var(\"n\"))))),\n \"m\": Sum(Ref(\"_n\"), Ref(\"w\")),\n \"n1\": Const(11),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(85849), Ref(\"v\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "MAX_PRIME_BELOW/WILSON"], "recipe_id": "f4ba55", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T02:52:29.018752Z", "verification": {"verified": true, "answer": 86143, "timestamp": "2026-02-08T02:52:29.023576Z"}, "problem_hash": "d286d3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 86143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 1054}, "timestamp": "2026-02-08T19:57:41.705Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 86143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 2820}, "timestamp": "2026-02-09T20:50:04.209Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "WILSON": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "a08e7f", "alias": "nt_count_intersection_v1_1918700295_1182", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define\n$$\nb = \\sum_{k=1}^{A} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor,\n$$\nwhere\n$$\nA = \\max\\left\\{ n \\in \\mathbb{Z}^+ \\mid 2 \\leq n \\leq \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor \\text{ and } n \\text{ is prime} \\right\\}.\n$$\nLet $N = 20000$. Let $S$ be the set of all positive integers $n \\leq N$ such that $7$ divides $n$ and $\\gcd(n, b) = 1$. Compute the number of elements in $S$.", "answer": 1524, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(5),\n \"N\": Const(20000),\n \"a\": Const(7),\n \"b\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\")))))), IsPrime(Var(\"n\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MAX_PRIME_BELOW/K2"], "recipe_id": "e60010", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 4.518, "created_at": "2026-02-08T05:38:05.362134Z", "verification": {"verified": true, "answer": 1524, "timestamp": "2026-02-08T05:38:09.880525Z"}, "problem_hash": "f008eb", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok_later", "K17": "no", "L3b": "no", "LTE_SUM": "no", "V7": "no", "V8": "no"}} -{"id": "f7e487", "alias": "antilemma_v8_lucas_865884756_1328", "problem": "Let $d=53361$, $m=65531$, and $n=2$.\n\nLet $x$ be the number of integers $j$ with $0 \\le j \\le m$ such that\n$$\\binom{65531}{j} \\equiv 1 \\pmod{2}.$$\n\nConsider all ordered pairs $(u,v)$ of positive integers such that $uv=d$. For each such pair, form the sum $u+v$. Let $L$ be the minimum of all these sums.\n\nLet $c$ be the number of positive integers $k$ such that $1 \\le k \\le L$ and $66$ divides $k$.\n\nLet\n$$Q \\equiv c - x \\pmod{94976},$$\nwhere $0 \\le Q < 94976$.\n\nFind the value of $Q$. ", "answer": 62215, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(53361),\n \"_m\": Const(65531),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(65531), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x1\"), Var(\"y\")), Ref(\"_d\")))), expr=Sum(Var(\"x1\"), Var(\"y\"))))), Divides(divisor=Const(66), dividend=Var(\"k\"))), domain='positive_integers')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(94976)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C2/ENDING_negation_mod", "V8"], "recipe_id": "292a3f", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C2", "ENDING_negation_mod", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T15:57:25.815306Z", "verification": {"verified": true, "answer": 62215, "timestamp": "2026-02-08T15:57:25.820388Z"}, "problem_hash": "06fb7d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "V8": "ok", "C2": "ok_later", "ENDING_negation_mod": "ok_later", "COUNT_SUM_EQUALS": "no", "K18": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "a2d427", "alias": "antilemma_product_of_sums_v1_1742523217_3793", "problem": "Let $S$ be the set of all ordered pairs $(k, j)$ such that $1 \\leq k \\leq 11$ and $1 \\leq j \\leq 9$. Let $T$ be the sum of all values of $k$ as $(k, j)$ ranges over $S$. Let $U = \\left(\\sum_{k=1}^{13} k\\right) \\cdot T$. Let $\\mathcal{P}$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 16402500$. Let $V$ be the minimum value of $x + y$ as $(x, y)$ ranges over $\\mathcal{P}$. Compute the value of $11^{|U|} \\bmod{99991} + V$.", "answer": 23905, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Var(\"k\")))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(16402500)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_two_stage_modexp", "PRODUCT_OF_SUMS"], "recipe_id": "299c18", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_two_stage_modexp", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:05:55.804256Z", "verification": {"verified": true, "answer": 23905, "timestamp": "2026-02-08T06:05:55.806978Z"}, "problem_hash": "544b4a", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_two_stage_modexp": "ok_later", "K15": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "5fa306", "alias": "modular_product_range_v1_458359167_2720", "problem": "Let $c = 3023$. Define $m$ to be the number of positive integers $n \\leq c$ such that $\\gcd\\left(n, \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = 49\\}\\right) = 1$. Let $a = \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = 121\\}$ and $b = \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = m\\}$. Compute the remainder when the product $\\prod_{i=a}^{b} i$ is divided by $10937$.", "answer": 6180, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3023),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Eq(GCD(a=Var(\"n\"), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(1))))),\n \"_n\": Const(121),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10937)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C4/B3"], "recipe_id": "345345", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:45:01.446286Z", "verification": {"verified": true, "answer": 6180, "timestamp": "2026-02-08T06:45:01.451123Z"}, "problem_hash": "d8fe9a", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok_later", "DS2": "no", "K14": "no", "K15": "no", "L3c": "no", "V7": "no"}} -{"id": "0808da", "alias": "antilemma_product_of_sums_v1_151522320_125", "problem": "Let $n = 71 \\cdot 19$. Let $h$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n$, where $\\mu$ is the M\\\"obius function. Let $p$ be the smallest integer greater than or equal to 2 that divides 871933. Let $u = \\Omega(p)$, the number of prime factors of $p$ counted with multiplicity. Let\n$$\nx = \\left( \\sum_{k=1}^6 k \\right) \\cdot \\left( \\sum_{i=1}^7 \\sum_{j=1}^7 ij \\right).\n$$\nCompute the remainder when\n$$\n\\sum_{m=1}^{|x|} \\tau(m)\n$$\nis divided by $(86940 + h) \\cdot u$, where $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 45370, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86940),\n \"p1\": Const(71),\n \"q\": Const(19),\n \"n\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"h\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(871933))))),\n \"u\": BigOmega(n=Ref(name='p')),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Var(\"k\"))), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(2)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(7)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))), modulus=Mul(Sum(Ref(\"_n\"), Ref(\"h\")), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "MOBIUS_SUM", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "649104", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM", "ONE_PHI_2", "PRODUCT_OF_SUMS"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:59:45.878550Z", "verification": {"verified": true, "answer": 45370, "timestamp": "2026-02-08T02:59:45.881727Z"}, "problem_hash": "b245d5", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 75454, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 6571}, "timestamp": "2026-02-08T23:27:06.374Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "BIG_OMEGA_ONE": "ok_later", "K14": "no", "K5": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "781453", "alias": "comb_binomial_compute_v1_784195855_5480", "problem": "Let $p$ be the largest prime number not exceeding 134. Let $k$ be the number of nonnegative integers $j$ such that $0 \\le j \\le p$ and $\\binom{v}{j}$ is odd, where $v$ is the largest integer such that $13^v$ divides $1586!$. Let $n = 14$ and define $\\text{result} = \\binom{n}{k}$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by 95558.", "answer": 51975, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(134)), IsPrime(Var(\"n\"))))),\n \"n\": Const(14),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MaxKDivides(target=Factorial(Const(1586)), base=Const(13)), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(95558)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V8", "V1/V8"], "recipe_id": "f35e1f", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:55:43.143054Z", "verification": {"verified": true, "answer": 51975, "timestamp": "2026-02-08T07:55:43.145733Z"}, "problem_hash": "2864db", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "V8": "ok_later", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "V3": "no", "V5": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "c01952", "alias": "nt_lcm_compute_v1_1248542787_719", "problem": "Let $a$ be the number of positive integers $k$ between 1 and 36938, inclusive, that are divisible by 23. Let $b = 891$, and let $r = \\operatorname{lcm}(a, b)$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 29$. Let $M$ be the maximum element of $P$. Compute the remainder when $M - r$ is divided by 75168.", "answer": 20279, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(36938)), Divides(divisor=Const(23), dividend=Var(\"k\"))), domain='positive_integers')),\n \"b\": Const(891),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(75168)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_negation_mod", "C2"], "recipe_id": "ab0971", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:20:38.458668Z", "verification": {"verified": true, "answer": 20279, "timestamp": "2026-02-08T03:20:38.461788Z"}, "problem_hash": "f5db5d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20179, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 1178}, "timestamp": "2026-02-09T07:26:04.788Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 20279, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 1303}, "timestamp": "2026-02-09T20:19:36.309Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:35:30.593Z"}], "lemma_applicability": {"C2": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "K5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "b68ea2", "alias": "nt_sum_divisors_compute_v1_1520064083_2852", "problem": "Let $n_2 = \\phi(2)$, where $\\phi$ is Euler's totient function, and let $v = \\Omega(n_2)$, where $\\Omega(n)$ counts the total number of prime factors of $n$ with multiplicity. Let $p = 19$, and let $A$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $pq = 9000$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of elements in $A$, and define $n_1 = p^k$. Let $w = \\omega(n_1)$, where $\\omega(n)$ counts the number of distinct prime factors of $n$. Define $n = (30976 + v) \\cdot w$. Find the sum of all positive divisors of $n$.", "answer": 67963, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30976),\n \"n2\": EulerPhi(n=Const(2)),\n \"v\": BigOmega(n=Ref(name='n2')),\n \"p\": Const(19),\n \"n1\": Pow(Ref(\"p\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=9000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Sum(Ref(\"_n\"), Ref(\"v\")), Ref(\"w\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/OMEGA_ONE", "BIG_OMEGA_ZERO", "ONE_PHI_2"], "recipe_id": "2c09e2", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COPRIME_PAIRS", "OMEGA_ONE", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:14:54.025648Z", "verification": {"verified": true, "answer": 67963, "timestamp": "2026-02-08T05:14:54.030317Z"}, "problem_hash": "d3ddd2", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "OMEGA_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}} -{"id": "512510", "alias": "nt_euler_phi_compute_v1_1915831931_522", "problem": "Let $n = 30628$ and $k = 21$. Compute $\\phi(n)$, Euler's totient function of $n$. Let $S$ be the set of all positive integers $n_2$ such that $1 \\le n_2 \\le 12247$ and $\\gcd(n_2, 21) = 1$. Let $s$ be the number of elements in $S$. Let $T$ be the set of all positive integers $n_1$ such that $1 \\le n_1 \\le s$ and\n\\[\nn_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{7}.\n\\]\nLet $c$ be the number of elements in $T$. Compute the remainder when $\\phi(30628)^2 + 19 \\cdot \\phi(30628) + c$ is divided by $56601$.", "answer": 47268, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"n\": Const(30628),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(12247)), Eq(GCD(a=Var(\"n2\"), b=Ref(\"_n\")), Const(1)))))), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(19), Ref(\"result\")), Ref(\"_c\")), modulus=Const(56601)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/L3C/ENDING_quadratic_mod"], "recipe_id": "0b9e4c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_quadratic_mod", "L3C"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T15:30:28.460660Z", "verification": {"verified": true, "answer": 47268, "timestamp": "2026-02-08T15:30:28.464431Z"}, "problem_hash": "120a7e", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "ENDING_quadratic_mod": "ok_later", "L3C": "ok_later", "K16": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "daef88", "alias": "comb_count_partitions_v1_1918700295_2150", "problem": "Let $n$ be the largest integer $k$ such that $37^k$ divides $1171223165167387672982838811053 \\times 12337511914217166362274241$. Let $r = p(n)$, the number of integer partitions of $n$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1024144$. Compute the remainder when $c - r$ is divided by $64942$.", "answer": 35781, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64942),\n \"n\": MaxKDivides(target=Mul(Const(1171223165167387672982838813062831053), Const(12337511914217166362274241)), base=Const(37)),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1024144)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "K13"], "recipe_id": "4739d6", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "K13"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:43:27.553407Z", "verification": {"verified": true, "answer": 35781, "timestamp": "2026-02-08T07:43:27.556074Z"}, "problem_hash": "d60dc9", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K13": "ok", "ENDING_negation_mod": "ok_later", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "c61f38", "alias": "nt_gcd_compute_v1_1440796553_593", "problem": "Let $a = 243586$ and $b = 452374$. Define $d = \\gcd(a, b)$. Let $s$ be the sum of the digits of $|d|$, where each digit at position $i$ (starting from 0 at the units place) is multiplied by $\\left(i + \\sum_{k \\mid m} \\mu(k)\\right)^2$, where $m$ is the sum of all positive integers $n$ such that $1 \\leq n \\leq 5$ and $n \\equiv 0 \\pmod{5}$. Compute $30000 \\cdot s$.", "answer": 30246, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"a\": Const(243586),\n \"b\": Const(452374),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(30000),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=Const(value=3), b=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=5)), Eq(left=Mod(value=Var(name='n'), modulus=Ref(name='_n')), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME/ENDING_digits_weighted_mod"], "recipe_id": "699c68", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T11:52:46.800741Z", "verification": {"verified": true, "answer": 30246, "timestamp": "2026-02-08T11:52:46.803733Z"}, "problem_hash": "07d533", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "ENDING_digits_weighted_mod": "ok_later", "MOBIUS_COPRIME": "ok_later", "K15": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "5c97d5", "alias": "sequence_lucas_compute_v1_1353956133_471", "problem": "Let $c=1517$. Let $m$ be the smallest integer $d\\ge 2$ such that $d$ divides $c$.\n\nConsider all ordered pairs $(p,q)$ of positive integers such that\n$$pq=24, \\quad \\gcd(p,q)=1, \\quad p p$ such that $pq = 821759400$ and $\\gcd(p, q) = 1$. Let $t$ be the number of such integers $p$. Compute the value of $x + (2^{x \\bmod t} \\bmod 87868)$.", "answer": 44471, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(71347),\n \"b\": Const(54641),\n \"m\": Const(77180),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=153)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=821759400)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), modulus=Const(87868))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_mod_exp", "L3C/MOBIUS_COPRIME"], "recipe_id": "03cea3", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_mod_exp", "L3C", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.762, "created_at": "2026-02-08T02:23:04.707329Z", "verification": {"verified": true, "answer": 44471, "timestamp": "2026-02-08T02:23:07.469053Z"}, "problem_hash": "5a66e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 347, "completion_tokens": 8192}, "timestamp": "2026-02-08T18:28:55.182Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 44471, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 347, "completion_tokens": 4333}, "timestamp": "2026-02-08T19:14:58.267Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:01:35.333Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44471, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 4456}, "timestamp": "2026-02-09T14:04:16.809Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "ENDING_mod_exp": "ok_later", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 3.32, "mid": 6.59, "hi": 9.27}} -{"id": "585544", "alias": "algebra_quadratic_discriminant_v1_1742523217_4658", "problem": "Let $x$ and $y$ be positive integers such that $xy = 4$. Let $s$ be the minimum value of $x + y$ over all such pairs. Now let $a = 10$, $b = -6$, and $c = -8$. Consider all pairs of positive integers $(x, y)$ such that $x + y = s$. Let $p$ be the maximum value of $xy$ over these pairs. Let $T$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Compute $b^{|T|} - a \\cdot c \\cdot p$. Give the value of this expression.", "answer": 356, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(10),\n \"b\": Const(-6),\n \"c\": Const(-8),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["B3/COPRIME_PAIRS/B1"], "recipe_id": "c799fc", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.023, "created_at": "2026-02-08T09:01:36.376538Z", "verification": {"verified": true, "answer": 356, "timestamp": "2026-02-08T09:01:36.399182Z"}, "problem_hash": "7a7450", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "B1": "ok_later", "COPRIME_PAIRS": "ok_later", "DS2": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "9f28a7", "alias": "nt_count_coprime_v1_1520064083_4376", "problem": "Consider all ordered pairs $(x,y)$ of positive integers such that $xy=48400$. Let $M$ be the smallest possible value of $x+y$ over all such pairs.\n\nLet $K=39$ and let $R$ be the number of integers $n$ with $1\\le n\\le 10513$ and $\\gcd(n,39)=1$.\n\nLet $T$ be the number of integers $n$ with $1\\le n\\le M$ and\n$$n\\equiv \\left\\lfloor\\frac n2\\right\\rfloor \\pmod 5.$$\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $x+y=T$. Let $P$ be the largest possible value of $xy$ over all such pairs.\n\nLet $Q$ be the remainder when $P-R$ is divided by $97698$.\n\nFind the value of $Q$.", "answer": 93164, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(48400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(97698),\n \"upper\": Const(10513),\n \"k\": Const(39),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C/B1/ENDING_negation_mod"], "recipe_id": "3f4ff9", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_negation_mod", "L3C"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 8.962, "created_at": "2026-02-08T06:14:47.429178Z", "verification": {"verified": true, "answer": 93164, "timestamp": "2026-02-08T06:14:56.391309Z"}, "problem_hash": "cb7824", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "B1": "ok_later", "ENDING_negation_mod": "ok_later", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}} -{"id": "dcaf1b", "alias": "nt_count_with_divisor_count_v1_784195855_3579", "problem": "Let $N = 18769$. Determine the number of positive integers $n \\leq N$ such that $n$ has exactly $15$ positive divisors. Let $d$ be the largest positive divisor of $2773$ that is at most $47$. Find the remainder when $10728931727086675850268616877803980267876643168899581139272153269444753650038480825665453097600906855957402354063$ raised to the $67$th power is divided by $d^k$, where $k$ is maximal such that $d^k$ divides this number. Subtract the count from this $k$ and find the result.", "answer": 4470, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(18769),\n \"div_count\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sub(MaxKDivides(target=Pow(Const(10728931727086675850268616877803980267876643168899581139272153269444753650038480825665453097600906855957402354063), Const(67)), base=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(47)), Divides(divisor=Var(\"d\"), dividend=Const(2773)))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/K14/ENDING_negation_mod"], "recipe_id": "83a14c", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K14", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.781, "created_at": "2026-02-08T06:30:15.773177Z", "verification": {"verified": true, "answer": 4470, "timestamp": "2026-02-08T06:30:16.554504Z"}, "problem_hash": "f5d51c", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "ENDING_negation_mod": "ok_later", "K14": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "LTE_DIFF": "no", "V7": "no"}} -{"id": "42a39a", "alias": "nt_gcd_compute_v1_865884756_3851", "problem": "Let $a = 121296$ and $b = 283024$, and define $g = \\gcd(a, b)$. For each ordered pair $(k, j)$ with $k \\in \\{1, 2, 3, 4\\}$ and $j \\in \\{1, 2\\}$, compute $\\phi(k) \\cdot \\left\\lfloor \\frac{4}{k} \\right\\rfloor$, and let $S$ be the sum of these eight values. Define $c = \\frac{2 \\cdot S}{4}$. Compute the remainder when $c - g$ is divided by $85630$.", "answer": 45208, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(85630),\n \"a\": Const(121296),\n \"b\": Const(283024),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Div(Mul(Ref(\"_m\"), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))))), Const(4)),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT/K2/ENDING_negation_mod"], "recipe_id": "ba23ac", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T17:35:47.014365Z", "verification": {"verified": true, "answer": 45208, "timestamp": "2026-02-08T17:35:47.018202Z"}, "problem_hash": "e59d97", "license": "CC BY 4.0", "lemma_applicability": {"SUM_INDEPENDENT": "ok", "ENDING_negation_mod": "ok_later", "K2": "ok_later", "K16": "no", "LTE_DIFF": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "08436b", "alias": "antilemma_sum_factor_cartesian_v1_153355830_76", "problem": "Let $m=5$. Let $n$ be the number of integers $r$ such that $2\\le r\\le 3$ and $r$ is prime.\n\nLet $p$ be the greatest prime among all integers $s$ with $n\\le s\\le 3$.\n\nLet\n$$G=\\sum_{d\\mid \\gcd(p,m)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. For each ordered pair $(i,j)$ of integers with $1\\le i\\le 24$ and $1\\le j\\le 25$, include the product $ij$ in a multiset if and only if $G$ is nonzero.\n\nLet $x$ be the sum of all products $ij$ in this multiset.\n\nCompute $x$.", "answer": 97500, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_n')), Leq(left=Var(name='n'), right=Const(value=3)), IsPrime(arg=Var(name='n'))))), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(25)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MAX_PRIME_BELOW/MOBIUS_COPRIME/ONE_PHI_1/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "7ca9ec", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "ONE_PHI_1", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.002, "created_at": "2026-02-08T02:52:59.697482Z", "verification": {"verified": true, "answer": 97500, "timestamp": "2026-02-08T02:52:59.699960Z"}, "problem_hash": "b57c28", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 97500, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 285, "completion_tokens": 689}, "timestamp": "2026-02-08T22:42:07.747Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "d7d173", "alias": "nt_count_coprime_v1_784195855_2687", "problem": "Let $m=4$. Let $n$ be the smallest possible value of $x+y$, where $x$ and $y$ are positive integers such that $xy=25$.\n\nLet $k=6$ and let $U=56644$. Let $r$ be the number of integers $t$ with $1\\le t\\le U$ such that\n$$\\gcd(t,k)=\\sum_{d\\mid\\gcd(m,9)} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function.\n\nLet $c$ be the largest prime number between $2$ and $44$, inclusive.\n\nLet\n$$Q\\equiv r^2+nr+c \\pmod{58216},$$\nwhere $0\\le Q<58216$.\n\nFind the value of $Q$.", "answer": 49798, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(56644),\n \"k\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), SumOverDivisors(n=GCD(a=Ref(name='_m'), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(44)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(58216)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/ENDING_quadratic_mod", "MOBIUS_COPRIME"], "recipe_id": "078868", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ENDING_quadratic_mod", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 4.431, "created_at": "2026-02-08T05:56:04.964253Z", "verification": {"verified": true, "answer": 49798, "timestamp": "2026-02-08T05:56:09.395089Z"}, "problem_hash": "2f0488", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ENDING_quadratic_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "V5": "no", "V7": "no"}} -{"id": "a54018", "alias": "nt_count_gcd_equals_v1_458359167_1488", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define $k$ to be the sum\n$$\n\\sum_{k = \\phi(2)}^{m} \\phi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor,\n$$\nwhere $m$ is the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 16$, and $c$ is the number of positive integers $p$ less than $q$ such that $pq = 8820$ and $\\gcd(p,q) = 1$.\n\nLet $S$ be the set of positive integers $n \\leq 11236$ such that $\\gcd(n, k) = 6$. Compute the number of elements in $S$.", "answer": 624, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11236),\n \"k\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(16)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=8820)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Var(\"k\"))))),\n \"d\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/K2", "B3/K2", "ONE_PHI_2"], "recipe_id": "7ef3e2", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K2", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 1.097, "created_at": "2026-02-08T04:38:00.665238Z", "verification": {"verified": true, "answer": 624, "timestamp": "2026-02-08T04:38:01.761876Z"}, "problem_hash": "16b626", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "K2": "ok_later", "C2": "no", "K13": "no", "LTE_SUM": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "62c956", "alias": "nt_count_divisible_v1_1742523217_144", "problem": "Let $p = 17$. Let $q$ be the smallest divisor of $5767$ that is at least $2$. Define $n_1 = (p \\cdot q)^2$. Let $m$ be the remainder when $\\tau(n_1)$ is divided by $2$. Let $n$ be the smallest divisor of $78205381$ that is at least $2$. Define $s = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Let $R$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 31667$ and $n$ is divisible by $28$. Compute the number of elements in $R$. Find the remainder when $77241 \\cdot s \\cdot |R|$ is divided by $94958 \\cdot m$.", "answer": 15928, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5767),\n \"p\": Const(17),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(78205381))))),\n \"s\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(31667),\n \"divisor\": Const(28),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Mul(Const(77241), Ref(\"s\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(94958), Ref(\"m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "MIN_PRIME_FACTOR/DIVISOR_PARITY"], "recipe_id": "ba2e4a", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.395, "created_at": "2026-02-08T02:53:37.230442Z", "verification": {"verified": true, "answer": 15928, "timestamp": "2026-02-08T02:53:38.625888Z"}, "problem_hash": "72d7e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15928, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 296, "completion_tokens": 3062}, "timestamp": "2026-02-09T14:04:24.233Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15928, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 296, "completion_tokens": 3823}, "timestamp": "2026-02-08T23:34:51.472Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "cdb0fe", "alias": "sequence_count_fib_divisible_v1_1742523217_3455", "problem": "Let $S$ be the set of all integers $t$ such that $27 \\leq t \\leq 2151$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 19$, $1 \\leq b \\leq 292$, and $t = 21a + 6b$. Let $u$ be the number of elements in $S$. Let $d$ be the largest prime number $n$ such that $2 \\leq n \\leq 5$. Determine the number of positive integers $n$ such that $\\phi(2) \\leq n \\leq u$ and $d$ divides the $n$-th Fibonacci number $F_n$.", "answer": 140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=292)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=2151)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"d\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM", "ONE_PHI_2"], "recipe_id": "442592", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.173, "created_at": "2026-02-08T05:52:25.412681Z", "verification": {"verified": true, "answer": 140, "timestamp": "2026-02-08T05:52:25.585516Z"}, "problem_hash": "61b235", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "K13": "no", "K14": "no", "K18": "no", "MOD_FACTORIAL": "no", "V5": "no"}} -{"id": "1f34aa", "alias": "nt_num_divisors_compute_v1_1520064083_467", "problem": "Let $p_1=23$ and $q=11$, and define\n\\[n_1=(p_1q)^2.\n\\]\nLet $t$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $p=11$ and let\n\\[f\\equiv 10!+1\\pmod p,\\qquad 0\\le f p$ such that $pq = 2250$ and $\\gcd(p, q) = 1$. Define $s = \\sum_{k=1}^{n} \\phi(k) \\cdot \\left\\lfloor \\frac{4}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $r = 2^s$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1669264$. Let $m$ be the minimum value of $x + y$ over all pairs $(x, y) \\in T$. Compute $m - r$.", "answer": 1560, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"n\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=2250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1669264)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "COPRIME_PAIRS/K2"], "recipe_id": "046c4e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "ENDING_negation_mod", "K2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:47:54.409145Z", "verification": {"verified": true, "answer": 1560, "timestamp": "2026-02-08T03:47:54.414034Z"}, "problem_hash": "ec3fa1", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ENDING_negation_mod": "ok_later", "K2": "ok_later", "K13": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}} -{"id": "4100aa", "alias": "nt_euler_phi_compute_v1_1742523217_1186", "problem": "Let $p = 3$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 24$, $8$ divides $n$, and $\\gcd(n, 35) = 1$. Let $n_2 = p^{|S|}$. Define $s = \\lambda(n_2) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n_1 = 5 + s$, and define $u = \\lambda(n_1) + 1$. Let $n = 38809$ and let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when $(44121 + u) \\cdot \\varphi(n)$ is divided by $91823$.", "answer": 7933, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(3),\n \"n2\": Pow(Ref(\"p\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(24)), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1)))))),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Sum(Const(5), Ref(\"s\")),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Const(38809),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Const(44121), Ref(\"u\")), Ref(\"result\")), modulus=Const(91823)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/LIOUVILLE_MINUS_ONE"], "recipe_id": "433e6d", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["C5", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 0.004, "created_at": "2026-02-08T03:29:50.540471Z", "verification": {"verified": true, "answer": 7933, "timestamp": "2026-02-08T03:29:50.544516Z"}, "problem_hash": "85ca74", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7933, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 3412}, "timestamp": "2026-02-09T12:19:35.238Z"}], "lemma_applicability": {"C5": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "L3c": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "c1a543", "alias": "comb_binomial_compute_v1_784195855_184", "problem": "Let $n$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 13^{47}$ and $13$ divides $p-1$ exactly once (i.e., $13 \\mid p-1$ but $13^2 \\nmid p-1$). Let $k = 6$. Define $\\binom{n}{k}$ as the binomial coefficient. Compute the multiplicative order of $2$ modulo $2\\left|\\binom{n}{k}\\right| + 3$. Determine the value of this multiplicative order.", "answer": 360, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Pow(Ref(\"_n\"), Const(47)), base=Const(13))), IsPrime(Var(\"n\"))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/COUNT_PRIMES"], "recipe_id": "4c26b7", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "K14"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:01:02.906253Z", "verification": {"verified": true, "answer": 360, "timestamp": "2026-02-08T03:01:02.907881Z"}, "problem_hash": "18c83b", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "COUNT_PRIMES": "ok_later", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "f67bec", "alias": "antilemma_v1_legendre_677425708_388", "problem": "Let $m$ be the largest prime number less than or equal to $13$. Let $n$ be the smallest positive integer such that $m$ divides $n!$. Let $x$ be the largest integer $k$ such that $n^k$ divides $106249!$. Compute $x$.", "answer": 8852, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(13),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(1)), domain='Z_{>0}')),\n \"x\": MaxKDivides(target=Factorial(Const(106249)), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V5/V1", "V1"], "recipe_id": "a54c42", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:16:19.943961Z", "verification": {"verified": true, "answer": 8852, "timestamp": "2026-02-08T03:16:19.945130Z"}, "problem_hash": "2dc012", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8852, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 1288}, "timestamp": "2026-02-08T20:30:45.453Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "V5": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "e2b5e2", "alias": "nt_sum_gcd_range_mod_v1_1353956133_643", "problem": "Let $N$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 92$. Let $k = 240$ and $M = 10607$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when $\\text{sum}$ is divided by $M$. Let $c$ be the number of integers $n$ such that $1 \\leq n \\leq 763$, $7$ divides $n$, and $\\gcd(n, 10) = 1$. Compute the remainder when $c - r$ is divided by $72071$.", "answer": 63808, "graph": "graphs = [\n Graph(\n let={\n \"N\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(92)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(240),\n \"M\": Const(10607),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(763)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72071)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_negation_mod", "B1"], "recipe_id": "b107bc", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C5", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.127, "created_at": "2026-02-08T11:45:21.967853Z", "verification": {"verified": true, "answer": 63808, "timestamp": "2026-02-08T11:45:22.095288Z"}, "problem_hash": "78677a", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "C5": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "43b652", "alias": "nt_min_coprime_above_v1_1116507919_299", "problem": "Let $n_1 = 71^2 \\times 3$ and let $c = \\mu(n_1)^2$, where $\\mu$ is the Möbius function. Define $n = 1 + c$ and let $h$ be the number of distinct prime factors of $n$. Let $s = 17161 + h$ and let $M$ be the number of positive integers $j$ such that $1 \\leq j \\leq 160$ and $j^4 \\leq 655360000$. Let $r$ be the smallest integer $n$ such that $s < n \\leq 17331$ and $\\gcd(n, M) = 1$. Compute the value of $r + \\left(2^{r \\bmod 16}\\right) \\bmod 72070$.", "answer": 19211, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17161),\n \"p\": Const(71),\n \"q\": Const(3),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Sum(Const(1), Ref(\"c\")),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"start\": Sum(Ref(\"_n\"), Ref(\"h\")),\n \"upper\": Const(17331),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(160)), Leq(Pow(Var(\"j\"), Const(4)), Const(655360000))), domain='positive_integers')),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(16))), modulus=Const(72070))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "OMEGA_ZERO", "C3"], "recipe_id": "02e20c", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C3", "MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T02:30:37.917441Z", "verification": {"verified": true, "answer": 19211, "timestamp": "2026-02-08T02:30:37.933639Z"}, "problem_hash": "27fdab", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:21:31.573Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 19211, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 1167}, "timestamp": "2026-02-09T15:28:48.323Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:11:04.642Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19211, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 933}, "timestamp": "2026-02-09T19:05:37.339Z"}], "lemma_applicability": {"C3": "ok", "MOBIUS_SQUAREFREE": "ok", "OMEGA_ZERO": "ok", "DS2": "no", "K15": "no", "L3b": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 3.28, "mid": 6.59, "hi": 9.26}} -{"id": "0efb19", "alias": "antilemma_product_of_sums_v1_168721529_1759", "problem": "Let $a$ be the number of integers $j$ such that $0 \\leq j \\leq 15$ and $\\binom{15}{j}$ is odd. Let $b = \\sum_{k=1}^{11} k$. Let $x = a \\cdot b$. Let $m$ be the largest integer $k$ such that $2^k \\leq 21930$. Compute the remainder when $x + 2^{(x \\bmod m)}$ is divided by $95601$.", "answer": 8944, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95601),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=Const(15), k=Var(\"j\")), modulus=Const(2)), Const(1))))), Summation(var=\"k\", start=Const(1), end=Const(11), expr=Var(\"k\"))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(21930)))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/ENDING_mod_exp", "PRODUCT_OF_SUMS"], "recipe_id": "bf1b43", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "MAX_VAL", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:54:34.885505Z", "verification": {"verified": true, "answer": 8944, "timestamp": "2026-02-08T13:54:34.888948Z"}, "problem_hash": "0a7450", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1120, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 1635}, "timestamp": "2026-02-09T21:16:56.659Z"}], "lemma_applicability": {"MAX_VAL": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_mod_exp": "ok_later", "K16": "same_pattern_wrong", "K5": "no", "MOD_SUB": "no", "V3": "no", "V5": "no", "V8": "no"}} -{"id": "c0c42c", "alias": "nt_count_coprime_and_v1_1520064083_159", "problem": "Let $k_1 = 3$. Let $k$ be the largest positive integer such that $2^k \\leq 54450877719$, and let $k_2$ be the smallest divisor $d$ of $k$ such that $d \\geq 2$. Let $U = 12740$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq U$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = \\varphi(1)$.", "answer": 6795, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(12740),\n \"k1\": Const(3),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(54450877719)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), EulerPhi(n=Const(1)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MIN_PRIME_FACTOR", "ONE_PHI_1"], "recipe_id": "dd6af0", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.891, "created_at": "2026-02-08T03:06:45.466597Z", "verification": {"verified": true, "answer": 6795, "timestamp": "2026-02-08T03:06:51.357519Z"}, "problem_hash": "099e5b", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "ONE_PHI_1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K16": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}} -{"id": "c796f0", "alias": "antilemma_coprime_grid_v1_784195855_3810", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 71$, $1 \\leq j \\leq 100$, and $\\gcd(i,j) = 1$. Let $y$ be the number of positive integers $p$ such that $p < q$, $pq = 4108797000$, and $\\gcd(p,q) = 1$. Compute the value of $$x + 2^{x \\bmod y} \\bmod 57532.$$ Find the value of this expression.", "answer": 5386, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57532),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(71)), right=IntegerRange(start=Const(1), end=Const(100))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=4108797000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_mod_exp", "COUNT_COPRIME_GRID"], "recipe_id": "9d270e", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "ENDING_mod_exp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:39:04.057411Z", "verification": {"verified": true, "answer": 5386, "timestamp": "2026-02-08T06:39:04.059613Z"}, "problem_hash": "5414fb", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "ENDING_mod_exp": "ok_later", "COUNT_SUM_EQUALS": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V5": "no"}} -{"id": "fd0fc7", "alias": "antilemma_k3_v1_1520064083_5342", "problem": "Let $n = 49018$. Define $x$ as the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$. Let $S$ be the set of all integers $x$ such that $x^2 - 103x + T = 0$, where $T$ is the sum of all integers $y$ satisfying $y^2 - 930y - 92911 = 0$. Let $m = |x|$, and let $p = 4$. Compute the value of\n$$\n(353702 \\cdot (m \\bmod 97) + 329703 \\cdot (m^2 \\bmod 101) + 215534 \\cdot (m \\bmod p)) \\bmod 1009091\n$$\ndivided by $83646$, and then taken modulo $83646$. That is, compute\n$$\n\\left(353702 \\cdot (m \\bmod 97) + 329703 \\cdot (m^2 \\bmod 101) + 215534 \\cdot (m \\bmod 4)\\right) \\bmod 83646.\n$$", "answer": 9696, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49018),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(4),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-103), Var(\"x\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-930), Var(\"x\")), Const(-92911)), Const(0))))), Const(0))))))), modulus=Const(1009091)), modulus=Const(83646)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/VIETA_SUM/ENDING_crt_mix_3", "K3"], "recipe_id": "a07aa1", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:44:53.422656Z", "verification": {"verified": true, "answer": 9696, "timestamp": "2026-02-08T06:44:53.426309Z"}, "problem_hash": "ed4493", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF_P2": "no", "V5": "no", "V7": "no"}} -{"id": "115575", "alias": "antilemma_coprime_grid_v1_1248542787_170", "problem": "Let $\\text{gcd}(a,b)$ denote the greatest common divisor of $a$ and $b$, and let $\\mu(n)$ denote the M\\\"obius function. Define $P$ as the set of all prime numbers $n$ such that $2 \\leq n \\leq 37$. Let $d_0 = \\sum_{d \\mid \\text{gcd}(|P|, 25)} \\mu(d)$, where the sum is over all positive divisors $d$ of $\\text{gcd}(|P|, 25)$. Let $T$ be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 32$, $1 \\leq j \\leq 131$, and $\\text{gcd}(i,j) = d_0$. Let $x$ be the number of elements in $T$. Compute the remainder when $23223 \\cdot x$ is divided by 59020.", "answer": 19788, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Ref(name='_n')), IsPrime(arg=Var(name='n'))))), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(32)), right=IntegerRange(start=Const(1), end=Const(131))))),\n \"Q\": Mod(value=Mul(Const(23223), Ref(\"x\")), modulus=Const(59020)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MOBIUS_COPRIME/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "f1802c", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_PRIMES", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:59:22.454281Z", "verification": {"verified": true, "answer": 19788, "timestamp": "2026-02-08T02:59:22.456788Z"}, "problem_hash": "9559a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 19788, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 327, "completion_tokens": 6921}, "timestamp": "2026-02-09T01:02:29.126Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 19788, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 3393}, "timestamp": "2026-02-09T13:44:26.916Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:18:48.816Z"}], "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_CARTESIAN": "no", "K14": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "969a84", "alias": "nt_count_coprime_and_v1_1742523217_3219", "problem": "Let $n$ be a positive integer such that $1 \\le n \\le 19748$. Compute the number of such $n$ that are relatively prime to both $5$ and $7$.\\\\\n\nLet $r$ be this count. Find the smallest positive integer $k$ such that the $k$th Fibonacci number is divisible by $r + 2$.", "answer": 5082, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19748),\n \"k1\": Const(5),\n \"k2\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LTE_SUM", "ONE_PHI_1"], "recipe_id": "e273eb", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LTE_SUM", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 6.278, "created_at": "2026-02-08T05:43:32.018176Z", "verification": {"verified": true, "answer": 5082, "timestamp": "2026-02-08T05:43:38.296485Z"}, "problem_hash": "2139cc", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LTE_SUM": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "ecbc93", "alias": "nt_count_intersection_v1_677425708_1052", "problem": "Let $p$ be the largest prime number less than or equal to $78$. Define $u = \\Omega(p)$, the number of prime factors of $p$ counted with multiplicity. Let $w = \\sum_{d \\mid 1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $a = 3u$ and $b = 14$. Let $N = 50000$.\n\nDefine $S$ to be the set of all positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$. Let $r$ be the number of elements in $S$. Compute the remainder when $74123 \\cdot r$ is divided by $64430 \\cdot w$.", "answer": 39279, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(78)), IsPrime(Var(\"n\"))))),\n \"u\": BigOmega(n=Ref(name='p')),\n \"n\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"N\": Const(50000),\n \"a\": Mul(Ref(\"_n\"), Ref(\"u\")),\n \"b\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(74123),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(64430), Ref(\"w\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/BIG_OMEGA_ONE", "MOBIUS_SUM"], "recipe_id": "6279bf", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 2.309, "created_at": "2026-02-08T03:58:51.649445Z", "verification": {"verified": true, "answer": 39279, "timestamp": "2026-02-08T03:58:53.958591Z"}, "problem_hash": "fdfb3a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39279, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 3517}, "timestamp": "2026-02-09T15:14:01.128Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "BIG_OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "9e339d", "alias": "nt_count_divisors_in_range_v1_784195855_2138", "problem": "Let $n = 1680$, $a = 13$, and $b = 115$. Let $d$ be the number of positive divisors of $n$ that are between $a$ and $b$, inclusive. Let $Q$ be the remainder when $11081 \\cdot d$ is divided by $95637$. Compute $Q$.", "answer": 19265, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(1680),\n \"a\": Const(13),\n \"b\": Const(115),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": Const(11081),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LTE_DIFF"], "recipe_id": "02f7ca", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T05:30:33.744744Z", "verification": {"verified": true, "answer": 19265, "timestamp": "2026-02-08T05:30:33.785962Z"}, "problem_hash": "52e7e4", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF": "ok", "K17": "no", "K18": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "dc3485", "alias": "diophantine_sum_product_min_v1_168721529_1996", "problem": "Let $m=35$. Let $n$ be the number of non-negative integers $j$ with $0\\le j\\le 2144$ such that the binomial coefficient $\\binom{2144}{j}$ is odd.\n\nLet $n_1=11$, and let $c$ be the number of distinct prime factors of $n_1$. Define $N=nc$. Let\n$$h=\\sum_{d\\mid N} \\varphi(d)-N,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=12$. Define\n$$S=M+h.$$\n\nLet $P=128$. Among the integers $x$ with $1\\le x\\le m$ that satisfy\n$$x\\bigl(S-x\\bigr)=P,$$\nlet $R$ be the smallest such integer.\n\nCompute $R$. ", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(2144)), Eq(Mod(value=Binom(n=Const(2144), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"n1\": Const(11),\n \"c\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"c\")),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"S\": Sum(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"h\")),\n \"P\": Const(128),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_m\")), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V8/B1/OMEGA_ONE/EULER_TOTIENT_SUM", "B1/EULER_TOTIENT_SUM"], "recipe_id": "b4cfc2", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "OMEGA_ONE", "V8"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.261, "created_at": "2026-02-08T14:02:55.521413Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T14:02:55.782083Z"}, "problem_hash": "61697d", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "V8": "ok", "EULER_TOTIENT_SUM": "ok_later", "OMEGA_ONE": "ok_later", "DS2": "no", "K13": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "d38a39", "alias": "sequence_fibonacci_compute_v1_865884756_685", "problem": "Let $m = 2$. Let $n'$ be the smallest divisor of $19343$ that is at least $m$. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq n'$ and $n_1$ is divisible by the largest prime number less than or equal to $28$. Let $n$ be the sum of all elements of $S$. Compute the $n$-th Fibonacci number, denoted $F_n$. Let $Q = 94864 - F_n$. Find the value of $Q$.", "answer": 66207, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(19343))))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n1\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Const(28)), IsPrime(Var(\"n2\")))))), Const(0))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(94864),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_DIVISIBLE", "MAX_PRIME_BELOW/SUM_DIVISIBLE"], "recipe_id": "bf6e3f", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:33:14.293728Z", "verification": {"verified": true, "answer": 66207, "timestamp": "2026-02-08T15:33:14.297134Z"}, "problem_hash": "17df67", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "c3556c", "alias": "comb_sum_binomial_row_v1_784195855_1702", "problem": "Let $c = 17296$ and $m = 54587$. Let $k$ be the largest integer such that $11^k$ divides $12^{11} - 1$. Define $n$ to be the smallest divisor $d$ of $m$ such that $d \\geq k$. Let $s$ be the number of positive integers $p$ for which there exists a positive integer $q$ satisfying $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Define $\\text{result} = s^n$. Let $Q$ be the remainder when $c \\times \\text{result}$ is divided by $73463$. Find the value of $Q$.", "answer": 52168, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(17296),\n \"_m\": Const(54587),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(12), Const(11)), Const(1)), base=Const(11)),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(73463)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "6f2c57", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LTE_DIFF", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:13:53.802777Z", "verification": {"verified": true, "answer": 52168, "timestamp": "2026-02-08T05:13:53.806272Z"}, "problem_hash": "56a0af", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LTE_DIFF": "ok", "MIN_PRIME_FACTOR": "ok_later", "K15": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "d60201", "alias": "nt_sum_gcd_range_mod_v1_1520064083_3075", "problem": "Let $m = 17303$ and let $d$ be the smallest divisor of $m$ that is at least $2$. Let $N = \\sum_{k=1}^{104} k$ and let $k = 120$. Define $S = \\sum_{n=1}^{N} \\gcd(n, k)$. Let $r$ be the remainder when $S$ is divided by $11471$. Compute the Bell number of $|r| \\bmod d$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17303),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"N\": Summation(var=\"k\", start=Const(1), end=Const(104), expr=Var(\"k\")),\n \"k\": Const(120),\n \"M\": Const(11471),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_ARITHMETIC/ENDING_bell_mod"], "recipe_id": "d04c64", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.779, "created_at": "2026-02-08T05:27:05.152617Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T05:27:05.931966Z"}, "problem_hash": "a5671f", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "SUM_ARITHMETIC": "ok_later", "K15": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V7": "no", "V8": "no"}} -{"id": "c2d8e1", "alias": "algebra_poly_eval_v1_784195855_865", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 617400$, $\\gcd(p, q) = 1$, and $p < q$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 6$, and let $M$ be the maximum value of $x \\cdot y$ over all such pairs. Compute $a^3 - 3a^2 + M \\cdot a + 1$.", "answer": 393, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=617400)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": Sum(Pow(Ref(\"a\"), Ref(\"_m\")), Mul(Const(-3), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"a\")), EulerPhi(n=Const(1))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "ONE_PHI_1", "B1"], "recipe_id": "1de667", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:39:41.173410Z", "verification": {"verified": true, "answer": 393, "timestamp": "2026-02-08T04:39:41.180652Z"}, "problem_hash": "dd6dc7", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "V8": "no"}} -{"id": "1e0c8b", "alias": "sequence_lucas_compute_v1_50713871_36", "problem": "Let $L_n$ denote the $n$th Lucas number, where $L_1 = 1$, $L_2 = 3$, and $L_n = L_{n-1} + L_{n-2}$ for $n \\geq 3$. Compute the remainder when $94557 \\cdot L_{22}$ is divided by $85135$.", "answer": 77896, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(22),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": Const(94557),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85135)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MIN_PRIME_FACTOR", "BINOMIAL_ALTERNATING"], "recipe_id": "45f4ea", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T02:43:44.793379Z", "verification": {"verified": true, "answer": 77896, "timestamp": "2026-02-08T02:43:44.817113Z"}, "problem_hash": "2b9eb4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 77896, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 3316}, "timestamp": "2026-02-08T19:45:15.655Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 77896, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 2111}, "timestamp": "2026-02-09T19:17:33.734Z"}], "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "SUM_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "f38ac9", "alias": "antilemma_cartesian_v1_153355830_1797", "problem": "Let $A$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 24$ and $1 \\leq j \\leq 30$. Let $B$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 27$ and $1 \\leq j \\leq 151$. Compute the remainder when $B \\cdot A$ is divided by $61010$.", "answer": 6960, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61010),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(27)), right=IntegerRange(start=Const(1), end=Const(151)))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_affine_mod", "COUNT_CARTESIAN"], "recipe_id": "48cdc6", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_affine_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:37:40.117066Z", "verification": {"verified": true, "answer": 6960, "timestamp": "2026-02-08T06:37:40.117761Z"}, "problem_hash": "30fc2f", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_affine_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "74bd99", "alias": "antilemma_cartesian_v1_1520064083_2839", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\le a \\le 9$ and $1 \\le b \\le 43$. Let $c$ be the number of ordered pairs $(d,e)$ such that $1 \\le d \\le 11$ and $1 \\le e \\le 547$. Let $n = 67807$.\n\nCompute the remainder when $c \\cdot x$ is divided by $n$.", "answer": 23141, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67807),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(547)))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_affine_mod", "COUNT_CARTESIAN"], "recipe_id": "48cdc6", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_affine_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:14:35.845433Z", "verification": {"verified": true, "answer": 23141, "timestamp": "2026-02-08T05:14:35.846865Z"}, "problem_hash": "87a217", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "5e9b31", "alias": "antilemma_cartesian_v1_1742523217_1742", "problem": "Compute the remainder when the product of the number of ordered pairs $(a,b)$ with $1 \\leq a \\leq 61$, $1 \\leq b \\leq 104$, and the number of ordered pairs $(c,d)$ with $1 \\leq c \\leq 45$, $1 \\leq d \\leq 47$, is divided by $65939$.", "answer": 31943, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65939),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(45)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(61)), right=IntegerRange(start=Const(1), end=Const(104)))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_affine_mod", "COUNT_CARTESIAN"], "recipe_id": "48cdc6", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_affine_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:11:50.796980Z", "verification": {"verified": true, "answer": 31943, "timestamp": "2026-02-08T04:11:50.798684Z"}, "problem_hash": "1e6daa", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "654a6e", "alias": "antilemma_k2_v1_1874849503_1386", "problem": "Let $c = 67$ and $m = 529$. Define $n$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of 357, and then define $n$ again as the sum of $\\phi(d)$ over all positive divisors $d$ of that sum. Let $x = \\sum_{k=1}^{357} \\phi(k) \\left\\lfloor \\frac{n}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Compute the remainder when $x^2 + 23x + m$ is divided by 65915.", "answer": 47497, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(67),\n \"_m\": Const(529),\n \"_n\": SumOverDivisors(n=SumOverDivisors(n=Const(value=357), var='d', expr=EulerPhi(n=Var(name='d'))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Div(Const(67), Ref(\"_c\")), end=Const(357), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(23), Ref(\"x\")), Ref(\"_m\")), modulus=Const(65915)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/K3/K2", "IDENTITY_DIV_SELF", "K2"], "recipe_id": "047cbf", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF", "K2", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:52:02.963063Z", "verification": {"verified": true, "answer": 47497, "timestamp": "2026-02-08T13:52:02.965433Z"}, "problem_hash": "1b2e59", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_DIV_SELF": "ok", "K2": "ok", "K3": "ok", "C2": "no", "K14": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no"}} -{"id": "c819b3", "alias": "antilemma_sum_primes_v1_865884756_1108", "problem": "Let $d=11$ and $c=2$. Let $M$ be the number of integers $n$ such that $n\\ge c$, $n\\le L$, and $n$ is prime, where $L$ is the smallest integer greater than or equal to $2$ that divides $927147663858593$.\n\nLet $N$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=54$, $\\gcd(p,q)=1$, and $p p$ such that $p \\cdot q = 330750$ and $\\gcd(p, q) = 1$. Compute the remainder when $3^{|r|} + c$ is divided by 99991.", "answer": 11835, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87),\n \"upper\": Const(13456),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=330750)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_two_stage_modexp", "L3B"], "recipe_id": "0708fe", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_two_stage_modexp", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.039, "created_at": "2026-02-08T06:04:58.092087Z", "verification": {"verified": true, "answer": 11835, "timestamp": "2026-02-08T06:04:59.131475Z"}, "problem_hash": "59acd5", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok", "ENDING_two_stage_modexp": "ok_later", "K15": "no", "K18": "no", "K5": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "1c5cbf", "alias": "comb_count_permutations_fixed_v1_458359167_831", "problem": "Let $n$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Let $k$ be the largest prime number between $2$ and $5$, inclusive. Define $\\text{result} = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Let $Q = \\sum_{i=1}^{|\\text{result}|} \\tau(i)$, where $\\tau(i)$ is the number of positive divisors of $i$. Compute $Q$.", "answer": 8161, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Summation(var=\"n\", start=EulerPhi(n=Const(1)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_1", "B1"], "recipe_id": "2ae652", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:33:57.058543Z", "verification": {"verified": true, "answer": 8161, "timestamp": "2026-02-08T03:33:57.061135Z"}, "problem_hash": "d72ec1", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "C2": "no", "DS2": "no", "K16": "no", "L3b": "no", "MOD_ADD": "no"}} -{"id": "df6425", "alias": "nt_count_intersection_v1_458359167_1422", "problem": "Let $n$ be a positive integer. Consider all ordered pairs $(x, y)$ of positive integers such that $x + y = 200$. Let $N$ be the maximum value of $xy$ over all such pairs. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$, $7$ divides $n$, and $\\gcd(n, 10) = 1$. Let this number be $r$. Let $s$ be the number of positive integers $n$ with $1 \\leq n \\leq 64$ such that the sum of the decimal digits of $n$ is odd. Compute the remainder when $11^{|r|} + s$ is divided by $99991$.", "answer": 8916, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(200),\n \"N\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(7),\n \"b\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(64)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_two_stage_modexp", "B1"], "recipe_id": "5b57fb", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_two_stage_modexp", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.915, "created_at": "2026-02-08T04:36:20.837616Z", "verification": {"verified": true, "answer": 8916, "timestamp": "2026-02-08T04:36:22.752659Z"}, "problem_hash": "00ea1a", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "L3B": "ok", "ENDING_two_stage_modexp": "ok_later", "K16": "no", "K18": "no", "L3c": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "fb2a80", "alias": "nt_count_coprime_v1_1918700295_269", "problem": "Let $n_1 = 19$. Define $s = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n$ be the number of positive integers from $1$ to $2242$ inclusive whose digit sum is even. Define $h = \\left(\\sum_{d \\mid n} \\phi(d)\\right) - n$, where $\\phi$ is Euler's totient function. Let $k = 12 + s$ and let $u = 11093 + h$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 1$.", "answer": 3698, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"n1\": Const(19),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2242)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Sum(Const(11093), Ref(\"h\")),\n \"k\": Sum(Ref(\"_n\"), Ref(\"s\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "recipe_id": "cc425f", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3B", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.119, "created_at": "2026-02-08T03:08:08.344600Z", "verification": {"verified": true, "answer": 3698, "timestamp": "2026-02-08T03:08:09.463730Z"}, "problem_hash": "22ee5a", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "LIOUVILLE_MINUS_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "MOD_FACTORIAL": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "af5759", "alias": "antilemma_v1_legendre_1125832087_2364", "problem": "Let $c=69316$.\n\nLet $m$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 2$, $1\\le j\\le 9$, and $\\gcd(i,j)=1$.\n\nLet $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=18$, $\\gcd(p,q)=1$, and $p p$ such that $pq = 6$ and $\\gcd(p, q) = 1$. Compute the value of $$ \\sum_{i=0}^{k-1} \\left( \\text{the } i\\text{-th digit of } |F| \\right) \\cdot (i+1)^d + m, $$ where $k$ is the number of decimal digits of $|F|$.", "answer": 9685, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4702)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=9419)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"n\": Const(22),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS/ENDING_digits_weighted_mod"], "recipe_id": "2d4c9a", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_digits_weighted_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T14:00:20.719856Z", "verification": {"verified": true, "answer": 9685, "timestamp": "2026-02-08T14:00:20.730703Z"}, "problem_hash": "8bede5", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "COPRIME_PAIRS": "ok_later", "ENDING_digits_weighted_mod": "ok_later", "K5": "no", "L3c": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "324a55", "alias": "antilemma_v8_lucas_151522320_1160", "problem": "Let $P_1$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_1$ be the number of elements in $P_1$. Let $\\mu$ denote the Möbius function. Define $s = \\sum_{d \\mid d_1} \\mu(d)$, where the sum is over all positive divisors $d$ of $d_1$. Let $P_2$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_2$ be the number of elements in $P_2$. Let $m = 24511$. Determine the number of nonnegative integers $j$ such that $s \\leq j \\leq m$ and $\\binom{24511}{j} \\equiv 1 \\pmod{d_2}$.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24511),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='p'), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(24511), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS/V8", "COPRIME_PAIRS/MOBIUS_SUM/V8", "V8"], "recipe_id": "3ef3ab", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:49:35.043824Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T03:49:35.048699Z"}, "problem_hash": "671dc9", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok", "MOBIUS_SUM": "ok_later", "DS2": "no", "K15": "no", "K18": "no", "L3b": "no", "LTE_SUM": "no"}} -{"id": "10f10c", "alias": "nt_min_coprime_above_v1_458359167_545", "problem": "Let $u$ be the number of prime numbers $n$ such that $2 \\le n \\le 78583$. Let $r$ be the smallest integer $n$ such that $n > 7560$, $n \\le u$, and $\\gcd(n, 142) = 1$. Let $c$ be the number of positive integers $n$ such that $1 \\le n \\le 86$ and the sum of the decimal digits of $n$ is even. Compute the value of\n$$\n2^{|r|} \\bmod 99991 + c.\n$$", "answer": 50273, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86),\n \"start\": Const(7560),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(78583)), IsPrime(Var(\"n\"))))),\n \"modulus\": Const(142),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_two_stage_modexp", "COUNT_PRIMES"], "recipe_id": "89f937", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_two_stage_modexp", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.021, "created_at": "2026-02-08T03:24:15.022165Z", "verification": {"verified": true, "answer": 50273, "timestamp": "2026-02-08T03:24:15.043030Z"}, "problem_hash": "8b904b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_COPRIME_GRID": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_SUB": "no"}} -{"id": "6c551d", "alias": "nt_gcd_compute_v1_798873815_409", "problem": "Let $n = 46$. Let $k$ be the number of positive integers less than or equal to $n$ that are divisible by 23. Let $\\phi(k)$ denote Euler's totient function evaluated at $k$. Define $$e = \\sum_{d \\mid \\phi(k)} \\mu(d),$$ where $\\mu$ is the Möbius function. Now define $$s = \\sum_{d \\mid 1} \\mu(d).$$ Let $a = 364705 \\cdot s$ and $b = 629945 \\cdot e$. Compute $\\gcd(a, b)$.", "answer": 33155, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(46),\n \"n1\": EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(23), dividend=Var(\"k\"))), domain='positive_integers'))),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"s\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Mul(Const(364705), Ref(\"s\")),\n \"b\": Mul(Const(629945), Ref(\"e\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/ONE_PHI_2/MOBIUS_SUM"], "recipe_id": "251b17", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["C2", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T02:38:11.529495Z", "verification": {"verified": true, "answer": 33155, "timestamp": "2026-02-08T02:38:11.531234Z"}, "problem_hash": "35ae37", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33155, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:31:12.708Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 33155, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 689}, "timestamp": "2026-02-09T16:41:10.246Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 33155, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 7667}, "timestamp": "2026-02-09T18:00:58.326Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 33155, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 500}, "timestamp": "2026-02-08T23:57:03.084Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 33155, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 173, "completion_tokens": 933}, "timestamp": "2026-02-09T04:41:45.977Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:09:57.114Z"}], "lemma_applicability": {"C2": "ok", "MOBIUS_SUM": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "MOD_FACTORIAL": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -3.43, "mid": -0.25, "hi": 2.42}} -{"id": "2a242b", "alias": "antilemma_count_primes_v1_151522320_169", "problem": "Let $m = 23172$. Determine the number of positive integers $n$ with $1 \\le n \\le m$ such that the $n$th Fibonacci number is divisible by $16$. Let $k$ be this count. Now compute the number of prime numbers $p$ such that $2 \\le p \\le v$, where $v$ is the largest integer for which $17^v$ divides $17^k$. Find this number.", "answer": 294, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23172),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(16), dividend=Fibonacci(arg=Var(name='n')))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Pow(Const(17), Ref(\"_n\")), base=Const(17))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/K14/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "e809d0", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "COUNT_PRIMES", "K14"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:01:53.782233Z", "verification": {"verified": true, "answer": 294, "timestamp": "2026-02-08T03:01:53.784228Z"}, "problem_hash": "4fd60e", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 294, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 6967}, "timestamp": "2026-02-09T00:04:08.685Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "COUNT_PRIMES": "ok", "K14": "ok_later", "MOD_FACTORIAL": "no", "V1": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "d8c2ae", "alias": "nt_sum_divisors_mod_v1_1125832087_761", "problem": "Let $n_1 = 13 \\times 59$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ is the Möbius function. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 720$ and $n \\equiv 0 \\pmod{36}$. Let $n$ be the sum of the elements of $S$ plus $c$. Let $n_2$ be the number of positive integers $j$ such that $1 \\leq j \\leq 121$ and $j^2 \\leq 14641$. Let $f = \\omega(n_2)$, the number of distinct prime factors of $n_2$. Let $M = 10369 \\times f$. Let $\\sigma$ be the sum of all positive divisors of $n$. Compute the remainder when $\\sigma$ is divided by $M$.", "answer": 8062, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10369),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(121)), Leq(Pow(Var(\"j\"), Const(2)), Const(14641))), domain='positive_integers')),\n \"f\": SmallOmega(n=Ref(name='n2')),\n \"p\": Const(13),\n \"q\": Const(59),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(720)), Eq(Mod(value=Var(\"n\"), modulus=Const(36)), Const(0))))), Ref(\"c\")),\n \"M\": Mul(Ref(\"_n\"), Ref(\"f\")),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_SUM", "C3/OMEGA_ONE"], "recipe_id": "729280", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C3", "MOBIUS_SUM", "OMEGA_ONE", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:15:34.510627Z", "verification": {"verified": true, "answer": 8062, "timestamp": "2026-02-08T03:15:34.515809Z"}, "problem_hash": "2a6050", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "SUM_DIVISIBLE": "ok", "MOBIUS_SUM": "ok_later", "OMEGA_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "K5": "no", "L3b": "no"}} -{"id": "97dff4", "alias": "nt_count_phi_equals_v1_168721529_251", "problem": "Let $m=97597$ and let $n=2$. For each integer $j$ with $0\\le j\\le 97597$, consider the binomial coefficient $\\binom{m}{j}$. Let $\\text{upper}$ be the number of integers $j$ with $0\\le j\\le 97597$ such that\n$$\\binom{m}{j}\\equiv 1\\pmod{2}.$$\n\nLet $k$ be the largest integer such that $37^k$ divides $2^E$, where\n$$E=98839205880842349251933923831840948351247372227334264317396011213254682635706788808111136273652016993928545770698388386485578625834204463586936514122904824032833142011439807579232273876014102636881130385219652074059549344674784314128719962916274755397840064706262060880151365389922485286184086942130149168298684338766359387129997684068456831300818969734550661898317266664259922669361513406766994705730688611062758114884031963052475212712387065677010779255927982741121027793683555702547481868395402571483114566873572494656648945028261610659772377615763252834373323922759222768905869586611127451095567772867223351212869921231043139413264228991501073527627935209365246924391615594577816344535866284022073850945720800031827948482958977613834168266478501969192241626034927069996421907073346097932523336880400422286207332356716242180295379601885032479498590670159999833578394041435118376131960203775342692125881864898517723301475654471329246785437685956327647583413411564796120105816794497778402900833729871377490984829098000393119650051575327806449524687487496536407295773945453898315585670795322637526412178503167760706823567054560113276430648651459975284589623810115200174500488261519136519036915992021899549129375584652654565842435922429873135510683581256743271110938977002164446692017972198131564826583019274078349097491094441416089411552653428582190315031690618781256778587505707450442950733.$$\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le \\text{upper}$ such that $\\varphi(n)=k$, where $\\varphi$ denotes Euler's totient function. Compute $R$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97597),\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(97597)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"k\": MaxKDivides(target=Pow(Const(98839205880842349251933923831840948351247372227334264317396011213254682635706788808111136273652016993928545770698388386485578625834204463586936514122904824032833142011439807579232273876014102636881130385219652074059549344674784314128719962916274755397840064706262060880151365389922485286184086942130149168298684338766359387129997684068456831300818969734550661898317266664259922669361513406766994705730688611062758114884031963052475212712387065677010779255927982741121027793683555702547481868395402571483114566873572494656648945028261610659772377615763252834373323922759222768905869586611127451095567772867223351212869921231043139413264228991501073527627935209365246924391615594577816344535866284022073850945720800031827948482958977613834168266478501969192241626034927069996421907073346097932523336880400422286207332356716242180295379601885032479498590670159999833578394041435118376131960203775342692125881864898517723301475654471329246785437685956327647583413411564796120105816794497778402900833729871377490984829098000393119650051575327806449524687487496536407295773945453898315585670795322637526412178503167760706823567054560113276430648651459975284589623810115200174500488261519136519036915992021899549129375584652654565842435922429873135510683581256743271110938977002164446692017972198131564826583019274078349097491094441416089411552653428582190315031690618781256778587505707450442950733), Const(2)), base=Const(37)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["K14", "V8"], "recipe_id": "e021ed", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["K14", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.212, "created_at": "2026-02-08T12:55:54.611995Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T12:55:55.824085Z"}, "problem_hash": "9980a4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 752, "completion_tokens": 1432}, "timestamp": "2026-02-09T02:53:54.292Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 694, "completion_tokens": 454}, "timestamp": "2026-02-09T14:50:15.728Z"}], "lemma_applicability": {"K14": "ok", "V8": "ok", "C2": "no", "K15": "no", "L3b": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 0.37, "mid": 4.19, "hi": 8.01}} -{"id": "addf32", "alias": "nt_count_coprime_v1_784195855_4756", "problem": "Let $k = 40$ and let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 10753$ and $\\gcd(n, 40) = 1$. Let $d_0, d_1, \\dots, d_m$ be the decimal digits of $N$, where $d_0$ is the units digit. Define $A = \\sum_{i=0}^m d_i (i+1)^2$. Let $T$ be the set of all integers $d \\geq 2$ that divide 525. Let $m$ be the minimum element of $T$. Define $B = \\sum_{k=1}^3 \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor$, where $\\phi(k)$ is the number of positive integers less than or equal to $k$ that are relatively prime to $k$. Compute $A + B$.", "answer": 99, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(10753),\n \"k\": Const(40),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(525))))), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K2/ENDING_digits_weighted_mod"], "recipe_id": "7800f6", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "K2", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.867, "created_at": "2026-02-08T07:19:54.675529Z", "verification": {"verified": true, "answer": 99, "timestamp": "2026-02-08T07:19:57.542999Z"}, "problem_hash": "ab39b8", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_digits_weighted_mod": "ok_later", "K2": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K15": "no", "K5": "no", "V7": "no"}} -{"id": "2f20ae", "alias": "antilemma_sum_primes_v1_1742523217_2970", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 4$. Let $m$ be the minimum value of $x + y$ over all such pairs. Now let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $s$ be the minimum value of $x + y$ over all pairs in $T$. Compute the number of prime numbers $n$ such that $2 \\leq n \\leq s$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "6640d3", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:29:34.519156Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:29:34.522486Z"}, "problem_hash": "69f619", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "a5add9", "alias": "antilemma_cartesian_v1_1915831931_764", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 16$ and $1 \\leq b \\leq 23$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 22$. Compute the Bell number $B_r$, where $r$ is the remainder when $|x|$ is divided by $s$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(22),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COMB1/ENDING_bell_mod", "COUNT_CARTESIAN"], "recipe_id": "19f3ba", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_bell_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.047, "created_at": "2026-02-08T15:39:50.830980Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T15:39:50.878105Z"}, "problem_hash": "c42456", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "94a05a", "alias": "antilemma_product_of_sums_v1_677425708_915", "problem": "Let $n = 17$. Define $k_{\\text{max}}$ to be the largest integer $k$ such that $n^k$ divides $153!$. Let $S$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 9$ and $1 \\le j \\le 9$. Compute the value of\n$$\n93323 \\cdot \\left( \\sum_{k=1}^{k_{\\text{max}}} k \\right) \\cdot \\left( \\sum_{(i,j) \\in S} i \\cdot j \\right) \\mod 79638.\n$$", "answer": 73821, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=MaxKDivides(target=Factorial(Const(153)), base=Ref(\"_n\")), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"_c\": Const(93323),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(79638)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "3ecf1c", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:51:33.267747Z", "verification": {"verified": true, "answer": 73821, "timestamp": "2026-02-08T03:51:33.268812Z"}, "problem_hash": "5f8a92", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 73821, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 1646}, "timestamp": "2026-02-09T14:01:52.065Z"}], "lemma_applicability": {"PRODUCT_OF_SUMS": "ok", "V1": "ok", "SUM_ARITHMETIC": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "181447", "alias": "diophantine_fbi2_min_v1_1520064083_4719", "problem": "Let $m = \\sum_{d \\mid \\gcd\\left(8,\\, \\max\\{k : 2^k \\text{ divides } 16!\\}\\right)} \\mu(d)$. Define $k = \\sum_{i=m}^{4} i$. Let $d_{\\text{min}}$ be the smallest integer $d \\ge 2$ such that $d \\le 20$, $d$ divides $k$, and $k/d \\ge 2$.\n\nCompute $d_{\\text{min}}$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=8), b=MaxKDivides(target=Factorial(arg=Const(value=16)), base=Const(value=2))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(4), expr=Var(\"k\")),\n \"upper\": Const(20),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["V1/MOBIUS_COPRIME/SUM_ARITHMETIC"], "recipe_id": "0f2fa5", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T06:24:11.761626Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T06:24:11.799722Z"}, "problem_hash": "f29a99", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_ARITHMETIC": "ok_later", "K5": "same_pattern_wrong", "K13": "no", "K16": "no", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}} -{"id": "dd69c6", "alias": "nt_count_with_divisor_count_v1_865884756_882", "problem": "Let $\\phi$ denote Euler's totient function. Let $r$ be the number of positive integers $n$ such that $1 \\le n \\le 33489$ and $n$ has exactly four positive divisors. Let $c$ be the largest prime number less than or equal to $2007$. Let $t$ be the number of integers $s$ such that $23 \\le s \\le 655$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 13$, $1 \\le b \\le 129$, and $s = 10a + 4b + 9$. Compute the remainder when $\\left(r \\bmod{317}\\right) + c \\cdot \\left(r \\bmod{t}\\right)$ is divided by $90665$.", "answer": 19283, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2007),\n \"upper\": Const(33489),\n \"div_count\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(317)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=129)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=655)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=9))))))))))), modulus=Const(90665)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_two_moduli", "LIN_FORM/ENDING_two_moduli", "ONE_PHI_1"], "recipe_id": "4891ce", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "LIN_FORM", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 6.283, "created_at": "2026-02-08T15:40:19.738868Z", "verification": {"verified": true, "answer": 19283, "timestamp": "2026-02-08T15:40:26.021982Z"}, "problem_hash": "821e81", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "ENDING_two_moduli": "ok_later", "K13": "no", "K14": "no", "K16": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "ae27fb", "alias": "antilemma_coprime_grid_v1_153355830_527", "problem": "Let $p_1 = 17$, and let $q$ be the largest prime number $n$ such that $2 \\leq n \\leq 68$. Let $r = 23$ and define $n = p_1^2 \\cdot q \\cdot r$. Let $u = \\mu(n)^2$, where $\\mu$ denotes the Möbius function. Let $p = 2$ and define $t$ to be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 38$ and $1 \\leq j \\leq 151$ such that $\\gcd(i, j) = 1$. Compute the remainder when $ (44121 + t) \\cdot x $ is divided by $73180 + u$.", "answer": 68471, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(17),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(68)), IsPrime(Var(\"n\"))))),\n \"r\": Const(23),\n \"n\": Mul(Pow(Ref(\"p1\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"u\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"p\": Const(2),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(151))))),\n \"Q\": Mod(value=Mul(Sum(Const(44121), Ref(\"t\")), Ref(\"x\")), modulus=Sum(Const(73180), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "COUNT_COPRIME_GRID", "WILSON"], "recipe_id": "12d9af", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:08:32.324158Z", "verification": {"verified": true, "answer": 68471, "timestamp": "2026-02-08T03:08:32.326444Z"}, "problem_hash": "6a13bc", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "WILSON": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "K18": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b4a648", "alias": "antilemma_sum_equals_v1_865884756_1649", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 61$, $1 \\leq j \\leq 62$, and $i + j = 63$. Let $y$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12000$. Compute the value of $x^2 + x + y$.", "answer": 9782, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(61)), right=IntegerRange(start=Const(1), end=Const(62))))),\n \"Q\": Sum(Pow(Ref(\"x\"), Const(2)), Ref(\"x\"), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(12000)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_quadratic_mod", "COUNT_SUM_EQUALS"], "recipe_id": "eea798", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T16:12:11.549574Z", "verification": {"verified": true, "answer": 9782, "timestamp": "2026-02-08T16:12:11.556892Z"}, "problem_hash": "389a7d", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "0b2182", "alias": "comb_sum_binomial_row_v1_1520064083_92", "problem": "Let $\\mu(n)$ denote the M\\\"obius function. Let $a = \\sum_{d\\mid \\gcd(4,9)} \\mu(d)$. Let $b = \\max\\{ k \\mid 2^k \\text{ divides } 2^5 \\}$. Define $n = \\sum_{k=a}^{b} k$. \n\nLet $r = 2^n$. Compute the remainder when $25609 \\cdot r$ is divided by 62575.", "answer": 24962, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxKDivides(target=Pow(Const(2), Const(5)), base=Const(2)),\n \"n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Pow(Ref(\"_m\"), Ref(\"n\")),\n \"_c\": Const(25609),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(62575)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/SUM_ARITHMETIC", "MOBIUS_COPRIME"], "recipe_id": "c96174", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K14", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:00:05.814173Z", "verification": {"verified": true, "answer": 24962, "timestamp": "2026-02-08T03:00:05.816121Z"}, "problem_hash": "cbf91d", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "MOD_ADD": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}} -{"id": "cb7023", "alias": "comb_factorial_compute_v1_677425708_975", "problem": "Let $m = 66$ and $n = 6$. Define $S$ to be the set of all positive integers $k$ such that $1 \\leq k \\leq 66$, $6$ divides $k$, and $\\gcd(k, 35) = 1$. Let $n$ be the number of elements in $S$. Define $r = n!$. Let $T$ be the set of all integers $d \\geq 2$ such that $d$ divides $537251$. Let $m$ be the minimum element of $T$. Compute the Bell number $B_r$ modulo $m$, and let $Q$ be the remainder when this value is divided by $m$. Find the value of $Q$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66),\n \"_n\": Const(6),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_bell_mod", "C5"], "recipe_id": "9ea0cc", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_bell_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:54:44.539742Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T03:54:44.541696Z"}, "problem_hash": "84d89d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 273, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:34:20.579Z"}], "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "8effe8", "alias": "nt_count_divisors_in_range_v1_1978505735_473", "problem": "Let $n = 332640$, $a = 47$, and $b = 332642$. Define $d$-count as the number of divisors of $n$ that are at least $a$ and at most $b$. Let $s$ be the minimum value of $d_1$ such that $d_1 \\geq 2$ and $d_1$ divides $347633$. Let $c$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 11$ and $1 \\leq j \\leq 11$ such that $i + j = s$. Compute the value of\n$$\nQ = \\left( 353702 \\cdot (|d\\text{-count}| \\bmod 97) + 329703 \\cdot \\left( |d\\text{-count}|^2 + 1 \\right) \\bmod 101 + 215534 \\cdot (|d\\text{-count}| + c) \\bmod 103 \\right) \\bmod 78107.\n$$", "answer": 57718, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(97),\n \"n\": Const(332640),\n \"a\": Const(47),\n \"b\": Const(332642),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(347633)))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_m\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(78107)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_SUM_EQUALS/ENDING_crt_mix_3"], "recipe_id": "8e46bf", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_crt_mix_3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.215, "created_at": "2026-02-08T15:24:02.581300Z", "verification": {"verified": true, "answer": 57718, "timestamp": "2026-02-08T15:24:05.796740Z"}, "problem_hash": "49baab", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "ENDING_crt_mix_3": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V3": "no"}} -{"id": "bc76c2", "alias": "antilemma_k2_v1_168721529_1598", "problem": "Let $m$ be the sum of all integers $x$ satisfying\n$$x^2-221x+11398=0.$$\nLet $n$ be the value of\n$$\\sum_{d\\mid 221} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Define\n$$X=\\sum_{k=1}^{n} \\varphi(k)\\left\\lfloor \\frac{m}{k} \\right\\rfloor.$$\nCompute $X$. ", "answer": 24531, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11398),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-221), Var(\"x\")), Ref(\"_c\")), Const(0)))),\n \"_n\": SumOverDivisors(n=Const(value=221), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/K3/K2", "IDENTITY_POW_ZERO", "K2"], "recipe_id": "42f75d", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "K2", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T13:48:20.390914Z", "verification": {"verified": true, "answer": 24531, "timestamp": "2026-02-08T13:48:20.395326Z"}, "problem_hash": "b124c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:19:43.792Z"}], "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "K16": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no", "V5": "no"}} -{"id": "500844", "alias": "antilemma_v1_legendre_458359167_264", "problem": "Let $n$ be an integer such that $2 \\leq n \\leq 59$. Define $p$ to be the number of prime numbers in this range. Let $x$ be the largest integer $k$ such that $p^k$ divides $16490!$. Compute the value of $$\nQ = x + \\phi(|x| + 1) + \\tau(|x| + 1),\n$$ where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 2062, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59),\n \"x\": MaxKDivides(target=Factorial(Const(16490)), base=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/V1", "ONE_PHI_1", "V1"], "recipe_id": "444cff", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ONE_PHI_1", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:09:39.494942Z", "verification": {"verified": true, "answer": 2062, "timestamp": "2026-02-08T03:09:39.498430Z"}, "problem_hash": "e7b515", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "ONE_PHI_1": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "f1567a", "alias": "diophantine_product_count_v1_784195855_5479", "problem": "Let $k = 1260$ and $u = 341$. Determine the number of positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$. Find the value of this count.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(341),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_ONE", "B3/LIOUVILLE_ONE", "C4/BIG_OMEGA_ONE"], "recipe_id": "72b3ce", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "BIG_OMEGA_ONE", "C4", "LIN_FORM", "LIOUVILLE_ONE"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.084, "created_at": "2026-02-08T07:55:43.043693Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T07:55:43.127989Z"}, "problem_hash": "9427f8", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok", "LIN_FORM": "ok", "BIG_OMEGA_ONE": "ok_later", "LIOUVILLE_ONE": "ok_later", "K14": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "02f86a", "alias": "nt_sum_divisors_range_v1_1125832087_1659", "problem": "Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12800$. Let $N$ be the number of elements in $T$.\n\nDefine $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq N$. For each $n \\in S$, let $d(n)$ denote the number of positive divisors of $n$. Let $R$ be the sum of $d(n)$ over all $n \\in S$.\n\nLet $U$ be the set of all integers $t$ such that $12 \\leq t \\leq 138$ and there exist positive integers $a \\in [1, 8]$, $b \\in [1, 14]$ satisfying $t = 5a + 7b$.\n\nDefine\n\\[\nQ = \\left( 353702 \\cdot (|R| \\bmod 97) + 329703 \\cdot (R^2 + 1) \\bmod 101 + 215534 \\cdot (|R| + 4) \\bmod |U| \\right) \\bmod 1009091,\n\\]\nand compute $Q \\bmod 70562$.", "answer": 65218, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(12800))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(4)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=138)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))))), modulus=Const(1009091)), modulus=Const(70562)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_crt_mix_3", "COMB1"], "recipe_id": "97ab0a", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_crt_mix_3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.227, "created_at": "2026-02-08T03:51:33.903662Z", "verification": {"verified": true, "answer": 65218, "timestamp": "2026-02-08T03:51:34.130588Z"}, "problem_hash": "9b6ff8", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "ENDING_crt_mix_3": "ok_later", "K15": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V3": "no"}} -{"id": "3e9602", "alias": "diophantine_fbi2_count_v1_168721529_1631", "problem": "Let $k = 120$. Consider the set of all positive integers $d$ such that $6 \\leq d \\leq 71$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 69$. Let $c$ be the number of such integers $d$. Let $p$ be the smallest prime divisor of $1031153$ that is at least $2$. Let $e$ be the largest integer such that $p^e$ divides $39489866916375102219278017206265372441321312432012354374704009791492145486425481672270739080044868417195748784690747755692027826138010400671494643308710197285017032508918902750242575126346153399437958687798992589866772633882103309^{31}$. Compute $e \\cdot c$.", "answer": 38936, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(31),\n \"k\": Const(120),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Const(71)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(69))))),\n \"Q\": Mul(MaxKDivides(target=Pow(Const(39489866916375102219278017206265372441321312432012354374704009791492145486425481672270739080044868417195748784690747755692027826138010400671494643308710197285017032508918902750242575126346153399437958687798992589866772633882103309), Ref(\"_n\")), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1031153)))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K14/ENDING_affine_mod"], "recipe_id": "63d995", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "K14", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T13:49:13.185731Z", "verification": {"verified": true, "answer": 38936, "timestamp": "2026-02-08T13:49:13.201047Z"}, "problem_hash": "6ceb67", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:39:06.503Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_affine_mod": "ok_later", "K14": "ok_later", "L3b": "no", "LTE_SUM": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "9e5e49", "alias": "nt_gcd_compute_v1_865884756_720", "problem": "Let $p_1$ be the largest prime number $n_2$ such that\n$$n_2\\ge M \\quad\\text{and}\\quad n_2\\le 58,$$\nwhere $M$ is the number of positive integers $p_2$ for which there exists a positive integer $q$ satisfying\n$$p_2q=54,\\quad \\gcd(p_2,q)=1,\\quad p_2 p$ such that $pq = 22050$ and $\\gcd(p,q) = 1$. Let $u = 67600$. Determine the number of integers $n$ with $1 \\leq n \\leq u$ such that $n \\equiv r \\pmod{m}$.", "answer": 7511, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(67600),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=22050)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=3), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "b446a4", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.188, "created_at": "2026-02-08T02:59:01.182876Z", "verification": {"verified": true, "answer": 7511, "timestamp": "2026-02-08T02:59:03.371251Z"}, "problem_hash": "54d03b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:45:37.791Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7511, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 2178}, "timestamp": "2026-02-08T22:47:29.050Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "K16": "no", "K5": "no", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 3.6, "mid": 7.25, "hi": 10.0}} -{"id": "ed609b", "alias": "modular_count_residue_v1_784195855_51", "problem": "Let $m = 4$ and $n = 44121$. Define $\\text{upper} = 55440$. Let $a$ be the largest integer such that $29^a$ divides $24389^{323}$. Let $b$ be the largest integer such that $17^b$ divides $a!$. Let $r$ be the number of positive integers $k$ with $1 \\leq k \\leq 120$ such that $b$ divides $k$. Let $\\text{result}$ be the number of integers $n$ with $1 \\leq n \\leq \\text{upper}$ such that $n \\equiv r \\pmod{m}$. Compute the remainder when $n \\cdot \\text{result}$ is divided by $55471$.", "answer": 4756, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(44121),\n \"upper\": Const(55440),\n \"m\": Const(4),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(120)), Divides(divisor=MaxKDivides(target=Factorial(MaxKDivides(target=Pow(Const(24389), Const(323)), base=Const(29))), base=Ref(\"_m\")), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(55471)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/V1/C2"], "recipe_id": "835b24", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "K14", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.857, "created_at": "2026-02-08T02:55:23.756483Z", "verification": {"verified": true, "answer": 4756, "timestamp": "2026-02-08T02:55:25.613870Z"}, "problem_hash": "89eb8f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 4756, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 2004}, "timestamp": "2026-02-08T22:13:53.643Z"}], "lemma_applicability": {"K14": "ok", "C2": "ok_later", "V1": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "a4e6c9", "alias": "antilemma_sum_primes_v1_168721529_1455", "problem": "Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 6241$. Let $s_{\\text{min}}$ be the minimum value of $x + y$ over all such pairs. Let $m = 2$. Compute the sum of all prime numbers $n$ such that $m \\leq n \\leq s_{\\text{min}}$ and $n$ is divisible by 79.", "answer": 5350, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6241)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=Const(79)), Const(0)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["B3/SUM_DIVISIBLE/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "d19ad1", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T13:42:38.953436Z", "verification": {"verified": true, "answer": 5350, "timestamp": "2026-02-08T13:42:38.966238Z"}, "problem_hash": "589b57", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 79, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 579}, "timestamp": "2026-02-09T17:19:38.454Z"}], "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "SUM_DIVISIBLE": "ok_later", "DS2": "no", "K17": "no", "K5": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "64771c", "alias": "nt_sum_divisors_range_v1_124444284_602", "problem": "Let $m = 493$. Define $k$ to be the number of integers $n$ such that $n \\geq \\phi(2)$, $n \\leq m$, and $\\gcd(n, 20) = 1$, where $\\phi$ is Euler's totient function. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = k$. Let $u$ be the maximum value of $xy$ as $(x, y)$ ranges over $T$. Compute the sum of the number of positive divisors of each integer from $1$ to $u$.", "answer": 91613, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(493),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1))))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/B1", "ONE_PHI_2"], "recipe_id": "989954", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C4", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.347, "created_at": "2026-02-08T03:22:45.783067Z", "verification": {"verified": true, "answer": 91613, "timestamp": "2026-02-08T03:22:46.130158Z"}, "problem_hash": "646678", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:42:47.241Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 91613, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 5852}, "timestamp": "2026-02-09T03:53:58.860Z"}], "lemma_applicability": {"C4": "ok", "ONE_PHI_2": "ok", "B1": "ok_later", "C2": "no", "K14": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "3e20d5", "alias": "modular_mod_compute_v1_784195855_3311", "problem": "Consider all ordered pairs $(x,y)$ of positive integers such that $x+y=156$. Let $P$ be the set of all products $xy$ over these pairs, and let $a$ be the maximum element of $P$.\n\nLet $m=59536$, and let $r$ be the remainder when $a$ is divided by $m$.\n\nLet $M$ be the maximum prime in the set of all integers $n$ with $2\\le n\\le S$ such that $n$ is prime, where\n$$S=\\sum_{k=1}^{14} \\varphi(k)\\left\\lfloor \\frac{14}{k} \\right\\rfloor,$$\nand $\\varphi$ is Euler's totient function.\n\nLet $c=30$ and $d=101$, and define\n\\[\nX = 353702\\cdot (|r| \\bmod 97)\n + 329703\\cdot \\bigl((|r|^2+1) \\bmod d\\bigr)\n + 215534\\cdot \\bigl((|r|+c) \\bmod M\\bigr).\n\\]\nLet $Y$ be the remainder when $X$ is divided by $1009091$, and let $Q$ be the remainder when $Y$ is divided by $61252$, so that $0\\le Q<61252$. Find the value of $Q$.", "answer": 53729, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(61252),\n \"a\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(156)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(59536),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": Const(30),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Const(14), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(14), Var(\"k\")))))), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MAX_PRIME_BELOW/ENDING_crt_mix_3", "B1"], "recipe_id": "50766d", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "ENDING_crt_mix_3", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T06:20:01.946913Z", "verification": {"verified": true, "answer": 53729, "timestamp": "2026-02-08T06:20:01.954014Z"}, "problem_hash": "e528a1", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "K2": "ok", "ENDING_crt_mix_3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "87333b", "alias": "antilemma_k3_v1_151522320_807", "problem": "Let $m = \\sum_{d\\mid 29} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $n = 27021$ and let $x = \\sum_{d\\mid n} \\phi(d)$. Let $S$ be the set of all integers $x$ such that $x^2 - 12x - 9964 = 0$. Compute the remainder when $x^2 + m \\cdot x + \\sum S$ is divided by $75154$.", "answer": 45412, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": SumOverDivisors(n=Const(value=29), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_n\": Const(27021),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"x\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-12), Var(\"x\")), Const(-9964)), Const(0))))), modulus=Const(75154)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/VIETA_SUM/ENDING_quadratic_mod", "K3"], "recipe_id": "dfc3e0", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:32:57.374005Z", "verification": {"verified": true, "answer": 45412, "timestamp": "2026-02-08T03:32:57.377073Z"}, "problem_hash": "c3ece4", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "ENDING_quadratic_mod": "ok_later", "VIETA_SUM": "ok_later", "K13": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "66329a", "alias": "nt_euler_phi_compute_v1_784195855_693", "problem": "Let $n=81796$, and let $\\varphi(n)$ denote the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nLet $X$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=36$, and let $A$ be the minimum of the set of all values of $x+y$ as $(x,y)$ ranges over $X$.\n\nLet $Y$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x+y=10$, and let $B$ be the maximum of the set of all values of $xy$ as $(x,y)$ ranges over $Y$.\n\nLet $g=\\gcd(A,B)$. Define\n$$T=\\sum_{d\\mid g} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function.\n\nLet\n$$S=\\sum_{k=1}^{5} k,$$\nand let $m$ be the remainder when $\\varphi(n)$ is divided by $S$.\n\nLet $E$ be the remainder when $2^{m}$ is divided by $64328$.\n\nLet\n$$Q=\\varphi(n)+E.$$\n\nFind the value of $Q$.", "answer": 34321, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(81796),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=36)))), expr=Sum(Var(name='x'), Var(name='y')))), b=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=10)))), expr=Mul(Var(name='x'), Var(name='y'))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(5), expr=Var(\"k\")))), modulus=Const(64328))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME/SUM_ARITHMETIC/ENDING_mod_exp", "B3/MOBIUS_COPRIME/SUM_ARITHMETIC/ENDING_mod_exp"], "recipe_id": "6a6262", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_mod_exp", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T04:33:52.106210Z", "verification": {"verified": true, "answer": 34321, "timestamp": "2026-02-08T04:33:52.109445Z"}, "problem_hash": "7259ee", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "ENDING_mod_exp": "ok_later", "MOBIUS_COPRIME": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no"}} -{"id": "86b672", "alias": "nt_sum_totient_over_divisors_v1_458359167_2369", "problem": "Let $c = 5$. Define $m = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor$, where $\\phi(k)$ is Euler's totient function. Let $n = \\sum_{k=1}^{m} k$. Compute $\\sum_{d \\mid n} \\phi(d)$, where the sum is over all positive divisors $d$ of $n$.", "answer": 7260, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_c\"), Var(\"k\"))))),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC", "K2/SUM_ARITHMETIC"], "recipe_id": "7097d0", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T05:20:01.843831Z", "verification": {"verified": true, "answer": 7260, "timestamp": "2026-02-08T05:20:01.849374Z"}, "problem_hash": "1e8406", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "18c5dd", "alias": "comb_count_surjections_v1_1440796553_527", "problem": "Let $m$ be the number of ordered pairs $(i, j)$ where $i$ is an integer from $1$ to $4$ and $j$ is an integer from $1$ to $6$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Now, let $k$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Given $n = 6$, compute the value of $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 720, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"n\": Const(6),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COUNT_CARTESIAN/COMB1", "COMB1/COMB1"], "recipe_id": "31f701", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.024, "created_at": "2026-02-08T11:50:43.194997Z", "verification": {"verified": true, "answer": 720, "timestamp": "2026-02-08T11:50:43.219086Z"}, "problem_hash": "979da0", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "15cd64", "alias": "nt_sum_divisors_compute_v1_1874849503_610", "problem": "Compute the remainder when $44121$ times the sum of the positive divisors of 63903 is divided by 68395.", "answer": 2495, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(63903),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(68395)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/DIVISOR_PARITY", "B3/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "6b6923", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "DIVISOR_PARITY", "LTE_SUM", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.035, "created_at": "2026-02-08T13:13:18.692459Z", "verification": {"verified": true, "answer": 2495, "timestamp": "2026-02-08T13:13:18.727116Z"}, "problem_hash": "fa5276", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2495, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 2651}, "timestamp": "2026-02-09T19:01:43.120Z"}], "lemma_applicability": {"B3": "ok", "LTE_SUM": "ok", "MOBIUS_SUM": "ok", "DIVISOR_PARITY": "ok_later", "K15": "no", "K17": "no", "K18": "no", "L3b": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "207693", "alias": "nt_euler_phi_compute_v1_677425708_1952", "problem": "Consider all ordered pairs $(x,y)$ of positive integers such that $xy=81$. Let $m$ be the minimum value of $x+y$ over all such pairs $(x,y)$.\n\nLet $p$ be the largest prime number $n$ such that $2\\le n\\le m$.\n\nDefine\n$$r\\equiv (p-1)!+1 \\pmod p, \\quad 0\\le r 0 \\\\ xy = 100}} (x + y)\\right) \\cdot \\ell$$ is divided by $86895$.", "answer": 18924, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(1761),\n \"b\": Const(996),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(396900)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Var(\"d\"), dividend=Const(1609020))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(86895)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_DIVISOR/ENDING_quadratic_mod", "B3/ENDING_quadratic_mod"], "recipe_id": "5e091f", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_quadratic_mod", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:11:53.149264Z", "verification": {"verified": true, "answer": 18924, "timestamp": "2026-02-08T05:11:53.153454Z"}, "problem_hash": "160c61", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ENDING_quadratic_mod": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no"}} -{"id": "b77b8c", "alias": "antilemma_count_primes_v1_677425708_2209", "problem": "Let $s$ be the number of prime factors of $1$, counted with multiplicity. Let $p = 29$ and $n = p^3$. Define $v = \\lambda(n) + 1 + s$, where $\\lambda(n) = (-1)^{\\Omega(n)}$ and $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Let $N = 821 + v$. Let $x$ be the number of prime numbers between $2$ and $N$, inclusive. Compute the remainder when $44121x$ is divided by $61147$.", "answer": 28188, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(29),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"s\")),\n \"_n\": Sum(Const(821), Ref(\"v\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(61147)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "550719", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T04:51:05.778606Z", "verification": {"verified": true, "answer": 28188, "timestamp": "2026-02-08T04:51:05.779479Z"}, "problem_hash": "9612c2", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "LIOUVILLE_MINUS_ONE": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "fbd503", "alias": "nt_sum_divisors_mod_v1_548369836_334", "problem": "Let $n = \\sum_{k=1}^{15} \\phi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $\\sigma$ be the sum of the positive divisors of $n$. Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 294849$. Let $Q$ be the remainder when $m \\cdot (\\sigma \\bmod 10559)$ is divided by $97889$. Compute $Q$.", "answer": 97293, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"n\": Summation(var=\"k\", start=Const(1), end=Const(15), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"M\": Const(10559),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(294849)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(97889)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_affine_mod", "K2"], "recipe_id": "6cbec7", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_affine_mod", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:52:09.794281Z", "verification": {"verified": true, "answer": 97293, "timestamp": "2026-02-08T02:52:09.797076Z"}, "problem_hash": "12cab9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 97293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 1981}, "timestamp": "2026-02-08T20:21:44.541Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 97293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 1677}, "timestamp": "2026-02-09T22:46:42.961Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 14643, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 512}, "timestamp": "2026-02-09T04:57:21.889Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 97293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 1224}, "timestamp": "2026-02-09T13:15:17.872Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 8192}, "timestamp": "2026-02-09T11:27:46.097Z"}], "lemma_applicability": {"B3": "ok", "K2": "ok", "ENDING_affine_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 0.7, "mid": 4.15, "hi": 7.47}} -{"id": "36315f", "alias": "antilemma_v7_kummer_1918700295_641", "problem": "Let $n = 235$ and consider the binomial coefficient $\\binom{n}{94}$. Let $x$ be the largest integer such that $3^x$ divides $\\binom{235}{94}$.\n\nLet $c$ be the largest prime number not exceeding $7006$.\n\nCompute the value of\n$$\nx \\bmod 199 + c \\cdot (x \\bmod 499).\n$$", "answer": 7002, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(235),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(94)), base=Const(3)),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(7006)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Const(199)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(499)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_two_moduli", "V7"], "recipe_id": "96b993", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T03:21:23.082857Z", "verification": {"verified": true, "answer": 7002, "timestamp": "2026-02-08T03:21:23.121189Z"}, "problem_hash": "57d9bb", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V7": "ok", "ENDING_two_moduli": "ok_later", "K13": "no", "MOD_ADD": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "5d70a4", "alias": "nt_count_digit_sum_v1_1742523217_4346", "problem": "Let $S$ be the set of all integers $t$ such that $33 \\leq t \\leq 30081$ and $t = 21a + 12b$ for some positive integers $a \\leq 1017$ and $b \\leq 727$. Let $U$ be the number of positive integers $n$ such that $1 \\leq n \\leq |S|$ and the sum of the decimal digits of $n$ is $15$. Let $M$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 6$. Compute the remainder when $U^2 + U + M$ is divided by $76604$.", "answer": 44649, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1017)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=727)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=30081)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"target_sum\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(1), Ref(\"result\")), Ref(\"_c\")), modulus=Const(76604)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_quadratic_mod", "LIN_FORM"], "recipe_id": "cfe88d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.419, "created_at": "2026-02-08T07:12:48.550876Z", "verification": {"verified": true, "answer": 44649, "timestamp": "2026-02-08T07:12:48.970123Z"}, "problem_hash": "fec934", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "63adae", "alias": "antilemma_k2_v1_151522320_1456", "problem": "Let $x = \\sum_{k=1}^{342} \\phi(k) \\left\\lfloor \\frac{342}{k} \\right\\rfloor$. Compute the remainder when $x^2 + \\left( \\sum_{d \\mid 33} \\phi(d) \\right) x + 200$ is divided by $95646$.", "answer": 1910, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(200),\n \"x\": Summation(var=\"k\", start=Const(1), end=Const(342), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(342), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(SumOverDivisors(n=Const(value=33), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"x\")), Ref(\"_n\")), modulus=Const(95646)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/ENDING_quadratic_mod", "K2"], "recipe_id": "4a5a8c", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K2", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:01:53.544656Z", "verification": {"verified": true, "answer": 1910, "timestamp": "2026-02-08T04:01:53.545884Z"}, "problem_hash": "da18e0", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "K3": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_SUB": "no"}} -{"id": "dfc0e0", "alias": "comb_sum_binomial_row_v1_784195855_6042", "problem": "Let $a = 4$ and $b = 0!$. Define $n_2 = a + b$. Let $u = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$. Let $n_1 = 0$ and $c = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Let $n$ be $c$ multiplied by the number of ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 11$, $1 \\leq j \\leq 11$, and $i + j = 12$. Compute the value of $(2 + u)^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(4),\n \"b\": Factorial(Const(0)),\n \"n2\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"c\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(11))))), Ref(\"c\")),\n \"result\": Pow(Sum(Const(2), Ref(\"u\")), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "ONE_FACTORIAL_0"], "recipe_id": "8725f6", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "ONE_FACTORIAL_0"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T08:16:52.120814Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T08:16:52.134654Z"}, "problem_hash": "a1903c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_FACTORIAL_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no"}} -{"id": "fa3f18", "alias": "antilemma_cartesian_v1_153355830_1368", "problem": "Let $N=65704$. Let $X$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 25$ and $1\\le j\\le 32$.\n\nLet $S$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 1006$, $1\\le b\\le 285$, $16\\le t\\le 8886$, and\n$$t=6a+10b.$$\nLet $C$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=S.$$\nLet $Q$ be the remainder when $CX$ is divided by $N$.\nFind the value of $Q$. ", "answer": 31448, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65704),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1006)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=285)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=8886)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))))))))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/ENDING_affine_mod", "COMB1/COMB1/ENDING_affine_mod", "COUNT_CARTESIAN"], "recipe_id": "1d3ac4", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_affine_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T06:21:18.038357Z", "verification": {"verified": true, "answer": 31448, "timestamp": "2026-02-08T06:21:18.041665Z"}, "problem_hash": "648841", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "92a6c4", "alias": "antilemma_sum_primes_v1_1125832087_622", "problem": "Let $n$ be the largest integer such that $31^n$ divides $31^{21}$. Compute the sum of all prime numbers $p$ such that $2 \\leq p \\leq n$.", "answer": 77, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Pow(Const(31), Const(21)), base=Const(31))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["K14/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "4b6635", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["K14", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T03:10:14.026969Z", "verification": {"verified": true, "answer": 77, "timestamp": "2026-02-08T03:10:14.039066Z"}, "problem_hash": "f99f81", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "SUM_PRIMES": "ok", "C2": "no", "K15": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}} -{"id": "187c11", "alias": "nt_euler_phi_compute_v1_1520064083_1275", "problem": "Let $m=3$. For each positive integer $n$, let $v_3(n!)$ be the largest integer $k$ such that $3^k$ divides $n!$. Let $n_1$ be the smallest positive integer $n$ such that $v_3(n!)\\ge 218$.\n\nLet $\\tau(n)$ denote the number of positive divisors of $n$. Let $h$ be the remainder when $\\tau(n_1)$ is divided by the number of ordered pairs $(p,q)$ of positive integers such that\n$$pq=54,\\quad \\gcd(p,q)=1,\\quad p0$, so $M=R+2$).\n\nLet $F_1,F_2,\\dots$ be the Fibonacci sequence defined by $F_1=1$, $F_2=1$, and $F_{k+2}=F_{k+1}+F_k$ for all $k\\ge 1$. Let $Q$ be the smallest positive integer $k$ such that $F_k$ is divisible by $M$.\n\nCompute $Q$.", "answer": 3540, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(31769),\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(218)), domain='Z_{>0}')),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"p\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=29)), Leq(left=Var(name='t'), right=Const(value=131)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=8)))))))), Ref(\"h\")),\n \"e\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/DIVISOR_PARITY/BIG_OMEGA_ONE", "COPRIME_PAIRS/DIVISOR_PARITY", "V5/DIVISOR_PARITY"], "recipe_id": "f149ba", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COPRIME_PAIRS", "DIVISOR_PARITY", "LIN_FORM", "V5"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T03:53:58.778922Z", "verification": {"verified": true, "answer": 3540, "timestamp": "2026-02-08T03:53:58.796443Z"}, "problem_hash": "cc3631", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "V5": "ok", "BIG_OMEGA_ONE": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "659fde", "alias": "nt_count_intersection_v1_784195855_1573", "problem": "Let $N$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 6250000$. Let $a$ be the smallest divisor of $31603$ that is at least $2$. Let $b = \\sum_{k=1}^{3} k$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$.", "answer": 151, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(31603),\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "SUM_ARITHMETIC", "B3"], "recipe_id": "2f1480", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.666, "created_at": "2026-02-08T05:08:58.600314Z", "verification": {"verified": true, "answer": 151, "timestamp": "2026-02-08T05:09:01.266551Z"}, "problem_hash": "452e15", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_ARITHMETIC": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MOD_FACTORIAL": "no", "V5": "no"}} -{"id": "e0b8a7", "alias": "nt_euler_phi_compute_v1_458359167_1142", "problem": "Let $p$ be the greatest prime number $n$ such that $n\\le 72$ and $n$ is at least as large as the number of positive integers $p$ for which there exists a positive integer $q$ satisfying $pq=216$, $\\gcd(p,q)=1$, and $p 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Let $C$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 16747$. Compute $C - r$. Find the value.", "answer": 1936, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(2),\n \"b\": Const(-5),\n \"c\": Const(7),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=120)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(16747)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/ENDING_negation_mod", "COPRIME_PAIRS/COPRIME_PAIRS"], "recipe_id": "7f6cc4", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T15:31:12.230306Z", "verification": {"verified": true, "answer": 1936, "timestamp": "2026-02-08T15:31:12.243651Z"}, "problem_hash": "155fc8", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "ENDING_negation_mod": "ok_later", "K18": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "d59384", "alias": "nt_count_coprime_v1_1742523217_3909", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 49284$ and $\\gcd(n, 10) = 1$. Let $A$ be the number of such integers $n$.\n\nLet $B$ be the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 36$, and $\\gcd(p, q) = 1$.\n\nLet $C$ be the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 18$, and $\\gcd(p, q) = 1$.\n\nDefine $D = \\sum_{i=0}^{k-1} d_i \\cdot (i + B)^C$, where $k$ is the number of digits of $A$, $d_i$ is the $i$-th digit of $A$ (starting from the units digit as $i=0$), and the sum is taken over all digit positions.\n\nCompute $D + 19881$.", "answer": 20121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19881),\n \"upper\": Const(49284),\n \"k\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2/ENDING_digits_weighted_mod", "COPRIME_PAIRS/ENDING_digits_weighted_mod"], "recipe_id": "eb2f09", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_digits_weighted_mod", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 7.758, "created_at": "2026-02-08T06:07:56.993416Z", "verification": {"verified": true, "answer": 20121, "timestamp": "2026-02-08T06:08:04.751651Z"}, "problem_hash": "82719f", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ENDING_digits_weighted_mod": "ok_later", "ONE_PHI_2": "ok_later", "C2": "no", "K16": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "f4e379", "alias": "diophantine_product_count_v1_458359167_1892", "problem": "Let $k = 180$ and $m = 14002$. Let $r$ be the number of positive integers $x$ such that $1 \\leq x \\leq 58$, $x$ divides $180$, and $\\frac{180}{x} \\leq 58$. Let $c$ be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 14002$. Let $s$ be the number of positive integers $t$ with $22 \\leq t \\leq 850$ such that $t = 14a + 8b$ for some positive integers $a \\leq 35$ and $b \\leq 45$. Compute $r \\bmod 251 + c \\cdot (r \\bmod s)$.", "answer": 84024, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14002),\n \"_n\": Const(251),\n \"k\": Const(180),\n \"upper\": Const(58),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=35)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=45)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=850)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b')))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_two_moduli", "COMB1/ENDING_two_moduli"], "recipe_id": "3cda71", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_two_moduli", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T04:55:28.709869Z", "verification": {"verified": true, "answer": 84024, "timestamp": "2026-02-08T04:55:28.722150Z"}, "problem_hash": "25c2c9", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "ENDING_two_moduli": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no"}} -{"id": "1b4418", "alias": "nt_num_divisors_compute_v1_677425708_1254", "problem": "Let $p$ be the largest prime number less than or equal to $30$. Define $h = \\Omega(p)$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity.\\n\\nLet $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 841$. For each pair in $S$, compute $x + y$, and let $n_1$ be the smallest such sum.\\n\\nLet $v = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Let $n = 26569$, and let $r$ be the number of positive divisors of $n$.\\n\\nCompute $24975 \\cdot h \\cdot v \\cdot r$.\\n\\nFind the value of this product.", "answer": 74925, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(24975),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(30)), IsPrime(Var(\"n\"))))),\n \"h\": BigOmega(n=Ref(name='p')),\n \"n1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(841)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_m\")),\n \"n\": Const(26569),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Mul(Ref(\"_n\"), Ref(\"h\"), Ref(\"v\")),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/BIG_OMEGA_ONE", "B3/MOBIUS_SQUAREFREE"], "recipe_id": "c1d4db", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T04:03:02.165192Z", "verification": {"verified": true, "answer": 74925, "timestamp": "2026-02-08T04:03:02.172897Z"}, "problem_hash": "839c57", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 74925, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 1069}, "timestamp": "2026-02-09T17:33:55.585Z"}], "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "BIG_OMEGA_ONE": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "01616f", "alias": "nt_count_digit_sum_v1_1116507919_130", "problem": "Let $S$ be the set of all integers $t$ such that $5 \\leq t \\leq 23$ and there exist positive integers $a \\leq 3$ and $b \\leq 7$ satisfying $t = 3a + 2b$. Let $T$ be the number of integers $n$ with $1 \\leq n \\leq 99999$ such that the sum of the decimal digits of $n$ equals $|S|$. Let $c = \\sum_{k=1}^{4} k$. Compute the remainder when $c - T$ is divided by $50422$.", "answer": 46097, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(99999),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=23)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Const(4), expr=Var(\"k\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50422)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/ENDING_negation_mod", "LIN_FORM", "ONE_PHI_2"], "recipe_id": "dd74b4", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 3.261, "created_at": "2026-02-08T02:26:26.606166Z", "verification": {"verified": true, "answer": 46097, "timestamp": "2026-02-08T02:26:29.867625Z"}, "problem_hash": "6ebc2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 3053}, "timestamp": "2026-02-08T19:06:24.305Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1808}, "timestamp": "2026-02-09T13:44:11.807Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:48:57.049Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 46097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 1582}, "timestamp": "2026-02-09T15:57:18.470Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "SUM_ARITHMETIC": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "cdb30f", "alias": "antilemma_k2_v1_1440796553_1479", "problem": "Let $x = \\sum_{k=1}^{134} \\phi(k) \\left\\lfloor \\frac{134}{k} \\right\\rfloor$. Let $r$ be the sum of the solutions to the equation $x^2 - 11x - 476 = 0$. Compute the Bell number of $|x| \\bmod r$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": Summation(var=\"k\", start=Div(Const(53), Const(53)), end=Const(134), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(134), Var(\"k\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-11), Var(\"x\")), Const(-476)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["VIETA_SUM/ENDING_bell_mod", "IDENTITY_DIV_SELF", "K2"], "recipe_id": "b98f1e", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "IDENTITY_DIV_SELF", "K2", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T14:01:47.578246Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T14:01:47.583934Z"}, "problem_hash": "069413", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_DIV_SELF": "ok", "K2": "ok", "VIETA_SUM": "ok", "ENDING_bell_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "c5a785", "alias": "modular_modexp_compute_v1_865884756_4465", "problem": "Let $N$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\le i \\le 20$, $1 \\le j \\le 162$, and $\\gcd(i, j) = 1$. Let $a$ be the smallest divisor greater than 1 of 3108169. Let $e$ be the largest prime number $n$ such that $2 \\le n \\le N$.\n\nCompute the remainder when $a^e$ is divided by 47089.", "answer": 39731, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(162))))),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3108169))))),\n \"e\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"m\": Const(47089),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "229efd", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T17:56:12.475893Z", "verification": {"verified": true, "answer": 39731, "timestamp": "2026-02-08T17:56:12.480083Z"}, "problem_hash": "073d25", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "b695cf", "alias": "comb_bell_compute_v1_1125832087_962", "problem": "Let $T$ be the set of all positive integers $n$ with $1 \\leq n \\leq 2$ and $n$ even. Let $s = \\sum T$. Let $m = 41$. Define $\\mu$ to be the Möbius function, and let\n$$\nd = \\sum_{d \\mid m} \\mu(d).\n$$\nLet $n$ be the number of positive integers $k$ with $1 \\leq k \\leq 18$ such that the sum of the decimal digits of $k$ is congruent to $d$ modulo $s$. Let $B_n$ denote the $n$-th Bell number. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $B_n + 2$.", "answer": 10574, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(41),\n \"_n\": Const(18),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2)), Eq(Mod(value=Var(\"n\"), modulus=Const(2)), Const(0)))))), SumOverDivisors(n=Ref(name='_m'), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/L3B", "MOBIUS_SUM"], "recipe_id": "99b963", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:23:21.552926Z", "verification": {"verified": true, "answer": 10574, "timestamp": "2026-02-08T03:23:21.555890Z"}, "problem_hash": "5aa303", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_SUM": "ok", "SUM_DIVISIBLE": "ok", "L3B": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}} -{"id": "4b9515", "alias": "antilemma_coprime_grid_v1_151522320_1375", "problem": "Let $m=6$. Consider all ordered pairs $(x,y)$ of positive integers such that $x+y=m$. Let $n$ be the maximum value of $xy$ over all such pairs $(x,y)$.\n\nLet $T$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1\\le a\\le 7$, $1\\le b\\le 2$, $25\\le t\\le 44$, and\n$$t=2a+7b+16.$$\nLet $C$ be the number of elements in $T$.\n\nDefine\n$$S=\\sum_{d\\mid \\gcd\\bigl(n,\\,C\\bigr)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 72$ and $1\\le j\\le 75$ such that\n$$\\gcd(i,j)=S.$$\n\nFind the value of $x$.$$", "answer": 3320, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), SumOverDivisors(n=GCD(a=Ref(name='_n'), b=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=25)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=16))))))))), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(75))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/LIN_FORM/MOBIUS_COPRIME/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "daf0e5", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:56:00.250565Z", "verification": {"verified": true, "answer": 3320, "timestamp": "2026-02-08T03:56:00.253454Z"}, "problem_hash": "51dd79", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok_later", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K18": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "dd22da", "alias": "nt_count_divisible_v1_1918700295_3157", "problem": "Let $ P $ be the set of all positive integers $ p $ for which there exists a positive integer $ q $ such that $ p \\cdot q = 270 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ N = |P| $. Let $ T $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x \\cdot y = N $. Let $ s_{\\text{min}} $ be the minimum value of $ x + y $ over all such pairs. Now let $ U $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = s_{\\text{min}} $. Let $ d $ be the maximum value of $ x \\cdot y $ over all such pairs. Find the number of positive integers $ n \\leq 68121 $ such that $ n $ is divisible by $ d $.", "answer": 17030, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(68121),\n \"divisor\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=270)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/B3/B1"], "recipe_id": "751247", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.416, "created_at": "2026-02-08T08:26:00.275727Z", "verification": {"verified": true, "answer": 17030, "timestamp": "2026-02-08T08:26:02.692183Z"}, "problem_hash": "62e894", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "B1": "ok_later", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "K5": "no", "MOD_ADD": "no"}} -{"id": "9fa556", "alias": "comb_sum_binomial_row_v1_1918700295_3397", "problem": "Let $n = \\sum_{k=1}^{4} \\varphi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor$. Define $r = 2^n$. Let $T$ be the set of all integers $t$ with $5 \\leq t \\leq 17$ for which there exist positive integers $a \\leq 3$ and $b \\leq 4$ such that $t = 3a + 2b$. Compute the Bell number of $|r| \\bmod |T|$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_bell_mod", "K2"], "recipe_id": "6d1de2", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "K2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:36:30.480132Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T08:36:30.482190Z"}, "problem_hash": "4b0057", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "ENDING_bell_mod": "ok_later", "DS2": "no", "L3c": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no"}} -{"id": "2b9294", "alias": "nt_sum_divisors_compute_v1_458359167_1948", "problem": "Compute the sum of all positive divisors of 21025.", "answer": 27001, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(21025),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME", "B3/MOBIUS_COPRIME", "BIG_OMEGA_ONE"], "recipe_id": "0e22cb", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B1", "B3", "BIG_OMEGA_ONE", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T04:56:41.985701Z", "verification": {"verified": true, "answer": 27001, "timestamp": "2026-02-08T04:56:41.990474Z"}, "problem_hash": "766ddd", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "BIG_OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "439ebd", "alias": "antilemma_sum_factor_cartesian_v1_1918700295_1205", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 30$ and $1 \\leq j \\leq 8$. Define $x$ to be the sum of $i \\cdot j$ over all pairs $(i,j)$ in $S$. Let $d_{\\text{max}}$ be the largest positive divisor of $91709$ that is at most $293$. Compute the remainder when\n\\[\nx \\bmod d_{\\text{max}} + 3001 \\cdot (x \\bmod 337)\n\\]\nis divided by $99530$.", "answer": 84086, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(99530),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(30)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(293)), Divides(divisor=Var(\"d\"), dividend=Const(91709)))))), Mul(Const(3001), Mod(value=Ref(\"x\"), modulus=Const(337)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/ENDING_two_moduli", "SUM_FACTOR_CARTESIAN"], "recipe_id": "2deb40", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_DIVISOR", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:40:11.636993Z", "verification": {"verified": true, "answer": 84086, "timestamp": "2026-02-08T05:40:11.639117Z"}, "problem_hash": "12de89", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}} -{"id": "6d9b3a", "alias": "algebra_vieta_sum_v1_153355830_474", "problem": "Let $m$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 47$ and $1\\le j\\le 85$ such that $\\gcd(i,j)=1$. Let $n$ be the smallest integer $d\\ge 2$ such that $d$ divides $m$.\n\nLet $P$ be the product of all integers $x$ such that\n$$x^2+x-42=0.$$\n\nLet $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\begin{align*}\n1\\le a\\le 658,\\quad 1\\le b\\le 135,\\\\\n13\\le t\\le 3043,\\quad t=4a+3b+6.\n\\end{align*}\n\nDefine\n$$Q=P^2+nP+T.$$\n\nCompute $Q$.", "answer": 2815, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(47)), right=IntegerRange(start=Const(1), end=Const(85))))),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Var(name='x'), Const(value=-42)), right=Const(value=0)))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=658)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=135)), Geq(left=Var(name='t'), right=Const(value=13)), Leq(left=Var(name='t'), right=Const(value=3043)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=6))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/MIN_PRIME_FACTOR/LIN_FORM/ENDING_quadratic_mod"], "recipe_id": "478b79", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_quadratic_mod", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T03:07:35.459105Z", "verification": {"verified": true, "answer": 2815, "timestamp": "2026-02-08T03:07:35.470464Z"}, "problem_hash": "da970e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ENDING_quadratic_mod": "ok_later", "LIN_FORM": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "df66a2", "alias": "nt_sum_totient_over_divisors_v1_1874849503_326", "problem": "Let $n_1 = 28391$. Define $w = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function.\n\nLet $a$ be the number of positive integers $n \\leq 3886$ for which the sum of the decimal digits of $n$ is even, multiplied by $w$.\n\nLet $b = 43$. Define $h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where the sum is over all positive divisors $d$ of $\\gcd(a, b)$.\n\nLet $n = 25842 \\cdot h$.\n\nCompute the sum of $\\varphi(d)$ over all positive divisors $d$ of $n$, where $\\varphi$ denotes Euler's totient function.", "answer": 25842, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(28391),\n \"w\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"a\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(3886)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))), Ref(\"w\")),\n \"b\": Const(43),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(25842), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MOBIUS_SQUAREFREE/MOBIUS_COPRIME"], "recipe_id": "f0f9a3", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T12:56:56.597655Z", "verification": {"verified": true, "answer": 25842, "timestamp": "2026-02-08T12:56:56.603846Z"}, "problem_hash": "63ef25", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 25842, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 2424}, "timestamp": "2026-02-09T15:49:46.555Z"}], "lemma_applicability": {"L3B": "ok", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "baa3ec", "alias": "antilemma_sum_equals_v1_1125832087_1092", "problem": "Let $t$ range over the integers. Consider all integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1\\le a\\le 11,\\quad 1\\le b\\le 4,\\quad 22\\le t\\le 144,\\quad t=8a+14b.\\]\nLet $N$ be the number of such integers $t$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 42$, $1\\le j\\le 43$, and $i+j=N$.\n\nLet $M$ be the number of ordered pairs $(u,v)$ of positive integers such that $u$ and $v$ are both odd and $u+v=22$. Define\n$$k\\equiv |x| \\pmod{M},\\qquad 0\\le k p$ such that $pq = 18$ and $\\gcd(p, q) = 1$. Let $N$ be the number of positive integers $n$ such that $n \\leq 65025$, $n$ is a multiple of $d$, and $n \\geq \\phi(|P|)$, where $\\phi$ denotes Euler's totient function. Compute $11025 - N$.", "answer": 8617, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65025),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(18))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sub(Const(11025), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "COUNT_COPRIME_GRID"], "recipe_id": "ba5c0f", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.686, "created_at": "2026-02-08T15:17:16.215695Z", "verification": {"verified": true, "answer": 8617, "timestamp": "2026-02-08T15:17:19.901936Z"}, "problem_hash": "41f664", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok_later", "K13": "no", "K18": "no", "K5": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "dcfcdb", "alias": "nt_min_crt_v1_1742523217_5316", "problem": "Let $T$ be the set of all integers $t$ such that $8 \\leq t \\leq 312$ and there exist positive integers $a \\leq 74$ and $b \\leq 18$ with $t = 3a + 5b$. Let $K$ be the number of positive integers $k \\leq |T|$ that are divisible by $33$. Let $a = 2$ and $b = 1 + 2 + 3 = 6$. Determine the value of $m$ if $m = 8$. Find the smallest positive integer $n \\leq 72$ such that\n$$\nn \\equiv a \\pmod{m} \\quad \\text{and} \\quad n \\equiv b \\pmod{K}.\n$$", "answer": 42, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(8),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=74)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=18)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=312)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Divides(divisor=Const(33), dividend=Var(\"k\"))), domain='positive_integers')),\n \"a\": Const(2),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"upper\": Const(72),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2", "SUM_ARITHMETIC"], "recipe_id": "92eb4b", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T10:54:59.423257Z", "verification": {"verified": true, "answer": 42, "timestamp": "2026-02-08T10:54:59.432274Z"}, "problem_hash": "bf4303", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "C2": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "e90b85", "alias": "nt_gcd_compute_v1_1742523217_2943", "problem": "Let $n_1 = \\phi(1)$, where $\\phi$ is Euler's totient function. Define $c = \\lambda(n_1)$, where $\\lambda$ is the Liouville function. Let $u = \\omega(n_1)$, the number of distinct prime factors of $n_1$. Define $a = 346472 \\cdot c$ and $b = 643448$. Let $g = \\gcd(a, b)$. Compute the remainder when $47393 \\cdot g$ is divided by $65365 + u$.", "answer": 10173, "graph": "graphs = [\n Graph(\n let={\n \"n1\": EulerPhi(n=Const(1)),\n \"c\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": EulerPhi(n=Const(1)),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"a\": Mul(Const(346472), Ref(\"c\")),\n \"b\": Const(643448),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(47393), Ref(\"result\")), modulus=Sum(Const(65365), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE", "OMEGA_ZERO", "ONE_PHI_1"], "recipe_id": "0160bb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "OMEGA_ZERO", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T05:27:51.439698Z", "verification": {"verified": true, "answer": 10173, "timestamp": "2026-02-08T05:27:51.443508Z"}, "problem_hash": "3c3a9e", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "OMEGA_ZERO": "ok", "ONE_PHI_1": "ok", "K17": "no", "K18": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "49786c", "alias": "nt_lcm_compute_v1_1915831931_1516", "problem": "Let $A$ be the set of all ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 4008$. Let $a$ be the number of elements in $A$.\n\nLet $b = 2740$ and define $\\text{result} = \\text{lcm}(a, b)$.\n\nLet $B$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 170$. Let $\\_c$ be the maximum value of $xy$ as $(x, y)$ ranges over $B$.\n\nCompute the remainder when $\\_c - \\text{result}$ is divided by $96161$.", "answer": 76900, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(170),\n \"_n\": Const(96161),\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4008))))),\n \"b\": Const(2740),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_negation_mod", "COMB1"], "recipe_id": "716cc0", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "COMB1", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T16:12:48.464818Z", "verification": {"verified": true, "answer": 76900, "timestamp": "2026-02-08T16:12:48.468961Z"}, "problem_hash": "79fa83", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COMB1": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}} -{"id": "0f4296", "alias": "nt_euler_phi_compute_v1_1125832087_1060", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 120$ and $\\gcd(p, q) = 1$. Let $c = \\Omega(1)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $b = 5 + c$. Let $n_1 = (a \\cdot b)^2$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 108$ and $\\gcd(p, q) = 1$. Let $h$ be the remainder when the number of positive divisors of $n_1$ is divided by $m$. Let $n = 79401 \\cdot h$. Compute $\\phi(n)$, where $\\phi$ denotes Euler's totient function.", "answer": 42768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(1),\n \"c\": BigOmega(n=Ref(name='n2')),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=120)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"b\": Sum(Const(5), Ref(\"c\")),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Ref(\"_n\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Mul(Const(79401), Ref(\"h\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/DIVISOR_PARITY", "BIG_OMEGA_ZERO"], "recipe_id": "a26a8f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COPRIME_PAIRS", "DIVISOR_PARITY"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:29:30.974835Z", "verification": {"verified": true, "answer": 42768, "timestamp": "2026-02-08T03:29:30.979226Z"}, "problem_hash": "f24d62", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COPRIME_PAIRS": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V7": "no"}} -{"id": "b964db", "alias": "comb_sum_binomial_mod_v1_153355830_2402", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\le t \\le 150$ and there exist positive integers $a \\le 22$ and $b \\le 21$ satisfying $t = 3a + 4b$. Let $N$ be the number of elements in $T$.\n\nLet $P$ be the set of all prime numbers $n$ such that $2 \\le n \\le N$, and let $M$ be the maximum element of $P$.\n\nDefine\n$$\nn = \\sum_{k=1}^{15} \\varphi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor,\n$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nCompute the remainder when\n$$\n\\sum_{k=28}^{n} \\binom{M}{k}\n$$\nis divided by $11551$.", "answer": 535, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(28),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(15), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(15), Var(\"k\"))))),\n \"sum\": Summation(var=\"k\", start=Ref(\"_m\"), end=Ref(\"_n\"), expr=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=22)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=21)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=150)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), IsPrime(Var(\"n\"))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11551)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "K2/MAX_PRIME_BELOW"], "recipe_id": "ec8669", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T07:06:52.562778Z", "verification": {"verified": true, "answer": 535, "timestamp": "2026-02-08T07:06:52.579307Z"}, "problem_hash": "394736", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "DS2": "no", "K14": "no", "K5": "no", "LTE_DIFF": "no"}} -{"id": "983aa6", "alias": "nt_count_divisible_and_v1_1874849503_521", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 282$ and $8$ divides the $n$-th Fibonacci number. Let $d$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $|A|$, where $\\mu$ denotes the M\\\"obius function. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 36612$, $n \\equiv d \\pmod{6}$, and $n \\equiv 0 \\pmod{9}$. Compute the remainder when $20051 \\cdot |B|$ is divided by $90060$.", "answer": 76614, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(36612),\n \"d1\": Const(6),\n \"d2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=282)), Divides(divisor=Const(value=8), dividend=Fibonacci(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(20051), Ref(\"result\")), modulus=Const(90060)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MOBIUS_SUM"], "recipe_id": "85f82d", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MOBIUS_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 6.419, "created_at": "2026-02-08T13:07:49.506588Z", "verification": {"verified": true, "answer": 76614, "timestamp": "2026-02-08T13:07:55.925252Z"}, "problem_hash": "44e7be", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 76614, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 3532}, "timestamp": "2026-02-09T18:02:01.508Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_SUM": "ok_later", "K15": "no", "K16": "no", "MAX_VAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "e28c1c", "alias": "sequence_fibonacci_compute_v1_1520064083_5429", "problem": "Let $m=3$. Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq=18$, $\\gcd(p,q)=1$, and $p 0] + [D = 0]$, where $[P]$ is the Iverson bracket that equals $1$ if $P$ is true and $0$ otherwise.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Ref(\"_n\")), domain='Z_{>0}')),\n \"b\": Const(3),\n \"c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=225)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=1610)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))))))),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR", "V5"], "recipe_id": "f153f3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T05:30:25.455828Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T05:30:25.464381Z"}, "problem_hash": "2acb88", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "V5": "ok", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "K14": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}} -{"id": "7c5287", "alias": "nt_count_phi_equals_v1_124444284_1196", "problem": "Let $m = 1836$ and $n = 96$. Let $u$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = n$. Let $k$ be the number of positive integers $\\ell \\leq m$ such that the digit sum of $\\ell$ is even. Determine the number of positive integers $a \\leq u$ such that $\\phi(a) = k$. Let $Q$ be the smallest positive index $j$ such that the $j$-th Fibonacci number is divisible by $|\\text{that number}| + 2$. Find the value of $Q$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1836),\n \"_n\": Const(96),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "B1"], "recipe_id": "c2339c", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.329, "created_at": "2026-02-08T03:44:08.813675Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T03:44:09.143166Z"}, "problem_hash": "007cf5", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 6698}, "timestamp": "2026-02-09T10:50:37.236Z"}], "lemma_applicability": {"B1": "ok", "L3B": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "57ce19", "alias": "antilemma_k3_v1_1520064083_4839", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define $m$ to be the sum of the roots of the quadratic equation $x^2 - 313x - 33830 = 0$, and let $n = 40084$. Let $x$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Define $c = 317$. Compute $$x \\bmod c + \\left(\\text{sum of the roots of } x^2 - 1009x - 108486 = 0\\right) \\cdot \\left(x \\bmod \\left(\\sum_{d \\mid m} \\phi(d)\\right)\\right).$$ Find the value of this expression.", "answer": 20322, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(317),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-313), Var(\"x\")), Const(-33830)), Const(0)))),\n \"_n\": Const(40084),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_c\")), Mul(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1009), Var(\"x\")), Const(-108486)), Const(0)))), Mod(value=Ref(\"x\"), modulus=SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/ENDING_two_moduli", "VIETA_SUM/ENDING_two_moduli", "K3"], "recipe_id": "59979c", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:27:37.401461Z", "verification": {"verified": true, "answer": 20322, "timestamp": "2026-02-08T06:27:37.403931Z"}, "problem_hash": "188648", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "ENDING_two_moduli": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K17": "no", "L3c": "no", "MOD_MUL": "no"}} -{"id": "2a698f", "alias": "antilemma_count_primes_v1_677425708_299", "problem": "Let $c=120$. Consider all ordered pairs $(x,y)$ of positive integers such that\n$$xy=1159929.$$\nFor each such pair, form the sum $x+y$, and let $N$ be the smallest value of $x+y$ over all such pairs.\n\nLet $m=2$. Let $A$ be the largest prime number $n$ such that $m\\le n\\le N$ and $n$ is prime.\n\nLet $B$ be the largest integer $k$ such that $5^k$ divides $\\binom{c}{48}$. Consider all integers $n$ such that $B\\le n\\le A$ and $n$ is prime, and let $X$ be the number of such integers $n$.\n\nCompute $X$.", "answer": 325, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(120),\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1159929)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Binom(n=Ref(\"_c\"), k=Const(48)), base=Const(5))), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/COUNT_PRIMES", "V7/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "b95fa9", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "MAX_PRIME_BELOW", "V7"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:12:55.044509Z", "verification": {"verified": true, "answer": 325, "timestamp": "2026-02-08T03:12:55.050079Z"}, "problem_hash": "94924c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:26:50.789Z"}], "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "V7": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "aff40b", "alias": "antilemma_sum_equals_v1_784195855_4779", "problem": "Let $m$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 4$, $1 \\leq j \\leq 4$, and $i + j = 6$. Let $n$ be the number of integers $t$ such that $5 \\leq t \\leq 15$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 3$, and $t = 3a + 2b$. Let $x$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 7$, $1 \\leq j \\leq 8$, and $i + j = n$. Compute the remainder when $m - x$ is divided by $58855$.", "answer": 58851, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(58855),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"Q\": Mod(value=Sub(Ref(\"_m\"), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/LIN_FORM/ENDING_negation_mod", "LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "7e01e4", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_negation_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T07:20:28.146373Z", "verification": {"verified": true, "answer": 58851, "timestamp": "2026-02-08T07:20:28.166642Z"}, "problem_hash": "dc4f04", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "18beae", "alias": "nt_count_with_divisor_count_v1_1918700295_1127", "problem": "Let $A$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $B$ be the number of positive integers $n \\leq 70756$ that have exactly two positive divisors. Let $C$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 15842$. Compute the remainder when $B^A + 7B + C$ is divided by $71958$.", "answer": 7705, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15842),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(70756),\n \"div_count\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(7), Ref(\"result\")), Ref(\"_c\")), modulus=Const(71958)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COMB1/ENDING_quadratic_mod"], "recipe_id": "a141ad", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.703, "created_at": "2026-02-08T05:36:09.410865Z", "verification": {"verified": true, "answer": 7705, "timestamp": "2026-02-08T05:36:14.113699Z"}, "problem_hash": "bb1445", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COMB1": "ok_later", "ENDING_quadratic_mod": "ok_later", "K13": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V3": "no"}} -{"id": "552104", "alias": "nt_count_coprime_v1_1520064083_4906", "problem": "Let $ k $ be the largest integer such that $ 2^k \\leq 32561067863616 $. Let $ d $ be a positive divisor of $ \\gcd(8, 15) $, and define $ \\alpha = \\sum_{d \\mid \\gcd(8,15)} \\mu(d) $, where $ \\mu $ is the M\\\"obius function. Find the number of positive integers $ n $ such that $ 1 \\leq n \\leq 87025 $ and $ \\gcd(n, k) = \\alpha $. Let $ Q $ be the smallest positive index $ m $ such that the $ m $-th Fibonacci number is divisible by $ |\\text{that number}| + 2 $. Compute $ Q $.", "answer": 11214, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(87025),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(32561067863616)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "MAX_VAL", "ONE_PHI_1"], "recipe_id": "5dd333", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 9.779, "created_at": "2026-02-08T06:30:20.283050Z", "verification": {"verified": true, "answer": 11214, "timestamp": "2026-02-08T06:30:30.062174Z"}, "problem_hash": "297598", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "K16": "same_pattern_wrong", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "450b9b", "alias": "antilemma_v1_legendre_124444284_1219", "problem": "Let $x$ be the largest integer $k$ such that $7^k$ divides $25284!$.\n\nDefine $a = |x|$ and let $b = \\sum_{d \\mid \\gcd(5,7)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $c = |x| + b$.\n\nLet $d = \\varphi(2)$, where $\\varphi$ denotes Euler's totient function, and define $e = |x| + d$. Then let $f = \\tau(e)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nCompute $a + \\varphi(c) + f$.", "answer": 8036, "graph": "graphs = [\n Graph(\n let={\n \"x\": MaxKDivides(target=Factorial(Const(25284)), base=Const(7)),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=5), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d'))))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(2))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ONE_PHI_2", "V1"], "recipe_id": "a6ec92", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_2", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:44:35.326508Z", "verification": {"verified": true, "answer": 8036, "timestamp": "2026-02-08T03:44:35.328183Z"}, "problem_hash": "e00107", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 8036, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 1557}, "timestamp": "2026-02-09T11:05:39.262Z"}], "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K17": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "b2a623", "alias": "antilemma_v1_legendre_1520064083_4353", "problem": "Let $a = 5$ and $b = 149$. Let $f = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the Möbius function. Let $c = \\lambda(169)$, where $\\lambda$ is the Liouville function. Let $x$ be the largest integer $k$ such that $5^k$ divides $10480!$. Compute the remainder when $24c - x$ is divided by $76007f$.", "answer": 73414, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(5),\n \"b\": Const(149),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(169),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"x\": MaxKDivides(target=Factorial(Const(10480)), base=Const(5)),\n \"_c\": Mul(Const(24), Ref(\"c\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Mul(Const(76007), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "LIOUVILLE_ONE", "V1"], "recipe_id": "8c819a", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T06:14:07.828251Z", "verification": {"verified": true, "answer": 73414, "timestamp": "2026-02-08T06:14:07.830125Z"}, "problem_hash": "50f45f", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MOBIUS_COPRIME": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K15": "no", "K18": "no", "L3c": "no", "V5": "no", "V8": "no"}} -{"id": "e6e686", "alias": "nt_count_with_divisor_count_v1_168721529_1310", "problem": "Let $a$ be the number of integers $t$ between 12 and 70, inclusive, that can be expressed as $5a + 7b$ for some positive integers $a \\leq 7$ and $b \\leq 5$. Let $b$ be the number of integers $t$ between 12 and 55, inclusive, that can be expressed as $3a + 5b + 4$ for some positive integers $a \\leq 12$ and $b \\leq 3$. Let $u$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ is the M\\\"obius function. Let $n$ be the largest prime number at most 33. Define $v = \\lambda(n) + u$, where $\\lambda$ is the Liouville function. Let the upper bound be $12544 + v$. Compute the number of positive integers $n$ not exceeding this upper bound that have exactly 10 positive divisors.", "answer": 182, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12544),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=70)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=55)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=4)))))))),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(33)), IsPrime(Var(\"n\"))))),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Ref(\"u\")),\n \"upper\": Sum(Ref(\"_n\"), Ref(\"v\")),\n \"div_count\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE", "LIN_FORM/MOBIUS_COPRIME"], "recipe_id": "2987c6", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 4.038, "created_at": "2026-02-08T13:35:32.215017Z", "verification": {"verified": true, "answer": 182, "timestamp": "2026-02-08T13:35:36.253213Z"}, "problem_hash": "497ece", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 334, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:36:05.626Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "K17": "no", "L3c": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "4a1a01", "alias": "nt_sum_divisors_compute_v1_151522320_908", "problem": "Let $p = 19$ and $q = 61$, and define $n_1 = p^2 q$. Let $t = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Let $a$ be the number of prime numbers between 2 and 157 inclusive, and let $b = 38$. Define\n$$\nv = \\sum_{d \\mid \\gcd(a,b)} \\mu(d).\n$$\nLet $n = 34225$. Compute the remainder when $34869$ times the sum of the positive divisors of $n$ is divided by $(82522 + t) \\cdot v$.", "answer": 713, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"q\": Const(61),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(157)), IsPrime(Var(\"n\"))))),\n \"b\": Const(38),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(34225),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(34869), Ref(\"result\")), modulus=Mul(Sum(Const(82522), Ref(\"t\")), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "recipe_id": "3852c0", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:40:20.766857Z", "verification": {"verified": true, "answer": 713, "timestamp": "2026-02-08T03:40:20.768569Z"}, "problem_hash": "537ab7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "K13": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "4eca70", "alias": "nt_count_divisors_in_range_v1_1742523217_4054", "problem": "Let $m = 4200$. Let $n_1$ be the number of integers $t$ such that $7 \\leq t \\leq 442$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 86$, $1 \\leq b \\leq 46$, and $t = 3a + 4b$. Let $n$ be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and the Fibonacci number $F_n$ is divisible by $5$. Let $a = 5$. Let $b$ be the largest positive divisor of $188770$ that does not exceed $n_1$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4200),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=86)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=46)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=442)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(5), dividend=Fibonacci(arg=Var(name='n')))))),\n \"a\": Const(5),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(188770))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["LIN_FORM/MAX_DIVISOR", "COUNT_FIB_DIVISIBLE"], "recipe_id": "5d541f", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.47, "created_at": "2026-02-08T06:11:26.266376Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T06:11:26.736530Z"}, "problem_hash": "d42e88", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "6189f8", "alias": "diophantine_fbi2_count_v1_124444284_1289", "problem": "Let $k = 60$. Consider the set of positive integers $d$ such that $2 \\leq d \\leq 56$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 58$. Let $A$ be the number of such integers $d$. Let $B$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 76$ such that $\\gcd(i, j) = 1$. Define $Q = \\left(3^{|A|} \\bmod 99991\\right) + B$. Find the value of $Q$.", "answer": 7005, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Const(56)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(58))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(76))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_two_stage_modexp", "ONE_PHI_2"], "recipe_id": "a77f80", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_two_stage_modexp", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T03:48:45.845346Z", "verification": {"verified": true, "answer": 7005, "timestamp": "2026-02-08T03:48:45.857009Z"}, "problem_hash": "d8f0ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7005, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1450}, "timestamp": "2026-02-09T12:07:44.132Z"}], "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok", "ENDING_two_stage_modexp": "ok_later", "C2": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "55d159", "alias": "nt_num_divisors_compute_v1_784195855_4053", "problem": "Let $n = 61009$. Compute the number of positive divisors of $n$. Determine the value of this number.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(61009),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/MOBIUS_SQUAREFREE", "WILSON"], "recipe_id": "a7408f", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MOBIUS_SQUAREFREE", "V8", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T06:47:33.337289Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T06:47:33.348857Z"}, "problem_hash": "3cfe5a", "license": "CC BY 4.0", "lemma_applicability": {"V8": "ok", "WILSON": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}} -{"id": "4d18c6", "alias": "nt_count_gcd_equals_v1_784195855_5111", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 7056$ and $\\gcd(n, 28) = 7$. Let $r$ be the number of elements in $A$. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 1972$ and the sum of the decimal digits of $n$ is odd. Let $c$ be the number of elements in $B$. Compute the value of $2^{|r|} \\bmod 99991$ plus $c$.", "answer": 76788, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1972),\n \"upper\": Const(7056),\n \"k\": Const(28),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_two_stage_modexp"], "recipe_id": "6887cd", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.858, "created_at": "2026-02-08T07:41:15.031213Z", "verification": {"verified": true, "answer": 76788, "timestamp": "2026-02-08T07:41:16.889232Z"}, "problem_hash": "7940ed", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "ENDING_two_stage_modexp": "ok_later", "K13": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_MUL": "no"}} -{"id": "bccdaa", "alias": "nt_gcd_compute_v1_677425708_554", "problem": "Let $d=41$ and $c=4$. Let $m$ be the number of positive integers $k$ with $1\\le k\\le 17384$ such that $41$ divides $k$.\n\nLet $n$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1\\le a\\le 7, \\quad 1\\le b\\le 3, \\quad 9\\le t\\le 35, \\quad t = 2a + 7b.$$\n\nLet $N$ be the number of integers $u$ such that\n$$1\\le u\\le m, \\quad 4\\mid u, \\quad \\gcd(u,n)=1.$$\nDefine $C = \\lambda(N) + 1$, where $\\lambda$ denotes the Liouville function.\n\nConsider all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq = 216, \\quad \\gcd(p,q)=1, \\quad p p$ such that $pq = 18$ and $\\gcd(p, q) = 1$. Compute the remainder when\n$$\nR^c + 6R + 2\n$$\nis divided by 69111.", "answer": 51293, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"upper\": Const(50400),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1430616167))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"result\")), Const(2)), modulus=Const(69111)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_quadratic_mod", "MIN_PRIME_FACTOR"], "recipe_id": "15297e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_quadratic_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.403, "created_at": "2026-02-08T07:47:35.661767Z", "verification": {"verified": true, "answer": 51293, "timestamp": "2026-02-08T07:47:38.064608Z"}, "problem_hash": "8971d3", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "V7": "no"}} -{"id": "bafb05", "alias": "comb_count_permutations_fixed_v1_458359167_1684", "problem": "Let $c=2$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n\\[pq=216,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 12$ and $\\gcd(p, q) = 1$. Define $n$ to be the largest prime number at least $|S|$ and at most $k$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW", "L3C/MAX_PRIME_BELOW"], "recipe_id": "05d7f9", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:59:38.913299Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T03:59:38.915930Z"}, "problem_hash": "0bbfa3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 1552}, "timestamp": "2026-02-11T16:12:07.788Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 1290}, "timestamp": "2026-02-10T15:11:59.598Z"}, {"id": 8, "model": "mathstral", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 842}, "timestamp": "2026-02-13T05:23:33.628Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 641}, "timestamp": "2026-02-11T20:22:11.526Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "MAX_PRIME_BELOW": "ok_later", "K16": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "505600", "alias": "nt_count_divisible_v1_2080023795_106", "problem": "Let $D$ be the largest integer $k$ such that $5^k$ divides $115!$. Let $M$ be the maximum value of $xy$ taken over all ordered pairs $(x,y)$ of positive integers satisfying $x+y=20$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=M$, and let $T$ be the set of all values of $x+y$ as $(x,y)$ ranges over $S$. Let $m$ be the smallest element of $T$.\n\nDefine\n$$h=\\sum_{d\\mid m} \\mu(d),$$\nwhere $\\mu$ is the function defined by $\\mu(d)=0$ if $d$ is divisible by the square of a prime, $\\mu(d)=1$ if $d$ is a product of an even number of distinct primes (including $1$), and $\\mu(d)=-1$ if $d$ is a product of an odd number of distinct primes.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le 82369$ such that the remainder when $n$ is divided by $D$ is equal to $h$.\n\nLet $Q$ be the remainder when $13633R$ is divided by $71388$, with $0\\le Q<71388$.\n\nFind the value of $Q$.", "answer": 32834, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71388),\n \"upper\": Const(82369),\n \"divisor\": MaxKDivides(target=Factorial(Const(115)), base=Const(5)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=20)))), expr=Mul(Var(name='x'), Var(name='y'))))))), expr=Sum(Var(name='x'), Var(name='y')))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": Const(13633),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/MOBIUS_SUM", "V1"], "recipe_id": "21a166", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MOBIUS_SUM", "V1"], "num_lemmas": 4, "generation_time": 4.998, "created_at": "2026-02-08T11:33:00.626654Z", "verification": {"verified": true, "answer": 32834, "timestamp": "2026-02-08T11:33:05.624369Z"}, "problem_hash": "93fda6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32834, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 409, "completion_tokens": 1467}, "timestamp": "2026-02-08T20:44:45.880Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 32834, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 405, "completion_tokens": 1576}, "timestamp": "2026-02-10T05:20:18.916Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 352, "completion_tokens": 816}, "timestamp": "2026-02-09T09:59:09.856Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32834, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 335, "completion_tokens": 1619}, "timestamp": "2026-02-09T20:29:23.169Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "V1": "ok", "B3": "ok_later", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "K17": "no", "L3c": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -5.83, "mid": -2.02, "hi": 1.36}, "split": "test"} +{"id": "6733e9", "alias": "nt_count_coprime_and_v1_2051736721_2221", "problem": "Let $d$ be an integer greater than or equal to 2 that divides 3757. Let $k_2$ be the smallest such $d$. Let $k_1 = 11$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 31935$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the number of elements in $S$.", "answer": 26799, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(31935),\n \"k1\": Const(11),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3757))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.062, "created_at": "2026-02-08T16:32:15.888323Z", "verification": {"verified": true, "answer": 26799, "timestamp": "2026-02-08T16:32:19.949939Z"}, "problem_hash": "fcec59", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14400, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 575}, "timestamp": "2026-02-12T10:55:41.221Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "676584", "alias": "modular_product_range_v1_655260480_1133", "problem": "Let $d_0$ be the smallest divisor of 1763 that is at least 2. Compute the remainder when the product $\\prod_{i=d_0}^{241} i$ is divided by 11119.", "answer": 9162, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1763))))), end=Const(241)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11119)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:55:40.200972Z", "verification": {"verified": true, "answer": 9162, "timestamp": "2026-02-08T15:55:40.204912Z"}, "problem_hash": "f17050", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 583}, "timestamp": "2026-02-12T09:28:26.814Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K15": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ddac68", "alias": "antilemma_cartesian_v1_458359167_1811", "problem": "Let $N=10$. Let $X$ be the number of ordered pairs $(x,y)$ of integers such that $1\\le x\\le 30$ and $1\\le y\\le 36$. Let $S$ be the number of ordered pairs $(u,v)$ of positive integers such that $u$ and $v$ are odd and\n\\[u+v=N.\n\\]\nLet\n\\[Q=\\sum_{n=\\binom{S}{0}}^{|X|} d(n),\n\\]\nwhere $d(n)$ denotes the number of positive divisors of $n$. Compute $Q$.", "answer": 7728, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(30)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_0", "COUNT_CARTESIAN"], "recipe_id": "3f54b7", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "sum_divisor_count", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:51:44.590243Z", "verification": {"verified": true, "answer": 7728, "timestamp": "2026-02-08T04:51:44.592643Z"}, "problem_hash": "872e32", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7728, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 2576}, "timestamp": "2026-02-11T22:25:35.635Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 473}, "timestamp": "2026-02-14T03:19:00.891Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 404}, "timestamp": "2026-02-11T22:03:08.587Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "f44c89", "alias": "comb_sum_binomial_row_v1_2051736721_1675", "problem": "Let $n$ be the smallest divisor of $2431$ that is at least $2$. Compute $2^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2431))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:09:04.520796Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T16:09:04.523225Z"}, "problem_hash": "990d2e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 131, "completion_tokens": 175}, "timestamp": "2026-02-12T09:55:28.013Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3be1b5", "alias": "sequence_count_fib_divisible_v1_1431428450_1103", "problem": "Let $d$ be the smallest divisor of $1461187337303$ that is at least $2$. Let $d_0 = 4$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq d$ and $d_0$ divides the $n$-th Fibonacci number.", "answer": 44, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1461187337303))))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T13:54:07.156723Z", "verification": {"verified": true, "answer": 44, "timestamp": "2026-02-08T13:54:07.199282Z"}, "problem_hash": "f6ea4e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 549}, "timestamp": "2026-02-12T07:31:40.105Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "L3b": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f2f483", "alias": "nt_sum_gcd_range_mod_v1_1918700295_2373", "problem": "Let $N$ be the number of integers $n$ such that $1 \\leq n \\leq \\max\\{k \\mid 13^k \\text{ divides } 60489!\\}$ and the sum of the decimal digits of $n$ leaves a remainder of 1 when divided by 2. Let $k = 360$ and $M = 10891$. Compute the remainder when $$\\sum_{n=1}^{N} \\gcd(n, k)$$ is divided by $M$.", "answer": 4678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Const(60489)), base=Const(13))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"k\": Const(360),\n \"M\": Const(10891),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/L3B"], "recipe_id": "6ddb42", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "V1"], "num_lemmas": 2, "generation_time": 0.117, "created_at": "2026-02-08T07:51:19.021305Z", "verification": {"verified": true, "answer": 4678, "timestamp": "2026-02-08T07:51:19.138675Z"}, "problem_hash": "b038ba", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "L3B": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "K15": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "51f186", "alias": "nt_count_with_divisor_count_v1_1520064083_2744", "problem": "Let $n_1 = 1$. Define $e$ to be the number of distinct prime factors of $n_1$. Let $p = 19$, $q = 41$, and $r = 89 + e$. Define $n = p^2 \\cdot q \\cdot r$. Let $c = \\mu(n)^2$, where $\\mu$ denotes the M\\\"obius function. Define $u = 10816 + c$. Let $A$ be the set of all positive integers $k$ such that $1 \\leq k \\leq u$ and the number of positive divisors of $k$ is exactly 2. Let $B$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 32447$ and $\\binom{32447}{j}$ is odd. Compute $|B| - |A|$.", "answer": 6877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(89),\n \"n1\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(19),\n \"q\": Const(41),\n \"r\": Sum(Ref(\"_n\"), Ref(\"e\")),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Sum(Const(10816), Ref(\"c\")),\n \"div_count\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(32447)), Eq(Mod(value=Binom(n=Const(32447), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "recipe_id": "9a5896", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "OMEGA_ZERO", "V8"], "num_lemmas": 3, "generation_time": 0.908, "created_at": "2026-02-08T04:58:26.147259Z", "verification": {"verified": true, "answer": 6877, "timestamp": "2026-02-08T04:58:27.055726Z"}, "problem_hash": "531264", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SQUAREFREE": "ok", "OMEGA_ZERO": "ok", "V8": "ok", "DS2": "no", "K17": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "split": "test"} +{"id": "8cb8a8", "alias": "nt_num_divisors_compute_v1_2051736721_3899", "problem": "Let $n$ be the smallest divisor of 26071 that is at least 2. Compute the number of positive divisors of $n$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(26071),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:37:05.266501Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T17:37:05.268251Z"}, "problem_hash": "200615", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 139}, "timestamp": "2026-02-12T22:51:10.583Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "L3c": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "53ae9c", "alias": "nt_min_crt_v1_1520064083_2055", "problem": "Let $n = 5$ and $m = 4$. Define $k$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Define $a$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $11$. Let $b = 2$ and let the upper bound be $20$. Consider the set of all integers $n$ such that $1 \\leq n \\leq 20$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Determine the value of the smallest such $n$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"m\": Const(4),\n \"k\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"a\": SumOverDivisors(n=Const(value=11), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"b\": Const(2),\n \"upper\": Const(20),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_SUM", "K3"], "recipe_id": "817292", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.077, "created_at": "2026-02-08T04:29:41.401215Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T04:29:41.478114Z"}, "problem_hash": "b2bd8e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K3": "ok", "MOBIUS_SUM": "ok", "DS2": "no", "K17": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "fb1dbc", "alias": "comb_count_derangements_v1_124444284_6977", "problem": "Let $n$ be the smallest divisor of $77$ that is at least $2$. Define $Q$ to be the remainder when $44121$ multiplied by the subfactorial of $n$ is divided by $50521$. Compute $Q$.", "answer": 6835, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50521),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:44:45.072421Z", "verification": {"verified": true, "answer": 6835, "timestamp": "2026-02-08T08:44:45.073623Z"}, "problem_hash": "ee3412", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6835, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 1214}, "timestamp": "2026-02-13T21:22:59.720Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4040, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 271}, "timestamp": "2026-02-12T02:11:01.287Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "1a72f4", "alias": "nt_count_primes_v1_48377204_577", "problem": "Let $d_{\\min}$ be the smallest integer $d \\ge 2$ that divides $18$. Compute the number of prime numbers $n$ such that $d_{\\min} \\le n \\le 24025$.", "answer": 2672, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(24025),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(18)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.154, "created_at": "2026-02-08T15:34:32.990833Z", "verification": {"verified": true, "answer": 2672, "timestamp": "2026-02-08T15:34:34.145034Z"}, "problem_hash": "b89a85", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 221}, "timestamp": "2026-02-12T08:46:13.469Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_MUL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "154cf2", "alias": "diophantine_fbi2_count_v1_717093673_1987", "problem": "Let $k = 420$. Find the number of integers $d$ such that $2 \\leq d \\leq 172$, $d$ divides $k$, and $\\frac{k}{d}$ is at least the smallest divisor $d_1 \\geq 2$ of 875 and at most 175. Compute the value of this count.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(172)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(875)))))), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(175))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T16:25:21.889654Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T16:25:21.906859Z"}, "problem_hash": "136e2e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 383}, "timestamp": "2026-02-12T10:37:47.089Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9d583c", "alias": "comb_count_surjections_v1_865884756_2643", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 4$. Let $k$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 4$, $1 \\leq j \\leq 4$, and $i + j = 4$. Define $S(n, k)$ to be the Stirling number of the second kind, and let $r = k! \\cdot S(n, k)$. Let $T$ be the set of all integers $t$ such that $21 \\leq t \\leq 93$ and there exist positive integers $a \\leq 4$, $b \\leq 5$ satisfying $t = 12a + 9b$. Compute the remainder when $|T| - r$ is divided by $55075$.", "answer": 49298, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(55075),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=93)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "251a3b", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T16:51:50.361447Z", "verification": {"verified": true, "answer": 49298, "timestamp": "2026-02-08T16:51:50.377714Z"}, "problem_hash": "f07d65", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 578}, "timestamp": "2026-02-12T21:09:25.224Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e1094a", "alias": "nt_count_coprime_and_v1_1520064083_2778", "problem": "Let $k_1 = 9$. Let $T$ be the set of all integers $t$ with $21 \\leq t \\leq 465$ such that $t = 9a + 12b$ for some integers $a$ and $b$ satisfying $1 \\leq a \\leq 21$ and $1 \\leq b \\leq 23$. Let $k_2$ be the smallest integer $d \\geq 2$ that divides the number of elements in $T$. Determine the number of positive integers $n \\leq 20958$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = \\phi(2)$, where $\\phi$ is Euler's totient function.", "answer": 12702, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(20958),\n \"k1\": Const(9),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=23)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=465)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), EulerPhi(n=Const(2)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR", "ONE_PHI_2"], "recipe_id": "1aad8f", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 2.839, "created_at": "2026-02-08T05:00:20.621867Z", "verification": {"verified": true, "answer": 12702, "timestamp": "2026-02-08T05:00:23.461238Z"}, "problem_hash": "283e5b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K15": "no", "K16": "no", "K17": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "9a6a74", "alias": "modular_sum_quadratic_residues_v1_124444284_619", "problem": "Let $n = 2$. Define $p$ to be the smallest divisor of $746899234954679$ that is at least $n$. Compute $\\frac{p(p-1)}{4}$.", "answer": 21389, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(746899234954679))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:24:22.875257Z", "verification": {"verified": true, "answer": 21389, "timestamp": "2026-02-08T03:24:22.878781Z"}, "problem_hash": "ca507a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:53:20.709Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:02:04.523Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 88, "completion_tokens": 8192}, "timestamp": "2026-02-11T11:53:04.414Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 109, "completion_tokens": 782}, "timestamp": "2026-02-12T14:20:23.608Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 395}, "timestamp": "2026-02-11T20:49:36.311Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "87052b", "alias": "nt_min_coprime_above_v1_124444284_6053", "problem": "Let $m = 2019$ and $M = 2108$. Let $d_0$ be the smallest divisor of $48436559$ that is at least $2$. Find the smallest integer $n > m$ with $n \\leq M$ such that $\\gcd(n, d_0) = 1$.", "answer": 2020, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": Const(2019),\n \"upper\": Const(2108),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(48436559))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.022, "created_at": "2026-02-08T08:06:06.381233Z", "verification": {"verified": true, "answer": 2020, "timestamp": "2026-02-08T08:06:06.403236Z"}, "problem_hash": "4fa119", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2020, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 1296}, "timestamp": "2026-02-13T14:45:26.568Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 272}, "timestamp": "2026-02-12T01:31:58.057Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c01837", "alias": "comb_factorial_compute_v1_971394319_146", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides $77$. Let $r = n!$. Compute the remainder when $44121 \\cdot r$ is divided by $79795$.", "answer": 60970, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(79795)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:51:20.583780Z", "verification": {"verified": true, "answer": 60970, "timestamp": "2026-02-08T12:51:20.585378Z"}, "problem_hash": "b6af12", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 40, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 388}, "timestamp": "2026-02-12T05:49:35.423Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "L3b": "no", "LTE_SUM": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4b8281", "alias": "modular_count_residue_v1_1742523217_2260", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 1001. Let $t$ range over integers expressible as $15a + 6b$ where $1 \\leq a \\leq 65$ and $1 \\leq b \\leq 14$, and $21 \\leq t \\leq 1059$. Let $c$ be the number of such $t$. Define $m$ to be the largest power of $n$ that divides $c^2$. Let $r = 1$ and let $\\text{result}$ be the number of integers $n$ with $1 \\leq n \\leq 67081$ such that $n \\equiv r \\pmod{m}$. Compute the remainder when $69865 \\cdot \\text{result}$ is divided by 54657.", "answer": 2721, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(54657),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\n \"upper\": Const(67081),\n \"m\": MaxKDivides(target=Pow(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=65)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=1059)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Const(2)), base=Ref(\"_n\")),\n \"r\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(69865),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K14", "LIN_FORM/K14"], "recipe_id": "f1d992", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 4.029, "created_at": "2026-02-08T04:38:46.910428Z", "verification": {"verified": true, "answer": 2721, "timestamp": "2026-02-08T04:38:50.939857Z"}, "problem_hash": "4f8b26", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "V1": "no", "V8": "no"}, "split": "test"} +{"id": "1e8eb3", "alias": "algebra_quadratic_discriminant_v1_1742523217_1914", "problem": "Let $m$ be the smallest positive integer $n$ such that the largest power of $2$ dividing $n!$ is at least $1$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 25$. Let $r = b^m - 4 \\cdot 1 \\cdot 4$. Determine the value of $$\\left|\\left\\{ t \\in \\mathbb{Z}^+ : 21 \\leq t \\leq 5844 \\text{ and } t = 12a + 9b \\text{ for some integers } a,b \\text{ with } 1 \\leq a \\leq 148,\\ 1 \\leq b \\leq 452 \\right\\}\\right| - r.$$", "answer": 1852, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_c\")), Const(1)), domain='Z_{>0}')),\n \"_n\": Const(4),\n \"a\": Const(1),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"c\": Const(4),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=148)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=452)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=5844)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V5/B3"], "recipe_id": "c6dacf", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V5"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:21:01.005934Z", "verification": {"verified": true, "answer": 1852, "timestamp": "2026-02-08T04:21:01.010983Z"}, "problem_hash": "f10e5e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V5": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "980213", "alias": "modular_sum_quadratic_residues_v1_1918700295_2503", "problem": "Let $p$ be the largest prime number not exceeding the smallest divisor $d \\geq 2$ of $1003299833$. Let $s$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $p \\cdot q = 5400$, and $\\gcd(p, q) = 1$. Compute the value of $\\frac{p(p-1)}{s}$.", "answer": 7439, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1003299833)))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=5400)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "7403fa", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T07:56:11.305212Z", "verification": {"verified": true, "answer": 7439, "timestamp": "2026-02-08T07:56:11.308958Z"}, "problem_hash": "b56865", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15931, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 5514}, "timestamp": "2026-02-13T13:49:23.634Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 270}, "timestamp": "2026-02-12T01:26:10.589Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "3629dd", "alias": "comb_factorial_compute_v1_124444284_4252", "problem": "Let $n$ be the smallest divisor of $143143$ that is greater than or equal to $2$. Define $Q$ as the remainder when $74698 \\cdot n!$ is divided by $91669$. Compute $Q$.", "answer": 85006, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(74698),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91669)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:52:43.247293Z", "verification": {"verified": true, "answer": 85006, "timestamp": "2026-02-08T05:52:43.249710Z"}, "problem_hash": "d12069", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 85006, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 97, "completion_tokens": 1691}, "timestamp": "2026-02-12T15:34:35.403Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 432}, "timestamp": "2026-02-11T23:13:58.682Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K13": "no", "K17": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a8852a", "alias": "nt_sum_over_divisible_v1_124444284_1033", "problem": "Let $n = 29161$. Let $u$ be the largest prime number less than or equal to $5572$. Consider the set of all positive integers $n$ from $1$ to $u$ that are divisible by $19$, and let $s$ be the sum of all such integers. Let $t$ be the number of positive integers $n$ from $1$ to $n$ such that $\\gcd(n, 30) = 1$. Compute the value of $5^{|s|} \\bmod 99991$, plus $t$.", "answer": 95727, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29161),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5572)), IsPrime(Var(\"n\"))))),\n \"divisor\": Const(19),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "MAX_PRIME_BELOW"], "recipe_id": "27f3c2", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.204, "created_at": "2026-02-08T03:39:39.835245Z", "verification": {"verified": true, "answer": 95727, "timestamp": "2026-02-08T03:39:40.039564Z"}, "problem_hash": "a4b97d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 8192}, "timestamp": "2026-02-10T01:45:21.745Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:57:26.381Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52745, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 5763}, "timestamp": "2026-02-11T15:10:17.092Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 1053}, "timestamp": "2026-02-12T20:02:55.774Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 762}, "timestamp": "2026-02-11T21:03:53.547Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "3f97c4", "alias": "algebra_poly_eval_v1_2051736721_4338", "problem": "Let $n = 7$. Let $x$ be the smallest divisor of $29645$ that is at least $2$. Compute $n x^4 + 9x^3 - 3x^2 + 5x - 4$.", "answer": 5446, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"x\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(29645))))),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"x\"), Const(4))), Mul(Const(9), Pow(Ref(\"x\"), Const(3))), Mul(Const(-3), Pow(Ref(\"x\"), Const(2))), Mul(Const(5), Ref(\"x\")), Const(-4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:55:12.475452Z", "verification": {"verified": true, "answer": 5446, "timestamp": "2026-02-08T17:55:12.477768Z"}, "problem_hash": "52d2fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5456, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 384}, "timestamp": "2026-02-12T23:23:14.741Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5c7600", "alias": "nt_min_with_divisor_count_v1_1439011603_1402", "problem": "Let $d_0$ be the smallest divisor of $3504383$ that is at least $2$. Let $\\text{result}$ be the smallest positive integer $n$ such that $1 \\leq n \\leq d_0$ and $n$ has exactly $6$ positive divisors. Compute the value of $\\text{result}$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3504383))))),\n \"div_count\": Const(6),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 7.79, "created_at": "2026-02-08T16:03:33.171925Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T16:03:40.961426Z"}, "problem_hash": "d65a04", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 328}, "timestamp": "2026-02-12T09:55:37.450Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6074e4", "alias": "sequence_fibonacci_compute_v1_971394319_1284", "problem": "Let $d$ be the smallest divisor of $10938133$ that is at least $2$. Define $n$ to be this value of $d$. Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute\n$$\nF_n + \\phi(|F_n| + 1) + \\tau(|F_n| + 1),\n$$\nwhere $\\phi$ denotes Euler's totient function and $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 40289, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(10938133))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:35:23.144071Z", "verification": {"verified": true, "answer": 40289, "timestamp": "2026-02-08T13:35:23.146585Z"}, "problem_hash": "4117a7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 442}, "timestamp": "2026-02-12T07:04:14.397Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1779f1", "alias": "nt_count_gcd_equals_v1_124444284_5569", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 225$. Let $d$ be the number of integers $t$ with $20 \\le t \\le 46$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 2$, $1 \\le b \\le 5$, and $t = 10a + 4b + 6$. Determine the value of the number of positive integers $n$ with $1 \\le n \\le 31329$ such that $\\gcd(n, k) = d$.", "answer": 2088, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(225),\n \"upper\": Const(31329),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=46)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=6)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.42, "created_at": "2026-02-08T06:42:47.107737Z", "verification": {"verified": true, "answer": 2088, "timestamp": "2026-02-08T06:42:49.527373Z"}, "problem_hash": "08be98", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 1503}, "timestamp": "2026-02-13T03:36:41.442Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 602}, "timestamp": "2026-02-12T00:24:39.083Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "K14": "no", "LTE_DIFF": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3d5f28", "alias": "nt_count_intersection_v1_1978505735_4720", "problem": "Let $n = 2$ and $N = 50000$. Define $a$ as the smallest divisor of $175$ that is at least $n$. Let $b = 18$. Define $S$ as the set of all positive integers $n'$ such that $1 \\leq n' \\leq N$, $a$ divides $n'$, and $\\gcd(n', b) = 1$. Compute the number of elements in $S$.", "answer": 3333, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(175))))),\n \"b\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.244, "created_at": "2026-02-08T18:27:11.957664Z", "verification": {"verified": true, "answer": 3333, "timestamp": "2026-02-08T18:27:14.202070Z"}, "problem_hash": "5fbc97", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 405}, "timestamp": "2026-02-13T00:13:51.678Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "18c5dd", "alias": "comb_count_surjections_v1_1440796553_527", "problem": "Let $m$ be the number of ordered pairs $(i, j)$ where $i$ is an integer from $1$ to $4$ and $j$ is an integer from $1$ to $6$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Now, let $k$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Given $n = 6$, compute the value of $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 720, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"n\": Const(6),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COUNT_CARTESIAN/COMB1", "COMB1/COMB1"], "recipe_id": "31f701", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.024, "created_at": "2026-02-08T11:50:43.194997Z", "verification": {"verified": true, "answer": 720, "timestamp": "2026-02-08T11:50:43.219086Z"}, "problem_hash": "979da0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 540, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 1949}, "timestamp": "2026-02-14T19:25:17.936Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 336}, "timestamp": "2026-02-12T04:38:51.772Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "862686", "alias": "comb_binomial_compute_v1_1520064083_4455", "problem": "Let $m = 12$ and $n = 2$. Define $S$ as the set of all prime numbers $n$ such that $n \\geq 2$ and\n$$\nn \\leq \\max\\left\\{ k \\in \\mathbb{Z}_{\\geq 0} : 13^k \\text{ divides } \\left(12^{10604499373} + 1^{10604499373}\\right) \\right\\}.\n$$\nLet $k$ be the largest element of $S$. Compute $\\binom{12}{k}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(2),\n \"n\": Const(12),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Sum(Pow(Ref(\"_m\"), Const(10604499373)), Pow(Const(1), Const(10604499373))), base=Const(13))), IsPrime(Var(\"n\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/MAX_PRIME_BELOW"], "recipe_id": "61dc72", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:17:26.788147Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T06:17:26.791017Z"}, "problem_hash": "4decaf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "K14": "no", "K5": "no", "MAX_VAL": "no", "V8": "no"}, "split": "test"} +{"id": "ae74b5", "alias": "comb_sum_binomial_mod_v1_1978505735_6513", "problem": "Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides $3106452942456719$. Compute the sum $\\sum_{k=9}^{309} \\binom{d_{\\min}}{k}$, and find the remainder when this sum is divided by $10973$.", "answer": 281, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"sum\": Summation(var=\"k\", start=Const(9), end=Const(309), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3106452942456719))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10973)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.031, "created_at": "2026-02-08T19:38:38.320482Z", "verification": {"verified": true, "answer": 281, "timestamp": "2026-02-08T19:38:38.351169Z"}, "problem_hash": "a6e893", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 411}, "timestamp": "2026-02-13T01:08:41.703Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K13": "no", "K18": "no", "K5": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "58a497", "alias": "nt_sum_divisors_compute_v1_1520064083_1754", "problem": "Let $n_1 = 19 \\times 53$. Define $\\lambda(n_1)$ to be $(-1)^{\\Omega(n_1)}$, where $\\Omega(n_1)$ is the total number of prime factors of $n_1$ counted with multiplicity. Let $p$ be $\\lambda(n_1)$ multiplied by the number of prime numbers between 2 and 5, inclusive. Let $h$ be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $\\sigma(27720)$ denote the sum of all positive divisors of 27720. Compute the remainder when $85096 \\times \\sigma(27720)$ is divided by $94653 + h$. Give your answer as a single integer.", "answer": 17433, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(19),\n \"q\": Const(53),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"u\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))), Ref(\"u\")),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(27720),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(85096), Ref(\"result\")), modulus=Sum(Const(94653), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/LIOUVILLE_ONE/WILSON"], "recipe_id": "d190e7", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "LIOUVILLE_ONE", "WILSON"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:16:13.563601Z", "verification": {"verified": true, "answer": 17433, "timestamp": "2026-02-08T04:16:13.569169Z"}, "problem_hash": "a63dcd", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIOUVILLE_ONE": "ok_later", "WILSON": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V7": "no"}, "split": "test"} +{"id": "cf4528", "alias": "nt_min_coprime_above_v1_971394319_1481", "problem": "Let $d_0$ be the smallest divisor of $6727297837847$ that is at least $2$. Let $m$ be the number of positive integers $n \\leq 602$ such that the sum of the decimal digits of $n$ is odd. Let $r$ be the smallest integer greater than $d_0$ and at most $1919$ that is relatively prime to $m$. Compute the remainder when $60 - r$ is divided by $79933$.", "answer": 78384, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60),\n \"start\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6727297837847))))),\n \"upper\": Const(1919),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(602)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Const(79933)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "L3B"], "recipe_id": "50af68", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.04, "created_at": "2026-02-08T13:42:25.960146Z", "verification": {"verified": true, "answer": 78384, "timestamp": "2026-02-08T13:42:25.999942Z"}, "problem_hash": "fa28e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 510}, "timestamp": "2026-02-12T07:16:13.809Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "263d66", "alias": "modular_sum_quadratic_residues_v1_898971024_2410", "problem": "Let $m = 231$ and $n = 7$. Let $p$ be the largest positive integer $d$ such that $d$ divides $54731$ and $$\n d \\le \\max\\left\\{ k \\in \\mathbb{Z} : 2 \\le k \\le m,\\ k \\text{ is prime} \\right\\}. $$\nDefine $$\nQ = \\left(2^{|p(p-1)/4|} \\bmod 99991\\right) + n.\n$$\nCompute $Q$.", "answer": 63139, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(231),\n \"_n\": Const(7),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Const(54731))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_DIVISOR"], "recipe_id": "c8e97a", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:44:03.870754Z", "verification": {"verified": true, "answer": 63139, "timestamp": "2026-02-08T16:44:03.873446Z"}, "problem_hash": "184f36", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 562}, "timestamp": "2026-02-12T20:54:18.953Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MAX_DIVISOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K17": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "850896", "alias": "antilemma_sum_equals_v1_153355830_1742", "problem": "Let $n$ be the number of integers $t$ with $7\\le t\\le52$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le13$, $1\\le b\\le8$, and\n$$t=2a+3b+2.$$\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le75$, $1\\le j\\le75$, and $i+j=76$.\n\nLet $c$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le25$ and $1\\le v\\le25$.\n\nLet\n$$Q=x^2+nx+c.$$\n\nFind the value of $Q$.", "answer": 9550, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=2)))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(75)), right=IntegerRange(start=Const(1), end=Const(75))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"Q\": Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"x\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "7447da", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T06:35:32.953898Z", "verification": {"verified": true, "answer": 9550, "timestamp": "2026-02-08T06:35:32.962436Z"}, "problem_hash": "942ee5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9550, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 3703}, "timestamp": "2026-02-13T02:28:49.640Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 666}, "timestamp": "2026-02-12T00:17:41.102Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "COUNT_CARTESIAN": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4aff8d", "alias": "modular_min_modexp_v1_1918700295_3971", "problem": "Let $a = 11$. Let $b$ be the sum of all positive integers $n \\leq 279$ such that $\\gcd(n, 20) = 1$, and then take the count of all positive integers $n$ such that $1 \\leq n \\leq b$ and $n \\equiv 0 \\pmod{28}$. Let $m = 523$ and let $x$ be the smallest positive integer such that $1 \\leq x \\leq 29$ and $a^x \\equiv b \\pmod{m}$. Determine the value of $Q = (70051 \\cdot x) \\mod 96415$.", "answer": 51210, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(11),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(279)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1)))))), Eq(Mod(value=Var(\"n\"), modulus=Const(28)), Const(0))))),\n \"m\": Const(523),\n \"upper\": Const(29),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(70051),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(96415)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/SUM_DIVISIBLE"], "recipe_id": "67698e", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C4", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.037, "created_at": "2026-02-08T09:04:06.898634Z", "verification": {"verified": true, "answer": 51210, "timestamp": "2026-02-08T09:04:06.935981Z"}, "problem_hash": "dc033b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6764, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 7895}, "timestamp": "2026-02-14T00:07:54.017Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 574}, "timestamp": "2026-02-12T02:29:42.003Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "fb6425", "alias": "nt_count_coprime_v1_1440796553_1084", "problem": "Let $m=2$ and $n=5$. Define\n\\[\nK = 1+2+3+4+5+6.\n\\]\nLet $N$ be the number of integers $t$ with $1 \\le t \\le 80656$ such that $\\gcd(t,K)=1$.\n\nConsider all ordered pairs $(p,q)$ of positive integers such that $pq=24$, $\\gcd(p,q)=1$, and $p p$ such that $pq = 22050$ and $\\gcd(p,q) = 1$. Let $u = 67600$. Determine the number of integers $n$ with $1 \\leq n \\leq u$ such that $n \\equiv r \\pmod{m}$.", "answer": 7511, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(67600),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=22050)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=3), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "b446a4", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.188, "created_at": "2026-02-08T02:59:01.182876Z", "verification": {"verified": true, "answer": 7511, "timestamp": "2026-02-08T02:59:03.371251Z"}, "problem_hash": "54d03b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:45:37.791Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7511, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 2178}, "timestamp": "2026-02-08T22:47:29.050Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "K16": "no", "K5": "no", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "98edea", "alias": "nt_sum_totient_over_divisors_v1_1520064083_227", "problem": "Let $n = 35868$. Define $A = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $T$ be the set of all integers $t$ such that $15 \\leq t \\leq 36$ and $t = 6a + 9b$ for some positive integers $a \\leq 3$ and $b \\leq 2$. Let $B$ be the largest integer $k$ such that $7^k$ divides $18562115921017574302453163671207^{|T|}$. Compute the value of $A + B \\bmod 99991$, where the addition is performed before taking the modulus.", "answer": 78177, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(35868),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MaxKDivides(target=Pow(Const(18562115921017574302453163671207), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=36)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b')))))))))), base=Const(7))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K14"], "recipe_id": "78edef", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:08:54.855109Z", "verification": {"verified": true, "answer": 78177, "timestamp": "2026-02-08T03:08:54.860254Z"}, "problem_hash": "c3b176", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "K14": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "f6f3fe", "alias": "geo_count_lattice_triangle_v1_865884756_1316", "problem": "Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 42515923700250$. Let $B$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 32$. Define $C$ to be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = 16384$. Let $D$ be the set of all nonnegative integers $j$ at most $24360$ such that $\\binom{24360}{j}$ is odd. Compute the value of\n$$\n\\left| \\frac{100 \\cdot 256 + 100 \\cdot |A| - 33 - \\left( \\gcd(100, 33) + \\gcd\\left( \\left| \\max_{(x,y) \\in B} (xy) - 100 \\right|, \\left| \\min_{(x_1,y_1) \\in C} (x_1 + y_1) - 33 \\right| \\right) + \\gcd\\left( |D|, 256 \\right) \\right)}{2} \\right|.\n$$", "answer": 8448, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(33),\n \"_c\": Const(256),\n \"_m\": Const(24360),\n \"_n\": Const(24360),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), Ref(name='_c')), Mul(CountOverSet(set=SolutionsSet(var=Var(name='p'), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=42515923700250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Sub(left=Const(value=0), right=Const(value=33))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=33))), GCD(a=Abs(arg=Sub(left=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=32)))), expr=Mul(Var(name='x'), Var(name='y')))), right=Const(value=100))), b=Abs(arg=Sub(left=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='y1')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(left=Mul(Var(name='x1'), Var(name='y1')), right=Const(value=16384)))), expr=Sum(Var(name='x1'), Var(name='y1')))), right=Const(value=33)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='j'), condition=And(Geq(left=Var(name='j'), right=Const(value=0)), Leq(left=Var(name='j'), right=Ref(name='_n')), Eq(left=Mod(value=Binom(n=Ref(name='_m'), k=Var(name='j')), modulus=Const(value=2)), right=Const(value=1))))))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=256))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "V8", "B1", "B3"], "recipe_id": "d03eb9", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS", "V8"], "num_lemmas": 4, "generation_time": 0.175, "created_at": "2026-02-08T15:57:03.878061Z", "verification": {"verified": true, "answer": 8448, "timestamp": "2026-02-08T15:57:04.052698Z"}, "problem_hash": "3041b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 420, "completion_tokens": 397}, "timestamp": "2026-02-12T09:33:13.944Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok", "COPRIME_PAIRS": "ok", "V8": "ok", "K16": "no", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "81dbaf", "alias": "diophantine_fbi2_count_v1_677425708_3049", "problem": "Let $n = 5$ and $k = 180$. Define $S$ as the set of all positive integers $j$ such that $1 \\leq j \\leq 185$ and $j^n \\leq 216699865625$. Let $m$ be the number of elements in $S$. Now, consider the set of all positive integers $d$ satisfying the following conditions:\n\n- $6 \\leq d \\leq m$,\n- $d$ divides $k$,\n- $2 \\leq \\frac{k}{d} \\leq \\max\\{ n' \\mid 2 \\leq n' \\leq 189 \\text{ and } n' \\text{ is prime}\\}$.\n\nLet $r$ be the number of such integers $d$. Compute the remainder when $75031 \\cdot r$ is divided by $88228$.", "answer": 18092, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(185)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(216699865625))), domain='positive_integers'))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(189)), IsPrime(Var(\"n\"))))))))),\n \"_c\": Const(75031),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(88228)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "C3"], "recipe_id": "744e84", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T05:27:10.704429Z", "verification": {"verified": true, "answer": 18092, "timestamp": "2026-02-08T05:27:10.720941Z"}, "problem_hash": "d79241", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18092, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 2768}, "timestamp": "2026-02-12T08:55:07.624Z"}, {"id": 8, "model": "mathstral", "answer": 5505, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 1146}, "timestamp": "2026-02-14T18:11:57.732Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 421}, "timestamp": "2026-02-11T22:39:36.375Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_SUM": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "0c372e", "alias": "antilemma_coprime_grid_v1_784195855_2195", "problem": "Let $n$ be the number of positive integers from 1 to 5, inclusive, whose digit sum is even. Let $\\phi(n)$ denote Euler's totient function. Define $S$ as the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 30$ and $1 \\leq j \\leq 168$, and $\\gcd(i, j) = \\phi(n)$. Let $x$ be the number of elements in $S$. Compute the remainder when $44121 \\cdot x$ is divided by 66608.", "answer": 53069, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(30)), right=IntegerRange(start=Const(1), end=Const(168))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"x\")), modulus=Const(66608)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ONE_PHI_2/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "302f7d", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "L3B", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:35:13.242887Z", "verification": {"verified": true, "answer": 53069, "timestamp": "2026-02-08T05:35:13.244394Z"}, "problem_hash": "68f2fa", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "L3B": "ok", "ONE_PHI_2": "ok_later", "C2": "no", "K15": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V3": "no"}, "split": "test"} +{"id": "2a8b4c", "alias": "sequence_fibonacci_compute_v1_1918700295_1504", "problem": "Let $F_{n}$ denote the $n$-th Fibonacci number, where $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all positive integers $n$. Let $N=24$ and let $R=F_{N}$. Let $r$ be the remainder when $|R|$ is divided by $11$, so that $0\\le r\\le 10$.\n\nLet $Q$ be the $r$-th Bell number.\n\nCompute $Q$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(24),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "recipe_id": "ed8c93", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "bell_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC", "V1"], "num_lemmas": 4, "generation_time": 0.064, "created_at": "2026-02-08T05:52:03.748614Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:52:03.812638Z"}, "problem_hash": "4de18c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 163, "completion_tokens": 958}, "timestamp": "2026-02-12T15:35:18.177Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 389}, "timestamp": "2026-02-11T23:14:01.854Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "7c5622", "alias": "nt_min_phi_inverse_v1_1978505735_5298", "problem": "Let $m = 15$. Define $s$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 17161$. Let $u$ be the number of positive integers $n$ such that $1 \\le n \\le s$, $n$ is even, and $\\gcd(n, m) = 1$. Given that $k = 16$, determine the value of the smallest positive integer $n_1$ such that $1 \\le n_1 \\le u$ and $\\phi(n_1) = k$.", "answer": 17, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(17161)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"k\": Const(16),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n1\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C5", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.031, "created_at": "2026-02-08T18:53:14.168716Z", "verification": {"verified": true, "answer": 17, "timestamp": "2026-02-08T18:53:14.199654Z"}, "problem_hash": "e5ca22", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 689}, "timestamp": "2026-02-13T00:40:08.301Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2c3c21", "alias": "algebra_poly_eval_v1_458359167_4057", "problem": "Let $n = 29645$. Let $d$ be the smallest prime divisor of $n$ that is at least $2$. Compute $2 \\cdot 8^3 + 8 \\cdot 8^2 + 7 \\cdot 8 + d$.", "answer": 1597, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29645),\n \"m\": Const(8),\n \"result\": Sum(Mul(Const(2), Pow(Ref(\"m\"), Const(3))), Mul(Const(8), Pow(Ref(\"m\"), Const(2))), Mul(Const(7), Ref(\"m\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\")))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T11:29:46.285381Z", "verification": {"verified": true, "answer": 1597, "timestamp": "2026-02-08T11:29:46.287921Z"}, "problem_hash": "65f941", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1597, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 509}, "timestamp": "2026-02-14T15:22:42.147Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1607, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 245}, "timestamp": "2026-02-12T04:13:40.462Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "492fa3", "alias": "antilemma_product_of_sums_v1_865884756_864", "problem": "Let $N$ be the smallest positive integer such that $2^{16}$ divides $N!$.\n\nLet $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers satisfying $x+y=N$.\n\nLet $L$ be the minimum of the set of all values of $u+v$ taken over all ordered pairs $(u,v)$ of positive integers satisfying $uv=M$.\n\nLet $T$ be the number of integers $n$ such that $1 \\le n \\le L$ and the sum of the decimal digits of $n$ is divisible by $2$.\n\nLet $S$ be the sum of all integers $k$ with $1 \\le k \\le 15$, each counted once for every integer $j$ with $1 \\le j \\le 5$.\n\nFinally, let\n$$\nX = S \\cdot \\sum_{k=1}^{T} k.\n$$\n\nCompute $X$. ", "answer": 27000, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x1\"), Var(\"y\")), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(16)), domain='Z_{>0}'))))), expr=Mul(Var(\"x1\"), Var(\"y\")))),\n \"_n\": Const(2),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Var(\"k\"))), Summation(var=\"k1\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x2\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='y1')), Eq(Mul(Var(\"x2\"), Var(\"y1\")), Ref(\"_m\")))), expr=Sum(Var(\"x2\"), Var(\"y1\"))))), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Ref(\"_n\")), Const(0))))), expr=Var(\"k1\"))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/B1/B3/L3B/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "fb4c25", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "L3B", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "V5"], "num_lemmas": 6, "generation_time": 0.01, "created_at": "2026-02-08T15:38:55.249623Z", "verification": {"verified": true, "answer": 27000, "timestamp": "2026-02-08T15:38:55.259834Z"}, "problem_hash": "7497f3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"PRODUCT_OF_SUMS": "ok", "V5": "ok", "B1": "ok_later", "B3": "ok_later", "L3B": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "78fc68", "alias": "modular_sum_quadratic_residues_v1_1978505735_2224", "problem": "Let $p$ be the smallest divisor of $38021$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 9264, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(38021))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:47:16.516070Z", "verification": {"verified": true, "answer": 9264, "timestamp": "2026-02-08T16:47:16.518861Z"}, "problem_hash": "737a4f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 241}, "timestamp": "2026-02-12T20:57:26.739Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K17": "no", "K5": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "99744a", "alias": "modular_sum_quadratic_residues_v1_1520064083_9166", "problem": "Let $n = 79523$. Let $p$ be the smallest divisor of $n$ that is at least 2. Compute $\\frac{p(p - 1)}{4}$.", "answer": 19670, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(79523),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T10:35:10.748470Z", "verification": {"verified": true, "answer": 19670, "timestamp": "2026-02-08T10:35:10.751822Z"}, "problem_hash": "8929b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19670, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 85, "completion_tokens": 3462}, "timestamp": "2026-02-14T07:50:11.563Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 258}, "timestamp": "2026-02-12T03:21:03.124Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9630b1", "alias": "antilemma_v8_lucas_784195855_1222", "problem": "Let $N=96242$. For each integer $j$ with $0\\le j\\le N$, consider the binomial coefficient $\\binom{N}{j}$. Let $A$ be the set of all integers $n$ with $1\\le n\\le 30$ such that the sum of the binary digits of $n$ is even. Let\n$$g=\\gcd\\bigl(|A|,22\\bigr),$$\nand let\n$$s=\\sum_{d\\mid g}\\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $x$ be the number of integers $j$ with $0\\le j\\le N$ such that\n$$\\binom{N}{j}\\equiv s\\pmod{2}.$$\nDefine\n$$Q\\equiv 7^{|x|}+36481\\pmod{99991},$$\nwhere $0\\le Q<99991$. Find the value of $Q$.", "answer": 64608, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(96242)), Eq(Mod(value=Binom(n=Const(96242), k=Var(\"j\")), modulus=Ref(\"_n\")), SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=30)), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Const(value=2)), right=Const(value=0))))), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d'))))), domain='nonnegative_integers')),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(36481)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MOBIUS_COPRIME/V8", "V8"], "recipe_id": "745c9b", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["L3B", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:54:32.650982Z", "verification": {"verified": true, "answer": 64608, "timestamp": "2026-02-08T04:54:32.653779Z"}, "problem_hash": "15d61e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "V8": "ok", "MOBIUS_COPRIME": "ok_later", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "4f3147", "alias": "antilemma_cartesian_v1_1520064083_3247", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 15 and $b$ is an integer from 1 to 17. Let $y$ be the number of ordered pairs $(c, d)$ where $c$ and $d$ are integers from 1 to 39. Compute $x^2 + 8x + y$.", "answer": 68586, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(17)))),\n \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(8), Ref(\"x\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(39))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "a91631", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:32:01.120982Z", "verification": {"verified": true, "answer": 68586, "timestamp": "2026-02-08T05:32:01.122129Z"}, "problem_hash": "fad8f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 68586, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 374}, "timestamp": "2026-02-11T22:52:28.749Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 68586, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 275}, "timestamp": "2026-02-11T22:46:29.288Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "df9015", "alias": "nt_count_divisors_in_range_v1_1080341949_128", "problem": "Let $n = 166320$. Let $a$ be the number of integers $t$ such that there exist integers $a'$ and $b'$ satisfying $1 \\leq a' \\leq 4$, $1 \\leq b' \\leq 8$, $5 \\leq t \\leq 32$, and $t = 2a' + 3b'$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 7695076$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 118, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(166320),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=32)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(7695076)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.055, "created_at": "2026-02-08T13:13:39.685340Z", "verification": {"verified": true, "answer": 118, "timestamp": "2026-02-08T13:13:39.740281Z"}, "problem_hash": "c2226a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 445}, "timestamp": "2026-02-12T06:28:55.414Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K17": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5d339b", "alias": "comb_binomial_compute_v1_397696148_858", "problem": "Let $n$ be the smallest divisor of $634933$ that is at least $2$. Compute $\\binom{n}{5}$.", "answer": 1287, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(634933))))),\n \"k\": Const(5),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:47:06.488988Z", "verification": {"verified": true, "answer": 1287, "timestamp": "2026-02-08T11:47:06.490891Z"}, "problem_hash": "f937ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1287, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 74, "completion_tokens": 1086}, "timestamp": "2026-02-14T20:58:56.077Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 264}, "timestamp": "2026-02-12T04:49:01.882Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "K5": "no", "L3c": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "e95b34", "alias": "comb_count_derangements_v1_124444284_3199", "problem": "Let $n = 77$. Let $d_0$ be the smallest divisor of $n$ that is at least $2$. Define $\\text{result} = !d_0$, the number of derangements of $d_0$ elements. Let $Q$ be the remainder when $6 - \\text{result}$ is divided by $88394$. Find the value of $Q$.", "answer": 86546, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(Const(6), Ref(\"result\")), modulus=Const(88394)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:17:16.949129Z", "verification": {"verified": true, "answer": 86546, "timestamp": "2026-02-08T05:17:16.950371Z"}, "problem_hash": "25f70d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 86546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 642}, "timestamp": "2026-02-12T05:52:54.324Z"}, {"id": 8, "model": "mathstral", "answer": 86546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 401}, "timestamp": "2026-02-14T10:38:51.392Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 339}, "timestamp": "2026-02-11T22:23:29.240Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "3a0f24", "alias": "antilemma_k2_v1_655260480_1202", "problem": "Let $c = 2$. Let $m$ be the sum of all real solutions $x_1$ to the equation $x_1^2 - 443x_1 + 10450 = 0$. Let $n$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $443$, where $\\phi$ denotes Euler's totient function. Define\n$$\nx = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor.\n$$\nCompute the value of\n$$\n\\sum_{n=1}^{|x|} \\tau(n) \\bmod 91605,\n$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 46567, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_c\")), Mul(Const(-443), Var(\"x1\")), Const(10450)), Const(0)))),\n \"_n\": SumOverDivisors(n=Const(value=443), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(91605)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T15:59:10.426504Z", "verification": {"verified": true, "answer": 46567, "timestamp": "2026-02-08T15:59:10.428841Z"}, "problem_hash": "0f54a1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 589}, "timestamp": "2026-02-12T09:41:02.445Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "K17": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ffc3d2", "alias": "diophantine_fbi2_min_v1_1439011603_3112", "problem": "Let $k = 180$ and $u = 190$. Define $S$ as the set of all integers $d$ such that $2 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq N$, where $N$ is the number of positive integers $n$ with $1 \\leq n \\leq 6$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$.\n\nLet $m$ be the smallest element of $S$. Compute the value of $37754 \\cdot m$.", "answer": 75508, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(180),\n \"upper\": Const(190),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))))))),\n \"Q\": Mul(Const(37754), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T17:15:06.502774Z", "verification": {"verified": true, "answer": 75508, "timestamp": "2026-02-08T17:15:06.516807Z"}, "problem_hash": "f37c9e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 75508, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 1018}, "timestamp": "2026-02-12T22:17:05.840Z"}], "solution_status": 2, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K15": "no", "K5": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "3f6653", "alias": "antilemma_product_of_sums_v1_1874849503_52", "problem": "Let $n = 16$. Let $t$ be the largest integer $k$ such that $2^k$ divides $7^n - 5^{16}$. Define $s = \\sum_{k=1}^{t} k$. Let $T$ be the set of all ordered pairs $(i,j)$ with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 5$. Define $p$ to be the sum of $i \\cdot j$ over all pairs $(i,j) \\in T$. Let $x = s \\cdot p$. Find the remainder when $84409 \\cdot x$ is divided by $75652$. Determine the value of this remainder.", "answer": 47222, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=MaxKDivides(target=Sub(Pow(Const(7), Ref(\"_n\")), Pow(Const(5), Const(16))), base=Const(2)), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"Q\": Mod(value=Mul(Const(84409), Ref(\"x\")), modulus=Const(75652)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "d524b0", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T12:47:07.308558Z", "verification": {"verified": true, "answer": 47222, "timestamp": "2026-02-08T12:47:07.310875Z"}, "problem_hash": "97a4e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 47222, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 2670}, "timestamp": "2026-02-09T13:35:28.403Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 47222, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 1390}, "timestamp": "2026-02-10T02:15:12.817Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:56:53.448Z"}], "solution_status": 1, "lemma_applicability": {"LTE_DIFF_P2": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "K15": "no", "K17": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "test"} +{"id": "b58795", "alias": "antilemma_sum_primes_v1_1874849503_220", "problem": "Let $M$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=18, \\quad \\gcd(p,q)=1, \\quad p p$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Let $\\text{prod} = \\prod_{i=n}^{d_{\\min}} i$. Find the remainder when $\\text{prod}$ is divided by 11071.", "answer": 3002, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(9),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(19172437)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11071)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MIN_PRIME_FACTOR", "COPRIME_PAIRS/MIN_PRIME_FACTOR"], "recipe_id": "24a94c", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:43:04.250836Z", "verification": {"verified": true, "answer": 3002, "timestamp": "2026-02-08T04:43:04.257035Z"}, "problem_hash": "fccc79", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:54:38.043Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:55:13.346Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 3531}, "timestamp": "2026-02-12T02:49:01.557Z"}, {"id": 8, "model": "mathstral", "answer": 42, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 508}, "timestamp": "2026-02-13T23:22:37.638Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 459}, "timestamp": "2026-02-11T21:46:29.449Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "5a1aaa", "alias": "algebra_vieta_sum_v1_865884756_5740", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 57024$ such that\n$$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.$$\nConsider the quartic equation\n$$2x^4+2x^3-216x^2-72x+N=0.$$\nLet $P$ be the product of all integer roots $x$ of this equation. Compute $P$. ", "answer": 2592, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Mul(Ref(name='_n'), Pow(base=Var(name='x'), exp=Const(value=4))), Mul(Const(value=2), Pow(base=Var(name='x'), exp=Const(value=3))), Mul(Const(value=-216), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=-72), Var(name='x')), CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=57024)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.062, "created_at": "2026-02-08T18:46:04.609067Z", "verification": {"verified": true, "answer": 2592, "timestamp": "2026-02-08T18:46:04.671122Z"}, "problem_hash": "ce63e6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 630}, "timestamp": "2026-02-13T00:30:28.219Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K16": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "97022d", "alias": "nt_euler_phi_compute_v1_50713871_27", "problem": "Let $p_1$ be the largest prime number between $2$ and $37$, inclusive. Let $q_1 = 7$ and $r = 97$, and define $n_2 = p_1 \\cdot q_1 \\cdot r$. Let $e = \\mu(n_2)^2$, where $\\mu$ is the M\\\"obius function. Let $p = 13$, $q = 19$, and $n_1 = p \\cdot q$. Let $t = \\lambda(n_1)$, where $\\lambda$ is the Liouville function. Let $n = 30047$. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function. Find the remainder when $44121 \\cdot e \\cdot t \\cdot \\phi(n)$ is divided by $82273$.", "answer": 76990, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(37)), IsPrime(Var(\"n\"))))),\n \"q1\": Const(7),\n \"r\": Const(97),\n \"n2\": Mul(Ref(\"p1\"), Ref(\"q1\"), Ref(\"r\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n2')), Ref(\"_n\")),\n \"p\": Const(13),\n \"q\": Const(19),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"t\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(30047),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Mul(Const(44121), Ref(\"e\")), Ref(\"t\")), Ref(\"result\")), modulus=Const(82273)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "LIOUVILLE_ONE"], "recipe_id": "683c25", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:43:36.565382Z", "verification": {"verified": true, "answer": 76990, "timestamp": "2026-02-08T02:43:36.569871Z"}, "problem_hash": "395adc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:45:15.653Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 76990, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 293, "completion_tokens": 3257}, "timestamp": "2026-02-09T19:09:54.183Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:25:12.821Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 76990, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 2735}, "timestamp": "2026-02-09T23:05:58.162Z"}], "solution_status": 1, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "test"} +{"id": "1fc8ed", "alias": "nt_sum_divisors_compute_v1_1742523217_2441", "problem": "Let $m = 2$ and $n = 135$. Let $p_1$ be the number of prime numbers $p$ such that $m \\leq p \\leq 179$. Let $q_1 = 11$ and define $n_2 = (p_1 \\cdot q_1)^2$. Let $w$ be the remainder when the number of positive divisors of $n_2$ is divided by 2. Let $p = 11$ and let $q$ be the smallest divisor $d \\geq 2$ of $n$. Define $n_1 = p^{2w} \\cdot q$. Let $c = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Let $n = 27730 + c$. Compute the sum of all positive divisors of $n$.", "answer": 51840, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(135),\n \"p1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(179)), IsPrime(Var(\"n\"))))),\n \"q1\": Const(11),\n \"n2\": Pow(Mul(Ref(\"p1\"), Ref(\"q1\")), Const(2)),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"p\": Const(11),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"n1\": Mul(Pow(Ref(\"p\"), Mul(Const(2), Ref(\"w\"))), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Sum(Const(27730), Ref(\"c\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "COUNT_PRIMES/DIVISOR_PARITY"], "recipe_id": "9aedc1", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "DIVISOR_PARITY", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:47:09.139828Z", "verification": {"verified": true, "answer": 51840, "timestamp": "2026-02-08T04:47:09.144100Z"}, "problem_hash": "5cd54f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K16": "no", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "split": "test"} +{"id": "7f8452", "alias": "nt_min_coprime_above_v1_458359167_5613", "problem": "Let $d$ be the smallest divisor of 1592366805789517 that is at least 2. Define $m = 196$ and let $s$ be the smallest integer greater than 6105 and at most $d$ such that $\\gcd(s, m) = 1$. Compute the value of $$ s + \\left(2^{s \\bmod 15}\\right) \\bmod 91978 $$.", "answer": 6111, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(6105),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1592366805789517))))),\n \"modulus\": Const(196),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(15))), modulus=Const(91978))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.035, "created_at": "2026-02-08T12:37:03.778893Z", "verification": {"verified": true, "answer": 6111, "timestamp": "2026-02-08T12:37:03.814201Z"}, "problem_hash": "753d94", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 467}, "timestamp": "2026-02-12T05:23:05.334Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "L3b": "no", "L3c": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "198f1e", "alias": "modular_sum_quadratic_residues_v1_865884756_1835", "problem": "Let $m = 229$ and let $p$ be the largest prime number such that $2 \\leq p \\leq m$. Define $r = \\frac{p(p-1)}{4}$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 176$. Let $c$ be the maximum value of $xy$ over all such pairs. Compute $3^{|r|} \\mod 99991$, then add $c$ to this result. Find the value of this sum.", "answer": 55130, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(229),\n \"_n\": Const(4),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(176)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MAX_PRIME_BELOW"], "recipe_id": "50df18", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "two_stage_modexp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T16:19:11.497853Z", "verification": {"verified": true, "answer": 55130, "timestamp": "2026-02-08T16:19:11.504245Z"}, "problem_hash": "4a8eef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 663}, "timestamp": "2026-02-12T10:30:26.586Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5fed6a", "alias": "modular_sum_quadratic_residues_v1_1978505735_5563", "problem": "Let $n = 61315$. Let $p$ be the smallest divisor of $236410337$ that is at least $2$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $Q$ be the remainder when $44121 \\cdot \\text{result}$ is divided by $n$. Compute $Q$.", "answer": 59998, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61315),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(236410337))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T19:05:01.541952Z", "verification": {"verified": true, "answer": 59998, "timestamp": "2026-02-08T19:05:01.543313Z"}, "problem_hash": "f7006c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 347}, "timestamp": "2026-02-13T00:48:39.538Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "L3b": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "08436b", "alias": "antilemma_sum_factor_cartesian_v1_153355830_76", "problem": "Let $m=5$. Let $n$ be the number of integers $r$ such that $2\\le r\\le 3$ and $r$ is prime.\n\nLet $p$ be the greatest prime among all integers $s$ with $n\\le s\\le 3$.\n\nLet\n$$G=\\sum_{d\\mid \\gcd(p,m)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. For each ordered pair $(i,j)$ of integers with $1\\le i\\le 24$ and $1\\le j\\le 25$, include the product $ij$ in a multiset if and only if $G$ is nonzero.\n\nLet $x$ be the sum of all products $ij$ in this multiset.\n\nCompute $x$.", "answer": 97500, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_n')), Leq(left=Var(name='n'), right=Const(value=3)), IsPrime(arg=Var(name='n'))))), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(25)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MAX_PRIME_BELOW/MOBIUS_COPRIME/ONE_PHI_1/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "7ca9ec", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "ONE_PHI_1", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "generation_time": 0.002, "created_at": "2026-02-08T02:52:59.697482Z", "verification": {"verified": true, "answer": 97500, "timestamp": "2026-02-08T02:52:59.699960Z"}, "problem_hash": "b57c28", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 97500, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 285, "completion_tokens": 689}, "timestamp": "2026-02-08T22:42:07.747Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "87f23a", "alias": "diophantine_fbi2_count_v1_124444284_6361", "problem": "Let $k = 120$. Determine the number of positive integers $d$ such that $5 \\leq d \\leq 103$, $d$ divides $k$, and the quotient $\\frac{k}{d}$ is between $6$ and $104$, inclusive.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(120),\n \"a\": Const(4),\n \"b\": Const(5),\n \"upper\": Const(99),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(103)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(104))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.071, "created_at": "2026-02-08T08:18:34.528401Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T08:18:34.599810Z"}, "problem_hash": "8b619e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 102, "completion_tokens": 788}, "timestamp": "2026-02-13T17:37:07.621Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 549}, "timestamp": "2026-02-12T01:48:48.231Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "55251b", "alias": "modular_inverse_v1_1874849503_1344", "problem": "Find the smallest positive integer $x$ such that $x \\leq 616$ and $$293x \\equiv 1 \\pmod{617}.$$", "answer": 398, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(293),\n \"m\": Const(617),\n \"upper\": Const(616),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "VIETA_SUM", "C2"], "recipe_id": "7b61b7", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "C2", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.136, "created_at": "2026-02-08T13:50:54.688772Z", "verification": {"verified": true, "answer": 398, "timestamp": "2026-02-08T13:50:54.824738Z"}, "problem_hash": "6ab1b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 398, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 904}, "timestamp": "2026-02-10T03:33:27.925Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 502}, "timestamp": "2026-02-11T21:14:42.707Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "C2": "ok", "VIETA_SUM": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "9790f8", "alias": "nt_lcm_compute_v1_655260480_1642", "problem": "Let $a$ be the number of integers $t$ with $12 \\leq t \\leq 629$ for which there exist positive integers $a'$ and $b'$ such that $1 \\leq a' \\leq 77$, $1 \\leq b' \\leq 18$, and $t = 7a' + 5b'$. Let $b$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 662596$. Compute $\\operatorname{lcm}(a, b)$.", "answer": 43956, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=77)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=18)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=629)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(662596)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T16:16:24.041349Z", "verification": {"verified": true, "answer": 43956, "timestamp": "2026-02-08T16:16:24.061635Z"}, "problem_hash": "a661b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 548}, "timestamp": "2026-02-12T10:15:14.053Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5ba8a6", "alias": "nt_lcm_compute_v1_809748730_1543", "problem": "Let $a$ be the number of integers $t$ with $5 \\leq t \\leq 1658$ for which there exist positive integers $a' \\leq 157$ and $b' \\leq 448$ such that $t = 2a' + 3b'$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1399489$. Let $L$ be the least common multiple of $a$ and $b$. Compute the remainder when $69339 \\cdot L$ is divided by $95485$.", "answer": 83317, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(95485),\n \"_n\": Const(69339),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=157)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=448)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=1658)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1399489)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T12:32:32.420006Z", "verification": {"verified": true, "answer": 83317, "timestamp": "2026-02-08T12:32:32.424117Z"}, "problem_hash": "7521f4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 435}, "timestamp": "2026-02-12T05:20:20.321Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a7ef7b", "alias": "nt_count_intersection_v1_1742523217_467", "problem": "Let $ p = 59 $, $ n = p^2 $, and $ c = \\lambda(n) $, where $ \\lambda $ is the Liouville function. Let $ u = \\sum_{d \\mid 1} \\mu(d) $. Define $ N = 50000 \\cdot u $. Let $ a $ be the smallest integer at least 2 that divides 11011. Let $ b = 18 \\cdot c $. Compute the number of positive integers $ n $ at most $ N $ such that $ a $ divides $ n $ and $ \\gcd(n, b) = 1 $.", "answer": 2381, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(59),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"N\": Mul(Const(50000), Ref(\"u\")),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"b\": Mul(Const(18), Ref(\"c\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "LIOUVILLE_ONE", "MOBIUS_SUM"], "recipe_id": "460e54", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 1.704, "created_at": "2026-02-08T03:03:54.152058Z", "verification": {"verified": true, "answer": 2381, "timestamp": "2026-02-08T03:03:55.856346Z"}, "problem_hash": "d1b0f4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 2475}, "timestamp": "2026-02-09T18:21:15.260Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 1288}, "timestamp": "2026-02-09T03:21:00.970Z"}], "solution_status": 2, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SUM": "ok", "C2": "no", "DS2": "no", "LTE_SUM": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "19561f", "alias": "modular_sum_quadratic_residues_v1_809748730_659", "problem": "Let $p$ be the smallest divisor of $220782917071$ that is at least $2$. Define $Q$ as the remainder when $17299 \\cdot \\frac{p(p-1)}{4}$ is divided by $56466$. Compute $Q$.", "answer": 40721, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56466),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(220782917071))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Const(17299),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:40:20.885081Z", "verification": {"verified": true, "answer": 40721, "timestamp": "2026-02-08T11:40:20.886485Z"}, "problem_hash": "413ce3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 47012, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 102, "completion_tokens": 3588}, "timestamp": "2026-02-14T17:29:09.243Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 258}, "timestamp": "2026-02-12T04:26:22.304Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "122667", "alias": "antilemma_sum_primes_v1_1440796553_636", "problem": "Let $n$ be the sum of all prime numbers between 2 and 29, inclusive. Define $S$ as the set of all positive integers $x$ such that $x + y = 108$ for some positive integer $y$. Compute the value of\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} n \\rfloor} \\left( \\text{the } i\\text{-th digit of } n \\right) \\cdot (i+1)^2 + \\max_{(x,y) \\in S} (xy).\n$$", "answer": 2942, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(108)))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "SUM_PRIMES"], "recipe_id": "de7efa", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T11:54:46.648061Z", "verification": {"verified": true, "answer": 2942, "timestamp": "2026-02-08T11:54:46.651308Z"}, "problem_hash": "9b77f4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "SUM_PRIMES": "ok", "C2": "no", "DS2": "no", "K16": "no", "K17": "no", "K18": "no"}, "split": "test"} +{"id": "ed9b43", "alias": "sequence_lucas_compute_v1_865884756_3011", "problem": "Let $D$ be the set of all positive integers $d$ such that $1 \\leq d \\leq 100$ and $d$ divides $10100$. Let $M$ be the maximum element of $D$. Now, let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = M$. Define $T$ to be the set of all values $x + y$ where $(x, y) \\in S$. Let $u$ be the minimum value in $T$. Consider all prime numbers $n$ such that $2 \\leq n \\leq u$. Let $p$ be the largest such prime. Define $L_p$ to be the $p$-th Lucas number. Compute $23716 - L_p$. Determine the value of this result.", "answer": 14367, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(23716),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(100)), Divides(divisor=Var(\"d\"), dividend=Const(10100)))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n1\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/B3/MAX_PRIME_BELOW"], "recipe_id": "bb11e1", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T17:06:04.490124Z", "verification": {"verified": true, "answer": 14367, "timestamp": "2026-02-08T17:06:04.497981Z"}, "problem_hash": "e0d059", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 473}, "timestamp": "2026-02-12T21:52:57.319Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "B3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3b": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e84b2d", "alias": "antilemma_product_of_sums_v1_1742523217_1110", "problem": "Let $n=44521$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=9$. Let $S$ be the set of all possible values of $x+y$ over these pairs, and let $M$ be the minimum element of $S$.\n\nNow consider all ordered pairs $(x,y)$ of positive integers such that $x+y=M$. For each such pair, let $xy$ be an element of a new set; let $T$ be this set. Let $K$ be the maximum element of $T$.\n\nDefine\n$$S_1=\\sum_{k=1}^{K} k.$$\n\nNext, consider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 7$ and $1\\le j\\le 9$. For each such pair, form the product $ij$, and let $U$ be the set of all these products. Let\n$$S_2=\\sum_{u\\in U} u.$$\n\nLet $x=S_1S_2$, and define\n$$Q\\equiv 2^{|x|}+n\\pmod{99991},$$\nwhere $0\\le Q<99991$.\n\nFind the value of $Q$.", "answer": 98046, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44521),\n \"S1\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "0411cb", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:25:28.432393Z", "verification": {"verified": true, "answer": 98046, "timestamp": "2026-02-08T03:25:28.434724Z"}, "problem_hash": "99b4e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 372, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:33:18.868Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 376, "completion_tokens": 8192}, "timestamp": "2026-02-09T11:13:57.936Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "B1": "ok_later", "SUM_ARITHMETIC": "ok_later", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "89216f", "alias": "comb_factorial_compute_v1_1470522791_1860", "problem": "Let $n$ be the smallest divisor of $41503$ that is at least $2$. Define $Q = 12880 - n!$. Compute $Q$.", "answer": 7840, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(41503))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(12880),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T14:01:03.363238Z", "verification": {"verified": true, "answer": 7840, "timestamp": "2026-02-08T14:01:03.365928Z"}, "problem_hash": "852f5d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 266}, "timestamp": "2026-02-12T07:45:48.528Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "23c119", "alias": "nt_sum_gcd_range_mod_v1_397696148_863", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $8336611141$. Compute the remainder when $\\sum_{n=1}^{d} \\gcd(n, 168)$ is divided by $10949$.", "answer": 4689, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(8336611141))))),\n \"k\": Const(168),\n \"M\": Const(10949),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.107, "created_at": "2026-02-08T11:47:19.217902Z", "verification": {"verified": true, "answer": 4689, "timestamp": "2026-02-08T11:47:19.325350Z"}, "problem_hash": "24d506", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 98, "completion_tokens": 8192}, "timestamp": "2026-02-14T21:03:42.392Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 384}, "timestamp": "2026-02-12T04:49:08.373Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "ff2aad", "alias": "comb_sum_binomial_row_v1_1978505735_914", "problem": "Let $n$ be the smallest divisor of $143$ that is at least $2$. Compute $2^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T15:40:56.435225Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T15:40:56.439488Z"}, "problem_hash": "7360f3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 131}, "timestamp": "2026-02-12T08:58:42.159Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "7763b4", "alias": "nt_sum_phi_v1_151522320_1621", "problem": "Let $n_0 = 82944$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = n_0$. For each such pair, compute $x + y$. Let $\\text{upper}$ be the minimum value of $x + y$ over all such pairs.\n\nNow, let $A$ be the number of positive integers $n$ with $1 \\leq n \\leq 39$ such that the sum of the binary digits of $n$ is even. Let $\\mu$ denote the M\\\"obius function, and let $S = \\sum_{d \\mid A} \\mu(d)$. Define $\\text{lower} = \\gcd(17, S)$.\n\nLet $R$ be the set of all integers $n$ such that $\\text{lower} \\leq n \\leq \\text{upper}$. For each $n \\in R$, compute $\\phi(n)$, where $\\phi$ is Euler's totient function. Let $\\text{result}$ be the sum of all these $\\phi(n)$ values.\n\nCompute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|\\text{result}| + 2$.", "answer": 21624, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82944),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=17), b=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=39)), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Const(value=2)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MOBIUS_COPRIME", "B3"], "recipe_id": "412baa", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.035, "created_at": "2026-02-08T04:08:39.789668Z", "verification": {"verified": true, "answer": 21624, "timestamp": "2026-02-08T04:08:39.824788Z"}, "problem_hash": "2b3ad0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "L3B": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K16": "no", "MAX_VAL": "no", "V5": "no"}, "split": "test"} +{"id": "eb80b0", "alias": "comb_count_surjections_v1_2051736721_965", "problem": "Let $m = 6$. Let $A$ be the set of all ordered pairs $(i,j)$ with $i \\in \\{1,2,3,4\\}$ and $j \\in \\{1,2,3,4,5\\}$ such that $i + j = m$. Let $n_1$ be the number of elements in $A$. Let $B$ be the Cartesian product $\\{1,2\\} \\times \\{1,2,3\\}$, and let $n$ be the number of elements in $B$. Let $C$ be the set of all ordered pairs $(i_1,j_1)$ with $i_1 \\in \\{1,2,3\\}$ and $j_1 \\in \\{1,2,3\\}$ such that $i_1 + j_1 = n$. Let $k$ be the number of elements in $C$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "2b449a", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.028, "created_at": "2026-02-08T15:46:26.176233Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T15:46:26.204646Z"}, "problem_hash": "a5c546", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 517}, "timestamp": "2026-02-12T09:11:18.157Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "401e4a", "alias": "diophantine_fbi2_count_v1_1978505735_4267", "problem": "Let $m$ be the number of positive integers $n$ with $1 \\leq n \\leq 2002$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $k = 360$. Determine the number of divisors $d$ of $k$ such that $3 \\leq d \\leq m$, and $2 \\leq \\frac{360}{d} \\leq 181$. Compute this number.", "answer": 21, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(360),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2002)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(181))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.019, "created_at": "2026-02-08T18:08:27.852452Z", "verification": {"verified": true, "answer": 21, "timestamp": "2026-02-08T18:08:27.871169Z"}, "problem_hash": "ed32b2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 740}, "timestamp": "2026-02-12T23:46:22.308Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K14": "no", "K16": "no", "L3b": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c7d671", "alias": "nt_count_gcd_equals_v1_2051736721_5459", "problem": "Let $k$ be the smallest divisor of $59540372117$ that is at least $2$. Let $d$ be the smallest prime divisor of $59540372117$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 38416$ and $\\gcd(n, k) = d$.", "answer": 78, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(38416),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(59540372117))))),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d2\"), condition=And(Geq(Var(\"d2\"), Const(2)), Divides(divisor=Var(\"d2\"), dividend=Const(59540372117))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 5.676, "created_at": "2026-02-08T18:36:33.144998Z", "verification": {"verified": true, "answer": 78, "timestamp": "2026-02-08T18:36:38.821066Z"}, "problem_hash": "a3b7ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 420}, "timestamp": "2026-02-13T00:20:12.357Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "K16": "no", "K5": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4499a9", "alias": "nt_count_phi_equals_v1_124444284_927", "problem": "Let $c = 131$. Let $m$ be the smallest positive integer $n$ such that $2^c$ divides $n!$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Define $P$ to be the maximum value of $xy$ over all such pairs in $S$. \n\nLet $k$ be the number of integers $t$ with $13 \\le t \\le 2975$ for which there exist positive integers $a \\le 450$ and $b \\le 240$ such that $t = 5a + 3b + 5$. \n\nLet $R$ be the number of positive integers $n \\le P$ such that $\\phi(n) = k$, where $\\phi$ denotes Euler's totient function. \n\nCompute the remainder when $|R|$ is divided by $79133$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(131),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Ref(\"_c\")), domain='Z_{>0}')),\n \"_n\": Const(79133),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=450)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=240)), Geq(left=Var(name='t'), right=Const(value=13)), Leq(left=Var(name='t'), right=Const(value=2975)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=5)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["V5/LIN_FORM/B1"], "recipe_id": "2a31da", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "ONE_PHI_2", "V5"], "num_lemmas": 4, "generation_time": 1.1, "created_at": "2026-02-08T03:36:07.468700Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T03:36:08.568238Z"}, "problem_hash": "9e5900", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 306, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:07:24.763Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 310, "completion_tokens": 4249}, "timestamp": "2026-02-09T07:39:58.620Z"}], "solution_status": 1, "lemma_applicability": {"V5": "ok", "B1": "ok_later", "LIN_FORM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "L3b": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "acb3ca", "alias": "nt_count_gcd_equals_v1_168721529_1695", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 25281$. Let $S$ be the set of all integers $n$ such that $1 \\le n \\le 14400$ and $\\gcd(n, k) = 1$. Let $r$ be the number of elements in $S$. Let $T$ be the set of all integers $n$ such that $1 \\le n \\le 14000$ and the sum of the decimal digits of $n$ is odd. Compute the value of $r \\bmod 317$ plus the product of $|T|$ and $(r \\bmod 313)$.", "answer": 98285, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(14400),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25281)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Const(317)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14000)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))), Mod(value=Ref(\"result\"), modulus=Const(313)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "B3"], "recipe_id": "f8e08e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3B"], "num_lemmas": 2, "generation_time": 3.673, "created_at": "2026-02-08T13:51:16.197475Z", "verification": {"verified": true, "answer": 98285, "timestamp": "2026-02-08T13:51:19.870106Z"}, "problem_hash": "52056f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:28:56.241Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 98285, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 3306}, "timestamp": "2026-02-11T08:00:43.320Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 515}, "timestamp": "2026-02-12T07:25:29.031Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3B": "ok", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "213689", "alias": "modular_product_range_v1_1439011603_1440", "problem": "Let $n = 3$. Define $\\text{prod}$ to be the product of all integers $i$ from $n$ to $d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest integer $d \\geq 2$ that divides $7387$. Let $\\text{result}$ be the remainder when $\\text{prod}$ is divided by $10627$. Compute the remainder when $10766 \\cdot \\text{result}$ is divided by $93867$.", "answer": 76074, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7387)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10627)),\n \"Q\": Mod(value=Mul(Const(10766), Ref(\"result\")), modulus=Const(93867)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:06:07.098840Z", "verification": {"verified": true, "answer": 76074, "timestamp": "2026-02-08T16:06:07.101890Z"}, "problem_hash": "3f92c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 340}, "timestamp": "2026-02-12T09:55:47.107Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K14": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ae2c2c", "alias": "modular_min_linear_v1_153355830_1861", "problem": "Let $ a = 52678 $, $ b = 47719 $, and $ m = 85879 $. Let $ D $ be the set of all integers $ d \\geq 2 $ such that $ d $ divides $ 18 $. Let $ \\phi = \\min D $. Let $ S $ be the set of all integers $ x $ such that $ \\phi \\leq x \\leq m $ and $ ax \\equiv b \\pmod{m} $. Let $ r $ be the smallest element of $ S $. Compute the remainder when $ 32393r $ is divided by $ 58974 $.", "answer": 56532, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(52678),\n \"b\": Const(47719),\n \"m\": Const(85879),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(18))))))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(32393), Ref(\"result\")), modulus=Const(58974)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ONE_PHI_2"], "recipe_id": "687740", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 3.368, "created_at": "2026-02-08T06:44:34.371779Z", "verification": {"verified": true, "answer": 56532, "timestamp": "2026-02-08T06:44:37.739328Z"}, "problem_hash": "30361f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "split": "test"} +{"id": "24c808", "alias": "modular_sum_quadratic_residues_v1_1520064083_9674", "problem": "Let $p$ be the number of positive integers $n$ such that $1 \\leq n \\leq 2889$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $r = \\frac{p(p - 1)}{4}$. Compute the remainder when $73405 \\cdot r$ is divided by $58503$.", "answer": 19884, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73405),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2889)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(58503)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T10:57:53.369464Z", "verification": {"verified": true, "answer": 19884, "timestamp": "2026-02-08T10:57:53.370834Z"}, "problem_hash": "7d7867", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 1459}, "timestamp": "2026-02-14T09:31:10.690Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 793}, "timestamp": "2026-02-12T03:32:19.105Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "K17": "no", "LTE_DIFF_P2": "no", "V1": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "0f4296", "alias": "nt_euler_phi_compute_v1_1125832087_1060", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 120$ and $\\gcd(p, q) = 1$. Let $c = \\Omega(1)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $b = 5 + c$. Let $n_1 = (a \\cdot b)^2$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 108$ and $\\gcd(p, q) = 1$. Let $h$ be the remainder when the number of positive divisors of $n_1$ is divided by $m$. Let $n = 79401 \\cdot h$. Compute $\\phi(n)$, where $\\phi$ denotes Euler's totient function.", "answer": 42768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(1),\n \"c\": BigOmega(n=Ref(name='n2')),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=120)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"b\": Sum(Const(5), Ref(\"c\")),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Ref(\"_n\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Mul(Const(79401), Ref(\"h\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/DIVISOR_PARITY", "BIG_OMEGA_ZERO"], "recipe_id": "a26a8f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COPRIME_PAIRS", "DIVISOR_PARITY"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:29:30.974835Z", "verification": {"verified": true, "answer": 42768, "timestamp": "2026-02-08T03:29:30.979226Z"}, "problem_hash": "f24d62", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COPRIME_PAIRS": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V7": "no"}, "split": "test"} +{"id": "25f8a0", "alias": "modular_product_range_v1_2051736721_2785", "problem": "Let $n = 2$. Let $d$ be the smallest positive divisor of $74528689$ that is at least $n$. Compute the remainder when the product of all integers from $d$ to $149$, inclusive, is divided by $10223$.", "answer": 9951, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(74528689))))), end=Const(149)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10223)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:54:36.685823Z", "verification": {"verified": true, "answer": 9951, "timestamp": "2026-02-08T16:54:36.688330Z"}, "problem_hash": "f9e838", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 192}, "timestamp": "2026-02-12T21:22:01.013Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "daef62", "alias": "antilemma_v1_legendre_784195855_716", "problem": "Let $ S $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ xy = 18627856 $. Let $ T $ be the set of all values $ x + y $ for $ (x, y) \\in S $. Let $ m $ be the minimum element of $ T $. Let $ k $ be the largest integer such that $ 13^k $ divides $ m! $. Let $ s = \\sum_{i=0}^{d-1} d_i (i+1)^2 $, where $ d_i $ is the $ i $-th decimal digit of $ |k| $ (starting from the units digit as $ i = 0 $), and $ d $ is the number of digits of $ |k| $. Let $ U $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = 118 $. Let $ p $ be the maximum value of $ xy $ over $ U $. Compute $ s + p $.", "answer": 3556, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(118),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Factorial(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(18627856)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Const(13)),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "B3/V1", "V1"], "recipe_id": "2d507b", "seed_template_id": "antilemma_v1_legendre", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:33:55.825809Z", "verification": {"verified": true, "answer": 3556, "timestamp": "2026-02-08T04:33:55.828703Z"}, "problem_hash": "639cf2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "B3": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8": "no"}, "split": "test"} +{"id": "d85c10", "alias": "comb_count_partitions_v1_1520064083_9201", "problem": "Let $n = 45$ and let $P$ be the number of integer partitions of $n$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 186$. Define $M$ to be the maximum value of $xy$ over all pairs $(x,y) \\in S$. Compute the remainder when $M - P$ is divided by $78487$.", "answer": 76489, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(186),\n \"n\": Const(45),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(78487)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_count_partitions_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T10:35:46.420650Z", "verification": {"verified": true, "answer": 76489, "timestamp": "2026-02-08T10:35:46.421985Z"}, "problem_hash": "fbcc90", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 76489, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 747}, "timestamp": "2026-02-14T07:52:17.106Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 359}, "timestamp": "2026-02-12T03:21:30.035Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "aa1cb4", "alias": "antilemma_k2_v1_458359167_3161", "problem": "Let $c = 1155$. Let $m$ be the sum of all real solutions $x$ to the equation $x^2 - 76x + c = 0$. Define $n = \\sum_{d \\mid m} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let\n\n$$\nx = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{76}{k} \\right\\rfloor.\n$$\n\nCompute the value of\n\n$$\nQ = \\sum_{n=1}^{|x|} \\tau(n),\n$$\n\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$. Determine the value of $Q$.", "answer": 23822, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(1155),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-76), Var(\"x\")), Ref(\"_c\")), Const(0)))),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(76), Var(\"k\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:00:20.628016Z", "verification": {"verified": true, "answer": 23822, "timestamp": "2026-02-08T07:00:20.629959Z"}, "problem_hash": "c4cdad", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23820, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 3242}, "timestamp": "2026-02-13T07:04:09.958Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 539}, "timestamp": "2026-02-12T00:45:13.403Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "453345", "alias": "nt_num_divisors_compute_v1_458359167_4459", "problem": "Let $n = 42439$. Let $d$ be the smallest divisor of $n$ that is greater than or equal to $2$. Compute the number of positive divisors of $d$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(42439),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:48:07.259265Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T11:48:07.261713Z"}, "problem_hash": "d05f31", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 152}, "timestamp": "2026-02-12T04:42:25.603Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "K16": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "240046", "alias": "nt_min_coprime_above_v1_548369836_387", "problem": "Let $m$ be the smallest divisor $d$ of $40906040743$ such that $d \\geq 2$.\n\nLet $n$ be the smallest integer $n$ such that $66049 < n \\leq 66186$ and $\\gcd(n, m) = 1$.\n\nCompute $n$.", "answer": 66050, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(66049),\n \"upper\": Const(66186),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(40906040743))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T02:53:34.374393Z", "verification": {"verified": true, "answer": 66050, "timestamp": "2026-02-08T02:53:34.388215Z"}, "problem_hash": "a8c483", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:26:02.016Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 66050, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 7416}, "timestamp": "2026-02-09T23:38:37.291Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:53:14.589Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 127, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:39:50.601Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 66050, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 3627}, "timestamp": "2026-02-09T14:21:10.922Z"}, {"id": 8, "model": "mathstral", "answer": 66050, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 575}, "timestamp": "2026-02-11T05:59:30.045Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 272}, "timestamp": "2026-02-11T19:49:53.158Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "9db249", "alias": "nt_sum_totient_over_divisors_v1_1874849503_739", "problem": "Let $n_1$ be the largest prime number between $2$ and $6$, inclusive. Define $w$ to be the number of distinct prime factors of $n_1$. Let $p = 2$, and let $v$ be the remainder when $\\left( (p - \\sum_{d \\mid \\gcd(9,14)} \\mu(d))! + 1 \\right)$ is divided by $p$. Let $n = 91677$, and let $\\text{result}$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Define $c = 10404 \\cdot w + v$. Compute the remainder when $c - \\text{result}$ is divided by $90597$.", "answer": 9324, "graph": "graphs = [\n Graph(\n let={\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(2),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), SumOverDivisors(n=GCD(a=Const(value=9), b=Const(value=14)), var='d', expr=MoebiusMu(n=Var(name='d'))))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(91677),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Sum(Mul(Const(10404), Ref(\"w\")), Ref(\"v\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(90597)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/OMEGA_ONE", "MOBIUS_COPRIME", "WILSON"], "recipe_id": "8d2f63", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "OMEGA_ONE", "WILSON"], "num_lemmas": 4, "generation_time": 0.017, "created_at": "2026-02-08T13:16:27.376554Z", "verification": {"verified": true, "answer": 9324, "timestamp": "2026-02-08T13:16:27.393541Z"}, "problem_hash": "6aa8ab", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 9324, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 991}, "timestamp": "2026-02-09T20:26:40.247Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "WILSON": "ok", "OMEGA_ONE": "ok_later", "K17": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "12b2cc", "alias": "nt_min_coprime_above_v1_1125832087_760", "problem": "Let $\\_n = 2$. Define $\\text{start}$ to be the smallest integer $d \\geq \\_n$ that divides $1052651$. Let $\\text{upper}$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 223$. Let $\\text{result}$ be the smallest integer $n$ such that $\\text{start} < n \\leq \\text{upper}$ and $\\gcd(n, 84) = 1$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 12250000$. Define $\\text{sums} = \\{x + y \\mid (x, y) \\in S\\}$. Let $\\text{minsum}$ be the minimum value in $\\text{sums}$. Compute $\\text{minsum} - \\text{result}$.", "answer": 5975, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1052651))))),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(223)))),\n \"modulus\": Const(84),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(12250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "MIN_PRIME_FACTOR", "COUNT_CARTESIAN"], "recipe_id": "fd9d9a", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T03:15:34.444588Z", "verification": {"verified": true, "answer": 5975, "timestamp": "2026-02-08T03:15:34.470107Z"}, "problem_hash": "e19805", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:47:15.451Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6981, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 1623}, "timestamp": "2026-02-10T13:11:53.783Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5975, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 4776}, "timestamp": "2026-02-11T10:09:04.206Z"}, {"id": 8, "model": "mathstral", "answer": 1896, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 475}, "timestamp": "2026-02-12T12:44:13.185Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 489}, "timestamp": "2026-02-11T20:38:41.287Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "test"} +{"id": "50ac00", "alias": "sequence_fibonacci_compute_v1_717093673_2434", "problem": "Let $n$ be the number of positive integers $n_1$ with $1 \\leq n_1 \\leq 242$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{11}$. Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = F_2 = 1$ and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute the remainder when $30130 \\cdot F_n$ is divided by $75957$.", "answer": 34505, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(242),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(30130),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75957)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:50:24.220947Z", "verification": {"verified": true, "answer": 34505, "timestamp": "2026-02-08T16:50:24.222224Z"}, "problem_hash": "9fed6c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 1026}, "timestamp": "2026-02-12T21:07:06.914Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cde547", "alias": "nt_count_intersection_v1_1440796553_147", "problem": "Let $a = 3$ and $N = 50000$. Define $b$ to be the largest integer such that $31^b$ divides $787662783788549761 \\times 961$. Let $A$ be the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$.\n\nLet $S$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 660$, $1 \\leq b \\leq 2213$, $5 \\leq t \\leq 6406$, and $t = 3a + 2b$. Let $B = |S|$.\n\nCompute the remainder when $B - A$ is divided by 65795.", "answer": 65052, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(961),\n \"_n\": Const(65795),\n \"N\": Const(50000),\n \"a\": Const(3),\n \"b\": MaxKDivides(target=Mul(Const(787662783788549761), Ref(\"_m\")), base=Const(31)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=660)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2213)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=6406)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "K13"], "recipe_id": "33a576", "seed_template_id": "nt_count_intersection_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.294, "created_at": "2026-02-08T11:37:03.361012Z", "verification": {"verified": true, "answer": 65052, "timestamp": "2026-02-08T11:37:05.655091Z"}, "problem_hash": "848025", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "LIN_FORM": "ok", "K16": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "6d34cb", "alias": "nt_sum_divisors_compute_v1_1918700295_2139", "problem": "Let $n = 64009$. Compute the remainder when the sum of the positive divisors of $n$ is divided by $99267$.", "answer": 73549, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(64009),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(99267)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE/BIG_OMEGA_ONE"], "recipe_id": "483498", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.209, "created_at": "2026-02-08T07:42:56.100664Z", "verification": {"verified": true, "answer": 73549, "timestamp": "2026-02-08T07:42:56.310035Z"}, "problem_hash": "f4c937", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 73549, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 76, "completion_tokens": 932}, "timestamp": "2026-02-13T11:55:42.802Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 284}, "timestamp": "2026-02-12T01:15:31.592Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "BIG_OMEGA_ONE": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "K5": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9111ff", "alias": "nt_count_gcd_equals_v1_1978505735_2777", "problem": "Let $k$ be the smallest integer $d_1 \\geq 2$ that divides $16155911$. Let $d = 59$ and $U = 28900$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $\\gcd(n, k) = d$. Compute\n$$\n\\sum_{n_1=1}^{r} \\tau(n_1),\n$$\nwhere $\\tau(n_1)$ denotes the number of positive divisors of $n_1$.", "answer": 3104, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(28900),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(16155911))))),\n \"d\": Const(59),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.3, "created_at": "2026-02-08T17:09:36.332125Z", "verification": {"verified": true, "answer": 3104, "timestamp": "2026-02-08T17:09:38.632438Z"}, "problem_hash": "4ef97a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 569}, "timestamp": "2026-02-12T21:55:34.962Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_SUM": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "afd198", "alias": "comb_count_derangements_v1_1915831931_4018", "problem": "Let $n$ be the smallest divisor of $13013$ that is at least $2$. Compute $31684 - !n$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 29830, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(13013))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Sub(Const(31684), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:03:46.573863Z", "verification": {"verified": true, "answer": 29830, "timestamp": "2026-02-08T18:03:46.575884Z"}, "problem_hash": "958c07", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 347}, "timestamp": "2026-02-12T23:40:45.162Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_SUM": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f5de30", "alias": "diophantine_fbi2_count_v1_1874849503_941", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 90$ and $t = 5a + 2b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 35$. Let $k$ be the number of positive integers $n \\leq |T|$ such that $n \\equiv 0 \\pmod{16}$. Let $S$ be the set of all integers $d \\geq 2$ such that $d$ divides $k$, $\\frac{k}{d} \\geq 4$, and $\\frac{k}{d} \\leq 199$. Compute the remainder when $44121 \\cdot |S|$ is divided by $63664$.", "answer": 5632, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=35)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=90)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Eq(Mod(value=Var(\"n\"), modulus=Const(16)), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(8271833)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(199))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(63664)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE", "MIN_PRIME_FACTOR"], "recipe_id": "053d4b", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.034, "created_at": "2026-02-08T13:26:19.164557Z", "verification": {"verified": true, "answer": 5632, "timestamp": "2026-02-08T13:26:19.199026Z"}, "problem_hash": "9b2e95", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:57:38.165Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 2865}, "timestamp": "2026-02-11T07:47:51.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 519}, "timestamp": "2026-02-12T06:47:15.418Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok_later", "DS2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "2a61b8", "alias": "modular_sum_quadratic_residues_v1_865884756_1661", "problem": "Let $p = 641$ and $n = 4$. Define $r = \\frac{p(p-1)}{n}$. Let $S$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 4$ such that $\\gcd(i,j) = 1$. Let $m$ be the number of elements in $S$. Compute the Bell number $B_k$, where $k = |r| \\bmod m$. Determine the value of $B_k$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": Const(641),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID"], "recipe_id": "d7a9a2", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T16:12:35.647019Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T16:12:35.651231Z"}, "problem_hash": "06d8e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 394}, "timestamp": "2026-02-12T10:09:27.544Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ece95b", "alias": "nt_count_primes_v1_1742523217_1026", "problem": "Let $c = 110$ and $m = 3$. Let $n_0$ be the smallest positive integer $n$ such that the largest integer $k$ with $3^k$ dividing $n!$ is at least $c$.\n\nLet $S_1$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 14$. Let $M$ be the maximum of the set of all products $xy$ as $(x,y)$ ranges over $S_1$.\n\nLet $S_2$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = n_0$. Let $L$ be the minimum of the set of all sums $x + y$ as $(x,y)$ ranges over $S_2$.\n\nLet $A$ be the number of positive integers $n$ such that $1 \\le n \\le M$, $7$ divides $n$, and\n$$\\gcd\\bigl(n, L\\bigr) = 1.$$\n\nLet $U = 11551$, and let $R$ be the number of integers $n$ such that $A \\le n \\le U$ and $n$ is prime.\n\nLet $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 4$, $1 \\le b \\le 7$, $5 \\le t \\le 29$, and\n$$t = 2a + 3b.$$\n\nDefine\n$$Q = 3^{|R|} \\bmod 99991 + T,$$\nwhere $3^{|R|} \\bmod 99991$ denotes the remainder when $3^{|R|}$ is divided by $99991$.\n\nFind the remainder when $Q$ is divided by $100000$. ", "answer": 9151, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(110),\n \"_m\": Const(3),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Ref(\"_c\")), domain='Z_{>0}')),\n \"upper\": Const(11551),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(14)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(1)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V5/B3/C5", "B1/C5"], "recipe_id": "b76c2b", "seed_template_id": "nt_count_primes_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "C5", "LIN_FORM", "V5"], "num_lemmas": 5, "generation_time": 1.788, "created_at": "2026-02-08T03:23:36.771028Z", "verification": {"verified": true, "answer": 9151, "timestamp": "2026-02-08T03:23:38.558768Z"}, "problem_hash": "0792a6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 513, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:15:08.560Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 517, "completion_tokens": 8192}, "timestamp": "2026-02-09T10:04:40.441Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "V5": "ok", "B3": "ok_later", "C5": "ok_later", "COUNT_PRIMES": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "7d5dc3", "alias": "comb_sum_binomial_mod_v1_124444284_4110", "problem": "Let $n = 10903$. Let $d_1$ be the smallest integer $d \\geq 2$ that divides $141151$, and let $d_2$ be the smallest integer $d \\geq 2$ that divides $31277243897$. Define $\\text{sum} = \\sum_{k=d_1}^{d_2} \\binom{118}{k}$. Compute the remainder when $\\text{sum}$ is divided by $n$. Determine the value of this remainder.", "answer": 5048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10903),\n \"sum\": Summation(var=\"k\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(141151))))), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(31277243897))))), expr=Binom(n=Const(118), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T05:46:44.547718Z", "verification": {"verified": true, "answer": 5048, "timestamp": "2026-02-08T05:46:44.559324Z"}, "problem_hash": "720b50", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 8172}, "timestamp": "2026-02-12T14:29:25.797Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 398}, "timestamp": "2026-02-11T23:07:24.336Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "a63b25", "alias": "diophantine_fbi2_count_v1_124444284_6151", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 8100$. Let $k$ be the minimum value of $x + y$ over all such pairs. Let $D$ be the set of all integers $d$ such that $4 \\leq d \\leq m$, where $m$ is the number of integers $t$ with $8 \\leq t \\leq 138$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 21$, $1 \\leq b \\leq 11$, and $t = 5a + 3b$. Suppose also that $d$ divides $k$, and $4 \\leq k/d \\leq 123$. Compute the number of elements in $D$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8100),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=138)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(123))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.116, "created_at": "2026-02-08T08:10:14.476365Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T08:10:14.592523Z"}, "problem_hash": "6f0776", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 3872}, "timestamp": "2026-02-13T15:31:29.265Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 475}, "timestamp": "2026-02-12T01:36:33.199Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K17": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f8a3b7", "alias": "diophantine_fbi2_min_v1_124444284_10107", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 32400$. Let $S$ be the set of all integers $t$ with $10 \\le t \\le 391$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 44$, $1 \\le b \\le 37$, and $t = 3a + 7b$. Let $u$ be the number of elements in $S$. Determine the value of $d$, defined as the smallest integer $d$ such that $7 \\le d \\le u$, $d$ divides $k$, and $\\frac{k}{d} \\ge 4$. Compute the Fibonacci entry point modulo $|d| + 2$, that is, the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $|d| + 2$. Find the value of $Q$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(32400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=44)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=37)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=391)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T12:50:07.989347Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T12:50:08.010655Z"}, "problem_hash": "24d1c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 546}, "timestamp": "2026-02-12T05:41:21.877Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "DS2": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e920ba", "alias": "diophantine_fbi2_min_v1_124444284_9965", "problem": "Let $k$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 3$ and $1 \\le j \\le 166$ such that $\\gcd(i,j) = 1$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = 34225$. Find the smallest integer $d$ such that $d \\ge 5$, $d \\le s$, $d$ divides $k$, and $\\frac{k}{d} \\ge 3$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(3),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(166))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(34225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.078, "created_at": "2026-02-08T12:44:40.821730Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T12:44:40.899382Z"}, "problem_hash": "fa1925", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 488}, "timestamp": "2026-02-12T05:34:33.481Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b1042f", "alias": "nt_count_intersection_v1_1248542787_555", "problem": "Let $a$ be the smallest integer $d \\geq 2$ that divides $875$. Let $T$ be the set of all positive integers $n \\leq 100000$ such that $a$ divides $n$ and $\\gcd(n, 14) = \\phi(k)$, where $k$ is the number of ordered pairs $(p, q)$ of positive integers such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Compute the number of elements in $T$.", "answer": 8571, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": Const(100000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(875))))),\n \"b\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "MIN_PRIME_FACTOR"], "recipe_id": "ae1fdd", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 4.278, "created_at": "2026-02-08T03:13:06.059178Z", "verification": {"verified": true, "answer": 8571, "timestamp": "2026-02-08T03:13:10.337112Z"}, "problem_hash": "24fe5d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 970}, "timestamp": "2026-02-09T05:32:54.432Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 1599}, "timestamp": "2026-02-09T18:15:06.691Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 8571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 7906}, "timestamp": "2026-02-09T16:49:32.176Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok_later", "K16": "no", "L3c": "no", "MAX_VAL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "cd69b4", "alias": "nt_count_divisors_in_range_v1_2051736721_5627", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=72,\\quad \\gcd(p,q)=1,\\quad p 7560$, $n \\le u$, and $\\gcd(n, 142) = 1$. Let $c$ be the number of positive integers $n$ such that $1 \\le n \\le 86$ and the sum of the decimal digits of $n$ is even. Compute the value of\n$$\n2^{|r|} \\bmod 99991 + c.\n$$", "answer": 50273, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86),\n \"start\": Const(7560),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(78583)), IsPrime(Var(\"n\"))))),\n \"modulus\": Const(142),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "COUNT_PRIMES"], "recipe_id": "89f937", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3B"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T03:24:15.022165Z", "verification": {"verified": true, "answer": 50273, "timestamp": "2026-02-08T03:24:15.043030Z"}, "problem_hash": "8b904b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:19:51.579Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 58068, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 8028}, "timestamp": "2026-02-10T13:28:39.440Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 70150, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 3711}, "timestamp": "2026-02-11T12:01:52.148Z"}, {"id": 8, "model": "mathstral", "answer": 87, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 916}, "timestamp": "2026-02-12T14:38:30.952Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 398}, "timestamp": "2026-02-11T20:50:34.663Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "d853f1", "alias": "nt_sum_totient_over_divisors_v1_1520064083_5186", "problem": "Let $n = 86486$. Define $r$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function. Let $p$ be the number of prime numbers $n$ such that $2 \\le n \\le 1597$. Let $T$ be the set of all integers $t$ in the interval $8 \\le t \\le 7016$ for which there exist positive integers $a \\le 1138$ and $b \\le 442$ such that $t = 5a + 3b$. Define $q = |T|$. Compute the remainder when $$ r \\bmod p + q \\cdot (r \\bmod 397) $$ is divided by $83996$.", "answer": 7591, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1597),\n \"n\": Const(86486),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1138)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=442)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=7016)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Mod(value=Ref(\"result\"), modulus=Const(397)))), modulus=Const(83996)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "LIN_FORM"], "recipe_id": "35b233", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "two_moduli", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:40:52.458219Z", "verification": {"verified": true, "answer": 7591, "timestamp": "2026-02-08T06:40:52.462146Z"}, "problem_hash": "18f968", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9613, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 5404}, "timestamp": "2026-02-13T03:19:18.012Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 523}, "timestamp": "2026-02-12T00:22:44.143Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "K18": "no", "L3b": "no", "MOD_MUL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "ec8416", "alias": "nt_count_gcd_equals_v1_1520064083_3996", "problem": "Let $N = 271$. Let $U = \\sum_{d \\mid 5555} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $k = 464$ and let $d$ be the number of prime numbers $p$ such that $2 \\leq p \\leq N$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $\\gcd(n, k) = d$.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(271),\n \"upper\": SumOverDivisors(n=Const(value=5555), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"k\": Const(464),\n \"d\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "K3"], "recipe_id": "06de37", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "K3"], "num_lemmas": 2, "generation_time": 0.44, "created_at": "2026-02-08T06:00:53.138079Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T06:00:53.577882Z"}, "problem_hash": "bf96b0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 1209}, "timestamp": "2026-02-12T18:04:01.606Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 401}, "timestamp": "2026-02-11T23:27:34.534Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "K3": "ok", "K13": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4fef61", "alias": "nt_count_coprime_and_v1_784195855_4041", "problem": "Let $p_1 = 67$ and $n_1 = p_1^2$. Define $c = \\lambda(n_1)$, where $\\lambda$ is the Liouville function. Let $p = 23c$ and $q = 3$, and define $n = pq$. Let $h = \\lambda(n)$. Let $k_1 = 3$ and $k_2 = 11h$. Determine the number of positive integers $n$ not exceeding $30208$ that are coprime to both $k_1$ and $k_2$. Multiply this count by $60749$ and compute the remainder when the result is divided by $93390$.", "answer": 11182, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(67),\n \"n1\": Pow(Ref(\"p1\"), Const(2)),\n \"c\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Mul(Const(23), Ref(\"c\")),\n \"q\": Const(3),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"h\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(30208),\n \"k1\": Const(3),\n \"k2\": Mul(Const(11), Ref(\"h\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": Const(60749),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(93390)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE"], "recipe_id": "6205e2", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE"], "num_lemmas": 1, "generation_time": 5.844, "created_at": "2026-02-08T06:46:35.205716Z", "verification": {"verified": true, "answer": 11182, "timestamp": "2026-02-08T06:46:41.049988Z"}, "problem_hash": "5655aa", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "K16": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "508bfb", "alias": "diophantine_sum_product_min_v1_2051736721_26", "problem": "Let $S = 40$ and $P = 175$. Let $N$ be the number of positive integers $n$ with $1 \\leq n \\leq 199$ such that\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}.\n$$\nLet $x$ be the smallest positive integer such that $1 \\leq x \\leq N$ and $x(S - x) = P$. Compute the remainder when $67867 \\cdot x$ is divided by $86490$.", "answer": 79865, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86490),\n \"S\": Const(40),\n \"P\": Const(175),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(199)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"Q\": Mod(value=Mul(Const(67867), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T15:07:53.445586Z", "verification": {"verified": true, "answer": 79865, "timestamp": "2026-02-08T15:07:53.460931Z"}, "problem_hash": "3533ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 774}, "timestamp": "2026-02-12T07:55:32.899Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b3d44e", "alias": "comb_count_derangements_v1_784195855_4252", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 18$ and $\\gcd(p, q) = 1$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 14700$ and $\\gcd(p, q) = 1$. Let $r$ be the largest prime number between $m$ and $n$, inclusive. Compute $!r$, the number of derangements of $r$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=14700)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "6694fa", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:56:34.272285Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T06:56:34.274587Z"}, "problem_hash": "f7a6e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 2425}, "timestamp": "2026-02-13T07:11:56.372Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 524}, "timestamp": "2026-02-12T00:45:47.625Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "K18": "no", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "5abc58", "alias": "antilemma_v8_lucas_548369836_421", "problem": "Let $p = 19$ and $n_1 = p^2$. Define $t = \\omega(n_1)$, the number of distinct prime factors of $n_1$. Let $c = \\sum_{d \\mid t} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $x$ be the number of nonnegative integers $j$ not exceeding 31997 for which $\\binom{31997}{j}$ is odd. Compute the remainder when $44121 \\cdot c \\cdot x$ is divided by 78821.", "answer": 61884, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"n1\": Pow(Ref(\"p\"), Const(2)),\n \"t\": SmallOmega(n=Ref(name='n1')),\n \"n\": Ref(\"t\"),\n \"c\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(31997)), Eq(Mod(value=Binom(n=Const(31997), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Mul(Const(44121), Ref(\"c\")), Ref(\"x\")), modulus=Const(78821)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "OMEGA_ONE", "V8"], "recipe_id": "300a5a", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MOBIUS_SUM", "OMEGA_ONE", "V8"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:54:15.718661Z", "verification": {"verified": true, "answer": 61884, "timestamp": "2026-02-08T02:54:15.719653Z"}, "problem_hash": "710410", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 2938}, "timestamp": "2026-02-08T20:27:02.064Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 61884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 2231}, "timestamp": "2026-02-10T00:06:00.999Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:33:13.771Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 557}, "timestamp": "2026-02-09T05:59:17.522Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 2912}, "timestamp": "2026-02-09T15:00:57.385Z"}], "solution_status": 1, "lemma_applicability": {"MOBIUS_SUM": "ok", "OMEGA_ONE": "ok", "V8": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K5": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "test"} +{"id": "f211db", "alias": "modular_count_residue_v1_1742523217_91", "problem": "Let $R$ be the number of positive integers $n$ such that $1 \\leq n \\leq 77284$ and $n \\equiv 16 \\pmod{19}$. Let $S$ be the set of all integers $t$ such that $9 \\leq t \\leq 519$ and there exist positive integers $a \\leq 111$, $b \\leq 15$ such that $t = 4a + 5b$. Let $C = |S|$. Let $E = \\max\\{ k \\mid 3^k \\text{ divides } 3^{2003} \\}$. Compute the remainder when $\\left( R \\bmod{199} \\right) + E \\cdot \\left( R \\bmod{C} \\right)$ is divided by $95626$.", "answer": 54686, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(199),\n \"upper\": Const(77284),\n \"m\": Const(19),\n \"r\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(MaxKDivides(target=Pow(Const(3), Const(2003)), base=Const(3)), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=111)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=15)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=519)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), modulus=Const(95626)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "K14"], "recipe_id": "3eaccd", "seed_template_id": "modular_count_residue_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM"], "num_lemmas": 2, "generation_time": 3.153, "created_at": "2026-02-08T02:52:33.023130Z", "verification": {"verified": true, "answer": 54686, "timestamp": "2026-02-08T02:52:36.176403Z"}, "problem_hash": "98012d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 54168, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:43:27.480Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 54686, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 5778}, "timestamp": "2026-02-08T22:53:01.799Z"}], "solution_status": 1, "lemma_applicability": {"K14": "ok", "LIN_FORM": "ok", "K13": "no", "K17": "no", "K18": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "07ac4f", "alias": "modular_sum_quadratic_residues_v1_397696148_1132", "problem": "Let $p$ be the smallest prime divisor of $20195548253$. Compute $\\frac{p(p-1)}{4}$.", "answer": 34689, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(20195548253))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:22:28.006813Z", "verification": {"verified": true, "answer": 34689, "timestamp": "2026-02-08T12:22:28.008303Z"}, "problem_hash": "346948", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 157}, "timestamp": "2026-02-12T05:10:06.111Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d69c3f", "alias": "comb_count_derangements_v1_458359167_4138", "problem": "Let $ n $ be the smallest integer greater than or equal to 2 that divides 77. Compute the number of derangements of $ n $ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:33:26.388777Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T11:33:26.390769Z"}, "problem_hash": "c5a091", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 79, "completion_tokens": 1258}, "timestamp": "2026-02-14T15:28:18.787Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 307}, "timestamp": "2026-02-12T04:14:36.454Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "958f26", "alias": "nt_sum_divisors_mod_v1_1978505735_1930", "problem": "Let $N$ be the number of positive integers $n_1$ less than or equal to $55440$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{11}$. Let $\\sigma(N)$ denote the sum of all positive divisors of $N$. Compute the remainder when $\\sigma(N)$ is divided by $11393$.", "answer": 7951, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55440),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=11))))),\n \"M\": Const(11393),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:31:51.717578Z", "verification": {"verified": true, "answer": 7951, "timestamp": "2026-02-08T16:31:51.719668Z"}, "problem_hash": "548314", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 871}, "timestamp": "2026-02-12T10:59:53.200Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3e13dc", "alias": "nt_lcm_compute_v1_677425708_3148", "problem": "Let $m = 84824$ and $n = 32776$. Define $a$ to be the number of prime numbers $p$ such that $2 \\leq p \\leq 24749$. Define $b$ to be the largest integer $k$ such that $17^k$ divides $n!$. Compute $\\mathrm{lcm}(a, b)$, and let $Q$ be the remainder when $56829$ times this value is divided by $m$. Find $Q$.", "answer": 9430, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(84824),\n \"_n\": Const(32776),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(24749)), IsPrime(Var(\"n\"))))),\n \"b\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(17)),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(56829), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "V1"], "recipe_id": "cbe320", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "V1"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T05:30:25.766504Z", "verification": {"verified": true, "answer": 9430, "timestamp": "2026-02-08T05:30:25.774240Z"}, "problem_hash": "fe2d9c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "K5": "same_pattern_wrong", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "829605", "alias": "nt_count_gcd_equals_v1_1978505735_7972", "problem": "Let $k$ be the number of integers $t$ with $11 \\le t \\le 370$ for which there exist positive integers $a$ and $b$ such that $1 \\le a \\le 42$, $1 \\le b \\le 19$, and $t = 7a + 4b$. Let $d$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 4$ and $1 \\le j \\le 128$ such that $\\gcd(i, j) = 1$. Let $N = 34596$, and let $r$ be the number of positive integers $n \\le N$ such that $\\gcd(n, k) = d$. Compute $$\\sum_{n=1}^{r} \\phi(n),$$ where $\\phi(n)$ denotes Euler's totient function. Determine the value of this sum.", "answer": 3144, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(34596),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=42)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=19)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=370)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"d\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(128))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.564, "created_at": "2026-02-08T20:36:14.725459Z", "verification": {"verified": true, "answer": 3144, "timestamp": "2026-02-08T20:36:17.289341Z"}, "problem_hash": "c2e992", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 568}, "timestamp": "2026-02-13T01:25:19.656Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K15": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9fc88b", "alias": "nt_num_divisors_compute_v1_168721529_130", "problem": "Let $d$ be the smallest divisor of $2963603$ that is at least $2$. Let $n$ be this divisor. Compute the number of positive divisors of $n$, and denote this number by $r$. Find the remainder when $87161 \\cdot r$ is divided by $62247$.", "answer": 49828, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62247),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2963603))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(87161),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:50:04.348795Z", "verification": {"verified": true, "answer": 49828, "timestamp": "2026-02-08T12:50:04.350235Z"}, "problem_hash": "add3ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49828, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 7427}, "timestamp": "2026-02-08T21:04:25.128Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 49828, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 5468}, "timestamp": "2026-02-09T13:49:07.645Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 49828, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 112, "completion_tokens": 4595}, "timestamp": "2026-02-10T00:02:43.722Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49828, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 332}, "timestamp": "2026-02-12T05:47:32.809Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.55, "hi": -4.26}, "split": "test"} +{"id": "0e3584", "alias": "comb_count_derangements_v1_458359167_112", "problem": "Let $d$ be a positive integer. Define $S$ as the set of all positive integers $d$ such that $d$ divides 722491 and $1 \\le d \\le 847$. Let $m$ be the maximum element of $S$. Now, define $T$ as the set of all integers $d \\ge 2$ that divide $m$. Let $n$ be the smallest element of $T$. Compute the value of $!n$, the number of derangements of $n$ elements, and let $R$ be that value. Let $Q$ be the remainder when $R$ multiplied by the number of ordered pairs $(i,j)$ with $1 \\le i \\le 15$ and $1 \\le j \\le 79$ is divided by 96667. Find the value of $Q$.", "answer": 70316, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(96667),\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(847)), Divides(divisor=Var(\"d\"), dividend=Const(722491))))))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(79)))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "MAX_DIVISOR/MIN_PRIME_FACTOR"], "recipe_id": "6466a6", "seed_template_id": "comb_count_derangements_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:59:39.768631Z", "verification": {"verified": true, "answer": 70316, "timestamp": "2026-02-08T02:59:39.771131Z"}, "problem_hash": "c194c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 70316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 3733}, "timestamp": "2026-02-10T12:30:57.483Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 70316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 1835}, "timestamp": "2026-02-10T12:32:35.148Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 70316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 4667}, "timestamp": "2026-02-11T03:43:20.153Z"}, {"id": 8, "model": "mathstral", "answer": 5925, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 502}, "timestamp": "2026-02-11T12:14:59.958Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 397}, "timestamp": "2026-02-11T20:08:38.154Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "DS2": "no", "K15": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "d14bbf", "alias": "nt_count_phi_equals_v1_898971024_1181", "problem": "Let $n = 43264$. Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 250000$. Define $s$ to be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all integers $t$ with $9 \\leq t \\leq 347$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 68$, $1 \\leq b \\leq 15$, and $t = 4a + 5b$. Let $k = |T|$. Determine the number of positive integers $m$ such that $1 \\leq m \\leq s$ and $\\phi(m) = k$, and compute $n$ minus this number.", "answer": 43264, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(43264),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=68)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=15)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=347)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.055, "created_at": "2026-02-08T15:58:56.062521Z", "verification": {"verified": true, "answer": 43264, "timestamp": "2026-02-08T15:58:56.118007Z"}, "problem_hash": "4181a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 433}, "timestamp": "2026-02-12T09:31:49.027Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "03f1c9", "alias": "nt_gcd_compute_v1_168721529_1913", "problem": "Let $a_1$ be the largest integer $k$ such that $2^k$ divides $7^{1024} - 5^{1024}$. Let $b_1$ be the number of integers $t$ with $5 \\leq t \\leq 181$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 17$, $1 \\leq b \\leq 49$, and $t = 2a + 3b$. Let $u$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a_1, b_1)$, where $\\mu$ is the Möbius function. Define $n = u$ and let $s$ be the number of distinct prime factors of $n$. Let $a = 107808$ and $b = 202140 + s$. Compute $\\gcd(a, b)$. Give the value of this quantity.", "answer": 13476, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"a1\": MaxKDivides(target=Sub(Pow(Const(7), Const(1024)), Pow(Ref(\"_n\"), Const(1024))), base=Const(2)),\n \"b1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=49)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=181)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Ref(\"u\"),\n \"s\": SmallOmega(n=Ref(name='n')),\n \"a\": Const(107808),\n \"b\": Sum(Const(202140), Ref(\"s\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MOBIUS_COPRIME", "LIN_FORM/MOBIUS_COPRIME", "OMEGA_ZERO"], "recipe_id": "d368b8", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LTE_DIFF_P2", "MOBIUS_COPRIME", "OMEGA_ZERO"], "num_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T13:59:06.292448Z", "verification": {"verified": true, "answer": 13476, "timestamp": "2026-02-08T13:59:06.303538Z"}, "problem_hash": "a85ebf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:26:23.782Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF_P2": "ok", "OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "3bcf88", "alias": "nt_count_coprime_and_v1_151522320_276", "problem": "Let $n$ be the smallest positive integer such that $13$ divides $n!$ at least once. Define $e = \\lambda(n) + 1$, where $\\lambda(n)$ is the Liouville function. Let $a = 24$ and let $b$ be the largest positive divisor of $37552375$ that is at most $6125$. Let $w = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $\\text{upper} = 21087 + e$, $k_1 = 3w$, and $k_2 = 7$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the remainder when $44121$ times this count is divided by $63968$.", "answer": 20002, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(13)), Const(1)), domain='Z_{>0}')),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"a\": Const(24),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(6125)), Divides(divisor=Var(\"d\"), dividend=Const(37552375))))),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Const(21087), Ref(\"e\")),\n \"k1\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"k2\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(63968)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MOBIUS_COPRIME", "V5/LIOUVILLE_MINUS_ONE"], "recipe_id": "eb37ae", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MAX_DIVISOR", "MOBIUS_COPRIME", "V5"], "num_lemmas": 4, "generation_time": 2.112, "created_at": "2026-02-08T03:07:07.544947Z", "verification": {"verified": true, "answer": 20002, "timestamp": "2026-02-08T03:07:09.657041Z"}, "problem_hash": "238477", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 20002, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 327, "completion_tokens": 3198}, "timestamp": "2026-02-09T01:06:46.729Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "V5": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "81b100", "alias": "modular_product_range_v1_655260480_2429", "problem": "Let $ n = 2 $. Let $ d_{\\text{min}} $ be the smallest divisor of $ 22448680909 $ that is at least $ n $. Define\n$$\n\\text{prod} = \\prod_{i=9}^{d_{\\text{min}}} i.\n$$\nFind the remainder when $ \\text{prod} $ is divided by $ 10859 $.", "answer": 935, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(9), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(22448680909)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10859)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:43:46.854724Z", "verification": {"verified": true, "answer": 935, "timestamp": "2026-02-08T16:43:46.857555Z"}, "problem_hash": "30f22d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 268}, "timestamp": "2026-02-12T20:57:49.332Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "068fef", "alias": "comb_sum_binomial_row_v1_1978505735_2253", "problem": "Let $S$ be the set of all integers $n_1$ such that $1 \\leq n_1 \\leq 14$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{7}$. Let $R = |S|^{13}$. Compute the remainder when $44121 \\cdot R$ is divided by 85234.", "answer": 47072, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85234),\n \"n\": Const(13),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(14)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:48:23.854882Z", "verification": {"verified": true, "answer": 47072, "timestamp": "2026-02-08T16:48:23.857127Z"}, "problem_hash": "2f0eba", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 571}, "timestamp": "2026-02-12T21:07:12.725Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_MUL": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "08e48c", "alias": "nt_num_divisors_compute_v1_1520064083_10036", "problem": "Let $n$ be the smallest divisor of 143 that is at least 2. Compute the number of positive divisors of $n$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:09:30.726000Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T11:09:30.727246Z"}, "problem_hash": "048bd0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 169}, "timestamp": "2026-02-12T03:40:29.135Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "MOD_ADD": "no", "V3": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "051ade", "alias": "comb_count_partitions_v1_1820931509_765", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 198051937. Let $n$ be this value of $d$. Define $p(n)$ to be the number of integer partitions of $n$. Compute the remainder when $$\\sum_{k=1}^{p(n)} \\phi(k)$$ is divided by 58603.", "answer": 39983, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(198051937))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(58603)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.277, "created_at": "2026-02-08T11:51:43.606934Z", "verification": {"verified": true, "answer": 39983, "timestamp": "2026-02-08T11:51:46.883743Z"}, "problem_hash": "361bd2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 122, "completion_tokens": 5122}, "timestamp": "2026-02-14T20:49:44.716Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 334}, "timestamp": "2026-02-12T04:48:03.077Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "K5": "no", "V1": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "8c48f0", "alias": "modular_sum_quadratic_residues_v1_124444284_8881", "problem": "Let $p$ be the smallest integer greater than or equal to $2$ that divides $18181979$. Compute the value of $\\frac{p(p-1)}{4}$.", "answer": 16448, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(18181979))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:56:38.882048Z", "verification": {"verified": true, "answer": 16448, "timestamp": "2026-02-08T11:56:38.883440Z"}, "problem_hash": "7bd6a0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 83, "completion_tokens": 4760}, "timestamp": "2026-02-14T20:42:11.268Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 186}, "timestamp": "2026-02-12T04:46:42.420Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K14": "no", "L3c": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "d625c0", "alias": "nt_count_gcd_equals_v1_784195855_7095", "problem": "Let $d$ be the smallest divisor of $298584239$ that is at least $2$. Let $k = 127$. Compute the number of positive integers $n \\leq 45753$ such that $\\gcd(n, 127) = d$.", "answer": 360, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(45753),\n \"k\": Const(127),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(298584239))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.742, "created_at": "2026-02-08T09:05:21.359186Z", "verification": {"verified": true, "answer": 360, "timestamp": "2026-02-08T09:05:25.101158Z"}, "problem_hash": "549173", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 360, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 101, "completion_tokens": 1212}, "timestamp": "2026-02-14T00:11:32.961Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 352}, "timestamp": "2026-02-12T02:30:44.985Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "K18": "no", "K5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "043a3a", "alias": "nt_count_digit_sum_v1_1520064083_3297", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 33333$ and the sum of the decimal digits of $n$ is 27. Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 4$. Let $k$ be the largest integer such that $11^k$ divides $$2457042231093853510107190290088557151751696158937462187828500903878489630080866314107661139055279756395099895950756399650037039020326280206754136241788423582632192830703142158303389324466957552972415002331535590821455192920122431989376095049853111576762860827866678622258012762757751024810931179867305622555617781528932661181434143455120433378117518788605960940913986680346781341088647286040218698281294024796492052080159357978369249799864778222637684619121476832781971765347318172610933074746765349482674315081915018280216383479879317948634345066265538870949252759341851741891948172188482511716978973198529843176701424694169375731367123856723928093330659023075854947087098093660520734552118368308792363972618488019475032866420045123961834165993739286140296715515755788566490861172890343649778656679432523597419471472828948277934551140555620737504976511590523387448204728740886602824495574177992490906245946970208193935270582413675482357368311337772354621437934297647620093528922681589183819968043818353708983399224635848256930610880147398555643725161152257358236663421560664617218213616363067891582726236742673659321934041056443241750431358893108221689073610080836619395959312138042499227545874940187367831687281265629336751935388182430141554510215267037025972197975161498131927797829948843643040406681719001931012984819948619399415085285677506019934904542981208365418406597322926610224186281420059763884570571849067650823408966922507448517137094346454161282613928269410612627494294202427773170874646189194636239189316852146792244283148166817280165579176373161022445644793663411502698082397874123694742408463654213749137618568497951176435425311071893963528155643155413217392761938651183927039481805291192136893097535191098833900205032690193495694709044792552393690690400574711714634691061930468501168862941848063076003028382064876569077897891774937861972347412365856671537328531661460550251123888466896915807403900855144562357819301282585000669342574527001597760651445372450687396830424699789656218835059309015306300487451244153809442456457278505305086394646584309194188594436722946338934654029554222482892276804641053970079385061160120354937204636624111564843935062034212242521741220871505616852670339458547080908787805318124204040489776586535485830812365365325515056248303703886595616031257830597780688246792133525690735130622896154642619007549999280016786273567730351656438831328225949234342643255797859895381797346376119086350410410493756834976311570641977115042533411371.$$ Let $c = k$. Find the remainder when $c \\cdot A$ is divided by $78844$.", "answer": 3012, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78844),\n \"upper\": Const(33333),\n \"target_sum\": Const(27),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": MaxKDivides(target=Pow(Const(2457042231093853510107190290088557151751696158937462187828500903878489630080866314107661139055279756395099895950756399650037039020326280206754136241788423582632192830703142158303389324466957552972415002331535590821455192920122431989376095049853111576762860827866678622258012762757751024810931179867305622555617781528932661181434143455120433378117518788605960940913986680346781341088647286040218698281294024796492052080159357978369249799864778222637684619121476832781971765347318172610933074746765349482674315081915018280216383479879317948634345066265538870949252759341851741891948172188482511716978973198529843176701424694169375731367123856723928093330659023075854947087098093660520734552118368308792363972618488019475032866420045123961834165993739286140296715515755788566490861172890343649778656679432523597419471472828948277934551140555620737504976511590523387448204728740886602824495574177992490906245946970208193935270582413675482357368311337772354621437934297647620093528922681589183819968043818353708983399224635848256930610880147398555643725161152257358236663421560664617218213616363067891582726236742673659321934041056443241750431358893108221689073610080836619395959312138042499227545874940187367831687281265629336751935388182430141554510215267037025972197975161498131927797829948843643040406681719001931012984819948619399415085285677506019934904542981208365418406597322926610224186281420059763884570571849067650823408966922507448517137094346454161282613928269410612627494294202427773170874646189194636239189316852146792244283148166817280165579176373161022445644793663411502698082397874123694742408463654213749137618568497951176435425311071893963528155643155413217392761938651183927039481805291192136893097535191098833900205032690193495694709044792552393690690400574711714634691061930468501168862941848063076003028382064876569077897891774937861972347412365856671537328531661460550251123888466896915807403900855144562357819301282585000669342574527001597760651445372450687396830424699789656218835059309015306300487451244153809442456457278505305086394646584309194188594436722946338934654029554222482892276804641053970079385061160120354937204636624111564843935062034212242521741220871505616852670339458547080908787805318124204040489776586535485830812365365325515056248303703886595616031257830597780688246792133525690735130622896154642619007549999280016786273567730351656438831328225949234342643255797859895381797346376119086350410410493756834976311570641977115042533411371), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\")))))), base=Const(11)),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14"], "recipe_id": "e2314d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 1.226, "created_at": "2026-02-08T05:34:00.140832Z", "verification": {"verified": true, "answer": 3012, "timestamp": "2026-02-08T05:34:01.366466Z"}, "problem_hash": "cf443b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "K14": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K5": "no", "V1": "no", "V3": "no"}, "split": "test"} +{"id": "873045", "alias": "modular_product_range_v1_784195855_404", "problem": "Let $P$ be the product $$P = \\prod_{i=49}^{138} i.$$ Define $r$ to be the remainder when $P$ is divided by 10499, so $r = P \\bmod 10499$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 49985$, $5$ divides $n$, and $\\gcd(n, 12) = 1$. Let $c = |S|$, the number of elements in $S$. Define $$Q = \\left(11^r \\bmod 99991\\right) + c.$$ Compute $Q$.", "answer": 54523, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(49), end=Const(138)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10499)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(49985)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "ONE_PHI_1"], "recipe_id": "65a7ce", "seed_template_id": "modular_product_range_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:21:28.129992Z", "verification": {"verified": true, "answer": 54523, "timestamp": "2026-02-08T04:21:28.134519Z"}, "problem_hash": "0dbd7e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "V3": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "22e89d", "alias": "sequence_count_fib_divisible_v1_784195855_8965", "problem": "Let $d$ be the smallest divisor of $407964211$ that is at least $2$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq d$ and $6$ divides the $n$-th Fibonacci number. Compute the number of elements in $S$.", "answer": 61, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(407964211))))),\n \"d\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.066, "created_at": "2026-02-08T16:26:01.162581Z", "verification": {"verified": true, "answer": 61, "timestamp": "2026-02-08T16:26:01.228282Z"}, "problem_hash": "d9bdcd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 467}, "timestamp": "2026-02-12T10:41:31.428Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e2f3f6", "alias": "antilemma_k3_v1_784195855_1879", "problem": "Let $n = 29626$. Define $x$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Let $y$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $40$. Compute the remainder when $x^2 + y \\cdot x + 2$ is divided by $97471$.", "answer": 86382, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverDivisors(n=Const(value=29626), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(2),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(SumOverDivisors(n=Const(value=40), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"x\")), Ref(\"_c\")), modulus=Const(97471)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "K3"], "recipe_id": "65556e", "seed_template_id": "antilemma_k3_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:22:36.176456Z", "verification": {"verified": true, "answer": 86382, "timestamp": "2026-02-08T05:22:36.177284Z"}, "problem_hash": "014dc7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 86382, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 1162}, "timestamp": "2026-02-12T06:56:54.242Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 781}, "timestamp": "2026-02-14T12:45:48.808Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 544}, "timestamp": "2026-02-11T22:29:24.952Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "COUNT_PRIMES": "no", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "49ce2d", "alias": "nt_sum_over_divisible_v1_784195855_4209", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 30625$ and $n$ is divisible by $39$. Let $A$ be the sum of all elements in $S$. Let $p$ be the smallest prime divisor of $12673$ that is at least $2$, and let $k$ be the largest integer such that $p^k$ divides\n\n$$\n1121810164977845639270144007056946788628946167835855188453093663173970805456007104087204986568832180187173320146106205960981931295710213046965125795494891533780838705000921258661358277229740953762741716076937436553699833160000131451050785491404394394454238587087876669199027835679186857529037781249662761635551409130354391285349017973373650876550962546925086313269051562952548262111435709563347711395251534073417016297739273072733717401342964836094851734509538323071997046103661479229859849378379777387721032400963996744274571100540170090294973009265668956732100868775391599540471091799817517279335179620322331796840669634212031276514826318862293898555033156522047607021180186211471808551083746000273522193908864361996145254901448250554850926113056991750015353329999187517122027933403268802532103182923838820786681582671546396335909794873650914429889622957950537898205836046620959363556373348522812925928645593941639706773147151449281663754332479487242089611038029692820321306048888651937790069542662222004458562236979883535653902823370861321167125829855415664123696734488982439405303247363040124456321101910858244950507864905424561696237833416997679688460266300371707140863040168243977214623532884000812584419759891264578524270693963370733377480030093550159164807123110892046248002634904142372449743979.\n\nLet $B = p^k$. Compute the remainder when $B - A$ is divided by $50942$.", "answer": 42648, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50942),\n \"upper\": Const(30625),\n \"divisor\": Const(39),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": MaxKDivides(target=Mul(Const(11218101649778456392701440070569467886289461678358551884530936631739708054560071040872049865688321801871733201461062059609819312957102130469651257954948915337808387050009212586613582772297409537627417160769374365536998331600001314510507854914043943944542385870878766691990278356791868575290377812496627616355514091303543912853490179733736508765509625469250863132690515629525482862111435709563347711395251534073417016297739273072733717401342964836094851734509538323071997046103661479229859849378379777387721032400963996744274571100540170090294973009265668956732100868775391599540471091799817517279335179620322331796840669634212031276514826318862293898555033156522047607021180186211471808551083746000273522193908864361996145254901448250554850926113056991750015353329999187517122027933403268802532103182923838820786681582671546396335909794873650914429889622957950537898205836046620959363556373348522812925928645593941639706773147151449281663754332479487242089611038029692820321306048888651937790069542662222004458562236979883535653902823370861321167125829855415664123696734488982439405303247363040124456321101910858244950507864905424561696237833416997679688460266300371707140863040168243977214623532884000812584419759891264578524270693963370733377480030093550159164807123110892046248002634904142372449743979), Const(325650737981196211817040643482760123711113829069928887581850461693742906986845870061444601)), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(12673)))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K13"], "recipe_id": "31b4a3", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K13", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.053, "created_at": "2026-02-08T06:55:05.162923Z", "verification": {"verified": true, "answer": 42648, "timestamp": "2026-02-08T06:55:07.215710Z"}, "problem_hash": "39dd6b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "ok_later", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "95b79a", "alias": "antilemma_count_primes_v1_1874849503_316", "problem": "Let $N$ be the number of integers $n$ such that $1 \\le n \\le 13539$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $S$ be the set of prime numbers $p$ such that $2 \\le p \\le N$. Compute the number of elements in $S$.", "answer": 394, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(13539)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/COUNT_PRIMES", "COUNT_PRIMES", "ONE_PHI_1"], "recipe_id": "1391e4", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3C", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T12:56:47.619582Z", "verification": {"verified": true, "answer": 394, "timestamp": "2026-02-08T12:56:47.621544Z"}, "problem_hash": "9d7760", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:40:10.189Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:25:29.471Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "L3C": "ok", "ONE_PHI_1": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "80c04a", "alias": "modular_sum_quadratic_residues_v1_717093673_2680", "problem": "Let $n = 4$. Let $p$ be the smallest prime divisor of 295927. Compute $\\frac{p(p-1)}{n}$.", "answer": 73035, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(295927))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:05:31.521162Z", "verification": {"verified": true, "answer": 73035, "timestamp": "2026-02-08T17:05:31.523337Z"}, "problem_hash": "98c9f5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 68, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 179}, "timestamp": "2026-02-12T21:53:42.003Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "21a468", "alias": "geo_count_lattice_triangle_v1_2051736721_3555", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(121,111)$, and $(256,289)$, multiplied by 2. Let $B$ be the sum of the greatest common divisors of the absolute values of the differences in coordinates along each side of the triangle, specifically:\n\\[\nB = \\gcd(121, 111) + \\gcd(|256 - 121|, |289 - t|) + \\gcd(256, 289),\n\\]\nwhere $t$ is the number of pairs of positive integers $(i, j)$ such that $\\gcd(i, j) = 1$. Given that $A = |121 \\cdot 289 + s \\cdot (-111)|$ where $s = \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = 16384\\}$, compute\n\\[\n\\frac{A + 2 - B}{2}.\n\\]", "answer": 3276, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(289),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=121), Const(value=289)), Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=16384)))), expr=Sum(Var(name='x'), Var(name='y')))), Sub(left=Const(value=0), right=Const(value=111))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=Const(value=111))), GCD(a=Abs(arg=Sub(left=Const(value=256), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=289), right=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='i'), Var(name='j')]), condition=Eq(left=GCD(a=Var(name='i'), b=Var(name='j')), right=Const(value=1))))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=256))), b=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Ref(\"_m\"), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T17:24:16.705446Z", "verification": {"verified": true, "answer": 3276, "timestamp": "2026-02-08T17:24:16.720250Z"}, "problem_hash": "bf0c20", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 514}, "timestamp": "2026-02-12T22:27:15.485Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "V7": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4103f4", "alias": "modular_inverse_v1_1915831931_3832", "problem": "Let $m$ be the smallest integer $d \\geq 2$ that divides $1795562677062613$. Let $a = 568$. Find the smallest positive integer $x$ such that $x \\leq 1116$ and $568x \\equiv 1 \\pmod{m}$. Compute the remainder when $\\sum_{n=1}^{x} \\phi(n)$ is divided by $81884$, where $\\phi$ denotes Euler's totient function.", "answer": 23294, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(568),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1795562677062613))))),\n \"upper\": Const(1116),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(81884)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.073, "created_at": "2026-02-08T17:55:52.649464Z", "verification": {"verified": true, "answer": 23294, "timestamp": "2026-02-08T17:55:52.722010Z"}, "problem_hash": "33b8ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 444}, "timestamp": "2026-02-12T23:30:15.033Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K18": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6871a7", "alias": "modular_count_residue_v1_458359167_4742", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 54289$ and $n \\equiv 2 \\pmod{13}$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 154$. Let $M$ be the maximum value of $xy$ over all pairs in $T$. Compute $M - A$. Find the value of this expression.", "answer": 1753, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(54289),\n \"m\": Const(13),\n \"r\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(154)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 3.223, "created_at": "2026-02-08T12:01:29.716530Z", "verification": {"verified": true, "answer": 1753, "timestamp": "2026-02-08T12:01:32.939719Z"}, "problem_hash": "45ca31", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1753, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 655}, "timestamp": "2026-02-14T21:47:25.950Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1752, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 415}, "timestamp": "2026-02-12T04:53:14.080Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c39215", "alias": "antilemma_count_primes_v1_153355830_952", "problem": "Let $g$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=6$. Let $a = g \\cdot 15$ and $b = g \\cdot 2$. Let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a,b)$, where $\\mu$ is the M\\\"obius function. Let $v = \\mu(83)^2$. Define $n = 137 \\cdot v + s$. Compute the remainder when $48711$ times the number of prime numbers less than or equal to $n$ is divided by $55004$.", "answer": 12347, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(137),\n \"n1\": Const(83),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"g\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(15),\n \"n\": Const(2),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Sum(Mul(Ref(\"_m\"), Ref(\"v\")), Ref(\"s\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(48711),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(55004)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE", "COUNT_PRIMES"], "recipe_id": "f5841f", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "COUNT_PRIMES", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:18:41.221678Z", "verification": {"verified": true, "answer": 12347, "timestamp": "2026-02-08T04:18:41.223837Z"}, "problem_hash": "91634b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}, "split": "test"} +{"id": "eb7439", "alias": "modular_modexp_compute_v1_655260480_3333", "problem": "Let $a = 37$. Let $e$ be the smallest integer greater than or equal to 2 that divides 2895828829547. Let $m = 20736$. Compute $a^e \\bmod m$.", "answer": 18325, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(37),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2895828829547))))),\n \"m\": Const(20736),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:19:35.801498Z", "verification": {"verified": true, "answer": 18325, "timestamp": "2026-02-08T17:19:35.803649Z"}, "problem_hash": "247e65", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12345, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 294}, "timestamp": "2026-02-12T22:19:24.897Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K18": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bad9cf", "alias": "comb_binomial_compute_v1_784195855_8779", "problem": "Let $n = 12$ and let $k$ be the smallest divisor of $143143$ that is at least $2$. Define $\\binom{n}{k}$ as the binomial coefficient. Compute the remainder when $17753 \\cdot \\binom{12}{k}$ is divided by $90362$.", "answer": 54266, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90362),\n \"n\": Const(12),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(17753), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:18:30.476552Z", "verification": {"verified": true, "answer": 54266, "timestamp": "2026-02-08T16:18:30.479183Z"}, "problem_hash": "8e66ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 360}, "timestamp": "2026-02-12T10:23:59.589Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ae413c", "alias": "comb_count_derangements_v1_1742523217_1546", "problem": "Let $m$ be the number of ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 26$ and $1 \\leq b \\leq 77$. Let $n$ be the smallest integer $d \\geq 2$ that divides the number of ordered pairs $(x_1, x_2)$ of positive odd integers satisfying $x_1 + x_2 = m$. Compute the value of the subfactorial of $n$, denoted $!n$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(77)))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1/MIN_PRIME_FACTOR"], "recipe_id": "6ad3ac", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:02:37.005801Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T04:02:37.010086Z"}, "problem_hash": "e543ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1583}, "timestamp": "2026-02-10T16:35:44.424Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1411}, "timestamp": "2026-02-10T15:08:09.161Z"}, {"id": 8, "model": "mathstral", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 425}, "timestamp": "2026-02-13T05:08:01.358Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 528}, "timestamp": "2026-02-11T20:21:08.898Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COMB1": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K13": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "2248da", "alias": "modular_modexp_compute_v1_124444284_7228", "problem": "Let $a$ be the smallest divisor of $459572063$ that is at least $2$. Let $e = 111$ and $m = 54289$. Define $\\text{result} = a^e \\bmod m$, and let $Q = (44121 \\cdot \\text{result}) \\bmod 78383$. Compute $Q$.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(459572063))))),\n \"e\": Const(111),\n \"m\": Const(54289),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(78383)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:57:43.750753Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T08:57:43.751957Z"}, "problem_hash": "31cb3f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 66402, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 4559}, "timestamp": "2026-02-13T22:31:05.879Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 359}, "timestamp": "2026-02-12T02:18:44.900Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f86272", "alias": "nt_sum_over_divisible_v1_717093673_3342", "problem": "Let $d_0$ be the smallest integer greater than or equal to 2 that divides 136670396123. Let $d = 154$. Let $S$ be the set of all positive integers $n$ such that $n \\leq d_0$ and $n$ is divisible by $d$. Compute the sum of all elements in $S$.", "answer": 86394, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(136670396123))))),\n \"divisor\": Const(154),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 8.735, "created_at": "2026-02-08T17:30:03.069322Z", "verification": {"verified": true, "answer": 86394, "timestamp": "2026-02-08T17:30:11.804461Z"}, "problem_hash": "fcdcf0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 258}, "timestamp": "2026-02-12T22:45:10.321Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0ddcb4", "alias": "antilemma_k2_v1_865884756_2889", "problem": "Let $n = 64$. For each positive integer $k$ from $1$ to $n$, define $s_k$ to be the number of integers $x_1$ such that $x_1^2 - 64x_1 + 399 \\equiv 0 \\pmod{94}$. Let $x = \\sum_{k=1}^{n} \\phi(k) \\cdot \\left\\lfloor \\frac{s_k}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Compute $\\sum_{m=1}^{|x|} \\tau(m)$, where $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 16233, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Const(2)), Mul(Const(-64), Var(\"x1\")), Const(399)), Mod(value=Const(94), modulus=Const(94))))), Var(\"k\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/K2", "IDENTITY_POW_ZERO", "IDENTITY_MOD_SELF", "K2"], "recipe_id": "a91aa2", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_MOD_SELF", "IDENTITY_POW_ZERO", "K13", "K2", "VIETA_SUM"], "num_lemmas": 5, "generation_time": 0.005, "created_at": "2026-02-08T17:00:36.596741Z", "verification": {"verified": true, "answer": 16233, "timestamp": "2026-02-08T17:00:36.601714Z"}, "problem_hash": "91bc31", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 580}, "timestamp": "2026-02-12T21:38:03.775Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_MOD_SELF": "ok", "IDENTITY_POW_ZERO": "ok", "K2": "ok", "VIETA_SUM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3b3a88", "alias": "nt_euler_phi_compute_v1_677425708_150", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 2395$ and $\\gcd(n, 12) = 1$. Let $B = 32400$. Define $R = \\phi(B)$, where $\\phi$ is Euler's totient function. Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 64x + A = 0$. Compute the remainder when $R^2 + 10R + \\sum S$ is divided by $73661$.", "answer": 43810, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2395)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"n\": Const(32400),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(10), Ref(\"result\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-64), Var(\"x\")), Ref(\"_n\")), Const(0))))), modulus=Const(73661)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/VIETA_SUM"], "recipe_id": "bb0541", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:06:42.409359Z", "verification": {"verified": true, "answer": 43810, "timestamp": "2026-02-08T03:06:42.411453Z"}, "problem_hash": "33aae9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 43810, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 1784}, "timestamp": "2026-02-08T20:20:09.415Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 43810, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 1703}, "timestamp": "2026-02-09T23:37:05.959Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:32:27.491Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 43810, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 4281}, "timestamp": "2026-02-12T01:20:15.691Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 43810, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 1759}, "timestamp": "2026-02-10T04:51:58.037Z"}, {"id": 8, "model": "mathstral", "answer": 48389, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 612}, "timestamp": "2026-02-11T15:24:23.225Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 515}, "timestamp": "2026-02-11T20:23:41.830Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "VIETA_SUM": "ok_later", "C2": "no", "K13": "no", "K15": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "1b82b3", "alias": "modular_sum_quadratic_residues_v1_2051736721_5917", "problem": "Let $p$ be the smallest prime divisor of $1933926139195157$. Define $$x = \\frac{p(p-1)}{4}.$$ Compute the remainder when $$\\sum_{n=1}^{|x|} \\tau(n)$$ is divided by $62687$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 4645, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1933926139195157))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(62687)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:51:42.700308Z", "verification": {"verified": true, "answer": 4645, "timestamp": "2026-02-08T18:51:42.703015Z"}, "problem_hash": "ff5fc7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 556}, "timestamp": "2026-02-13T00:35:58.241Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "898ea8", "alias": "antilemma_sum_equals_v1_677425708_4016", "problem": "Let $A$ be the set of all ordered pairs $(i,j)$ of integers such that $1 \\le i \\le 80$, $1 \\le j \\le 81$, and $i + j = 82$. Let $x$ be the number of elements in $A$.\n\nLet $B$ be the set of all ordered pairs $(i,j)$ of integers such that $1 \\le i \\le 24$, $1 \\le j \\le 24$, and $i + j = 25$. Let $c$ be the number of elements in $B$.\n\nCompute the remainder when $c - x$ is divided by $81372$. Determine the value of this remainder.", "answer": 81316, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(25),\n \"_n\": Const(82),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(80)), right=IntegerRange(start=Const(1), end=Const(81))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(24))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(81372)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "29daf2", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS"], "num_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T06:08:25.657417Z", "verification": {"verified": true, "answer": 81316, "timestamp": "2026-02-08T06:08:25.669240Z"}, "problem_hash": "343394", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 81316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 400}, "timestamp": "2026-02-11T23:36:16.582Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "c6e233", "alias": "comb_count_partitions_v1_655260480_1445", "problem": "Let $n$ be the smallest divisor of $216475373$ that is at least $2$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $44121 \\cdot p(n)$ is divided by $83740$.", "answer": 641, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(216475373))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(83740)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:08:48.862391Z", "verification": {"verified": true, "answer": 641, "timestamp": "2026-02-08T16:08:48.863612Z"}, "problem_hash": "4db5ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 262}, "timestamp": "2026-02-12T09:56:53.025Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "K5": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "92093d", "alias": "modular_mod_compute_v1_898971024_961", "problem": "Let $m$ be the smallest divisor of $57791112821949083$ that is at least $2$. Find the remainder when $-7744$ is divided by $m$.", "answer": 1228, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(-7744),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(57791112821949083))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:48:28.330822Z", "verification": {"verified": true, "answer": 1228, "timestamp": "2026-02-08T15:48:28.334412Z"}, "problem_hash": "d3919f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 250}, "timestamp": "2026-02-12T09:08:55.595Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "01b578", "alias": "comb_count_permutations_fixed_v1_1742523217_4594", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 51450$, $\\gcd(p, q) = 1$, and $p < q$.\n\nLet $\\text{result} = \\binom{n}{0} \\cdot !n$, where $!n$ denotes the number of derangements of $n$ elements.\n\nLet $c$ be the largest integer $k$ such that $7^k$ divides $1341068619663964900807 \\cdot 22539340290692258087863249$.\n\nCompute the remainder when $c - \\text{result}$ is divided by $95694$.", "answer": 80916, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95694),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=51450)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": MaxKDivides(target=Mul(Const(1341068619663964900807), Const(22539340290692258087863249)), base=Const(7)),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "COPRIME_PAIRS"], "recipe_id": "1a5ce7", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T08:58:37.489538Z", "verification": {"verified": true, "answer": 80916, "timestamp": "2026-02-08T08:58:37.493412Z"}, "problem_hash": "ff328f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K13": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K16": "no", "LTE_SUM": "no", "V5": "no"}, "split": "test"} +{"id": "637b0d", "alias": "nt_count_divisors_in_range_v1_1520064083_6367", "problem": "Let $n = 110880$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = k$, where $k$ is the number of positive integers at most $6561$ that are divisible by $81$. Define $a$ to be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Let $b = 12328$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6561),\n \"n\": Const(110880),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(81), dividend=Var(\"k\"))), domain='positive_integers'))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Const(12328),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "7c8509", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 0.126, "created_at": "2026-02-08T08:02:26.781206Z", "verification": {"verified": true, "answer": 121, "timestamp": "2026-02-08T08:02:26.907572Z"}, "problem_hash": "a444aa", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 121, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 2996}, "timestamp": "2026-02-13T14:17:19.762Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 506}, "timestamp": "2026-02-12T01:29:27.345Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "COUNT_CARTESIAN": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "82039d", "alias": "geo_count_lattice_triangle_v1_784195855_2352", "problem": "Let $A = |100 \\cdot 169 + 233 \\cdot (-120)|$. Let $B$ be the sum of the following three greatest common divisors:\n\n- $\\gcd(|n|, 120)$, where $n$ is the number of prime integers from 2 to 541, inclusive;\n- $\\gcd(|233 - 100|, |169 - \\sum_{k=1}^{15} k|)$;\n- $\\gcd(|-233|, |-169|)$.\n\nCompute $\\frac{A + 2 - B}{2}$.", "answer": 5517, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(169),\n \"_m\": Const(15),\n \"_n\": Const(169),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), Ref(name='_c')), Mul(Const(value=233), Sub(left=Const(value=0), right=Const(value=120))))),\n \"boundary\": Sum(GCD(a=Abs(arg=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=541)), IsPrime(arg=Var(name='n')))))), b=Abs(arg=Const(value=120))), GCD(a=Abs(arg=Sub(left=Const(value=233), right=Const(value=100))), b=Abs(arg=Sub(left=Const(value=169), right=Summation(expr=Var(name='k'), var='k', start=Const(value=1), end=Const(value=15))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=233))), b=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/K2", "COUNT_PRIMES"], "recipe_id": "c8a900", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "K2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.027, "created_at": "2026-02-08T05:41:51.238627Z", "verification": {"verified": true, "answer": 5517, "timestamp": "2026-02-08T05:41:51.265276Z"}, "problem_hash": "86c290", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5517, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 843}, "timestamp": "2026-02-12T13:06:21.205Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 489}, "timestamp": "2026-02-11T23:00:58.069Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_ARITHMETIC": "ok", "K2": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "0111e8", "alias": "comb_count_permutations_fixed_v1_48377204_1783", "problem": "Let $n$ be the smallest divisor of $1225$ that is at least $2$. Compute the value of $\\binom{n}{0} \\cdot !(n - 0)$, where $!k$ denotes the number of derangements of $k$ elements, and then find the remainder when this value is multiplied by $44121$ and divided by $98513$.", "answer": 69577, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98513),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1225))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:23:36.352951Z", "verification": {"verified": true, "answer": 69577, "timestamp": "2026-02-08T16:23:36.356105Z"}, "problem_hash": "62dcc1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49256, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 554}, "timestamp": "2026-02-12T10:36:32.376Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "899a16", "alias": "modular_inverse_v1_124444284_5858", "problem": "Let $a$ be the number of integers $t$ with $28 \\leq t \\leq 699$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 69$, $1 \\leq b \\leq 58$, and $t = 4a + 7b + 17$. Let $m = 1129$, and let $\\text{upper}$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 318096$. Find the smallest positive integer $x$ such that $1 \\leq x \\leq \\text{upper}$ and $ax \\equiv 1 \\pmod{m}$.", "answer": 164, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=69)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=58)), Geq(left=Var(name='t'), right=Const(value=28)), Leq(left=Var(name='t'), right=Const(value=699)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=17)))))))),\n \"m\": Const(1129),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(318096)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.05, "created_at": "2026-02-08T06:54:57.492384Z", "verification": {"verified": true, "answer": 164, "timestamp": "2026-02-08T06:54:57.542346Z"}, "problem_hash": "254680", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 824, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 5706}, "timestamp": "2026-02-13T06:10:15.539Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 639}, "timestamp": "2026-02-12T00:39:22.873Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "dbb595", "alias": "sequence_count_fib_divisible_v1_784195855_7221", "problem": "Let $d = 12$. Let $m$ be the smallest divisor of $41989$ that is at least $2$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq m$ and $d$ divides the $n$-th Fibonacci number. Let $r$ be this count. Compute the remainder when $86133 \\cdot r$ is divided by $87400$. Find this remainder.", "answer": 67128, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(41989))))),\n \"d\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(86133), Ref(\"result\")), modulus=Const(87400)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T09:08:51.808312Z", "verification": {"verified": true, "answer": 67128, "timestamp": "2026-02-08T09:08:51.818787Z"}, "problem_hash": "2065b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67128, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 2150}, "timestamp": "2026-02-14T00:55:58.364Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 490}, "timestamp": "2026-02-12T02:35:29.497Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "978f2e", "alias": "modular_mod_compute_v1_124444284_9234", "problem": "Let $n$ be a positive integer. Define $a = -120$. Let $m$ be the number of integers $n$ with $1 \\leq n \\leq 33333$ such that $$\n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.$$\nLet $Q$ be the remainder when $44121 \\cdot a$ is divided by $91790$. Compute $Q$.", "answer": 73861, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a\": Const(-120),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(33333)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(91790)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:19:39.982814Z", "verification": {"verified": true, "answer": 73861, "timestamp": "2026-02-08T12:19:39.986238Z"}, "problem_hash": "90723f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 644}, "timestamp": "2026-02-12T05:07:44.775Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K15": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "848617", "alias": "comb_count_permutations_fixed_v1_2051736721_2654", "problem": "Let $k$ be the smallest divisor of $847$ that is at least $2$. Compute $\\binom{10}{k} \\cdot ! (10 - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 240, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(10),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:49:57.550260Z", "verification": {"verified": true, "answer": 240, "timestamp": "2026-02-08T16:49:57.553703Z"}, "problem_hash": "5e9de7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 263}, "timestamp": "2026-02-12T21:11:06.011Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V3": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9b6c01", "alias": "nt_count_divisible_v1_784195855_9243", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 36$. For each pair, compute $x + y$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $d$ be a positive divisor of $s$. Define $\\phi(d)$ as the number of positive integers less than or equal to $d$ that are relatively prime to $d$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $s$. Let this sum be $D$. Let $U = 58564$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $n$ is divisible by $D$. Call this number $R$. Now, consider all integers $t$ in the range $15 \\leq t \\leq 51$ for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, such that $t = 9a + 6b$. Let $T$ be the set of all such $t$. Compute the number of elements in $T$. Let $k$ be the remainder when $|R|$ is divided by $|T|$. Find the $k$-th Bell number, where the Bell numbers count the number of partitions of a set of $k$ elements.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(58564),\n \"divisor\": SumOverDivisors(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=36)))), expr=Sum(Var(name='x'), Var(name='y')))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=51)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["LIN_FORM", "B3/K3"], "recipe_id": "d21377", "seed_template_id": "nt_count_divisible_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "K3", "LIN_FORM"], "num_lemmas": 4, "generation_time": 7.738, "created_at": "2026-02-08T16:39:27.723813Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T16:39:35.461657Z"}, "problem_hash": "ab83fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 409, "completion_tokens": 720}, "timestamp": "2026-02-12T11:13:05.992Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K3": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8a5212", "alias": "nt_sum_gcd_range_mod_v1_397696148_2243", "problem": "Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq 756$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Compute the remainder when $\\sum_{n=1}^{1153} \\gcd(n, k)$ is divided by $10141$.", "answer": 9889, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(756),\n \"N\": Const(1153),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"M\": Const(10141),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.058, "created_at": "2026-02-08T13:03:01.178834Z", "verification": {"verified": true, "answer": 9889, "timestamp": "2026-02-08T13:03:01.236600Z"}, "problem_hash": "00de67", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 566}, "timestamp": "2026-02-12T06:07:59.035Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3ec577", "alias": "comb_catalan_compute_v1_151522320_1206", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 5$. Let $C_n$ denote the $n$-th Catalan number. Let $S$ be the set of all integers $t$ such that $5 \\leq t \\leq 17$ and there exist positive integers $a \\leq 3$, $b \\leq 4$ satisfying $t = 3a + 2b$. Let $m = |S|$. Compute the remainder when the Bell number $B_{C_n \\bmod m}$ is divided by $90947$.", "answer": 25028, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90947),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_CARTESIAN"], "recipe_id": "6e491f", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "bell_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:50:39.662638Z", "verification": {"verified": true, "answer": 25028, "timestamp": "2026-02-08T03:50:39.665077Z"}, "problem_hash": "9e9e54", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 25028, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 2117}, "timestamp": "2026-02-10T15:52:35.456Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 25028, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 1426}, "timestamp": "2026-02-10T14:30:54.724Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 652}, "timestamp": "2026-02-13T01:04:35.884Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 384}, "timestamp": "2026-02-11T20:12:23.405Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "ce69c4", "alias": "nt_count_coprime_v1_1978505735_1633", "problem": "Let $k$ be the smallest divisor of $62197$ that is at least $2$. Determine the number of positive integers $n \\leq 16384$ such that $\\gcd(n, k) = 1$. Then compute the remainder when $91469$ times this number is divided by $50202$.", "answer": 31506, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(16384),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(62197))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(91469), Ref(\"result\")), modulus=Const(50202)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.248, "created_at": "2026-02-08T16:18:13.562432Z", "verification": {"verified": true, "answer": 31506, "timestamp": "2026-02-08T16:18:14.810683Z"}, "problem_hash": "d2fec9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 342}, "timestamp": "2026-02-12T10:22:25.606Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0225bd", "alias": "nt_count_digit_sum_v1_151522320_1506", "problem": "Let $m = 10$. Let $N$ be the number of positive integers $n \\leq 24997$ such that $\\gcd(n, m) = 1$. Let $S$ be the number of positive integers $n \\leq N$ such that the sum of the decimal digits of $n$ is $12$. Let $T$ be the number of positive integers $n \\leq 70$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute $S + 2^{S \\bmod T} \\bmod{79678}$.", "answer": 927, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(24997)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"target_sum\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(70)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))))), modulus=Const(79678))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C", "C4"], "recipe_id": "14606a", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "L3C"], "num_lemmas": 2, "generation_time": 0.367, "created_at": "2026-02-08T04:04:31.457191Z", "verification": {"verified": true, "answer": 927, "timestamp": "2026-02-08T04:04:31.824287Z"}, "problem_hash": "ecca4d", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 927, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 1991}, "timestamp": "2026-02-10T15:18:58.946Z"}, {"id": 8, "model": "mathstral", "answer": 1817, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 928}, "timestamp": "2026-02-13T06:16:34.737Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 397}, "timestamp": "2026-02-11T20:25:16.647Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "L3C": "ok", "C2": "no", "K14": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "fcb283", "alias": "sequence_fibonacci_compute_v1_1742523217_5032", "problem": "Let $S$ be the set of prime numbers $n$ such that $2 \\le n \\le 78$. Let $T$ be the set of positive integers $n$ such that $1 \\le n \\le |S|$ and $\\gcd(n, 12) = 1$. Let $n$ be the sum of all elements in $T$ that are divisible by 25. Compute the $n$-th Fibonacci number, and let $F_n$ denote this value. Find the remainder when $67733 \\cdot F_n$ is divided by $87297$.", "answer": 22658, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(78)), IsPrime(Var(\"n\")))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1)))))), Eq(Mod(value=Var(\"n\"), modulus=Const(25)), Const(0))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(67733),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(87297)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C4/SUM_DIVISIBLE"], "recipe_id": "db97a2", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T10:45:37.274744Z", "verification": {"verified": true, "answer": 22658, "timestamp": "2026-02-08T10:45:37.277998Z"}, "problem_hash": "506201", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 796}, "timestamp": "2026-02-14T08:37:15.818Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 424}, "timestamp": "2026-02-12T03:26:28.499Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C4": "ok_later", "SUM_DIVISIBLE": "ok_later", "K17": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "a3b90d", "alias": "modular_sum_quadratic_residues_v1_1431428450_1065", "problem": "Let $p$ be the smallest prime divisor of $4890952351$. Compute $\\frac{p(p-1)}{4}$.", "answer": 16448, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4890952351))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:52:59.015083Z", "verification": {"verified": true, "answer": 16448, "timestamp": "2026-02-08T13:52:59.016888Z"}, "problem_hash": "33c80f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 206}, "timestamp": "2026-02-12T07:29:50.278Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9f87d0", "alias": "comb_bell_compute_v1_865884756_4394", "problem": "Let $n = 16$. Let $c = \\sum_{k = \\binom{16}{16} - 1}^{0!} (-1)^k \\binom{0!}{k}$. Let $a$ be the number of ordered pairs of positive integers $(i, j)$ such that $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 2$. Let $b = 3 + c$, and let $n_1 = a + b$. Let $u = \\sum_{k_1 = 0}^{n_1} (-1)^{k_1} \\binom{n_1}{k_1}$. Let $\\mathcal{B}_8$ denote the 8th Bell number, which is the number of partitions of an 8-element set. Let $Q = (11236 + u) - \\mathcal{B}_8$. Compute $Q$.", "answer": 7096, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"n2\": Factorial(Const(0)),\n \"c\": Summation(var=\"k\", start=Sub(Binom(n=Ref(\"_n\"), k=Const(16)), Const(1)), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))),\n \"b\": Sum(Const(3), Ref(\"c\")),\n \"n1\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"u\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": Const(8),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": Sum(Const(11236), Ref(\"u\")),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "ONE_FACTORIAL_0", "ZERO_BINOM_N"], "recipe_id": "167c31", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ONE_FACTORIAL_0", "ZERO_BINOM_N"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T17:54:50.628935Z", "verification": {"verified": true, "answer": 7096, "timestamp": "2026-02-08T17:54:50.633310Z"}, "problem_hash": "f35e06", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9806, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 355}, "timestamp": "2026-02-12T23:21:04.290Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "ZERO_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "85111f", "alias": "nt_min_coprime_above_v1_1470522791_222", "problem": "Let $m$ be the smallest integer greater than $1$ that divides $22629049$. Compute the smallest integer $n$ such that $12544 < n \\le 12621$ and $\\gcd(n, m) = 1$.", "answer": 12545, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(12544),\n \"upper\": Const(12621),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(22629049))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T12:54:50.506647Z", "verification": {"verified": true, "answer": 12545, "timestamp": "2026-02-08T12:54:50.517438Z"}, "problem_hash": "0b03d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12545, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 301}, "timestamp": "2026-02-12T05:53:31.292Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "903356", "alias": "antilemma_product_of_sums_v1_677425708_3476", "problem": "Let $m = 23$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq m$. Define $\\mathcal{S}$ as the set of all ordered pairs $(i, j)$ where $i$ is an integer from 1 to 8 and $j$ is an integer from 1 to 6. Compute the sum $S_1 = \\sum_{(i,j) \\in \\mathcal{S}} ij$. Let $S_2 = \\sum_{k=1}^{|P|} k$, where $|P|$ denotes the number of elements in $P$. Compute $S_1 \\cdot S_2$.", "answer": 34020, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/PRODUCT_OF_SUMS/SUM_ARITHMETIC"], "recipe_id": "b90071", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:44:48.216736Z", "verification": {"verified": true, "answer": 34020, "timestamp": "2026-02-08T05:44:48.217958Z"}, "problem_hash": "7dca82", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "K13": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "c34267", "alias": "diophantine_fbi2_min_v1_784195855_9043", "problem": "Let $d_1$ be the smallest divisor of $2021$ that is at least $2$.\\\\\n\nLet $D$ be the set of all integers $d$ such that $2 \\leq d \\leq d_1$, $d$ divides $33$, and $\\frac{33}{d} \\geq 3$.\\\\\n\nLet $d_2$ be the smallest element of $D$.\\\\\n\nCompute $11952 \\times d_2$.", "answer": 35856, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(33),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2021))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Mul(Const(11952), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T16:29:06.475585Z", "verification": {"verified": true, "answer": 35856, "timestamp": "2026-02-08T16:29:06.480331Z"}, "problem_hash": "0f328d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 35856, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 303}, "timestamp": "2026-02-12T10:50:59.534Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "f3d253", "alias": "nt_euler_phi_compute_v1_1116507919_400", "problem": "Let $p = 5$. Let $q$ be the smallest integer $d \\ge 2$ that divides $2491$. Let $n_2 = p \\cdot q$. Let $h = \\mu(n_2)^2$, where $\\mu$ denotes the M\\\"obius function. Let $n_1 = 1$ and let $e$ be the number of prime factors of $n_1$ counted with multiplicity. Define $n = 34225 \\cdot h + e$. Compute $\\phi(n)$, where $\\phi$ denotes Euler's totient function.", "answer": 26640, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(5),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2491))))),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Mul(Const(34225), Ref(\"h\")), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO"], "recipe_id": "b7acb1", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:33:22.786033Z", "verification": {"verified": true, "answer": 26640, "timestamp": "2026-02-08T02:33:22.788889Z"}, "problem_hash": "9073dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 1236}, "timestamp": "2026-02-08T19:29:49.483Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 236, "completion_tokens": 1189}, "timestamp": "2026-02-09T17:06:31.473Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 5676}, "timestamp": "2026-02-09T20:57:24.678Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 1007}, "timestamp": "2026-02-09T20:39:18.098Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "4ab775", "alias": "nt_count_divisible_and_v1_458359167_143", "problem": "Let $S$ be the set of all ordered pairs $(k, j)$ where $k \\in \\{1,2,3\\}$ and $j \\in \\{1,2,3,4,5,6,7\\}$. Define\n$$\nd_1 = \\frac{4}{28} \\sum_{(k,j) \\in S} \\phi(k) \\left\\lfloor \\frac{1}{k} \\sum_{k=1}^2 \\phi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor \\right\\rfloor.\n$$\nLet $d_2$ be the number of integers $t$ with $5 \\leq t \\leq 15$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 3$, and $t = 3a + 2b$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 52920$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 2940, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(28),\n \"_n\": Const(2),\n \"upper\": Const(52920),\n \"d1\": Div(Mul(Const(4), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(7)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))), Var(\"k\"))))))), Ref(\"_m\")),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT", "K2/K2", "LIN_FORM"], "recipe_id": "da1511", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 2.009, "created_at": "2026-02-08T03:01:48.485420Z", "verification": {"verified": true, "answer": 2940, "timestamp": "2026-02-08T03:01:50.494035Z"}, "problem_hash": "7f29fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 367, "completion_tokens": 1301}, "timestamp": "2026-02-10T12:31:19.912Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 367, "completion_tokens": 1684}, "timestamp": "2026-02-10T12:32:43.535Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 320, "completion_tokens": 8192}, "timestamp": "2026-02-12T01:37:15.744Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 314, "completion_tokens": 981}, "timestamp": "2026-02-12T00:39:07.276Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 285, "completion_tokens": 1774}, "timestamp": "2026-02-11T03:52:32.005Z"}, {"id": 8, "model": "mathstral", "answer": 3307, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 970}, "timestamp": "2026-02-11T12:27:16.348Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 350, "completion_tokens": 559}, "timestamp": "2026-02-11T20:08:55.752Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "SUM_INDEPENDENT": "ok", "C2": "no", "K16": "no", "MOD_FACTORIAL": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -7.96, "mid": -5.66, "hi": -3.26}, "split": "test"} +{"id": "d22c56", "alias": "nt_sum_over_divisible_v1_168721529_1860", "problem": "Let $a = 2$ and $b = 2$, and define\n$$\nn_1 = (ab)^2.\n$$\nLet $s$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nConsider all integers $t$ for which there exist integers $u$ and $v$ satisfying $1 \\le u \\le 39$, $1 \\le v \\le 95$, $9 \\le t \\le 463$, and\n$$\nt = 7u + 2v.\n$$\nLet $T$ be the number of such integers $t$.\n\nLet $n$ be the number of prime numbers between $2$ and $T$, inclusive. Define\n$$\nv = \\sum_{d \\mid n} \\mu(d),\n$$\nwhere $\\mu$ is the Möbius function.\n\nLet\n$$\n\\text{upper} = 18769s + v.\n$$\nLet $\\text{result}$ be the sum of all integers $k$ with $1 \\le k \\le \\text{upper}$ such that $k$ is divisible by $12$.\n\nFinally, let $Q$ be the remainder when $44121 \\cdot \\text{result}$ is divided by $84289$.\n\nFind the value of $Q$. ", "answer": 28432, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(2),\n \"b\": Const(2),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Const(2)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Ref(\"_n\")),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=39)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=95)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=463)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"v\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Mul(Const(18769), Ref(\"s\")), Ref(\"v\")),\n \"divisor\": Const(12),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(84289)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_PRIMES/MOBIUS_SUM", "DIVISOR_PARITY"], "recipe_id": "6cd5a7", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "DIVISOR_PARITY", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.604, "created_at": "2026-02-08T13:57:57.859403Z", "verification": {"verified": true, "answer": 28432, "timestamp": "2026-02-08T13:57:58.463030Z"}, "problem_hash": "efcc05", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 393, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:45:08.640Z"}], "solution_status": 0, "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "ok_later", "MOBIUS_SUM": "ok_later", "K17": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "86ea24", "alias": "comb_sum_binomial_mod_v1_1742523217_1577", "problem": "Let $m = 20$. Let $n$ be the largest prime number less than or equal to $129$. Let $S$ be the set of all integers $t$ such that $14 \\leq t \\leq 970$ and there exist positive integers $a \\leq 87$, $b \\leq 113$ satisfying $t = 2a + 7b + 5$. Let $N = |S|$. Define\n$$\n\\sum_{k = n}^{N} \\binom{483}{k},\n$$where the sum includes all integers $k$ from $n$ to $N$ inclusive, such that $\\gcd(k, m) = 1$. Let $s$ denote this sum. Let $r$ be the remainder when $s$ is divided by $11069$. Compute the remainder when $44121 \\cdot r$ is divided by $83639$.", "answer": 59501, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(20),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(129)), IsPrime(Var(\"n\"))))),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=87)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=113)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=970)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=5))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))), expr=Binom(n=Const(483), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11069)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(83639)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C4", "LIN_FORM/C4"], "recipe_id": "b23cd6", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.034, "created_at": "2026-02-08T04:03:01.353185Z", "verification": {"verified": true, "answer": 59501, "timestamp": "2026-02-08T04:03:01.386758Z"}, "problem_hash": "4f6b9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:37:44.297Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:09:12.996Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 7455}, "timestamp": "2026-02-11T21:16:28.168Z"}, {"id": 8, "model": "mathstral", "answer": 5705, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 727}, "timestamp": "2026-02-13T05:10:41.654Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 311, "completion_tokens": 414}, "timestamp": "2026-02-11T21:19:09.440Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "b317fb", "alias": "modular_modexp_compute_v1_2051736721_5444", "problem": "Let $a$ be the smallest divisor of $98955427$ that is at least $2$. Let $e = 1260$ and $m = 11867$. Define $\\text{result} = a^e \\bmod m$, and let $c = 69169$. Compute $c - \\text{result}$.", "answer": 60290, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(98955427))))),\n \"e\": Const(1260),\n \"m\": Const(11867),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(69169),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:36:24.673339Z", "verification": {"verified": true, "answer": 60290, "timestamp": "2026-02-08T18:36:24.674827Z"}, "problem_hash": "d46ec9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 314}, "timestamp": "2026-02-13T00:20:01.774Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a7a534", "alias": "modular_sum_quadratic_residues_v1_124444284_2144", "problem": "Let $ m = 6 $. Define $ n $ to be the number of integers $ k $ with $ 1 \\leq k \\leq m $ such that $ k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{3} $. Let $ p $ be the smallest divisor of 265189 that is at least $ n $. Compute $ \\frac{p(p-1)}{4} $.", "answer": 64643, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(265189))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["L3C/MIN_PRIME_FACTOR", "COUNT_CARTESIAN"], "recipe_id": "9cabd8", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "L3C", "MIN_PRIME_FACTOR", "V8"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T04:20:48.775451Z", "verification": {"verified": true, "answer": 64643, "timestamp": "2026-02-08T04:20:48.784128Z"}, "problem_hash": "ccc483", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 64643, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 5341}, "timestamp": "2026-02-10T16:33:06.508Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 8812}, "timestamp": "2026-02-13T15:26:26.230Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 568}, "timestamp": "2026-02-11T20:47:17.528Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "L3C": "ok", "MIN_PRIME_FACTOR": "ok_later", "K14": "no", "K5": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "9019d5", "alias": "comb_count_partitions_v1_1116507919_407", "problem": "Let $m = 41$. Consider all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 40$ and $1 \\le j \\le 40$ that satisfy\n\\[i + j = m.\n\\]\nLet $n$ be the number of such ordered pairs.\n\nLet $h$ be the sum\n\\[h = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k},\n\\]\nand let $s$ be the sum\n\\[s = \\sum_{k=0}^{6} (-1)^k \\binom{6}{k}.\n\\]\nDefine\n\\[N = nh + s.\n\\]\nLet $p(N)$ denote the number of integer partitions of $N$.\n\nLet $c$ be the number of ordered pairs $(u,v)$ of integers with $1 \\le u \\le 2$ and $1 \\le v \\le 5$.\n\nLet $Q$ be the remainder when $c - p(N)$ is divided by $99030$.\n\nFind the value of $Q$.", "answer": 61702, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(41),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(40)), right=IntegerRange(start=Const(1), end=Const(40))))),\n \"n2\": Const(0),\n \"h\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(6),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Mul(Ref(\"_n\"), Ref(\"h\")), Ref(\"s\")),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(99030)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "COUNT_CARTESIAN"], "recipe_id": "b75077", "seed_template_id": "comb_count_partitions_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T02:33:43.767748Z", "verification": {"verified": true, "answer": 61702, "timestamp": "2026-02-08T02:33:43.777247Z"}, "problem_hash": "349938", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61702, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 341, "completion_tokens": 2016}, "timestamp": "2026-02-08T19:30:40.456Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 61702, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 337, "completion_tokens": 1184}, "timestamp": "2026-02-09T17:17:08.025Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 61702, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 293, "completion_tokens": 6947}, "timestamp": "2026-02-09T21:04:13.428Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 61702, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 379}, "timestamp": "2026-02-10T13:32:13.565Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61702, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 800}, "timestamp": "2026-02-09T20:47:14.593Z"}, {"id": 8, "model": "mathstral", "answer": 98906, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 521}, "timestamp": "2026-02-11T02:09:00.419Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 512}, "timestamp": "2026-02-11T19:36:49.259Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -7.96, "mid": -5.66, "hi": -3.26}, "split": "test"} +{"id": "b528a5", "alias": "nt_sum_divisors_mod_v1_2051736721_878", "problem": "Let $n$ be the number of positive integers $n_1$ with $1 \\le n_1 \\le 18480$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{11}$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Find the remainder when $\\sigma(n)$ is divided by $10303$.", "answer": 5952, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(18480)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=11))))),\n \"M\": Const(10303),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:43:48.407024Z", "verification": {"verified": true, "answer": 5952, "timestamp": "2026-02-08T15:43:48.410586Z"}, "problem_hash": "13ccab", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 726}, "timestamp": "2026-02-12T09:04:38.259Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "L3b": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c961fe", "alias": "nt_min_crt_v1_898971024_2284", "problem": "Let $m$ be the smallest divisor of 1001 that is at least 2, and let $k = 11$. Define $a = 1$ and $b = 10$. Consider the set of all integers $n$ such that $1 \\leq n \\leq 77$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Let $r$ be the smallest element of this set. Compute the remainder when $39357 \\cdot r$ is divided by 82705.", "answer": 38251, "graph": "graphs = [\n Graph(\n let={\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\n \"k\": Const(11),\n \"a\": Const(1),\n \"b\": Const(10),\n \"upper\": Const(77),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"_c\": Const(39357),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82705)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T16:38:28.562955Z", "verification": {"verified": true, "answer": 38251, "timestamp": "2026-02-08T16:38:28.579144Z"}, "problem_hash": "f48c32", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49940, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 448}, "timestamp": "2026-02-12T20:45:17.574Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "L3c": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ffa87a", "alias": "nt_count_divisors_in_range_v1_168721529_172", "problem": "Compute the number of positive divisors $d$ of 166320 such that $3 \\leq d \\leq 15121$.", "answer": 148, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(166320),\n \"a\": Const(3),\n \"b\": Const(15121),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.579, "created_at": "2026-02-08T12:52:17.222823Z", "verification": {"verified": true, "answer": 148, "timestamp": "2026-02-08T12:52:18.802019Z"}, "problem_hash": "240267", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:15:19.072Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 150, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 86, "completion_tokens": 427}, "timestamp": "2026-02-09T14:09:31.339Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 148, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 73, "completion_tokens": 1704}, "timestamp": "2026-02-10T00:52:54.051Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 466}, "timestamp": "2026-02-12T05:47:47.141Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.16, "mid": 1.4, "hi": 5.17}, "split": "test"} +{"id": "5c5bf4", "alias": "algebra_poly_eval_v1_1470522791_1909", "problem": "Let $x = 19$, and let $d_0$ be the smallest integer greater than or equal to $2$ that divides $847$. Compute $2x^2 + d_0 \\cdot x + 1$.", "answer": 856, "graph": "graphs = [\n Graph(\n let={\n \"x\": Const(19),\n \"result\": Sum(Mul(Const(2), Pow(Ref(\"x\"), Const(2))), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))), Ref(\"x\")), Const(1)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T14:06:32.577646Z", "verification": {"verified": true, "answer": 856, "timestamp": "2026-02-08T14:06:32.579979Z"}, "problem_hash": "b85492", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 856, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 304}, "timestamp": "2026-02-12T07:46:11.618Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "ff3317", "alias": "modular_sum_quadratic_residues_v1_1742523217_735", "problem": "Let $n = 4$. Let $p$ be the smallest integer $d \\geq 2$ that divides $25090879973$. Define $\\text{result} = \\frac{p(p-1)}{n}$. Find the value of $Q$, the smallest positive integer $k$ such that $2^k \\equiv 1 \\pmod{2|\\text{result}| + 3}$.", "answer": 8734, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(25090879973))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:11:51.827802Z", "verification": {"verified": true, "answer": 8734, "timestamp": "2026-02-08T03:11:51.830210Z"}, "problem_hash": "c1f110", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:58:30.565Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T06:29:06.466Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "2c9225", "alias": "nt_min_crt_v1_1520064083_3713", "problem": "Let $n$ be a positive integer. Define $S$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 4$. Let $P$ be the set of all products $xy$ where $(x, y) \\in S$. Let $M$ be the maximum element of $P$. Define $a$ to be the largest prime number $n$ such that $2 \\leq n \\leq M$. \n\nLet $b$ be the number of nonnegative integers $j$ with $0 \\leq j \\leq 2080$ such that $\\binom{2080}{j}$ is odd. \n\nLet $Q$ be the smallest positive integer $n$ such that $1 \\leq n \\leq 63$, $n \\equiv a \\pmod{7}$, and $n \\equiv b \\pmod{9}$. Compute the remainder when $71991 \\cdot Q$ is divided by $59518$.", "answer": 29555, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59518),\n \"m\": Const(7),\n \"k\": Const(9),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(2080)), Eq(Mod(value=Binom(n=Const(2080), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"upper\": Const(63),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(71991), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_PRIME_BELOW", "V8"], "recipe_id": "a99244", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T05:49:59.764395Z", "verification": {"verified": true, "answer": 29555, "timestamp": "2026-02-08T05:49:59.773697Z"}, "problem_hash": "7a1945", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29555, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 1319}, "timestamp": "2026-02-12T14:40:45.610Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 415}, "timestamp": "2026-02-11T23:08:40.122Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "V8": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "21a358", "alias": "antilemma_v7_kummer_168721529_199", "problem": "Let $c=85264$.\n\nLet $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=212521$. Let $T$ be the set of all values of $x+y$ as $(x,y)$ ranges over $S$, and let $m$ be the minimum element of $T$.\n\nLet $U$ be the set of all integers $n$ such that $1\\le n\\le 11529$ and\n$$n\\equiv \\left\\lfloor\\frac{n}{2}\\right\\rfloor \\pmod{5}.$$\nLet $N$ be the number of elements of $U$.\n\nLet $V$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=36,\\quad \\gcd(p,q)=1,\\quad p 0, \\\\\n1 & \\text{if } D = 0.\n\\end{cases}\n$$\nCompute $81665 \\cdot r$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(3)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3))))),\n \"a\": Const(2),\n \"b\": Summation(var=\"k\", start=Const(0), end=Const(6), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(6), k=Var(\"k\")))),\n \"c\": Const(5),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": Const(81665),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_CARTESIAN", "BINOMIAL_ALTERNATING"], "recipe_id": "5b3467", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T11:12:41.857344Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T11:12:41.871973Z"}, "problem_hash": "375d63", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 81665, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 1828}, "timestamp": "2026-02-14T10:44:36.191Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 81665, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 382}, "timestamp": "2026-02-12T03:40:16.668Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_CARTESIAN": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "2cb543", "alias": "comb_factorial_compute_v1_124444284_7613", "problem": "Let $n$ be the smallest divisor of $11011$ that is greater than or equal to $2$. Compute the remainder when $44121 \\cdot n!$ is divided by $51365$.", "answer": 10755, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11011),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(51365)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:13:35.628703Z", "verification": {"verified": true, "answer": 10755, "timestamp": "2026-02-08T09:13:35.630528Z"}, "problem_hash": "d6e80b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10755, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 89, "completion_tokens": 3105}, "timestamp": "2026-02-14T01:59:17.672Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 423}, "timestamp": "2026-02-12T02:42:02.332Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "K14": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "2e3bdd", "alias": "nt_sum_divisors_range_v1_48377204_238", "problem": "Let $n = 2$. Let $d$ be the smallest integer $d \\geq n$ that divides $27741253$. Let $U = d$. Compute the sum of the number of positive divisors of each integer $n$ from $1$ to $U$, inclusive.", "answer": 45894, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(27741253))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.412, "created_at": "2026-02-08T15:19:11.233913Z", "verification": {"verified": true, "answer": 45894, "timestamp": "2026-02-08T15:19:11.645736Z"}, "problem_hash": "23cefe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 323}, "timestamp": "2026-02-12T08:07:51.671Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "629faa", "alias": "comb_count_partitions_v1_898971024_152", "problem": "Let $n$ be the smallest divisor of $1763$ that is at least $2$. Determine the value of $p(n)$, the number of integer partitions of $n$.", "answer": 44583, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1763))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:13:31.618692Z", "verification": {"verified": true, "answer": 44583, "timestamp": "2026-02-08T15:13:31.621108Z"}, "problem_hash": "9eb5d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 246}, "timestamp": "2026-02-12T08:05:39.328Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "L3b": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f45f4a", "alias": "nt_sum_over_divisible_v1_717093673_3475", "problem": "Let $\\delta$ be the number of positive integers $n$ such that $1 \\leq n \\leq 602$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $\\rho$ be the sum of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 5184$ and $n_1$ is divisible by $\\delta$. Compute the remainder when $72371 \\cdot \\rho$ is divided by $59010$.", "answer": 50850, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59010),\n \"upper\": Const(5184),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(602)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(72371),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 1.853, "created_at": "2026-02-08T17:38:27.435742Z", "verification": {"verified": true, "answer": 50850, "timestamp": "2026-02-08T17:38:29.288909Z"}, "problem_hash": "7b5222", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 498}, "timestamp": "2026-02-12T22:53:25.134Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9f9cb5", "alias": "modular_product_range_v1_784195855_9949", "problem": "Compute the remainder when $\\prod_{i=2}^{122} i$ is divided by $10903$.", "answer": 8276, "graph": "graphs = [\n Graph(\n let={\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(2), end=Const(122)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10903)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T17:20:25.202305Z", "verification": {"verified": true, "answer": 8276, "timestamp": "2026-02-08T17:20:25.213322Z"}, "problem_hash": "7e7bb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 130, "completion_tokens": 625}, "timestamp": "2026-02-12T22:24:02.174Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f3965f", "alias": "comb_binomial_compute_v1_124444284_739", "problem": "Let $m = 14$ and let $n_0$ be the largest integer $k$ such that $7^k$ divides $m!$. Let $n$ be the number of integers $t$ such that $7 \\leq t \\leq 27$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 5$, and $t = 4a + 3b$. Let $k$ be the smallest integer $d \\geq n_0$ such that $d$ divides the number of integers $t$ such that $13 \\leq t \\leq 871$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 208$, and $t = 5a + 4b + 4$. Compute $\\binom{n}{k}$.", "answer": 6435, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=Const(7)),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=27)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=208)), Geq(left=Var(name='t'), right=Const(value=13)), Leq(left=Var(name='t'), right=Const(value=871)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=4)))))))))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/LIN_FORM/MIN_PRIME_FACTOR"], "recipe_id": "5540fa", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:29:18.537463Z", "verification": {"verified": true, "answer": 6435, "timestamp": "2026-02-08T03:29:18.542617Z"}, "problem_hash": "838518", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:22:33.929Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6435, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 328, "completion_tokens": 4951}, "timestamp": "2026-02-09T05:25:20.389Z"}], "solution_status": 1, "lemma_applicability": {"V1": "ok", "LIN_FORM": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "V3": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "34b8df", "alias": "geo_count_lattice_triangle_v1_784195855_4271", "problem": "Let $A$ be twice the area of the rectangle with vertices at $(0,0)$, $(256,50)$, $(231,121)$, and $(0,0)$, computed using the shoelace formula. Let $B$ be the sum of the greatest common divisors of the absolute values of the differences in coordinates along each edge of this polygon. Compute $\\frac{A + 2 - B}{2}$.", "answer": 9707, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(231),\n \"_m\": Const(231),\n \"_n\": Const(50),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=256), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(value=1), end=Const(value=11)), right=IntegerRange(start=Const(value=1), end=Const(value=11))))), Mul(Ref(name='_c'), Sub(left=Const(value=0), right=Const(value=50))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=256)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=Ref(name='_m'), right=Const(value=256))), b=Abs(arg=Sub(left=Const(value=121), right=Const(value=50)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=231))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=121))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "LIN_FORM", "B3"], "recipe_id": "9562a5", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.027, "created_at": "2026-02-08T06:57:14.740553Z", "verification": {"verified": true, "answer": 9707, "timestamp": "2026-02-08T06:57:14.767616Z"}, "problem_hash": "15fa57", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9707, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 1899}, "timestamp": "2026-02-13T07:13:03.849Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15230, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 726}, "timestamp": "2026-02-12T00:46:00.743Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K18": "no", "K5": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "51ae76", "alias": "nt_count_divisible_v1_1918700295_4639", "problem": "Let $n$ be a positive integer. Define $d$ to be the number of positive integers $n$ with $1 \\leq n \\leq 126$ such that\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.\n$$\nLet $S$ be the set of positive integers $n$ with $1 \\leq n \\leq 77777$ such that $n$ is divisible by $d$. Compute the remainder when $28147 \\cdot |S|$ is divided by $65696$.", "answer": 57440, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65696),\n \"upper\": Const(77777),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(126)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(28147), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.567, "created_at": "2026-02-08T09:29:31.931635Z", "verification": {"verified": true, "answer": 57440, "timestamp": "2026-02-08T09:29:34.498528Z"}, "problem_hash": "826754", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57440, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 6712}, "timestamp": "2026-02-14T04:36:32.431Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 451}, "timestamp": "2026-02-12T02:59:13.285Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "07ae7b", "alias": "algebra_poly_eval_v1_1520064083_7633", "problem": "Let $m = 4$ and $k = 7$. Let $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 324$. Let $B$ be the set of all values $x + y$ where $(x,y) \\in A$. Let $s$ be the minimum element of $B$. Let $D$ be the number of positive integers $k$ such that $1 \\leq k \\leq 12960$ and $360$ divides $k$. Define\n$$\nf(k) = \\frac{1}{46} \\left( s \\cdot k^5 - D \\cdot k^4 + 68k^3 - 20k^2 - 58k - 12 \\right).\n$$\nLet $r = f(k)$. Compute the remainder when $93409 \\cdot r$ is divided by $75231$. ", "answer": 32045, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(12960)), Divides(divisor=Const(360), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k\": Const(7),\n \"result\": Div(Sum(Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(324)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Pow(Ref(\"k\"), Const(5))), Mul(Ref(\"_n\"), Pow(Ref(\"k\"), Ref(\"_m\"))), Mul(Const(68), Pow(Ref(\"k\"), Const(3))), Mul(Const(-20), Pow(Ref(\"k\"), Const(2))), Mul(Const(-58), Ref(\"k\")), Const(-12)), Const(46)),\n \"Q\": Mod(value=Mul(Const(93409), Ref(\"result\")), modulus=Const(75231)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "7c8509", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T09:13:17.011925Z", "verification": {"verified": true, "answer": 32045, "timestamp": "2026-02-08T09:13:17.017309Z"}, "problem_hash": "af8643", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 2743}, "timestamp": "2026-02-14T01:36:12.739Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 443}, "timestamp": "2026-02-12T02:39:50.477Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "6df606", "alias": "comb_sum_binomial_row_v1_1520064083_5893", "problem": "Let $m = 660$. Define $t$ to be the number of positive integers $k$ such that $1 \\leq k \\leq m$ and $55$ divides $k$. Let $n$ be the largest prime number satisfying $2 \\leq n \\leq t$. Now, let $S$ be the set of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in $S$. Compute $c^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(660),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(55), dividend=Var(\"k\"))), domain='positive_integers'))), IsPrime(Var(\"n\"))))),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "300618", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:42:22.804309Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T07:42:22.807066Z"}, "problem_hash": "439a8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 388}, "timestamp": "2026-02-12T01:13:04.458Z"}], "solution_status": 2, "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K16": "no", "L3c": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "aff40b", "alias": "antilemma_sum_equals_v1_784195855_4779", "problem": "Let $m$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 4$, $1 \\leq j \\leq 4$, and $i + j = 6$. Let $n$ be the number of integers $t$ such that $5 \\leq t \\leq 15$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 3$, and $t = 3a + 2b$. Let $x$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 7$, $1 \\leq j \\leq 8$, and $i + j = n$. Compute the remainder when $m - x$ is divided by $58855$.", "answer": 58851, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(58855),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"Q\": Mod(value=Sub(Ref(\"_m\"), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/LIN_FORM", "LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "7e01e4", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T07:20:28.146373Z", "verification": {"verified": true, "answer": 58851, "timestamp": "2026-02-08T07:20:28.166642Z"}, "problem_hash": "dc4f04", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58851, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 846}, "timestamp": "2026-02-13T09:52:47.979Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 58844, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 554}, "timestamp": "2026-02-12T01:01:09.598Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "2f7292", "alias": "diophantine_sum_product_min_v1_349078426_919", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 29584$. Define $P$ to be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of integers $t$ such that $23 \\leq t \\leq 90$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 9$, and $t = 7a + 4b + 12$. Let $k$ be the number of positive integers $x$ such that $1 \\leq x \\leq |T|$ and $x(S - x) = P$. Compute the remainder when $16513 \\cdot k$ is divided by 93090.", "answer": 39014, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29584),\n \"S\": Const(51),\n \"P\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=90)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=12))))))))), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"Q\": Mod(value=Mul(Const(16513), Ref(\"result\")), modulus=Const(93090)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T13:20:21.588305Z", "verification": {"verified": true, "answer": 39014, "timestamp": "2026-02-08T13:20:21.603937Z"}, "problem_hash": "66ef82", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 482}, "timestamp": "2026-02-12T06:36:30.822Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a712a1", "alias": "antilemma_v8_lucas_151522320_1749", "problem": "Let $x$ be the number of integers $j$ with $0 \\le j \\le 27567$ for which $\\binom{27567}{j}$ is odd. Let $c = 17$. Compute the remainder when $$353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot \\left(\\left(|x|^{2} \\bmod 1\\right) \\bmod 101\\right) + 215534 \\cdot \\left(\\left(|x| \\bmod c\\right) \\bmod p_{\\text{max}}\\right)$$ is divided by $89946$, where $p_{\\text{max}}$ is the largest prime number between $2$ and $104$, inclusive.", "answer": 52712, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(27567)), Eq(Mod(value=Binom(n=Const(27567), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_c\": Const(17),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_n\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(104)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(89946)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "V8"], "recipe_id": "f09f7d", "seed_template_id": "antilemma_v8_lucas", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:20:39.702538Z", "verification": {"verified": true, "answer": 52712, "timestamp": "2026-02-08T04:20:39.704626Z"}, "problem_hash": "570bbf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V8": "ok", "DS2": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "80b4ab", "alias": "nt_count_divisors_in_range_v1_655260480_5108", "problem": "Let $n = 7560$. Determine the number of positive divisors $d$ of $n$ such that $32 \\le d \\le 3785$.", "answer": 43, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7560),\n \"a\": Const(32),\n \"b\": Const(3785),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.541, "created_at": "2026-02-08T18:16:25.887717Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T18:16:26.428950Z"}, "problem_hash": "f56703", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 142, "completion_tokens": 559}, "timestamp": "2026-02-12T23:57:11.702Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "200438", "alias": "antilemma_v1_legendre_1742523217_3339", "problem": "Let $m = 5$. Define $n$ to be the largest integer such that $2^n$ divides $7^8 - m^8$. Let $S$ be the set of all prime numbers $p$ satisfying $2 \\leq p \\leq n$. Compute the largest integer $k$ such that the largest prime in $S$ raised to the power $k$ divides $36780!$.", "answer": 9192, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(7), Const(8)), Pow(Ref(\"_m\"), Const(8))), base=Const(2)),\n \"x\": MaxKDivides(target=Factorial(Const(36780)), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "1f0ae6", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:48:29.310765Z", "verification": {"verified": true, "answer": 9192, "timestamp": "2026-02-08T05:48:29.312984Z"}, "problem_hash": "b7c9f8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF_P2": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "aa3cb5", "alias": "nt_sum_divisors_compute_v1_1520064083_78", "problem": "Let $n=48841$, and let $\\sigma(n)$ denote the sum of the positive divisors of $n$.\n\nCompute $\\sigma(n)$.", "answer": 56181, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(48841),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/C2/OMEGA_ONE/MOBIUS_SUM", "B1/OMEGA_ONE", "MOBIUS_COPRIME"], "recipe_id": "b7bb8b", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "C2", "C5", "MOBIUS_COPRIME", "MOBIUS_SUM", "OMEGA_ONE"], "num_lemmas": 6, "generation_time": 0.007, "created_at": "2026-02-08T02:58:50.809642Z", "verification": {"verified": true, "answer": 56181, "timestamp": "2026-02-08T02:58:50.816213Z"}, "problem_hash": "1bb573", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 56181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 835}, "timestamp": "2026-02-10T12:07:20.150Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 56181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 963}, "timestamp": "2026-02-10T12:28:15.061Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 76, "completion_tokens": 847}, "timestamp": "2026-02-10T22:43:24.708Z"}, {"id": 8, "model": "mathstral", "answer": 98623, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 91, "completion_tokens": 615}, "timestamp": "2026-02-11T09:25:07.970Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 52612, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 261}, "timestamp": "2026-02-11T20:01:07.821Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C5": "ok", "MOBIUS_COPRIME": "ok", "C2": "ok_later", "MOBIUS_SUM": "ok_later", "OMEGA_ONE": "ok_later", "K13": "no", "K16": "no", "K17": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "00f05e", "alias": "nt_count_primes_v1_168721529_283", "problem": "Let $p = 67$, and let $q$ be the largest integer $k$ such that $2^k \\le 281269138810416$. Define $n_1 = p \\cdot q$, and let $f$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $v = \\sum_{d \\mid 1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Determine the value of the remainder when $(44121 + f)$ multiplied by the number of prime numbers $n$ satisfying $2 \\le n \\le 12720$ is divided by $68203 \\cdot v$.", "answer": 332, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"p\": Const(67),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(281269138810416)))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"f\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(1),\n \"v\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(12720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Sum(Ref(\"_n\"), Ref(\"f\")), Ref(\"result\")), modulus=Mul(Const(68203), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "a2bbb4", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_VAL", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.435, "created_at": "2026-02-08T12:56:41.217462Z", "verification": {"verified": true, "answer": 332, "timestamp": "2026-02-08T12:56:41.652217Z"}, "problem_hash": "871ad3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:18:04.363Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:10:03.544Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8418, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 3157}, "timestamp": "2026-02-10T02:29:43.475Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_SUM": "ok", "DIVISOR_PARITY": "ok_later", "K16": "same_pattern_wrong", "K15": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.44, "mid": 5.72, "hi": 10.0}, "split": "test"} +{"id": "561cdf", "alias": "modular_count_residue_v1_898971024_325", "problem": "Let $m$ be the smallest prime divisor of $13013$. Determine the number of positive integers $n$ with $1 \\leq n \\leq 50400$ such that $n \\equiv 0 \\pmod{m}$.", "answer": 7200, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13013),\n \"upper\": Const(50400),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"r\": Const(0),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.921, "created_at": "2026-02-08T15:20:43.856877Z", "verification": {"verified": true, "answer": 7200, "timestamp": "2026-02-08T15:20:45.778366Z"}, "problem_hash": "33b66d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 247}, "timestamp": "2026-02-12T08:24:54.605Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "774d98", "alias": "nt_count_divisors_in_range_v1_677425708_1008", "problem": "Let $v_5(m!)$ denote the largest integer $k$ such that $5^k$ divides $m!$. Let\n$$T=v_5(885!).$$\n\nLet\n$$s=\\sum_{d\\mid \\gcd(36,37)} \\mu(d)$$\nand\n$$m=\\sum_{d\\mid 1} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $C$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=705600$, and let\n$$N=\\min_{(x,y)\\in C}(x+y).$$\n\nDefine $a=2$ and\n$$b=T\\cdot s\\cdot m.$$\n\nLet $Q$ be the number of positive integers $d$ such that $d$ divides $N$ and $a\\le d\\le b$. Compute $Q$.", "answer": 32, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Factorial(Const(885)), base=Const(5)),\n \"a1\": Const(36),\n \"b1\": Const(37),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(1),\n \"m\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(705600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(2),\n \"b\": Mul(Ref(\"_n\"), Ref(\"s\"), Ref(\"m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/B3/MOBIUS_COPRIME/MOBIUS_SUM"], "recipe_id": "572a97", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "MOBIUS_COPRIME", "MOBIUS_SUM", "V1"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T03:56:58.015210Z", "verification": {"verified": true, "answer": 32, "timestamp": "2026-02-08T03:56:58.029157Z"}, "problem_hash": "3c832b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 310, "completion_tokens": 3012}, "timestamp": "2026-02-09T14:51:48.010Z"}], "solution_status": 2, "lemma_applicability": {"V1": "ok", "B3": "ok_later", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K16": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "84c497", "alias": "nt_count_gcd_equals_v1_1431428450_456", "problem": "Compute the number of positive integers $n$ such that $1 \\leq n \\leq 5776$ and $\\gcd(n, 163) = 1$.", "answer": 5741, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(5776),\n \"k\": Const(163),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 4.421, "created_at": "2026-02-08T13:28:21.275195Z", "verification": {"verified": true, "answer": 5741, "timestamp": "2026-02-08T13:28:25.696617Z"}, "problem_hash": "785bcc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2736, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 142, "completion_tokens": 523}, "timestamp": "2026-02-12T06:55:22.816Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4e787e", "alias": "antilemma_k2_v1_1520064083_8266", "problem": "Let $m = 2$. Let $r_1$ and $r_2$ be the roots of the quadratic equation $x^2 - 221x + 11218 = 0$, and let $n = r_1 + r_2$. Define\n$$\nx = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{1}{k} \\sum_{d \\mid 221} \\phi(d) \\right\\rfloor,\n$$\nwhere $\\phi$ denotes Euler's totient function. Compute the remainder when $44121 \\cdot x$ is divided by $53810$.", "answer": 51721, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-221), Var(\"x\")), Const(11218)), Const(0)))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=Const(value=221), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(53810)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T10:06:38.423404Z", "verification": {"verified": true, "answer": 51721, "timestamp": "2026-02-08T10:06:38.424809Z"}, "problem_hash": "82663d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11691, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 5813}, "timestamp": "2026-02-14T06:29:59.087Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 530}, "timestamp": "2026-02-12T03:11:08.001Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "K18": "no", "LTE_SUM": "no", "V1": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "b39771", "alias": "sequence_lucas_compute_v1_1125832087_502", "problem": "Let $m$ be the number of positive integers $p$ for which there exists an integer $q$ such that\n$$pq = 108, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nLet $n$ be the number of integers $t$ with $1 \\le t \\le 92$ such that $3$ divides the $t$-th Fibonacci number.\n\nLet $L$ be the $n$-th Lucas number.\n\nLet $D$ be the set of all integers $d$ with $d \\ge m$ such that $d$ divides $17303$, and let $r$ be the minimum element of $D$. Let\n$$s \\equiv |L| \\pmod{r}, \\quad 0 \\le s < r.$$\n\nLet $Q$ be the $s$-th Bell number.\n\nCompute $Q$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(92),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": Const(17303),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Divides(divisor=Const(3), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/COUNT_FIB_DIVISIBLE/MIN_PRIME_FACTOR"], "recipe_id": "e18cfd", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "bell_mod", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.013, "created_at": "2026-02-08T03:07:33.095094Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T03:07:33.107680Z"}, "problem_hash": "cc2c67", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 300, "completion_tokens": 2010}, "timestamp": "2026-02-10T13:02:43.212Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 300, "completion_tokens": 1903}, "timestamp": "2026-02-10T12:51:39.401Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-12T02:11:26.997Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 690}, "timestamp": "2026-02-12T01:11:23.777Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 2490}, "timestamp": "2026-02-11T23:43:29.733Z"}, {"id": 8, "model": "mathstral", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 762}, "timestamp": "2026-02-11T14:50:16.529Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 398}, "timestamp": "2026-02-11T19:23:57.225Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K14": "no", "K16": "no", "LTE_SUM": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "d0586d", "alias": "nt_lcm_compute_v1_1470522791_523", "problem": "Let $a$ be the smallest divisor of $37100170966337$ that is at least $2$. Let $\\ell$ be the least common multiple of $a$ and $2566$. Compute the remainder when $77719 \\cdot \\ell$ is divided by $60296$.", "answer": 14718, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60296),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(37100170966337))))),\n \"b\": Const(2566),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(77719),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:04:20.494167Z", "verification": {"verified": true, "answer": 14718, "timestamp": "2026-02-08T13:04:20.495369Z"}, "problem_hash": "cba39a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 301}, "timestamp": "2026-02-12T06:04:51.778Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "77ff31", "alias": "comb_factorial_compute_v1_1248542787_15", "problem": "Let $n$ be the smallest integer greater than or equal to $2$ that divides $11011$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:53:49.714024Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T02:53:49.714895Z"}, "problem_hash": "9a2bfb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 514}, "timestamp": "2026-02-08T20:02:40.595Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 359}, "timestamp": "2026-02-08T21:14:50.347Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 88, "completion_tokens": 4915}, "timestamp": "2026-02-08T23:34:31.411Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 84, "completion_tokens": 1329}, "timestamp": "2026-02-10T15:26:01.543Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 74, "completion_tokens": 443}, "timestamp": "2026-02-10T16:02:01.644Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 86, "completion_tokens": 296}, "timestamp": "2026-02-11T06:47:23.200Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 133, "completion_tokens": 168}, "timestamp": "2026-02-11T19:52:29.670Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "test"} +{"id": "68f3f1", "alias": "nt_min_crt_v1_153355830_2004", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 1949$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $N$ be the number of such integers $n$. Let $S$ be the set of all prime numbers $n$ satisfying $2 \\leq n \\leq N$. Determine the value of the smallest element of $S$ that is congruent to $4$ modulo $7$ and congruent to $6$ modulo $11$.", "answer": 39, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1949)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"m\": Const(7),\n \"k\": Const(11),\n \"a\": Const(4),\n \"b\": Const(6),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["L3C/COUNT_PRIMES"], "recipe_id": "0b7977", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3C", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.131, "created_at": "2026-02-08T06:50:55.336847Z", "verification": {"verified": true, "answer": 39, "timestamp": "2026-02-08T06:50:55.468016Z"}, "problem_hash": "083222", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 193, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 1222}, "timestamp": "2026-02-13T05:17:25.047Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 423}, "timestamp": "2026-02-12T00:34:20.784Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "78592c", "alias": "nt_count_gcd_equals_v1_1742523217_192", "problem": "Let $U=33333$, $k=325$, and $d=1$. Let $R$ be the number of integers $n$ with $1\\le n\\le U$ such that $\\gcd(n,k)=d$.\n\nLet $E$ be the greatest integer $e$ such that $29^e$ divides $20511149^{10}$. Among all pairs of positive integers $(x,y)$ satisfying $x+y=E$, let $C$ be the greatest possible value of $xy$.\n\nWrite $|R|$ in decimal, and let $L$ be the number of digits of $|R|$. For each integer $i$ with $0\\le i\\le L-1$, let $a_i$ be the $i$th digit of $|R|$ (with $a_0$ the units digit). Let\n$$S=\\sum_{i=A}^{L-1} a_i\\,(i+1)^2,$$\nwhere\n$$A=\\sum_{d\\mid \\gcd(10,60)} \\mu(d),$$\nand $\\mu$ denotes the Möbius function.\n\nLet $Q=S+C$.\n\nCompute $Q$.", "answer": 802, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33333),\n \"k\": Const(325),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MaxKDivides(target=Pow(Const(20511149), Const(10)), base=Const(29))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Summation(var=\"i\", start=SumOverDivisors(n=GCD(a=Const(value=10), b=Const(value=60)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/B1", "MOBIUS_COPRIME"], "recipe_id": "727877", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "K14", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.59, "created_at": "2026-02-08T02:55:35.840867Z", "verification": {"verified": true, "answer": 802, "timestamp": "2026-02-08T02:55:38.431308Z"}, "problem_hash": "dd1441", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 802, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 366, "completion_tokens": 1904}, "timestamp": "2026-02-09T14:37:00.800Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 802, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 366, "completion_tokens": 2176}, "timestamp": "2026-02-09T00:24:16.556Z"}], "solution_status": 2, "lemma_applicability": {"K14": "ok", "MOBIUS_COPRIME": "ok", "B1": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K18": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "2861f8", "alias": "modular_min_linear_v1_865884756_6663", "problem": "Let $a = 11950$. Let $b$ be the number of positive integers $n \\leq 27378$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $m = 12057$. Find the smallest positive integer $x \\leq m$ such that\n$$\n11950 \\cdot x \\equiv b \\pmod{12057}.\n$$", "answer": 4422, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(11950),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(27378)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"m\": Const(12057),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.322, "created_at": "2026-02-08T19:20:37.975632Z", "verification": {"verified": true, "answer": 4422, "timestamp": "2026-02-08T19:20:40.298014Z"}, "problem_hash": "2c7b53", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 729}, "timestamp": "2026-02-13T00:56:34.818Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K14": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "154a02", "alias": "diophantine_fbi2_count_v1_1439011603_414", "problem": "Let $k = 840$. Let $S$ be the set of all integers $d$ such that $6 \\leq d \\leq 93$, $d$ divides $k$, $\\frac{k}{d} \\geq 2$, and $\\frac{k}{d} \\leq m$, where $m$ is the smallest integer greater than or equal to 2 that divides $84577501$. Let $r$ be the number of elements in $S$. Compute the remainder when $|r|$ is divided by $92125$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92125),\n \"k\": Const(840),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(93)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(84577501))))))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.081, "created_at": "2026-02-08T15:27:25.109673Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T15:27:25.190324Z"}, "problem_hash": "7721d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 283}, "timestamp": "2026-02-12T08:28:37.521Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "30ce4e", "alias": "comb_sum_binomial_row_v1_655260480_1793", "problem": "Let $d$ be an integer satisfying $d \\geq 2$ and $d \\mid 537251$. Let $n$ be the smallest such $d$. Define $\\alpha = 2^n$. Let $Q$ be the remainder when $61363 \\cdot \\alpha$ is divided by $51642$. Compute $Q$.", "answer": 26438, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"_c\": Const(61363),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51642)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:22:42.713681Z", "verification": {"verified": true, "answer": 26438, "timestamp": "2026-02-08T16:22:42.715502Z"}, "problem_hash": "e92e1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 259}, "timestamp": "2026-02-12T10:26:13.523Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "LTE_SUM": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4af993", "alias": "modular_min_modexp_v1_784195855_7885", "problem": "Let $a = 7$. Let $b$ be the number of integers $t$ such that $21 \\leq t \\leq 470$ and there exist integers $m$ and $n$ with $1 \\leq m \\leq 52$, $1 \\leq n \\leq 50$, and $t = 4m + 5n + 12$. Let $m = 547$. Let $u$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 28$ and $1 \\leq j \\leq 31$ such that $\\gcd(i, j) = 1$. Determine the smallest positive integer $x$ not exceeding $u$ such that $a^x \\equiv b \\pmod{m}$.", "answer": 152, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(7),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=52)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=50)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=470)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=12)))))))),\n \"m\": Const(547),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(31))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.056, "created_at": "2026-02-08T09:36:21.701153Z", "verification": {"verified": true, "answer": 152, "timestamp": "2026-02-08T09:36:21.757088Z"}, "problem_hash": "6053d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 8192}, "timestamp": "2026-02-14T05:23:40.354Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 435}, "timestamp": "2026-02-12T03:04:14.057Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_INTEGER_RANGE": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "2884b1", "alias": "nt_lcm_compute_v1_1248542787_556", "problem": "Let $a$ be the number of integers $t$ such that $22 \\leq t \\leq 2456$ and there exist positive integers $a'$ and $b'$ with $1 \\leq a' \\leq 140$, $1 \\leq b' \\leq 62$, and $t = 14a' + 8b'$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 705600$. Compute the least common multiple of $a$ and $b$.", "answer": 8400, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=140)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=62)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=2456)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(705600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T03:13:10.348412Z", "verification": {"verified": true, "answer": 8400, "timestamp": "2026-02-08T03:13:10.361145Z"}, "problem_hash": "0101ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:37:14.525Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 82320, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:24:31.434Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:50:39.937Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 677040, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 5185}, "timestamp": "2026-02-11T09:38:38.635Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 588}, "timestamp": "2026-02-12T12:08:28.997Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 497}, "timestamp": "2026-02-11T20:34:44.586Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "dc0a34", "alias": "comb_count_permutations_fixed_v1_784195855_3248", "problem": "Let $m = 2$. Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 24$. Let $n = |T|$. Define $n' = 5$ and $k = 0$. Let $r = \\binom{n'}{k} \\cdot !(n' - k)$, where $!a$ denotes the number of derangements of $a$ elements. Let $p$ be the largest prime number $n$ such that $m \\leq n \\leq n'$. Compute the $p$-th Bell number, that is, the number of partitions of a set of size $p$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(24))))),\n \"n\": Const(5),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["COMB1/MAX_PRIME_BELOW"], "recipe_id": "d73279", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.032, "created_at": "2026-02-08T06:18:40.398781Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T06:18:40.430623Z"}, "problem_hash": "a8cc0f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 997}, "timestamp": "2026-02-12T22:26:49.442Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 257, "completion_tokens": 404}, "timestamp": "2026-02-11T23:52:36.699Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "dd2ecc", "alias": "nt_lcm_compute_v1_717093673_1803", "problem": "Let $a$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 37$, $1 \\leq j \\leq 101$, and $\\gcd(i, j) = 1$. Let $b$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 537289$. Let $L = \\operatorname{lcm}(a, b)$. Compute the remainder when $44121 \\cdot L$ is divided by $88657$.", "answer": 63511, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(101))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(537289)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(88657)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T16:19:34.945340Z", "verification": {"verified": true, "answer": 63511, "timestamp": "2026-02-08T16:19:34.949157Z"}, "problem_hash": "ef6863", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 537}, "timestamp": "2026-02-12T10:27:23.529Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "844f01", "alias": "nt_sum_divisors_compute_v1_1874849503_568", "problem": "Let $a$, $b$, and $t$ be positive integers. Define $P$ to be the set of all integers $t$ such that $18 \\leq t \\leq 120$ and for some integers $a$, $b$ with $1 \\leq a \\leq 10$, $1 \\leq b \\leq 13$, we have $t = 2a + 7b + 9$. Let $p = |P|$, $q = 71$, and $r = 17$. Let $n_2 = p \\cdot q \\cdot r$. Define $e = \\mu(n_2)^2$, where $\\mu$ is the M\\\"obius function. Let $n_1 = 1$, and let $w = \\sum_{d \\mid n_1} \\mu(d)$. Let $n = 21139 \\cdot e \\cdot w$. Compute the sum of all positive divisors of $n$.", "answer": 21140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21139),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=9)))))))),\n \"q\": Const(71),\n \"r\": Const(17),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"e\"), Ref(\"w\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "a82319", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T13:11:38.905734Z", "verification": {"verified": true, "answer": 21140, "timestamp": "2026-02-08T13:11:38.912927Z"}, "problem_hash": "24c588", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:36:03.881Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "K18": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "dcb34c", "alias": "diophantine_product_count_v1_809748730_1265", "problem": "Let $n = 12321$. Let $k$ be the number of integers $t$ such that $22 \\leq t \\leq 536$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 16$, $1 \\leq b \\leq 39$, and $t = 14a + 8b$. Let $s$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = n$. Compute the number of positive integers $x$ such that $1 \\leq x \\leq s$, $x$ divides $k$, and $\\frac{k}{x} \\leq s$.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12321),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=39)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=536)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.059, "created_at": "2026-02-08T12:18:53.322757Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T12:18:53.381533Z"}, "problem_hash": "b633c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 499}, "timestamp": "2026-02-12T05:05:00.876Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "86d462", "alias": "nt_sum_gcd_range_mod_v1_2051736721_5944", "problem": "Let $T$ be the set of all integers $t$ with $12 \\leq t \\leq 8035$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 214$, $1 \\leq b \\leq 995$, and $t = 5a + 7b$. Let $N = |T|$.\n\nLet $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 14400$. Define $s(x, y) = x + y$. Let $k$ be the minimum value of $s(x, y)$ over all pairs $(x, y) \\in P$.\n\nCompute\n$$\n\\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when this sum is divided by $10559$.\n\nFind the remainder when $98163 \\cdot r$ is divided by $61285$.", "answer": 10186, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98163),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=214)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=995)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=8035)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(14400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(10559),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(61285)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.349, "created_at": "2026-02-08T18:52:34.558832Z", "verification": {"verified": true, "answer": 10186, "timestamp": "2026-02-08T18:52:34.907410Z"}, "problem_hash": "671982", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 329, "completion_tokens": 614}, "timestamp": "2026-02-13T00:38:28.530Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "DS2": "no", "K13": "no", "K15": "no", "K17": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "59f53c", "alias": "diophantine_fbi2_count_v1_238844314_958", "problem": "Let $k = 60$. Determine the number of positive integers $d$ such that $6 \\le d \\le 65$, $d$ divides $k$, and $6 \\le \\frac{k}{d} \\le 65$. \n\nLet this count be $c$. Find the remainder when $85229 \\cdot c$ is divided by $53880$.", "answer": 8818, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(65)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(65))))),\n \"_c\": Const(85229),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53880)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T13:48:54.208198Z", "verification": {"verified": true, "answer": 8818, "timestamp": "2026-02-08T13:48:54.225334Z"}, "problem_hash": "fa9b2d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30154, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 485}, "timestamp": "2026-02-12T07:23:48.960Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "LTE_SUM": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bb8426", "alias": "comb_sum_binomial_row_v1_1918700295_545", "problem": "Let $a$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 4$. Let $d$ be the smallest divisor of $17303$ that is at least $a$. Let $b$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 72$ and $\\gcd(p, q) = 1$. Define $c = b^d$. Compute the remainder when $52621 \\cdot c$ is divided by $75744$.", "answer": 59840, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17303),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n \"_c\": Const(52621),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75744)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "ee9ac8", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:18:29.384179Z", "verification": {"verified": true, "answer": 59840, "timestamp": "2026-02-08T03:18:29.388699Z"}, "problem_hash": "a00287", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 59840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:55:06.048Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 59840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 2228}, "timestamp": "2026-02-10T13:15:49.819Z"}, {"id": 8, "model": "mathstral", "answer": 18098, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 524}, "timestamp": "2026-02-11T18:32:18.943Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 565}, "timestamp": "2026-02-11T20:41:25.248Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "0d0eb3", "alias": "comb_bell_compute_v1_124444284_3726", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 72$. Let $n$ be the number of prime numbers in the range $[|S|, 19]$. Compute the Bell number $B_n$, which counts the number of partitions of a set of size $n$. Let $Q = 40401 - B_n$. Find the value of $Q$.", "answer": 36261, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(19)), IsPrime(Var(\"n\"))))),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": Const(40401),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:34:23.704646Z", "verification": {"verified": true, "answer": 36261, "timestamp": "2026-02-08T05:34:23.706778Z"}, "problem_hash": "2c7803", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36261, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 1224}, "timestamp": "2026-02-12T10:33:43.094Z"}, {"id": 8, "model": "mathstral", "answer": 40349, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 460}, "timestamp": "2026-02-14T19:37:19.294Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 387}, "timestamp": "2026-02-11T22:47:44.915Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "K5": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "1ed71b", "alias": "comb_count_permutations_fixed_v1_1742523217_977", "problem": "Let $s = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and $f = \\sum_{k=0}^{4} (-1)^k \\binom{4}{k}$. Define $n = 8s$ and $k = 2 + f$. Let $R = \\binom{n}{k} \\cdot !{(n - k)}$, where $!m$ denotes the number of derangements of $m$ elements. Let $C$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 93$ and $1 \\leq b \\leq 93$. Compute the sum of $C$ and the sum of the squares of the positions (starting from 1 for the units digit) of each digit in $|R|$, weighted by the corresponding digit.", "answer": 8805, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(0),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(4),\n \"f\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(Const(8), Ref(\"s\")),\n \"k\": Sum(Const(2), Ref(\"f\")),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(93)), right=IntegerRange(start=Const(1), end=Const(93)))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "BINOMIAL_ALTERNATING"], "recipe_id": "e6ffd5", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:22:30.657460Z", "verification": {"verified": true, "answer": 8805, "timestamp": "2026-02-08T03:22:30.661800Z"}, "problem_hash": "2cdbc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8805, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 300, "completion_tokens": 1412}, "timestamp": "2026-02-10T01:29:45.456Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8805, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 304, "completion_tokens": 1396}, "timestamp": "2026-02-09T09:13:52.799Z"}, {"id": 8, "model": "mathstral", "answer": 8722, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 582}, "timestamp": "2026-02-11T18:54:07.288Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8653, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 495}, "timestamp": "2026-02-11T20:46:16.537Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "d91dc0", "alias": "nt_count_coprime_and_v1_1125832087_782", "problem": "Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 16370$. Let $u$ be the number of elements in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le u$, $\\gcd(n, 3) = 1$, and $\\gcd(n, 11) = 1$. Let $v = |T|$. Let $W$ be the set of all positive integers $t$ such that $10 \\le t \\le 7132$ and there exist positive integers $a \\le 20$, $b \\le 1753$ for which $t = 6a + 4b$. Let $w = |W|$. Compute the remainder when $w \\cdot v$ is divided by 95633.", "answer": 64688, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95633),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(16370))))),\n \"k1\": Const(3),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1753)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=7132)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COMB1"], "recipe_id": "81b241", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.833, "created_at": "2026-02-08T03:18:18.156652Z", "verification": {"verified": true, "answer": 64688, "timestamp": "2026-02-08T03:18:18.989677Z"}, "problem_hash": "8009b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:47:58.335Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 86048, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 4227}, "timestamp": "2026-02-10T13:12:17.221Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 69649, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 3849}, "timestamp": "2026-02-11T10:09:16.870Z"}, {"id": 8, "model": "mathstral", "answer": 4094, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 939}, "timestamp": "2026-02-12T12:44:59.298Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 582}, "timestamp": "2026-02-11T20:38:53.402Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "K18": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "0dc2d5", "alias": "comb_count_derangements_v1_124444284_3377", "problem": "Let $m = 385$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $N$ be the number of nonnegative integers $j \\le 385$ such that $\\binom{385}{j} \\equiv 1 \\pmod{n}$. Compute the remainder when $89317$ times the subfactorial of $N$ is divided by $83835$.", "answer": 78391, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(385),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(385)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(89317), Ref(\"result\")), modulus=Const(83835)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:22:21.305794Z", "verification": {"verified": true, "answer": 78391, "timestamp": "2026-02-08T05:22:21.307913Z"}, "problem_hash": "457fdb", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 78391, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 2699}, "timestamp": "2026-02-12T07:37:33.425Z"}, {"id": 8, "model": "mathstral", "answer": 6240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 909}, "timestamp": "2026-02-14T16:21:36.622Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 406}, "timestamp": "2026-02-11T22:32:20.316Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "a04c66", "alias": "comb_count_permutations_fixed_v1_238844314_221", "problem": "Let $n$ be the smallest divisor of 245 that is greater than or equal to 2. Let $k = 2$. Compute the value of $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(245))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V7"], "num_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T13:10:59.156330Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T13:10:59.197187Z"}, "problem_hash": "02ea17", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 40, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 279}, "timestamp": "2026-02-12T06:22:33.608Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K17": "no", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "11ae4b", "alias": "comb_count_permutations_fixed_v1_48377204_189", "problem": "Let $n$ be the smallest prime divisor of $41327$. Compute $\\binom{n}{6} \\cdot !(n - 6)$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 20328, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(41327))))),\n \"k\": Const(6),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T15:17:31.662101Z", "verification": {"verified": true, "answer": 20328, "timestamp": "2026-02-08T15:17:31.684579Z"}, "problem_hash": "11bda1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 584}, "timestamp": "2026-02-12T08:04:01.725Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5f56dc", "alias": "nt_count_with_divisor_count_v1_1742523217_1233", "problem": "Let $d = 11$, $c = 2$, and $m = 44121$. Define $n$ to be the number of integers $t$ such that $10 \\leq t \\leq 217$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 25$, $1 \\leq b \\leq 14$, and $t = 7a + 3b$. \n\nLet $\\text{upper}$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n$. Let $\\text{div\\_count}$ be the largest prime number $n$ satisfying $2 \\leq n \\leq k$, where $k$ is the smallest positive integer for which $11$ divides $k!$. \n\nDefine $\\text{result}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and the number of positive divisors of $n$ is equal to $\\text{div\\_count}$. \n\nCompute $m \\cdot \\text{result}$.", "answer": 44121, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(11),\n \"_c\": Const(2),\n \"_m\": Const(44121),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=217)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"div_count\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_d\")), Const(1)), domain='Z_{>0}'))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mul(Ref(\"_m\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/MAX_PRIME_BELOW", "LIN_FORM/B1"], "recipe_id": "cc0879", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 4, "generation_time": 0.423, "created_at": "2026-02-08T03:34:40.315140Z", "verification": {"verified": true, "answer": 44121, "timestamp": "2026-02-08T03:34:40.737832Z"}, "problem_hash": "9cc636", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 359, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:32:27.535Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "V5": "ok", "B1": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "62fa00", "alias": "nt_count_divisible_v1_1820931509_600", "problem": "Let $n = 85077$ and $u = 32768$. Define $r$ to be the number of positive integers $n$ such that $1 \\le n \\le u$ and $n$ is divisible by $25$. Let $d_{\\text{min}}$ be the smallest divisor of $3563023$ that is at least $2$. Compute the remainder when $d_{\\text{min}} - r$ is divided by $85077$.", "answer": 83808, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85077),\n \"upper\": Const(32768),\n \"divisor\": Const(25),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3563023))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.37, "created_at": "2026-02-08T11:46:55.766658Z", "verification": {"verified": true, "answer": 83808, "timestamp": "2026-02-08T11:46:57.136340Z"}, "problem_hash": "83c901", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 83810, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 2825}, "timestamp": "2026-02-14T18:46:34.886Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 280}, "timestamp": "2026-02-12T04:34:55.688Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K15": "no", "L3c": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "34b656", "alias": "sequence_fibonacci_compute_v1_168721529_720", "problem": "Let $n$ be the number of positive integers $k$ with $1 \\leq k \\leq 264$ such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{11}$. Determine the value of the $n$-th Fibonacci number, where the Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_m = F_{m-1} + F_{m-2}$ for $m \\geq 3$.", "answer": 46368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(264),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:12:39.436394Z", "verification": {"verified": true, "answer": 46368, "timestamp": "2026-02-08T13:12:39.437704Z"}, "problem_hash": "0f1a6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 1139}, "timestamp": "2026-02-09T08:18:12.327Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 28657, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 664}, "timestamp": "2026-02-09T20:44:51.962Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 591}, "timestamp": "2026-02-12T06:24:09.745Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K15": "no", "K18": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.54}, "split": "test"} +{"id": "65c67b", "alias": "algebra_vieta_sum_v1_971394319_738", "problem": "Let $S$ be the set of all real numbers $x$ such that $$2x^4 + 4x^3 - 170x^2 + 68x + 1680 = 0.$$ Compute the product of all elements of $S$.", "answer": 840, "graph": "graphs = [\n Graph(\n let={\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Mul(Const(value=2), Pow(base=Var(name='x'), exp=Const(value=4))), Mul(Const(value=4), Pow(base=Var(name='x'), exp=Const(value=3))), Mul(Const(value=-170), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=68), Var(name='x')), Const(value=1680)), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.147, "created_at": "2026-02-08T13:17:14.552698Z", "verification": {"verified": true, "answer": 840, "timestamp": "2026-02-08T13:17:14.699570Z"}, "problem_hash": "d8d207", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 163, "completion_tokens": 160}, "timestamp": "2026-02-12T06:26:46.032Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "f8d30b", "alias": "nt_num_divisors_compute_v1_151522320_1396", "problem": "Let $n = 240$. Let $d(n)$ denote the number of positive divisors of $n$. Compute the remainder when $11 - d(n)$ is divided by $68706$.", "answer": 68697, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(240),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(Const(11), Ref(\"result\")), modulus=Const(68706)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "LIN_FORM"], "recipe_id": "4e9fd4", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.237, "created_at": "2026-02-08T03:58:23.909807Z", "verification": {"verified": true, "answer": 68697, "timestamp": "2026-02-08T03:58:24.147148Z"}, "problem_hash": "da5dc2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 68697, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 359}, "timestamp": "2026-02-11T16:11:43.977Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 68697, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 353}, "timestamp": "2026-02-10T15:11:34.690Z"}, {"id": 8, "model": "mathstral", "answer": 68697, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 353}, "timestamp": "2026-02-11T20:38:36.138Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 68697, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 295}, "timestamp": "2026-02-11T20:22:04.283Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "b91a2f", "alias": "nt_euler_phi_compute_v1_677425708_2193", "problem": "Let $n_2 = 2 \\cdot 13 \\cdot 59^2$. Let $h = \\mu(n_2)^2$, where $\\mu$ denotes the M\\\"obius function. Let $p$ be the largest integer $k$ such that $2^k \\leq 12845685531002$. Let $n_1 = p^2 \\cdot (41 + 1)$. Let $s = \\mu(n_1)^{2 + h}$. Define $n = 67081 + s$. Compute $\\varphi(n)$, where $\\varphi$ denotes Euler's totient function.", "answer": 55944, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(59),\n \"q1\": Const(2),\n \"r\": Const(13),\n \"n2\": Mul(Pow(Ref(\"p1\"), Ref(\"_n\")), Ref(\"q1\"), Ref(\"r\")),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(12845685531002)))),\n \"q\": Const(41),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"s\": Pow(MoebiusMu(n=Ref(name='n1')), Sum(Const(2), Ref(\"h\"))),\n \"n\": Sum(Const(67081), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MOBIUS_SQUAREFREE"], "recipe_id": "e3ec3a", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_VAL", "MOBIUS_SQUAREFREE"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T04:50:42.961771Z", "verification": {"verified": true, "answer": 55944, "timestamp": "2026-02-08T04:50:42.970416Z"}, "problem_hash": "84c887", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K16": "same_pattern_wrong", "K13": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}, "split": "test"} +{"id": "b4594a", "alias": "nt_count_intersection_v1_48377204_2240", "problem": "Let $a$ be the number of integers $t$ such that $29 \\le t \\le 49$ and there exist positive integers $a$ and $b$, each at most 3, satisfying $t = 6a + 4b + 19$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 49$. Compute the number of positive integers $n \\le 100000$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$.", "answer": 4762, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"N\": Const(100000),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=29)), Leq(left=Var(name='t'), right=Const(value=49)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=19)))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 6.567, "created_at": "2026-02-08T16:41:23.647494Z", "verification": {"verified": true, "answer": 4762, "timestamp": "2026-02-08T16:41:30.214029Z"}, "problem_hash": "7d122d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 811}, "timestamp": "2026-02-12T11:12:48.427Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "10c1ce", "alias": "modular_modexp_compute_v1_784195855_8354", "problem": "Let $a$ be the number of integers $t$ with $8 \\leq t \\leq 52$ for which there exist positive integers $a'$ and $b'$, with $1 \\leq a' \\leq 5$ and $1 \\leq b' \\leq 9$, such that $t = 5a' + 3b'$. Let $e$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers satisfying $xy = 11108889$. Let $m = 66564$. Define $\\text{result}$ to be the remainder when $a^e$ is divided by $m$. Compute $\\text{result}$.", "answer": 13933, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"e\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(11108889)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(66564),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:01:56.607099Z", "verification": {"verified": true, "answer": 13933, "timestamp": "2026-02-08T16:01:56.609247Z"}, "problem_hash": "0c108b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 437}, "timestamp": "2026-02-12T09:40:19.089Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ad2ca4", "alias": "diophantine_fbi2_min_v1_48377204_2232", "problem": "Let $k = 12$ and $u = 22$. Let $d_1$ be the smallest integer greater than or equal to 2 that divides 175. Find the smallest integer $d$ such that $2 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq d_1$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(12),\n \"upper\": Const(22),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(175))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.034, "created_at": "2026-02-08T16:40:56.954073Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T16:40:56.987728Z"}, "problem_hash": "c2c29c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 335}, "timestamp": "2026-02-12T11:12:39.181Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "d05949", "alias": "antilemma_k2_v1_655260480_4581", "problem": "Let $n$ be the sum of the solutions to the equation $x^2 - 59x + 58 = 0$. Let $m$ be the sum of the solutions to the equation $x^2 - 59x - 4242 = 0$. Define\n$$\nx = \\sum_{k=1}^{m} \\varphi(k) \\left\\lfloor \\frac{n}{k} \\right\\rfloor.\n$$\nLet $Q$ be the sum of $d_i (i+1)^2$ over all digits $d_i$ of $|x|$, where $i$ is the position of the digit (starting from $i=0$ for the units digit), plus $10946$. Compute $Q$.", "answer": 11053, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Const(2)), Mul(Const(-59), Var(\"x1\")), Const(58)), Const(0)))),\n \"x\": Summation(var=\"k\", start=Const(1), end=SumOverSet(set=SolutionsSet(var=Var(\"x2\"), condition=Eq(Sum(Pow(Var(\"x2\"), Const(2)), Mul(Const(-59), Var(\"x2\")), Const(-4242)), Sub(Const(58), Const(58))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"_c\": Const(10946),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K2", "IDENTITY_SUB_SELF", "K2"], "recipe_id": "25f572", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["IDENTITY_SUB_SELF", "K2", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T18:00:10.324150Z", "verification": {"verified": true, "answer": 11053, "timestamp": "2026-02-08T18:00:10.329467Z"}, "problem_hash": "b2a334", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 561}, "timestamp": "2026-02-12T23:32:24.990Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_SUB_SELF": "ok", "K2": "ok", "VIETA_SUM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K16": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a2fe2f", "alias": "comb_count_partitions_v1_784195855_2053", "problem": "Compute the number of integer partitions of $43$.", "answer": 63261, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(43),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/SUM_ARITHMETIC"], "recipe_id": "dc3fda", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:27:47.499006Z", "verification": {"verified": true, "answer": 63261, "timestamp": "2026-02-08T05:27:47.504119Z"}, "problem_hash": "5f288e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63261, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 57, "completion_tokens": 1598}, "timestamp": "2026-02-12T09:15:03.362Z"}, {"id": 8, "model": "mathstral", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 67, "completion_tokens": 520}, "timestamp": "2026-02-14T18:37:26.071Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 114, "completion_tokens": 341}, "timestamp": "2026-02-11T22:41:15.045Z"}], "solution_status": 1, "lemma_applicability": {"LTE_DIFF": "ok", "SUM_ARITHMETIC": "ok_later", "K13": "no", "K17": "no", "L3c": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "71369c", "alias": "antilemma_count_primes_v1_1125832087_35", "problem": "Let $m = 72250$. Define $A$ as the set of all positive integers $k$ such that $1 \\leq k \\leq 46469$ and $31$ divides $k$. Let $n = |A|$. Let $B$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 12$, and $\\gcd(p, q) = 1$. Let $r = |B|$. Define $S$ as the set of all prime numbers $n'$ such that $r \\leq n' \\leq n$. Let $x = |S|$. Compute the remainder when $47493 \\cdot x$ is divided by $m$. Determine the value of this remainder.", "answer": 7577, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(72250),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(46469)), Divides(divisor=Const(31), dividend=Var(\"k\"))), domain='positive_integers')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(47493), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/COPRIME_PAIRS/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "fc4298", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:50:43.995738Z", "verification": {"verified": true, "answer": 7577, "timestamp": "2026-02-08T02:50:43.998383Z"}, "problem_hash": "b29daf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_SUM_EQUALS": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "19b0c1", "alias": "modular_mod_compute_v1_677425708_3096", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 19600$ and the sum of the decimal digits of $n$ is congruent to $1$ modulo $2$. Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq 10120$ and $5$ divides the $n$-th Fibonacci number. Compute the remainder when $a$ is divided by $m$.", "answer": 1705, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(19600)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10120)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "L3B"], "recipe_id": "dff68c", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3B"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:29:24.042838Z", "verification": {"verified": true, "answer": 1705, "timestamp": "2026-02-08T05:29:24.046421Z"}, "problem_hash": "2e3b95", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1704, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 2826}, "timestamp": "2026-02-12T09:45:03.828Z"}, {"id": 8, "model": "mathstral", "answer": 1600, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 933}, "timestamp": "2026-02-14T19:12:09.888Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 519}, "timestamp": "2026-02-11T22:44:05.416Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "L3B": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "L3b": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "cb20f7", "alias": "modular_count_residue_v1_458359167_5668", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 144$. Let $r$ be the number of integers $t$ with $14 \\leq t \\leq 48$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 7$, $1 \\leq b \\leq 2$, and $t = 4a + 10b$. Let $N$ be the number of positive integers $n$ with $1 \\leq n \\leq 30493$ such that $n \\equiv r \\pmod{m}$. Compute the remainder when $84209N$ is divided by $78292$.", "answer": 76850, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(144),\n \"upper\": Const(30493),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=48)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(84209),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(78292)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 3.892, "created_at": "2026-02-08T12:38:48.192074Z", "verification": {"verified": true, "answer": 76850, "timestamp": "2026-02-08T12:38:52.083731Z"}, "problem_hash": "1fbfe2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 718}, "timestamp": "2026-02-12T05:27:24.351Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3ce844", "alias": "sequence_lucas_compute_v1_349078426_1605", "problem": "Let $m = 29$. Define $n$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 2349$ and $m$ divides $k$. Now consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. For each such pair, compute $x + y$, and let $n'$ be the minimum value of $x + y$ over all such pairs. Compute the value of the $n'$-th Lucas number.\n\nThe Lucas numbers are defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$.", "answer": 5778, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(29),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(2349)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "7c8509", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T13:45:46.422087Z", "verification": {"verified": true, "answer": 5778, "timestamp": "2026-02-08T13:45:46.426614Z"}, "problem_hash": "205b9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 476}, "timestamp": "2026-02-12T07:18:52.874Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "K17": "no", "K5": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6bc47e", "alias": "nt_sum_divisors_range_v1_1742523217_1524", "problem": "Let $m = 5929$. Let $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Let $u$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n$. Compute the sum of the number of positive divisors of all integers from $1$ to $u$, inclusive. Then, let $Q$ be the sum of this result, $\\varphi(|\\text{result}| + 1)$, and the number of positive divisors of $|\\text{result}| + 1$. Find the value of $Q$.", "answer": 65175, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5929),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1", "ONE_PHI_1"], "recipe_id": "a2786c", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.21, "created_at": "2026-02-08T04:02:24.460543Z", "verification": {"verified": true, "answer": 65175, "timestamp": "2026-02-08T04:02:24.670735Z"}, "problem_hash": "2e471d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "B1": "ok_later", "DS2": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}, "split": "test"} +{"id": "1d9e1f", "alias": "algebra_poly_eval_v1_2051736721_489", "problem": "Let $y$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides $1035044771$. Compute the value of $4y^2 + 10y - 4$.", "answer": 3650, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"y\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1035044771))))),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"y\"), Const(2))), Mul(Const(10), Ref(\"y\")), Const(-4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:28:14.551508Z", "verification": {"verified": true, "answer": 3650, "timestamp": "2026-02-08T15:28:14.555440Z"}, "problem_hash": "75d91f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 176}, "timestamp": "2026-02-12T08:29:29.301Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ed2718", "alias": "modular_min_linear_v1_677425708_422", "problem": "Let $x$ be the smallest positive integer solution to the congruence $16567x \\equiv 10047 \\pmod{23808}$ with $1 \\le x \\le 23808$. Let $c$ be the number of positive integers $n$ such that $n \\le 729$, $\\gcd(n, 14) = 1$, and $n \\ge \\sum_{d \\mid \\gcd(3,5)} \\mu(d)$. Compute the remainder when $ (x \\bmod 317) + 1009 \\cdot (x \\bmod c) $ is divided by $90198$.", "answer": 1224, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(16567),\n \"b\": Const(10047),\n \"m\": Const(23808),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(317)), Mul(Const(1009), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=3), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(729)), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1)))))))), modulus=Const(90198)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "MOBIUS_COPRIME"], "recipe_id": "00c72f", "seed_template_id": "modular_min_linear_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 1.029, "created_at": "2026-02-08T03:32:32.641569Z", "verification": {"verified": true, "answer": 1224, "timestamp": "2026-02-08T03:32:33.670147Z"}, "problem_hash": "599df5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1224, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 2712}, "timestamp": "2026-02-08T20:33:54.935Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1224, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 3417}, "timestamp": "2026-02-10T03:35:30.424Z"}], "solution_status": 2, "lemma_applicability": {"C4": "ok", "MOBIUS_COPRIME": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "L3b": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "00d018", "alias": "nt_count_coprime_and_v1_784195855_3027", "problem": "Let $k_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest divisor of $49380563$ that is at least $2$, and $\\gcd(n, 30) = 1$. Let $k_2 = 11$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 35492$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the remainder when $44121 \\cdot N$ is divided by $87308$.", "answer": 49821, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30),\n \"upper\": Const(35492),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(49380563)))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(87308)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C4", "ONE_PHI_1"], "recipe_id": "1537a0", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 4.893, "created_at": "2026-02-08T06:11:41.150194Z", "verification": {"verified": true, "answer": 49821, "timestamp": "2026-02-08T06:11:46.043068Z"}, "problem_hash": "72c3e8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "d2c620", "alias": "modular_product_range_v1_124444284_6111", "problem": "Let $n = 37$. Define $p$ to be the product of all integers $i$ from $n$ to $d_{\\text{min}}$, inclusive, where $d_{\\text{min}}$ is the smallest divisor of $77097157469$ that is at least $2$. Let $r$ be the remainder when $p$ is divided by $11779$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$. Find the value of $k$.", "answer": 5760, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77097157469)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11779)),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T08:08:34.418555Z", "verification": {"verified": true, "answer": 5760, "timestamp": "2026-02-08T08:08:34.423673Z"}, "problem_hash": "faa1f4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 4781}, "timestamp": "2026-02-13T15:27:51.000Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 434}, "timestamp": "2026-02-12T01:36:05.535Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "0c978f", "alias": "nt_euler_phi_compute_v1_1440796553_1057", "problem": "Let $q$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1 \\le a \\le 5, \\quad 1 \\le b \\le 15, \\quad 28 \\le t \\le 112, \\quad\\text{and}\\quad t = 7a + 4b + 17.\n\\]\nLet $p=3$ and let $n_2 = pq$.\n\nLet $k$ be the largest nonnegative integer such that $17^k$ divides $N!$, where $N$ is the number of positive integers $j$ satisfying\n\\[1 \\le j \\le 765 \\quad\\text{and}\\quad j^2 \\le 585225.\n\\]\nDefine $n_1 = k\\,\\lambda(n_2)$, where $\\lambda(n_2)$ is the Liouville function of $n_2$, given by $\\lambda(n_2) = (-1)^{\\Omega(n_2)}$ and $\\Omega(n_2)$ is the total number of prime factors of $n_2$ counted with multiplicity.\n\nLet $\\mu(n_1)$ be the Möbius function of $n_1$, and define\n\\[s = (\\mu(n_1))^2.\n\\]\nLet $n = 55225\\,s$.\n\nCompute $\\varphi(n)$, where $\\varphi$ is Euler's totient function.", "answer": 43240, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(2),\n \"_n\": Const(55225),\n \"p\": Const(3),\n \"q\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=15)), Geq(left=Var(name='t'), right=Const(value=28)), Leq(left=Var(name='t'), right=Const(value=112)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=17)))))))),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"t\": LiouvilleLambda(n=Ref(name='n2')),\n \"n1\": Mul(MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(765)), Leq(Pow(Var(\"j\"), Ref(\"_c\")), Const(585225))), domain='positive_integers'))), base=Const(17)), Ref(\"t\")),\n \"s\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_m\")),\n \"n\": Mul(Ref(\"_n\"), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/V1/LIOUVILLE_ONE/MOBIUS_SQUAREFREE", "LIN_FORM/LIOUVILLE_ONE"], "recipe_id": "8a1757", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C3", "LIN_FORM", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE", "V1"], "num_lemmas": 5, "generation_time": 0.005, "created_at": "2026-02-08T12:09:48.050167Z", "verification": {"verified": true, "answer": 43240, "timestamp": "2026-02-08T12:09:48.055430Z"}, "problem_hash": "3f9997", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "LIN_FORM": "ok", "LIOUVILLE_ONE": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "V1": "ok_later", "DS2": "no", "K18": "no", "K5": "no", "V3": "no", "V8": "no"}, "split": "test"} +{"id": "95b849", "alias": "antilemma_sum_equals_v1_153355830_1822", "problem": "Let $n$ be the number of integers $t$ such that $12 \\leq t \\leq 23$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 5$, and $t = 3a + 2b + 7$. Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 9$ such that $i + j = n$. Compute $$ Q = 5^{|x|} \\bmod 99991 + \\text{the number of integers } t \\text{ such that } 18 \\leq t \\leq 2076 $$ and for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 225$, $1 \\leq b \\leq 84$, and $t = 4a + 14b$. Find the value of $Q$.", "answer": 54320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=23)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=7)))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=225)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=84)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=2076)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "668735", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T06:38:35.634681Z", "verification": {"verified": true, "answer": 54320, "timestamp": "2026-02-08T06:38:35.646349Z"}, "problem_hash": "a1be86", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 54323, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 3893}, "timestamp": "2026-02-13T02:35:05.693Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 329, "completion_tokens": 543}, "timestamp": "2026-02-12T00:18:20.747Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "0460f3", "alias": "comb_count_permutations_fixed_v1_1526740231_133", "problem": "Let $n$ be the smallest divisor of $9625$ that is at least $2$. Let $k = 1$. Define $\\text{result} = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $79108$.", "answer": 7745, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(79108),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9625))))),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:22:02.734397Z", "verification": {"verified": true, "answer": 7745, "timestamp": "2026-02-08T11:22:02.735874Z"}, "problem_hash": "60e11d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7745, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 879}, "timestamp": "2026-02-14T13:01:32.981Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10445, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 504}, "timestamp": "2026-02-12T03:55:56.715Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "K15": "no", "K5": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9b0f3d", "alias": "nt_sum_totient_over_divisors_v1_1918700295_1079", "problem": "Let $m=2$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=1849$, and let $N$ be the smallest possible value of $x+y$ over all such pairs.\n\nLet $p$ be the greatest prime number between $2$ and $N$, inclusive. Let $q=2$, and define\n$$n_2=p^{m}\\bigl(q+1\\bigr).$$\nLet $\\mu(n_2)$ be the value of the Möbius function at $n_2$, and set\n$$e=\\mu(n_2)^2,\\qquad n_1=1+e.$$\nLet $h$ be the number of prime factors of $n_1$, counted with multiplicity.\n\nDefine\n$$n=94943+h,$$\nand let\n$$Q=\\sum_{d\\mid n} \\varphi(d),$$\nwhere $\\varphi(d)$ denotes Euler's totient function.\n\nCompute $Q$.", "answer": 94943, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1849)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"q\": Const(2),\n \"n2\": Mul(Pow(Ref(\"p\"), Ref(\"_m\")), Sum(Ref(\"q\"), Const(1))),\n \"e\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Sum(Const(1), Ref(\"e\")),\n \"h\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(94943), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO"], "recipe_id": "a6b400", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T05:33:09.505818Z", "verification": {"verified": true, "answer": 94943, "timestamp": "2026-02-08T05:33:09.517634Z"}, "problem_hash": "fadf6c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K13": "no", "K18": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V8": "no"}, "split": "test"} +{"id": "9013e6", "alias": "nt_count_divisible_and_v1_1520064083_4809", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 45378$, $n$ is divisible by 6, and $n$ is divisible by 9. Define $S$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 6400$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the minimum value in $T$. Now define $U$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $P$ be the maximum value of $xy$ over all $(x, y) \\in U$. Compute $3^{|N|} \\mod 99991$ plus $P$. Find the value of this sum.", "answer": 68292, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(45378),\n \"d1\": Const(6),\n \"d2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6400)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1"], "recipe_id": "c043c3", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3"], "num_lemmas": 2, "generation_time": 1.8, "created_at": "2026-02-08T06:26:28.381059Z", "verification": {"verified": true, "answer": 68292, "timestamp": "2026-02-08T06:26:30.180807Z"}, "problem_hash": "8beae5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57160, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 4335}, "timestamp": "2026-02-13T00:21:41.280Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 516}, "timestamp": "2026-02-12T00:05:07.896Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "9c2f20", "alias": "antilemma_v8_lucas_458359167_1683", "problem": "Let $m=10070$ and $n=10070$. Let $A$ be the number of positive integers $k$ with $1\\le k\\le 3738$ such that $89$ divides $k$. Let $B$ be the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n\\[pq=108,\\quad \\gcd(p,q)=1,\\quad p 0$.", "answer": 18216, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=4), b=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=9)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(11)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "25cc9d", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T06:05:00.609874Z", "verification": {"verified": true, "answer": 18216, "timestamp": "2026-02-08T06:05:00.624957Z"}, "problem_hash": "904dcc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok_later", "K17": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "ebb918", "alias": "modular_modexp_compute_v1_168721529_1857", "problem": "Let $M_1$ be the largest prime number $n$ such that $2 \\le n \\le D$, where $D$ is the largest positive integer $d$ with $1 \\le d \\le 3$ and $d$ divides $33$.\n\nLet\n$$\na = \\sum_{d \\mid M_1} \\varphi(d),\n$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $e$ be the number of ordered pairs $(u,v)$ of integers with $1 \\le u \\le 88$ and $1 \\le v \\le 88$.\n\nLet $m = 65536$, and define $R$ to be the remainder when $a^e$ is divided by $m$.\n\nCompute $R$. ", "answer": 21761, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(2),\n \"a\": SumOverDivisors(n=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_n')), Leq(left=Var(name='n'), right=MaxOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=1)), Leq(left=Var(name='d'), right=Ref(name='_m')), Divides(divisor=Var(name='d'), dividend=Const(value=33)))))), IsPrime(arg=Var(name='n'))))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"e\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(88)), right=IntegerRange(start=Const(1), end=Const(88)))),\n \"m\": Const(65536),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_PRIME_BELOW/K3", "COUNT_CARTESIAN"], "recipe_id": "e00227", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K3", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T13:57:52.842128Z", "verification": {"verified": true, "answer": 21761, "timestamp": "2026-02-08T13:57:52.846763Z"}, "problem_hash": "d6f7fb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:41:45.082Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:06:04.249Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 548}, "timestamp": "2026-02-12T07:34:15.314Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MAX_DIVISOR": "ok", "K3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "0f79bd", "alias": "modular_sum_quadratic_residues_v1_124444284_5956", "problem": "Let $n = 44121$. Let $p$ be the smallest divisor of $19928774449721$ that is at least $2$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $Q$ be the remainder when $n \\cdot \\text{result}$ is divided by $99551$. Compute $Q$.", "answer": 63711, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(19928774449721))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(99551)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T06:57:24.364959Z", "verification": {"verified": true, "answer": 63711, "timestamp": "2026-02-08T06:57:24.366814Z"}, "problem_hash": "38c9d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36314, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 122, "completion_tokens": 4519}, "timestamp": "2026-02-13T06:20:37.864Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 262}, "timestamp": "2026-02-12T00:40:23.945Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f8528d", "alias": "antilemma_cartesian_v1_1918700295_129", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ where $i$ is an integer from 1 to 9 and $j$ is an integer from 1 to 14. Compute $$\\sum_{n = \\binom{2}{\\binom{19}{19} - 1}}^{|x|} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 635, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(14)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(2), k=Sub(Binom(n=Const(19), k=Const(19)), Const(1))), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ZERO_BINOM_N", "ONE_BINOM_0"], "recipe_id": "804160", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0", "ZERO_BINOM_N"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:00:51.007946Z", "verification": {"verified": true, "answer": 635, "timestamp": "2026-02-08T03:00:51.008952Z"}, "problem_hash": "5cec98", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 3641}, "timestamp": "2026-02-10T12:36:13.324Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 3043}, "timestamp": "2026-02-08T23:02:14.283Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 1370}, "timestamp": "2026-02-11T05:59:56.059Z"}, {"id": 8, "model": "mathstral", "answer": 498, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 150, "completion_tokens": 465}, "timestamp": "2026-02-11T13:13:43.076Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 320}, "timestamp": "2026-02-11T20:12:51.231Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_N": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "8954a7", "alias": "sequence_count_fib_divisible_v1_809748730_1878", "problem": "Let $d$ be the smallest divisor of $144919536581$ that is at least $2$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq d$ and $17$ divides the $n$-th Fibonacci number.", "answer": 68, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(144919536581))))),\n \"d\": Const(17),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.074, "created_at": "2026-02-08T12:44:33.119708Z", "verification": {"verified": true, "answer": 68, "timestamp": "2026-02-08T12:44:33.194189Z"}, "problem_hash": "b042c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 390}, "timestamp": "2026-02-12T05:33:36.103Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c98270", "alias": "comb_factorial_compute_v1_124444284_7922", "problem": "Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 16402$ such that\n$$\n\\binom{16402}{j} \\equiv 1 \\pmod{m},\n$$\nwhere $m$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 36$, and $\\gcd(p, q) = 1$.\n\nCompute $n!$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16402),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(16402)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T09:26:58.176431Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T09:26:58.178054Z"}, "problem_hash": "c828a4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 1580}, "timestamp": "2026-02-14T04:15:12.580Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 529}, "timestamp": "2026-02-12T02:56:52.754Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "66329a", "alias": "nt_euler_phi_compute_v1_784195855_693", "problem": "Let $n=81796$, and let $\\varphi(n)$ denote the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nLet $X$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=36$, and let $A$ be the minimum of the set of all values of $x+y$ as $(x,y)$ ranges over $X$.\n\nLet $Y$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x+y=10$, and let $B$ be the maximum of the set of all values of $xy$ as $(x,y)$ ranges over $Y$.\n\nLet $g=\\gcd(A,B)$. Define\n$$T=\\sum_{d\\mid g} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function.\n\nLet\n$$S=\\sum_{k=1}^{5} k,$$\nand let $m$ be the remainder when $\\varphi(n)$ is divided by $S$.\n\nLet $E$ be the remainder when $2^{m}$ is divided by $64328$.\n\nLet\n$$Q=\\varphi(n)+E.$$\n\nFind the value of $Q$.", "answer": 34321, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(81796),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=36)))), expr=Sum(Var(name='x'), Var(name='y')))), b=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=10)))), expr=Mul(Var(name='x'), Var(name='y'))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(5), expr=Var(\"k\")))), modulus=Const(64328))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME/SUM_ARITHMETIC", "B3/MOBIUS_COPRIME/SUM_ARITHMETIC"], "recipe_id": "6a6262", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T04:33:52.106210Z", "verification": {"verified": true, "answer": 34321, "timestamp": "2026-02-08T04:33:52.109445Z"}, "problem_hash": "7259ee", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "B3": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no"}, "split": "test"} +{"id": "4ddc2c", "alias": "algebra_quadratic_discriminant_v1_151522320_1434", "problem": "Let $a = 2$, $b = -3$, and let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 36$. Let $D = b^2 - 4ac$. Compute\n$$\n2 \\cdot [D > \\sum_{d \\mid \\gcd(120,105)} \\mu(d)] + [D = \\varphi(7) - 6],\n$$\nwhere $[P]$ denotes the Iverson bracket, equal to $1$ if $P$ is true and $0$ otherwise.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(2),\n \"b\": Const(-3),\n \"c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), SumOverDivisors(n=GCD(a=Const(value=120), b=Const(value=105)), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Sub(EulerPhi(n=Const(7)), Const(6))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ZERO_PHI_PRIME", "B3"], "recipe_id": "f8f94d", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "ZERO_PHI_PRIME"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:00:20.851297Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T04:00:20.856094Z"}, "problem_hash": "b85b40", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ZERO_PHI_PRIME": "ok", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "test"} +{"id": "5f3d58", "alias": "modular_modexp_compute_v1_1520064083_2845", "problem": "Let $s$ be the sum of the roots of the quadratic equation $x^2 - 450x - 1359 = 0$. Let $T$ be the set of all pairs $(x, y)$ of positive integers such that $xy$ equals the sum of all positive multiples of $30$ that are less than or equal to $s$. Define $e$ to be the minimum value of $x + y$ over all such pairs. Compute $17^e \\bmod 40000$.", "answer": 9601, "graph": "graphs = [\n Graph(\n let={\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-450), Var(\"x\")), Const(-1359)), Const(0)))),\n \"a\": Const(17),\n \"e\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=Const(30)), Const(0)))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(40000),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/SUM_DIVISIBLE/B3"], "recipe_id": "3f53f4", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T05:14:50.519472Z", "verification": {"verified": true, "answer": 9601, "timestamp": "2026-02-08T05:14:50.525545Z"}, "problem_hash": "0eeece", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 9601, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 6406}, "timestamp": "2026-02-11T23:10:44.699Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1601, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 2949}, "timestamp": "2026-02-11T23:08:52.966Z"}, {"id": 8, "model": "mathstral", "answer": 1782, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 584}, "timestamp": "2026-02-14T10:15:33.494Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 553}, "timestamp": "2026-02-11T22:22:34.201Z"}], "solution_status": 1, "lemma_applicability": {"VIETA_SUM": "ok", "B3": "ok_later", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "5e3ff3", "alias": "modular_mod_compute_v1_1978505735_5877", "problem": "Let $a$ be the number of integers $t$ such that $10 \\leq t \\leq 4021$ and there exist positive integers $a \\leq 493$ and $b \\leq 190$ satisfying $t = 7a + 3b$. Let $m$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 8340544$. Compute the remainder when $11444 \\cdot (a \\bmod m)$ is divided by $70467$.", "answer": 42917, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11444),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=493)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=190)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=4021)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(8340544)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(70467)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T19:17:06.836688Z", "verification": {"verified": true, "answer": 42917, "timestamp": "2026-02-08T19:17:06.840214Z"}, "problem_hash": "86a0ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 501}, "timestamp": "2026-02-13T00:54:56.321Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9c574c", "alias": "comb_factorial_compute_v1_1742523217_2271", "problem": "Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 154$. Let $c$ be the number of elements in $S$. Let $D$ be the set of all integers $d \\geq 2$ that divide $c$. Let $m$ be the smallest element of $D$. Compute the largest prime number $n$ such that $2 \\leq n \\leq m$. Then compute $n!$, and find the remainder when $44121$ times this factorial is divided by $85898$.", "answer": 65816, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(85898),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(154)))))))))), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MIN_PRIME_FACTOR/MAX_PRIME_BELOW"], "recipe_id": "d90870", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:39:47.426237Z", "verification": {"verified": true, "answer": 65816, "timestamp": "2026-02-08T04:39:47.428883Z"}, "problem_hash": "8ad4ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 65816, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 1058}, "timestamp": "2026-02-11T21:43:17.907Z"}, {"id": 8, "model": "mathstral", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 661}, "timestamp": "2026-02-13T22:31:04.333Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 568}, "timestamp": "2026-02-11T21:40:57.751Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "MAX_PRIME_BELOW": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "L3b": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "82a8d8", "alias": "diophantine_product_count_v1_458359167_2596", "problem": "Let $m = 30$ and $n = 2$. Let $k = 720$. Let $U$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = m$. Compute the number of positive integers $x \\leq U$ such that $x$ divides $k$ and $k/x \\leq U$. Denote this count by $r$. Compute the value of $$7^r \\bmod 99991 + \\sum x,$$ where the sum is taken over all real numbers $x$ satisfying $x^2 - 2023x + 69580 = 0$.", "answer": 16871, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30),\n \"_n\": Const(2),\n \"k\": Const(720),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-2023), Var(\"x\")), Const(69580)), Const(0))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "B1"], "recipe_id": "5cb346", "seed_template_id": "diophantine_product_count_v1", "ending_id": "two_stage_modexp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:22:12.110558Z", "verification": {"verified": true, "answer": 16871, "timestamp": "2026-02-08T06:22:12.121545Z"}, "problem_hash": "10dac7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27516, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 2119}, "timestamp": "2026-02-13T03:12:13.555Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 530}, "timestamp": "2026-02-12T00:22:00.110Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "VIETA_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "32fccc", "alias": "nt_count_divisible_v1_151522320_1101", "problem": "Let $n = 2695$ and $u = 87616$. Let $d_0$ be the smallest divisor of $n$ that is at least 2. Let $r$ be the number of integers $n'$ such that $1 \\le n' \\le u$ and $n'$ is divisible by $d_0$. Let $s = \\sum_{d\\mid \\gcd(11,13)} \\mu(d)$ and $t = |r|$. Compute the remainder when $\\sum_{n'=s}^{t} \\tau(n')$ is divided by 93344.", "answer": 80592, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2695),\n \"upper\": Const(87616),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(93344)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "22070a", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 2.828, "created_at": "2026-02-08T03:48:28.573613Z", "verification": {"verified": true, "answer": 80592, "timestamp": "2026-02-08T03:48:31.401582Z"}, "problem_hash": "755b79", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "K16": "no", "LTE_DIFF_P2": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "2f20ae", "alias": "antilemma_sum_primes_v1_1742523217_2970", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 4$. Let $m$ be the minimum value of $x + y$ over all such pairs. Now let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $s$ be the minimum value of $x + y$ over all pairs in $T$. Compute the number of prime numbers $n$ such that $2 \\leq n \\leq s$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "6640d3", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:29:34.519156Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:29:34.522486Z"}, "problem_hash": "69f619", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "split": "test"} +{"id": "94b95c", "alias": "modular_product_range_v1_1820931509_407", "problem": "Let $n = 44121$. Let $p$ be the product of all integers $i$ from $80$ to $d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest divisor of $1049695201$ that is at least $2$. Compute the remainder when $n \\cdot (p \\bmod 11311)$ is divided by $95477$.", "answer": 25979, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(80), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1049695201)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11311)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(95477)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:34:54.195367Z", "verification": {"verified": true, "answer": 25979, "timestamp": "2026-02-08T11:34:54.197066Z"}, "problem_hash": "dd418c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 131, "completion_tokens": 2299}, "timestamp": "2026-02-14T16:06:25.764Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 345}, "timestamp": "2026-02-12T04:17:26.180Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3b": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "621505", "alias": "comb_factorial_compute_v1_784195855_2288", "problem": "Let $N$ be the smallest positive integer such that the exponent of $5$ in the prime factorization of $N!$ is at least $99$; that is, $N$ is the least positive integer with $5^{99}$ dividing $N!$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy$ equals the smallest positive integer $m$ for which the exponent of $5$ in the prime factorization of $m!$ is at least $99$. For each such pair, form the sum $x+y$. Let $S$ be the minimum value of $x+y$ over all these pairs.\n\nLet $n$ be the number of integers $t$ with $1\\le t\\le S$ such that\n$$t\\equiv \\left\\lfloor\\frac{t}{2}\\right\\rfloor \\pmod{5}.$$\nLet $R=n!$.\n\nLet $Q$ be the remainder when $82303\\cdot R$ is divided by $82642$, taken as the unique integer with $0\\le Q<82642$.\n\nFind the value of $Q$.", "answer": 50092, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82642),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(5)), Const(99)), domain='Z_{>0}'))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(82303), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/B3/L3C"], "recipe_id": "5f38d2", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "L3C", "V5"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:38:38.570917Z", "verification": {"verified": true, "answer": 50092, "timestamp": "2026-02-08T05:38:38.575874Z"}, "problem_hash": "43be4b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V5": "ok", "B3": "ok_later", "L3C": "ok_later", "DS2": "no", "K14": "no", "K5": "no", "MOD_MUL": "no", "V8": "no"}, "split": "test"} +{"id": "c5ce46", "alias": "diophantine_fbi2_min_v1_1520064083_3164", "problem": "Let $k = 77$ and let the upper bound be $87$. Consider the set of all integers $d$ such that $6 \\leq d \\leq 87$, $d$ divides $k$, and $\\frac{k}{d} \\geq 6$. Compute the minimum value of $d$ in this set.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(77),\n \"a\": Const(5),\n \"b\": Const(5),\n \"upper\": Const(87),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LTE_SUM"], "recipe_id": "9baae3", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_SUM"], "num_lemmas": 2, "generation_time": 0.027, "created_at": "2026-02-08T05:29:49.804687Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T05:29:49.831384Z"}, "problem_hash": "ad39aa", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 390}, "timestamp": "2026-02-11T22:50:20.372Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 263}, "timestamp": "2026-02-11T22:42:28.977Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "LTE_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "ffb5ae", "alias": "algebra_vieta_sum_v1_238844314_23", "problem": "Let $m = 4$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$, and let $n$ be the maximum value of $xy$ as $(x, y)$ ranges over $P$. Let $S$ be the set of all positive integers $x_1$ and $x_2$ such that $x_1$ and $x_2$ are odd and $x_1 + x_2 = n$, and let $k = |S|$. Consider the cubic equation\n\n$$\n-x^3 - 6x^k - 5x = 0.\n$$\n\nFind the product of all positive integer solutions $x$ to this equation.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Mul(Const(value=-1), Pow(base=Var(name='x'), exp=Const(value=3))), Mul(Const(value=-6), Pow(base=Var(name='x'), exp=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='x2')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(left=Sum(Var(name='x1'), Var(name='x2')), right=Ref(name='_n'))))))), Mul(Const(value=-5), Var(name='x'))), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/COMB1"], "recipe_id": "ce2825", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COMB1"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T13:05:14.145183Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T13:05:14.156587Z"}, "problem_hash": "dc16cb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 435}, "timestamp": "2026-02-12T06:10:17.463Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COMB1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "18b0c8", "alias": "diophantine_fbi2_count_v1_1520064083_8617", "problem": "Let $k = 840$. Determine the number of integers $d$ such that $4 \\leq d \\leq 103$, $d$ divides $k$, $\\frac{k}{d} \\geq 4$, and $\\frac{k}{d} \\leq \\min\\left\\{ d' \\mid d' \\geq 2 \\text{ and } d' \\text{ divides } 1179247 \\right\\}$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(840),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(103)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1179247))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.024, "created_at": "2026-02-08T10:16:15.392143Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T10:16:15.415814Z"}, "problem_hash": "82e473", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 2141}, "timestamp": "2026-02-14T06:56:58.024Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 515}, "timestamp": "2026-02-12T03:14:47.260Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a9fae7", "alias": "modular_mod_compute_v1_168721529_1936", "problem": "Let $ n = 29 $. Let $ a $ be the largest integer $ k $ such that $ 2^k $ divides $ 22! $. Let $ m $ be the number of positive integers $ k $ such that $ 1 \\leq k \\leq 90625 $ and $ n $ divides $ k $. Define $ r $ to be the remainder when $ a $ is divided by $ m $. Compute the remainder when $ 29846 \\cdot r $ is divided by $ 83913 $.", "answer": 63596, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\n \"a\": MaxKDivides(target=Factorial(Const(22)), base=Const(2)),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(90625)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(29846), Ref(\"result\")), modulus=Const(83913)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1", "C2"], "recipe_id": "28bfc0", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "V1"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T14:01:35.054508Z", "verification": {"verified": true, "answer": 63596, "timestamp": "2026-02-08T14:01:35.058546Z"}, "problem_hash": "3e9f01", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 63596, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 218, "completion_tokens": 976}, "timestamp": "2026-02-09T23:42:37.615Z"}], "solution_status": 2, "lemma_applicability": {"C2": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K18": "no", "MOD_ADD": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "34e17f", "alias": "modular_mod_compute_v1_1918700295_1394", "problem": "Let $a$ be the largest integer such that $2^a$ divides $7^{512} - 5^{512}$. Let $m$ be the number of positive integers $n \\leq 17785$ such that $\\gcd(n, 12) = \\phi(1)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $a$ is divided by $m$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"a\": MaxKDivides(target=Sub(Pow(Const(7), Const(512)), Pow(Const(5), Const(512))), base=Const(2)),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(17785)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), EulerPhi(n=Const(1)))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2", "ONE_PHI_1", "C4"], "recipe_id": "9b449e", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LTE_DIFF_P2", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:48:52.027212Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T05:48:52.029275Z"}, "problem_hash": "de22cd", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "LTE_DIFF_P2": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "f949cb", "alias": "modular_count_residue_v1_1742523217_5675", "problem": "Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq 67$ and $\\gcd(n, 10) = \\varphi(1)$. Let $r$ be the number of positive integers $k$ such that $1 \\leq k \\leq 1536$ and $256$ divides $k$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 45369$ and $n \\equiv r \\pmod{m}$.\n\nFind the value of this number.", "answer": 1681, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67),\n \"upper\": Const(45369),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), EulerPhi(n=Const(1)))))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1536)), Divides(divisor=Const(256), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["ONE_PHI_1", "C4", "C2"], "recipe_id": "a54a49", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "C4", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 1.481, "created_at": "2026-02-08T11:09:27.344596Z", "verification": {"verified": true, "answer": 1681, "timestamp": "2026-02-08T11:09:28.825253Z"}, "problem_hash": "d56bb2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "C4": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_MUL": "no", "V7": "no"}, "split": "test"} +{"id": "63646c", "alias": "geo_visible_lattice_v1_458359167_5802", "problem": "Let $n = 128$. A lattice point $(x, y)$ is called visible from the origin if $1 \\leq x \\leq n$, $1 \\leq y \\leq n$, and $\\gcd(x, y) = 1$. Let $V$ be the number of visible lattice points. Let $Q = (49826 \\cdot V) \\bmod 67243$. Find the value of $Q$.", "answer": 47355, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(128),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(49826),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(67243)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.594, "created_at": "2026-02-08T12:42:04.851448Z", "verification": {"verified": true, "answer": 47355, "timestamp": "2026-02-08T12:42:05.445475Z"}, "problem_hash": "64d2ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49826, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 447}, "timestamp": "2026-02-12T05:30:33.267Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f83f6c", "alias": "algebra_poly_eval_v1_1520064083_1331", "problem": "Let $y$ be the smallest integer $d \\geq 2$ that divides 157757. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq 4$. Compute the value of $8 \\cdot y^p + 9 \\cdot y^2 + 10 \\cdot y - 5$, then find the remainder when this result is multiplied by 44121 and divided by 60997.", "answer": 31548, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(44121),\n \"_n\": Const(2),\n \"y\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(157757))))),\n \"result\": Sum(Mul(Const(8), Pow(Ref(\"y\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))))), Mul(Const(9), Pow(Ref(\"y\"), Ref(\"_n\"))), Mul(Const(10), Ref(\"y\")), Const(-5)),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(60997)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "8f5cbb", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:55:33.069560Z", "verification": {"verified": true, "answer": 31548, "timestamp": "2026-02-08T03:55:33.073612Z"}, "problem_hash": "de6a3a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 23170, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 7051}, "timestamp": "2026-02-10T16:11:37.824Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 31548, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 1753}, "timestamp": "2026-02-10T14:45:31.700Z"}, {"id": 8, "model": "mathstral", "answer": 58656, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 824}, "timestamp": "2026-02-13T02:36:09.328Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 315}, "timestamp": "2026-02-11T21:14:45.534Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "no", "K16": "no", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "da7343", "alias": "antilemma_product_of_sums_v1_784195855_1291", "problem": "Let $S_1$ be the sum of all integers $j$ such that $0 \\leq j \\leq N$ and\n$$\n\\binom{k}{j} \\text{ is odd},\n$$\nwhere $N$ is the largest prime number at most $34$, and $k$ is the number of integers from $1$ to $61$, inclusive, whose digit sum is odd. Let $S_2$ be the sum of all values of $k$ as $(k, \\ell)$ ranges over all ordered pairs of positive integers with $1 \\leq k \\leq 13$ and $1 \\leq \\ell \\leq 2$. Define $x = S_1 \\cdot S_2$. Compute the multiplicative order of $2$ modulo $2|x| + 3$, and then find the remainder when that order is divided by $89252$.", "answer": 2042, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(34)), IsPrime(Var(\"n\")))))), Eq(Mod(value=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(61)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\"))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='x')), Const(value=2)), Const(value=3))), modulus=Const(89252)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "L3B"], "recipe_id": "73d03e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:57:33.822715Z", "verification": {"verified": true, "answer": 2042, "timestamp": "2026-02-08T04:57:33.826047Z"}, "problem_hash": "f4ec72", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "K14": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "test"} +{"id": "865933", "alias": "nt_gcd_compute_v1_1918700295_1254", "problem": "Let $n$ be the number of positive integers $j \\leq 25$ such that $j^2 \\leq 625$. Let $h$ be the number of distinct prime factors of $n$. Let $p = 7$, and let $v$ be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $a = 277368 \\cdot h$ and $b = 520065 + v$. Compute $\\gcd(a, b)$.", "answer": 34671, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(25)), Leq(Pow(Var(\"j\"), Const(2)), Const(625))), domain='positive_integers')),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"p\": Const(7),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Mul(Const(277368), Ref(\"h\")),\n \"b\": Sum(Const(520065), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/OMEGA_ONE", "WILSON"], "recipe_id": "cb66df", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C3", "OMEGA_ONE", "WILSON"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:42:29.232252Z", "verification": {"verified": true, "answer": 34671, "timestamp": "2026-02-08T05:42:29.236957Z"}, "problem_hash": "8f309e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "WILSON": "ok", "OMEGA_ONE": "ok_later", "DS2": "no", "K14": "no", "K16": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "split": "test"} +{"id": "f69dbf", "alias": "nt_count_divisible_v1_1520064083_1436", "problem": "Let $d$ be the largest prime number $n$ such that $2 \\leq n \\leq 8$. Let $r = \\sum_{d' \\mid 23} \\mu(d')$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all integers $n$ such that $n \\geq \\varphi(1)$, $n \\leq 43264$, and $n \\equiv r \\pmod{d}$. Compute the number of elements in $S$.", "answer": 6180, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(43264),\n \"divisor\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=Const(value=23), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "ONE_PHI_1"], "recipe_id": "fdc7b7", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 1.389, "created_at": "2026-02-08T03:59:54.670290Z", "verification": {"verified": true, "answer": 6180, "timestamp": "2026-02-08T03:59:56.059278Z"}, "problem_hash": "ff7866", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V7": "no"}, "split": "test"} +{"id": "166d07", "alias": "nt_euler_phi_compute_v1_153355830_345", "problem": "Let $g = 16$, $m = 11$, and $n_2 = 1$. Define $a = g \\cdot m$ and $b = g \\cdot n_2$. Let $u = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p = 5$, and let $n_1 = p^k$, where $k$ is the largest prime number that is at most $4$. Let $s = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function. Define $n = 71824 + s$. Compute $\\varphi(n)$, Euler's totient function evaluated at $n$.", "answer": 35376, "graph": "graphs = [\n Graph(\n let={\n \"g\": Const(16),\n \"m\": Const(11),\n \"n2\": Const(1),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n2\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(5),\n \"n1\": Pow(Ref(\"p\"), Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))), Ref(\"u\"))),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(Const(71824), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/MOBIUS_COPRIME/LIOUVILLE_MINUS_ONE"], "recipe_id": "c3411c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T03:03:04.504888Z", "verification": {"verified": true, "answer": 35376, "timestamp": "2026-02-08T03:03:04.513044Z"}, "problem_hash": "dd9848", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "V1": "no"}, "split": "test"} +{"id": "981723", "alias": "nt_sum_divisors_range_v1_1742523217_1934", "problem": "Let the upper bound be the number of positive integers $n$ such that $1 \\leq n \\leq 81356$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $R$ be the sum of the number of positive divisors of all positive integers $n$ from $1$ to the upper bound. Let $m = 13$ and $n = 75428$. Compute the remainder when $R$ is divided by $n$, after first dividing the number $355609934970215991710188950752945067691890403278324389175389648152763497567536201660716362110793594061545996155547625690064486879327494536196377836653527948457927912934931093953534609042430162162183526100224961293086787481329835229027778560270670071617328107452096002636342868651759308277085887950264897025455510144950401938794837445236968994051201048180673617266458886635758380356837668048743293235834260023594468874129806447800266534640231608374438205437568091792302241134737708899570747402751582659136594308699693130409680506601374066394679800296544663717429125476891206633269816825521271924248622546814214615320665516056197303004082650730034303509189823410654097783203818271612541930416214902850773021102990934840186611530200093303992989854977718891143975899425840328993063874601859941892680519766242710618979553662971221574393145973556478970356574894407249913040503719651068792716656234834372026755042922227125286160503472739260263567725713980875173009273823863748741179062781856806328794854916758545504982965811632680256358394316148883126913200544772955933117415741373324531533554010415933204312611028041529372055063843880066308181864550666765190902952767519634723295531681206381135861711181821010824148632176642224756890947375506674168259011466549437009900678073543841481077551159573694112709278774785548394033686993104932686853168733690278540617740758904809080508867538508363879158060568666139107063938486742940688467064342660315238026834172941353101534033694628219595307743084805012791006077587872031425986393869103615696658839415504272684649988272113365761322340200769934782282031740725191649262036798466399037143215921684314156010905000359165198453847305665225696117763414734531062561275493075131563972870806142797406591709456183768394987800838348674044091431095531960808162533803792815620082384716780213440339258967040828678537290478220291947713739253547628264318916562227257623181804117174364741489110069543698363479082716753636291617440269768145820399063519174107907880455695203275815151680595463275876454211609293159354253146577452260639014998828477684649588019084691266203336704278506505508140202152686446220019533650694087548396313655048555835133163329230669020902348120971477744058888977140896132036184961047005519887000351397468075398484827285938797456156906358336454487215533462492221615915746496125257151560529770664326294554487520774093030750152488252355920278441420478929321928331720027651200391673052255127410516810202293774504361916162701581779596573845093659738067857926268127901922631156088579755441748276053248964662273114440990592344697257040078253$ by $m$, and taking the exponent of the quotient.", "answer": 14782, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(75428),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(81356)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Sub(MaxKDivides(target=Mul(Const(355609934970215991710188950752945067691890403278324389175389648152763497567536201660716362110793594061545996155547625690064486879327494536196377836653527948457927912934931093953534609042430162162183526100224961293086787481329835229027778560270670071617328107452096002636342868651759308277085887950264897025455510144950401938794837445236968994051201048180673617266458886635758380356837668048743293235834260023594468874129806447800266534640231608374438205437568091792302241134737708899570747402751582659136594308699693130409680506601374066394679800296544663717429125476891206633269816825521271924248622546814214615320665516056197303004082650730034303509189823410654097783203818271612541930416214902850773021102990934840186611530200093303992989854977718891143975899425840328993063874601859941892680519766242710618979553662971221574393145973556478970356574894407249913040503719651068792716656234834372026755042922227125286160503472739260263567725713980875173009273823863748741179062781856806328794854916758545504982965811632680256358394316148883126913200544772955933117415741373324531533554010415933204312611028041529372055063843880066308181864550666765190902952767519634723295531681206381135861711181821010824148632176642224756890947375506674168259011466549437009900678073543841481077551159573694112709278774785548394033686993104932686853168733690278540617740758904809080508867538508363879158060568666139107063938486742940688467064342660315238026834172941353101534033694628219595307743084805012791006077587872031425986393869103615696658839415504272684649988272113365761322340200769934782282031740725191649262036798466399037143215921684314156010905000359165198453847305665225696117763414734531062561275493075131563972870806142797406591709456183768394987800838348674044091431095531960808162533803792815620082384716780213440339258967040828678537290478220291947713739253547628264318916562227257623181804117174364741489110069543698363479082716753636291617440269768145820399063519174107907880455695203275815151680595463275876454211609293159354253146577452260639014998828477684649588019084691266203336704278506505508140202152686446220019533650694087548396313655048555835133163329230669020902348120971477744058888977140896132036184961047005519887000351397468075398484827285938797456156906358336454487215533462492221615915746496125257151560529770664326294554487520774093030750152488252355920278441420478929321928331720027651200391673052255127410516810202293774504361916162701581779596573845093659738067857926268127901922631156088579755441748276053248964662273114440990592344697257040078253), Const(48582613957286643138138510476747910432488318470539521108526249874803897729909377923904250093046159873666355076764152797397026436056695112288145649188628485850199237050978418437689113070871326185317534348083702100200042782269152429942847807699674113425362056248497972965165329340539028532628209500783094566188540106201679121137323723802628287082903575794946887848672379399666677712137294292139853291140235518223795209500896974508444332716550346968794667181152563241759651464551015536974502952288502178670710852365117252204987588528287678424486476416035146335600975249647850335853465851985198613534218771090368371333338982712618150055005826563661164211847959280112725784811264170673501889451676638387639694426247507283099563835306443679064634141001558740311538903269806233692342396387897815293239870995045012405577427454191199081290446928688438997643038208896994979181991713743414044367619925300145544953617835033921412639826188115444972257123628119359956354223069837431292593937059870075668773301574772297741119788796607605320797909710712362053660653242413412454236563288078201872877182251262773016572772713167286731496493501518997401852931389826324238055208826896460888118334740409840469864160012182957706373775135672238268921307123934859513262819975678410610891847541167117019047104301309172816221400518870203854315232841409476542131059598995620583487297535799596210141445367538276112243519926443442640761892680146810183140480955437351665059707723091407461583029811509551122222698594498137822349176106680926522283116870292743580091218133483713522238288590566158700532827473886068877814921732225478615577921319575433127549789348617945255100324082263870543752746198286831409746733122812092382184621357236526710692918474663170309668416917788629609724186608400972015106603767523584505893080380966428419607246938419674831146436053454220268074710991120942222237898856343989883548842446136674841194415413285386076389215347844393791018880466094354598006409690690116477157824064621698209938646386811377922958822132482655937003801655426855978754883439889335103417193471154628436258986193804187950272466418413024282969868869977011790371237079343123041472333994025636409166905241494270709906824507489551437275408385664773799167747885332429856629864550395582966284821350482922312036043855579770657951025642468495366353159695759024590497383538102271256120554587730099625170782614017207413654328602136061075952399933205014230717060623971160896296081062309874467186548073473683768788047173438994090663759078613392935788747012567674603934099437050530117665626923325960963477415540550476562991964568240533323482001756085150363310297149104278660795876343799000505620909436642920193125673504144657904790271854541329210019707746360121536251462726427488481557560492814696113819527640120541812188198900887703848341748914860181187362651473826711811594166173270984855431832656166687357527901760003736978956967091472905328580900808560125005596987033503632998619562975095605231427880513350489552832232078223207593966367613979409444764513896450847225135811224027190466316153723746647395575113309958333579923931735266752718718178054879282041976663090343010350141884021428386375162599975101435068027732627404344279335691004929446668516613028742486493431139934532270506356769666398329736426657357203060017606218157839765467392294408074528856478596413216453176938255881645419384005444986289544217549508069375662871807800728318711781708550275848299424407515573392280169391604865484639785846176291583849832532439042296830338642687547616798460269789327099677099351365612504120182653820218214720131010442188750746572826049103604802873988106436241021964991875068079895773343459926985425634993231051043008135324370513632469581971673485579212971169008741580059363118201229497301328172611389994686958661171320790636400611582126837788967215288797309824547495802231592073470090978532119622934790375611947423914923227417867317222306846192431720454425887297307166345140514407337506776720375812685504060826630593525322147460456672902820806877969048204172251320564753236783416550282340572433490577736834203740931827048671437663222021000901341798029952430878468173335386825991046589019095559538338027177558410854183529383948653867738141872094483180031131776575661403789060459254376927669072659076181807984405531425754439359263699841925163919908307169805672408709820728000018173547259121926270573307856463610675138573783141817157301491773410596824050703885777056473953297666388240486205700745402467062206795763823076852278522815306349417383626920526822860924412545438325959581659854234368043750586917)), base=Ref(\"_m\")), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "L3C"], "recipe_id": "931371", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "L3C"], "num_lemmas": 2, "generation_time": 0.256, "created_at": "2026-02-08T04:21:13.229758Z", "verification": {"verified": true, "answer": 14782, "timestamp": "2026-02-08T04:21:13.485394Z"}, "problem_hash": "133d31", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "74ba23", "alias": "diophantine_product_count_v1_168721529_356", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 129600$. Let $u$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 182$ such that $\\gcd(i, j) = 1$. Define $r$ to be the number of positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$. Compute the multiplicative order of $2$ modulo $2|r| + 3$. That is, find the smallest positive integer $Q$ such that $2^Q \\equiv 1 \\pmod{2|r| + 3}$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(129600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(182))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T13:00:26.654359Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T13:00:26.674772Z"}, "problem_hash": "6d8b6b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 296, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:09:12.548Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 29, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 537}, "timestamp": "2026-02-09T15:53:33.329Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 1772}, "timestamp": "2026-02-10T03:36:52.805Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "C2": "no", "K14": "no", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -2.18, "mid": 1.4, "hi": 5.17}, "split": "test"} +{"id": "0479d4", "alias": "nt_count_coprime_v1_2080023795_196", "problem": "Let $U = 13924$ and let $k$ be the smallest divisor of $847$ that is at least $2$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 13924$ and $\\gcd(n, k) = 1$.", "answer": 11935, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(13924),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.062, "created_at": "2026-02-08T11:35:38.302127Z", "verification": {"verified": true, "answer": 11935, "timestamp": "2026-02-08T11:35:39.363747Z"}, "problem_hash": "34adc7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11935, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 6197}, "timestamp": "2026-02-08T20:51:58.521Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 11935, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 523}, "timestamp": "2026-02-10T06:40:35.380Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 11935, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 5257}, "timestamp": "2026-02-12T04:27:53.892Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 11935, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 1179}, "timestamp": "2026-02-09T11:10:55.321Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11935, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 600}, "timestamp": "2026-02-09T21:40:24.299Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 410}, "timestamp": "2026-02-11T21:05:40.726Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K5": "no", "L3b": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.83, "hi": -5.04}, "split": "test"} +{"id": "6d593c", "alias": "comb_factorial_compute_v1_1439011603_2774", "problem": "Let $ n $ be the number of positive integers $ n_1 $ such that $ 1 \\leq n_1 \\leq 88 $ and $ n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{11} $.\\\\\n\nCompute $ n! $.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:58:47.114704Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T16:58:47.116170Z"}, "problem_hash": "1de918", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 488}, "timestamp": "2026-02-12T21:32:37.918Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "L3b": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ecb098", "alias": "nt_count_with_divisor_count_v1_2051736721_894", "problem": "Let $d$ be the smallest divisor of 245 that is at least 2. Determine the value of the number of positive integers $n$ such that $n \\leq 16384$ and the number of positive divisors of $n$ is equal to $d$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(16384),\n \"div_count\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(245))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.683, "created_at": "2026-02-08T15:44:05.437893Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T15:44:06.120602Z"}, "problem_hash": "76e25d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 476}, "timestamp": "2026-02-12T09:04:48.565Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K16": "no", "LTE_DIFF": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c450f7", "alias": "comb_sum_binomial_row_v1_1918700295_4339", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 10$ and\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}.\n$$\nLet $Q = |S|^{15}$. Compute $Q$.", "answer": 32768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"n\": Const(15),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:18:58.660210Z", "verification": {"verified": true, "answer": 32768, "timestamp": "2026-02-08T09:18:58.661038Z"}, "problem_hash": "be007b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 112, "completion_tokens": 883}, "timestamp": "2026-02-14T02:25:24.076Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 100000000000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 689}, "timestamp": "2026-02-12T02:44:40.376Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "K17": "no", "K18": "no", "MOD_MUL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9c477a", "alias": "algebra_poly_eval_v1_2051736721_1823", "problem": "Let $n = 2$ and $k = 12$. Compute the value of \n$$\n2k^4 - 10k^3 - 7k^2 - 2k - 4.\n$$\nLet $T$ be the set of all integers $t$ such that $9 \\le t \\le 820$ and there exist integers $a$ and $b$ with $1 \\le a \\le 4$, $1 \\le b \\le 200$, and $t = 5a + 4b$. Let $d_{\\text{max}}$ be the largest positive divisor of 648800 that does not exceed the number of elements in $T$.\n\nFind the remainder when $d_{\\text{max}}$ minus the computed value is divided by 64366.", "answer": 42010, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(12),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"k\"), Const(4))), Mul(Const(-10), Pow(Ref(\"k\"), Const(3))), Mul(Const(-7), Pow(Ref(\"k\"), Const(2))), Mul(Const(-2), Ref(\"k\")), Const(-4)),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=200)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=820)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Const(648800))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(64366)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR"], "recipe_id": "af9269", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T16:14:21.076698Z", "verification": {"verified": true, "answer": 42010, "timestamp": "2026-02-08T16:14:21.086071Z"}, "problem_hash": "a91367", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 396}, "timestamp": "2026-02-12T10:15:56.000Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "340afc", "alias": "algebra_poly_eval_v1_655260480_6208", "problem": "Let $b = 5$. Compute the value of\n$$\n3b^4 + b^d - 6b^2 - 9b - 9,\n$$\nwhere $d$ is the smallest divisor of $135$ that is at least $2$. Let $R$ be the absolute value of this result. Find the smallest positive integer $m$ such that the $m$-th Fibonacci number is divisible by $R + 2$.", "answer": 210, "graph": "graphs = [\n Graph(\n let={\n \"b\": Const(5),\n \"result\": Sum(Mul(Const(3), Pow(Ref(\"b\"), Const(4))), Pow(Ref(\"b\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(135)))))), Mul(Const(-6), Pow(Ref(\"b\"), Const(2))), Mul(Const(-9), Ref(\"b\")), Const(-9)),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:54:58.679296Z", "verification": {"verified": true, "answer": 210, "timestamp": "2026-02-08T18:54:58.682597Z"}, "problem_hash": "27dd6c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 376}, "timestamp": "2026-02-13T00:40:48.177Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K13": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ffa9d7", "alias": "antilemma_v7_kummer_784195855_1831", "problem": "Let $x$ be the largest integer such that $3^x$ divides $\\binom{145}{58}$.\n\nLet $Q$ be the number of prime numbers $n$ such that $2 \\le n \\le 67493$, minus $x$.\n\nFind the value of $Q$.", "answer": 6723, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(67493),\n \"_n\": Const(58),\n \"x\": MaxKDivides(target=Binom(n=Const(145), k=Ref(\"_n\")), base=Const(3)),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "V7"], "recipe_id": "5eff78", "seed_template_id": "antilemma_v7_kummer", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "V7"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:20:58.261876Z", "verification": {"verified": true, "answer": 6723, "timestamp": "2026-02-08T05:20:58.266174Z"}, "problem_hash": "9673ed", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "V7": "ok", "COUNT_INTEGER_RANGE": "no", "K16": "no", "L3c": "no", "MAX_VAL": "no", "V8": "no"}, "split": "test"} +{"id": "201744", "alias": "sequence_lucas_compute_v1_548369836_260", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=1234321$. For each $(x,y)$ in $S$, consider the sum $x+y$. Let $m$ be the minimum value of $x+y$ over all $(x,y)$ in $S$.\n\nLet $n=23$, and let $L$ be the $23$rd Lucas number. Let $c$ be the largest integer $k$ such that $5^k$ divides $5^m$.\n\nLet $d$ be the smallest integer with $2\\le d$ such that $d$ divides $146969$. Define\n$$T=L^2+dL+c.$$\nLet $Q$ be the remainder when $T$ is divided by $82318$.\n\nFind the value of $Q$.", "answer": 64570, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82318),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1234321)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": Const(23),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": MaxKDivides(target=Pow(Const(5), Ref(\"_n\")), base=Const(5)),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(146969))))), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "B3/K14"], "recipe_id": "9cd786", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K14", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:49:44.718827Z", "verification": {"verified": true, "answer": 64570, "timestamp": "2026-02-08T02:49:44.722532Z"}, "problem_hash": "b39af0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 64570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 6910}, "timestamp": "2026-02-08T20:17:02.168Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 64570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 3072}, "timestamp": "2026-02-09T21:39:57.556Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:21:44.912Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 14116, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 552}, "timestamp": "2026-02-09T04:05:56.539Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58570, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 2365}, "timestamp": "2026-02-09T11:17:50.388Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "ok_later", "K13": "no", "K18": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.59}, "split": "test"} +{"id": "7d80c8", "alias": "nt_count_divisors_in_range_v1_2051736721_5059", "problem": "Let $n$ be the number of integers $t$ with $9 \\leq t \\leq 5060$ such that there exist positive integers $a \\leq 575$ and $b \\leq 552$ satisfying $t = 4a + 5b$. Let $a$ be the number of integers $t_1$ with $14 \\leq t_1 \\leq 62$ such that there exist positive integers $a \\leq 5$ and $b \\leq 4$ satisfying $t_1 = 6a + 8b$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 133225$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 39, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=575)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=552)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=5060)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t1'), right=Const(value=14)), Leq(left=Var(name='t1'), right=Const(value=62)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(133225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T18:21:27.962120Z", "verification": {"verified": true, "answer": 39, "timestamp": "2026-02-08T18:21:27.976439Z"}, "problem_hash": "e0e9d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 504}, "timestamp": "2026-02-13T00:02:20.909Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K18": "no", "L3c": "no", "MOD_MUL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8a8cbf", "alias": "comb_sum_binomial_mod_v1_124444284_1601", "problem": "Let $m$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=100$.\n\nLet $n$ be the sum of all integers $x$ satisfying\n$$x^2-56x-2025=0.$$\n\nFor each integer $k$ with $13\\le k\\le 156$ and each integer $j$ with $1\\le j\\le 6$, consider the binomial coefficient\n$$\\binom{1+2+\\cdots+m}{k}.$$\nLet $S$ be the sum of all these binomial coefficients over all such pairs $(k,j)$, and define\n$$T = \\frac{8S}{n}.$$\nLet $c=10463$, and let $R$ be the remainder when $T$ is divided by $c$.\n\nFind the value of $R$.", "answer": 1552, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10463),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-56), Var(\"x\")), Const(-2025)), Const(0)))),\n \"sum\": Div(Mul(Const(8), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(13), end=Const(157)), right=IntegerRange(start=Const(1), end=Const(7)))), expr=Binom(n=Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")), k=Var(\"k\"))))), Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC/SUM_INDEPENDENT", "VIETA_SUM/SUM_INDEPENDENT"], "recipe_id": "574a76", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_ARITHMETIC", "SUM_INDEPENDENT", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.033, "created_at": "2026-02-08T04:01:56.246587Z", "verification": {"verified": true, "answer": 1552, "timestamp": "2026-02-08T04:01:56.279332Z"}, "problem_hash": "dbbdbd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:12:31.376Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:11:07.083Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4485, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 5328}, "timestamp": "2026-02-11T21:19:11.598Z"}, {"id": 8, "model": "mathstral", "answer": 20, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 5566}, "timestamp": "2026-02-13T05:18:54.152Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 526}, "timestamp": "2026-02-11T21:19:29.649Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "VIETA_SUM": "ok", "SUM_ARITHMETIC": "ok_later", "SUM_INDEPENDENT": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "4d931d", "alias": "antilemma_cartesian_v1_1820931509_120", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 17, inclusive, and $b$ is an integer from 1 to 25, inclusive. Define\n$$\nS = \\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2,\n$$\nwhere $d$ is the number of digits in $|x|$, and digit positions are indexed starting from 0 (units place).\n\nLet $T$ be the set of all positive integers $t$ such that $7 \\leq t \\leq 5052$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 1680$, $1 \\leq b \\leq 3$, satisfying $t = 3a + 4b$.\n\nCompute $S + |T|$.", "answer": 5089, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Factorial(Const(0))), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1680)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5052)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "b51a54", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM", "ONE_FACTORIAL_0"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:22:05.244473Z", "verification": {"verified": true, "answer": 5089, "timestamp": "2026-02-08T11:22:05.248026Z"}, "problem_hash": "e9665b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5089, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 248, "completion_tokens": 2375}, "timestamp": "2026-02-14T13:06:39.273Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 612}, "timestamp": "2026-02-12T03:56:46.504Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "ee964b", "alias": "comb_count_permutations_fixed_v1_124444284_6121", "problem": "Let $n = 9$. Let $d_{\\text{min}}$ be the smallest divisor of $1225$ that is at least $2$. Compute $r = \\binom{n}{d_{\\text{min}}} \\cdot !(n - d_{\\text{min}})$, where $!k$ denotes the number of derangements of $k$ elements. Find the remainder when $44121 \\cdot r$ is divided by $62141$.", "answer": 9709, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62141),\n \"n\": Const(9),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1225))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T08:08:37.755106Z", "verification": {"verified": true, "answer": 9709, "timestamp": "2026-02-08T08:08:37.756636Z"}, "problem_hash": "520329", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9709, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 1248}, "timestamp": "2026-02-13T15:24:31.286Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 460}, "timestamp": "2026-02-12T01:36:12.964Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "5fdb5a", "alias": "nt_sum_phi_v1_1439011603_533", "problem": "Let $n$ be a positive integer. Define $A$ to be the set of all integers $n$ such that $1 \\leq n \\leq 2000$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $m$ be the number of elements in $A$. Compute the remainder when\n\n$$\n\\sum_{k=1}^{m} \\tau(k)\n$$\n\nis divided by $66911$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 64553, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66911),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2000)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n1\")))),\n \"Q\": Mod(value=Summation(var=\"n2\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n2\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.025, "created_at": "2026-02-08T15:33:00.940761Z", "verification": {"verified": true, "answer": 64553, "timestamp": "2026-02-08T15:33:00.965297Z"}, "problem_hash": "81b7f8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 703}, "timestamp": "2026-02-12T08:37:37.166Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K18": "no", "MAX_VAL": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3518ce", "alias": "nt_sum_totient_over_divisors_v1_1918700295_1426", "problem": "Let $n_1$ be the largest prime number less than or equal to 62. Let $h$ be the number of distinct prime factors of $n_1$. Let $n_2 = 1$, and let $f$ be the number of prime factors of $n_2$ counted with multiplicity. Define $n = (18041 + f) \\cdot h$. Let $\\phi(d)$ denote Euler's totient function, and let $\\text{result} = \\sum_{d \\mid n} \\phi(d)$. Compute the remainder when $2^{\\left|\\text{result}\\right|} + 48400$ is divided by 52452.", "answer": 12345, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52452),\n \"n2\": Const(1),\n \"f\": BigOmega(n=Ref(name='n2')),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(62)), IsPrime(Var(\"n\"))))),\n \"h\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Sum(Const(18041), Ref(\"f\")), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(48400)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "e1c8df", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MAX_PRIME_BELOW", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T05:49:30.100403Z", "verification": {"verified": true, "answer": 12345, "timestamp": "2026-02-08T05:49:30.107789Z"}, "problem_hash": "85e094", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok", "OMEGA_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "LTE_DIFF": "no", "V1": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "cdbf4d", "alias": "comb_count_permutations_fixed_v1_677425708_3370", "problem": "Compute $\\binom{7}{5} \\cdot !2$, where $!2$ denotes the number of derangements of 2 elements. Let $Q$ be the sum of the following two quantities: the sum from $i = 1$ to $4$ of $d_i \\cdot (i+1)^2$, where $d_i$ is the $i$th digit of the absolute value of the computed result (counting from the right, starting at $i=1$), and the number of positive integers $n$ at most $16427$ that are relatively prime to $6$. Find the value of $Q$.", "answer": 5485, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Const(7),\n \"k\": Const(5),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16427)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=SumOverDivisors(n=GCD(a=Const(value=99), b=Const(value=99)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), EulerPhi(n=Const(1))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "496216", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:40:37.209575Z", "verification": {"verified": true, "answer": 5485, "timestamp": "2026-02-08T05:40:37.214531Z"}, "problem_hash": "13061e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "MOD_MUL": "no", "V1": "no", "V3": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "3487f5", "alias": "comb_sum_binomial_mod_v1_1918700295_1852", "problem": "Let $c = 2$. Let $n$ be the sum of all real solutions $x$ to the equation $x^2 - 476x + 7360 = 0$. Let $m$ be the number of integers $t$ with $7 \\leq t \\leq 122$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 30$, $1 \\leq b \\leq 8$, and $t = 3a + 4b$. Let $p$ be the number of integers $t$ with $17 \\leq t \\leq 508$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 74$, $1 \\leq b \\leq 64$, and $t = 5a + 2b + 10$. Compute the remainder when $\\sum_{k=m}^{n} \\binom{p}{k}$ is divided by 11321.", "answer": 9634, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(11321),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-476), Var(\"x\")), Const(7360)), Const(0)))),\n \"sum\": Summation(var=\"k\", start=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=30)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=122)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), end=Ref(\"_n\"), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=74)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=64)), Geq(left=Var(name='t'), right=Const(value=17)), Leq(left=Var(name='t'), right=Const(value=508)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=10)))))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/LIN_FORM"], "recipe_id": "eaa1fa", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T06:07:11.847919Z", "verification": {"verified": true, "answer": 9634, "timestamp": "2026-02-08T06:07:11.891402Z"}, "problem_hash": "ae3e72", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 8192}, "timestamp": "2026-02-12T20:48:10.040Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 325, "completion_tokens": 568}, "timestamp": "2026-02-11T23:42:03.191Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "LIN_FORM": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "fd2d82", "alias": "nt_sum_over_divisible_v1_1470522791_450", "problem": "Let $p$ be the smallest prime divisor of $26979607331$. Define $S$ to be the sum of all positive integers $n$ such that $n \\leq 44444$ and $p$ divides $n$. Compute the remainder when $S + 2^S \\bmod 97236$ is divided by $97236$.", "answer": 94571, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(44444),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(26979607331))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(14))), modulus=Const(97236))), modulus=Const(97236)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.274, "created_at": "2026-02-08T13:01:21.029915Z", "verification": {"verified": true, "answer": 94571, "timestamp": "2026-02-08T13:01:23.303702Z"}, "problem_hash": "07d0c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 427}, "timestamp": "2026-02-12T06:04:16.472Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "01616f", "alias": "nt_count_digit_sum_v1_1116507919_130", "problem": "Let $S$ be the set of all integers $t$ such that $5 \\leq t \\leq 23$ and there exist positive integers $a \\leq 3$ and $b \\leq 7$ satisfying $t = 3a + 2b$. Let $T$ be the number of integers $n$ with $1 \\leq n \\leq 99999$ such that the sum of the decimal digits of $n$ equals $|S|$. Let $c = \\sum_{k=1}^{4} k$. Compute the remainder when $c - T$ is divided by $50422$.", "answer": 46097, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(99999),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=23)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Const(4), expr=Var(\"k\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50422)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "LIN_FORM", "ONE_PHI_2"], "recipe_id": "dd74b4", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 3.261, "created_at": "2026-02-08T02:26:26.606166Z", "verification": {"verified": true, "answer": 46097, "timestamp": "2026-02-08T02:26:29.867625Z"}, "problem_hash": "6ebc2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 3053}, "timestamp": "2026-02-08T19:06:24.305Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1808}, "timestamp": "2026-02-09T13:44:11.807Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:48:57.049Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 46097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 1582}, "timestamp": "2026-02-09T15:57:18.470Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "test"} +{"id": "bbfc2b", "alias": "nt_count_coprime_and_v1_168721529_823", "problem": "Let $n = 2$ and let the upper bound be $44229$. Define $k_1 = 3$. Let $k_2$ be the smallest integer $d \\ge 2$ that divides $1001$. Compute the number of positive integers $n$ such that $1 \\le n \\le 44229$, $\\gcd(n, 3) = 1$, and $\\gcd(n, k_2) = 1$.", "answer": 25274, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(44229),\n \"k1\": Const(3),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.011, "created_at": "2026-02-08T13:18:55.970271Z", "verification": {"verified": true, "answer": 25274, "timestamp": "2026-02-08T13:19:00.981488Z"}, "problem_hash": "698769", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 25274, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 1892}, "timestamp": "2026-02-09T09:38:30.947Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 25274, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 493}, "timestamp": "2026-02-09T22:06:25.356Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 23274, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 531}, "timestamp": "2026-02-12T06:31:37.877Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "LTE_DIFF_P2": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.54}, "split": "test"} +{"id": "5ba0ae", "alias": "nt_sum_over_divisible_v1_784195855_203", "problem": "Let $\\phi$ denote Euler's totient function. Let $d$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 2$, $1 \\leq j \\leq 62$, and $\\gcd(i,j) = \\phi(1)$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 51529$ and $n \\equiv \\phi(37) - 36 \\pmod{d}$. Compute the remainder when $44121$ times the sum of the elements of $S$ is divided by $86624$.", "answer": 47283, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(51529),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(1))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(62))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Sub(EulerPhi(n=Const(37)), Const(36)))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(86624)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "ZERO_PHI_PRIME", "ONE_PHI_1"], "recipe_id": "dff094", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ONE_PHI_1", "ZERO_PHI_PRIME"], "num_lemmas": 3, "generation_time": 1.598, "created_at": "2026-02-08T03:01:56.774869Z", "verification": {"verified": true, "answer": 47283, "timestamp": "2026-02-08T03:01:58.372978Z"}, "problem_hash": "0c8bd4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "ZERO_PHI_PRIME": "ok", "K13": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "e665f2", "alias": "geo_count_lattice_triangle_v1_1978505735_4254", "problem": "Let $n = 47$. The quantity $A$ is defined as\n$$\nA = \\left| 300 \\cdot 100 + 222 \\cdot (0 - 47) \\right|.\n$$\nLet $B$ be the sum\n$$\nB = \\gcd(|300|, |n|) + \\gcd\\left(|222 - t|, |100 - 47|\\right) + \\gcd(|0 - 222|, |0 - 100|),\n$$\nwhere $t$ is the number of positive integers $k$ such that $1 \\leq k \\leq 3300$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{11}$.\n\nCompute\n$$\n\\frac{A - B + 2}{2}.\n$$", "answer": 9782, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(47),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=300), Const(value=100)), Mul(Const(value=222), Sub(left=Const(value=0), right=Const(value=47))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=300)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=Const(value=222), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=3300)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))))), b=Abs(arg=Sub(left=Const(value=100), right=Const(value=47)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=222))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=100))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T18:07:52.053027Z", "verification": {"verified": true, "answer": 9782, "timestamp": "2026-02-08T18:07:52.061039Z"}, "problem_hash": "5c01d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 384}, "timestamp": "2026-02-12T23:46:08.499Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "L3c": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7c058d", "alias": "nt_sum_over_divisible_v1_1742523217_3856", "problem": "Let $p$ be the number of prime numbers $n$ such that $2 \\leq n \\leq d$, where $d$ is the smallest divisor of $98339315281$ that is at least $2$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 22801$ and $n$ is divisible by $p$. Define $t$ to be the number of integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 103$, $1 \\leq b \\leq 37$, $23 \\leq t \\leq 479$, and $t = 2a + 7b + 14$. Compute the remainder when $t \\cdot \\left(\\sum S\\right)$ is divided by $90554$.", "answer": 87354, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(22801),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(98339315281)))))), IsPrime(Var(\"n\"))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=103)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=37)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=479)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=14)))))))), Ref(\"result\")), modulus=Const(90554)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "LIN_FORM"], "recipe_id": "fd431a", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.745, "created_at": "2026-02-08T06:07:02.501393Z", "verification": {"verified": true, "answer": 87354, "timestamp": "2026-02-08T06:07:03.246638Z"}, "problem_hash": "f7b2cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 8192}, "timestamp": "2026-02-12T19:56:57.895Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 434}, "timestamp": "2026-02-11T23:37:33.550Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "49db42", "alias": "nt_sum_gcd_range_mod_v1_124444284_5134", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1022121$. Define $N$ to be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Let $k$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 13$, $1 \\leq j \\leq 64$, and $\\gcd(i,j) = 1$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$Let $M = 11351$, and let $r$ be the remainder when $\\text{sum}$ is divided by $M$. Compute the remainder when $44121 \\cdot r$ is divided by $79754$.", "answer": 63730, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(79754),\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1022121)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(64))))),\n \"M\": Const(11351),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.096, "created_at": "2026-02-08T06:24:36.896970Z", "verification": {"verified": true, "answer": 63730, "timestamp": "2026-02-08T06:24:36.993076Z"}, "problem_hash": "0268f3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63730, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 3679}, "timestamp": "2026-02-12T23:42:29.331Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 561}, "timestamp": "2026-02-12T00:01:00.006Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "DS2": "no", "K16": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "44c7a5", "alias": "nt_count_squarefree_v1_1520064083_3598", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq 13778$ and the sum of the digits of $n$ is even. Let $c = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Define $p = 29c$ and $n = p^3$. Let $u = \\lambda(n) + 1$, and define $\\text{upper} = 77841 + u$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\mu(n)^2 = 1$, where $\\mu$ denotes the M\\\"obius function. Find the value of $\\text{result}$.", "answer": 47317, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13778),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"c\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Mul(Const(29), Ref(\"c\")),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Const(77841), Ref(\"u\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/LIOUVILLE_ONE", "LIOUVILLE_MINUS_ONE"], "recipe_id": "95252a", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_MINUS_ONE", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 11.126, "created_at": "2026-02-08T05:46:20.618345Z", "verification": {"verified": true, "answer": 47317, "timestamp": "2026-02-08T05:46:31.744630Z"}, "problem_hash": "933855", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "LIOUVILLE_MINUS_ONE": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "d37a4d", "alias": "diophantine_sum_product_min_v1_971394319_267", "problem": "Let $S = 69$ and $P = 488$. Let $y$ be the smallest positive integer such that $1 \\leq y^3 \\leq 68$ and $y^3(S - y^3) = P$. Let $r = y^3$. Let $M$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 126$. Compute $M - r$.", "answer": 3961, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"S\": Const(69),\n \"P\": Const(488),\n \"_result_y\": MinOverSet(set=SolutionsSet(var=Var(\"y\"), condition=And(Geq(Pow(Var(\"y\"), Const(3)), Const(1)), Leq(Pow(Var(\"y\"), Const(3)), Const(68)), Eq(Mul(Pow(Var(\"y\"), Ref(\"_n\")), Sub(Ref(\"S\"), Pow(Var(\"y\"), Const(3)))), Ref(\"P\"))))),\n \"result\": Pow(Ref(\"_result_y\"), Const(3)),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(126)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.009, "created_at": "2026-02-08T12:55:54.671076Z", "verification": {"verified": true, "answer": 3961, "timestamp": "2026-02-08T12:55:54.680307Z"}, "problem_hash": "742e9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 497}, "timestamp": "2026-02-12T05:59:22.683Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7e1d22", "alias": "antilemma_v1_legendre_1520064083_4428", "problem": "Let $n = 56939$. Let $x$ be the largest integer $k$ such that $3^k$ divides $15921!$. Let $c$ be the number of positive integers $n$ with $1 \\leq n \\leq 28729$ such that $\\gcd(n, 12) = 1$. Compute the remainder when $c \\cdot x$ is divided by $n$.", "answer": 10230, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56939),\n \"x\": MaxKDivides(target=Factorial(Const(15921)), base=Const(3)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(28729)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "V1"], "recipe_id": "4176b0", "seed_template_id": "antilemma_v1_legendre", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "V1"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:15:50.495606Z", "verification": {"verified": true, "answer": 10230, "timestamp": "2026-02-08T06:15:50.496446Z"}, "problem_hash": "d77488", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "K14": "no", "K15": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "0b3215", "alias": "nt_count_digit_sum_v1_1080341949_428", "problem": "Let $d_0$ be the smallest divisor of $1147$ that is at least $2$. Determine the value of $d_0$. Then, compute the number of positive integers $n$ such that $1 \\leq n \\leq 417316$ and the sum of the decimal digits of $n$ is equal to $d_0$.", "answer": 14428, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1147),\n \"upper\": Const(417316),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 17.492, "created_at": "2026-02-08T13:29:23.966633Z", "verification": {"verified": true, "answer": 14428, "timestamp": "2026-02-08T13:29:41.458571Z"}, "problem_hash": "fc8231", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 486}, "timestamp": "2026-02-12T07:01:17.281Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5ba97e", "alias": "nt_min_crt_v1_677425708_3546", "problem": "Let $m = 4$ and $k = 9$. Define $a = \\phi(2)$ and let $b$ be the largest prime number $n$ such that $2 \\leq n \\leq 9$. Let $\\text{upper}$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 12$. Determine the smallest positive integer $n$ such that $1 \\leq n \\leq \\text{upper}$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$.", "answer": 25, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(4),\n \"k\": Const(9),\n \"a\": EulerPhi(n=Const(2)),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_2", "B1"], "recipe_id": "38ea64", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.083, "created_at": "2026-02-08T05:48:56.388884Z", "verification": {"verified": true, "answer": 25, "timestamp": "2026-02-08T05:48:56.471953Z"}, "problem_hash": "c531a7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K16": "no", "L3b": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "9428b9", "alias": "modular_sum_quadratic_residues_v1_717093673_2277", "problem": "Let $p$ be the smallest prime divisor of $35360399$. Compute $\\frac{p(p-1)}{4}$.", "answer": 25043, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35360399))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:43:16.385186Z", "verification": {"verified": true, "answer": 25043, "timestamp": "2026-02-08T16:43:16.387430Z"}, "problem_hash": "a895a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 251}, "timestamp": "2026-02-12T20:51:21.021Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "16882a", "alias": "nt_count_primes_v1_677425708_2187", "problem": "Let $n = 2$ and let $U = 77284$. Let $r$ be the number of prime numbers $p$ such that $n \\leq p \\leq U$. Let $k$ be the largest integer such that $5^k$ divides $\\binom{135}{54}$. Compute the value of\n\\[\nr + \\left( k^{r \\bmod 15} \\bmod 82491 \\right).\n\\]", "answer": 7610, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(77284),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(MaxKDivides(target=Binom(n=Const(135), k=Const(54)), base=Const(5)), Mod(value=Ref(\"result\"), modulus=Const(15))), modulus=Const(82491))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["V7"], "recipe_id": "1b1ccb", "seed_template_id": "nt_count_primes_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V7"], "num_lemmas": 1, "generation_time": 4.09, "created_at": "2026-02-08T04:50:37.300081Z", "verification": {"verified": true, "answer": 7610, "timestamp": "2026-02-08T04:50:41.389707Z"}, "problem_hash": "42696f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V7": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "K18": "no", "L3b": "no"}, "split": "test"} +{"id": "ea350a", "alias": "diophantine_fbi2_min_v1_349078426_1106", "problem": "Let $k = 60$ and let $\\text{upper} = 70$. Consider the set of all integers $d$ such that $d \\geq 2$, $d \\leq 70$, $d$ divides $60$, and $\\frac{60}{d} \\geq \\min\\left\\{ d' \\mid d' \\geq 2 \\text{ and } d' \\text{ divides } 385 \\right\\}$. Compute the minimum value of $d$ in this set.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"upper\": Const(70),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(385))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T13:24:43.253015Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T13:24:43.271987Z"}, "problem_hash": "88a568", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 327}, "timestamp": "2026-02-12T06:52:38.042Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "7ba8df", "alias": "comb_factorial_compute_v1_1439011603_2319", "problem": "Let $n_0 = 83098$. Define $d$ to be the smallest integer greater than or equal to $2$ that divides $1002001$. Let $r = d!$. Compute $Q$, the remainder when $8643 \\cdot r$ is divided by $n_0$. Find the value of $Q$.", "answer": 17368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83098),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1002001))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(8643), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:40:58.309428Z", "verification": {"verified": true, "answer": 17368, "timestamp": "2026-02-08T16:40:58.311201Z"}, "problem_hash": "ee0565", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 347}, "timestamp": "2026-02-12T20:49:25.046Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K18": "no", "L3b": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f20fc2", "alias": "nt_count_divisors_in_range_v1_1978505735_6165", "problem": "Let $a$ be the number of integers $t$ such that $27 \\leq t \\leq 228$ and $t = 21a + 6b$ for some positive integers $a \\leq 4$ and $b \\leq 24$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 101761$. Let $r$ be the number of positive divisors $d$ of $25200$ such that $a \\leq d \\leq b$. Find the remainder when $50633 \\cdot r$ is divided by $97952$. ", "answer": 12333, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97952),\n \"n\": Const(25200),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=24)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=228)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(101761)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(50633), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T19:27:28.881595Z", "verification": {"verified": true, "answer": 12333, "timestamp": "2026-02-08T19:27:28.890851Z"}, "problem_hash": "472170", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 368}, "timestamp": "2026-02-13T01:02:10.453Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K14": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4ce84a", "alias": "geo_visible_lattice_v1_1978505735_4557", "problem": "Let $n = 50$. A lattice point $(x, y)$ is called visible from the origin if $\\gcd(x, y) = 1$. Define $V$ to be the number of visible lattice points $(x, y)$ with $1 \\leq x, y \\leq n$. Compute the remainder when $44121 \\cdot V$ is divided by $97145$.", "answer": 59397, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(50),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(97145)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.602, "created_at": "2026-02-08T18:19:40.671020Z", "verification": {"verified": true, "answer": 59397, "timestamp": "2026-02-08T18:19:41.273403Z"}, "problem_hash": "ff2354", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8107, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 500}, "timestamp": "2026-02-13T00:00:17.355Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "52d5ea", "alias": "modular_inverse_v1_1080341949_28", "problem": "Let $a = 742$. Let $m$ be the smallest divisor of $1406399130889$ that is at least $2$. Let $x$ be a positive integer such that $1 \\leq x \\leq 1086$ and\n$$\n742x \\equiv 1 \\pmod{m}.\n$$\nDetermine the value of the smallest such $x$.", "answer": 230, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(742),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1406399130889))))),\n \"upper\": Const(1086),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.09, "created_at": "2026-02-08T13:08:29.603291Z", "verification": {"verified": true, "answer": 230, "timestamp": "2026-02-08T13:08:29.693015Z"}, "problem_hash": "5db2d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 547}, "timestamp": "2026-02-12T06:18:52.936Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fb2a80", "alias": "nt_count_coprime_v1_1918700295_269", "problem": "Let $n_1 = 19$. Define $s = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n$ be the number of positive integers from $1$ to $2242$ inclusive whose digit sum is even. Define $h = \\left(\\sum_{d \\mid n} \\phi(d)\\right) - n$, where $\\phi$ is Euler's totient function. Let $k = 12 + s$ and let $u = 11093 + h$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 1$.", "answer": 3698, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"n1\": Const(19),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2242)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Sum(Const(11093), Ref(\"h\")),\n \"k\": Sum(Ref(\"_n\"), Ref(\"s\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "recipe_id": "cc425f", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3B", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 1.119, "created_at": "2026-02-08T03:08:08.344600Z", "verification": {"verified": true, "answer": 3698, "timestamp": "2026-02-08T03:08:09.463730Z"}, "problem_hash": "22ee5a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "LIOUVILLE_MINUS_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "MOD_FACTORIAL": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "986253", "alias": "modular_min_linear_v1_1520064083_1424", "problem": "Let $v$ be the largest integer such that $7^v$ divides $\\binom{100}{40}$. Let $a$ be the number of integers $n$ with $1\\le n\\le 10549$ such that\n$$\\operatorname{DigitSum}(n) \\equiv 1 \\pmod v,$$\nwhere $\\operatorname{DigitSum}(n)$ denotes the sum of the decimal digits of $n$.\n\nLet $b=34637$ and $m=37152$. Among all integers $x$ with $1\\le x\\le m$ that satisfy\n$$ax \\equiv b \\pmod m,$$\nlet $r$ be the smallest such integer $x$.\n\nLet $D$ be the set of all integers $d$ with $2\\le d$ such that $d$ divides $41327$, and let $M$ be the minimum element of $D$. Define\n$$Q = B_{\\,|r| \\bmod M},$$\nwhere $B_n$ denotes the $n$th Bell number.\n\nCompute $Q$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Binom(n=Const(100), k=Const(40)), base=Const(7)),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10549)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"b\": Const(34637),\n \"m\": Const(37152),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(41327))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "V7/L3B"], "recipe_id": "9badfc", "seed_template_id": "modular_min_linear_v1", "ending_id": "bell_mod", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["L3B", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "generation_time": 1.465, "created_at": "2026-02-08T03:59:11.776438Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T03:59:13.241486Z"}, "problem_hash": "ab67e1", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V7": "ok", "L3B": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "65c907", "alias": "nt_sum_gcd_range_mod_v1_2051736721_964", "problem": "Let $N = 1000$ and $k = 540$. Define $$S = \\sum_{n=1}^{N} \\gcd(n, k).$$ Let $R$ be the remainder when $S$ is divided by $11393$. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 106$. Define $Q$ to be the set of all values $xy$ where $(x,y) \\in P$. Let $M$ be the maximum element of $Q$. Compute the remainder when $M - R$ is divided by $88003$.", "answer": 80304, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(1000),\n \"k\": Const(540),\n \"M\": Const(11393),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(106)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(88003)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.063, "created_at": "2026-02-08T15:46:26.070342Z", "verification": {"verified": true, "answer": 80304, "timestamp": "2026-02-08T15:46:26.133515Z"}, "problem_hash": "963d91", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 581}, "timestamp": "2026-02-12T09:11:12.446Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6a9af6", "alias": "nt_num_divisors_compute_v1_1520064083_8843", "problem": "Let $n$ be the smallest divisor of $634933$ that is at least $2$. Compute the number of positive divisors of $n$. Multiply this number by $44121$ and find the result.", "answer": 88242, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(634933))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mul(Const(44121), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T10:25:01.844137Z", "verification": {"verified": true, "answer": 88242, "timestamp": "2026-02-08T10:25:01.847436Z"}, "problem_hash": "c2c337", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 88242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 197}, "timestamp": "2026-02-12T03:17:21.522Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "cb7023", "alias": "comb_factorial_compute_v1_677425708_975", "problem": "Let $m = 66$ and $n = 6$. Define $S$ to be the set of all positive integers $k$ such that $1 \\leq k \\leq 66$, $6$ divides $k$, and $\\gcd(k, 35) = 1$. Let $n$ be the number of elements in $S$. Define $r = n!$. Let $T$ be the set of all integers $d \\geq 2$ such that $d$ divides $537251$. Let $m$ be the minimum element of $T$. Compute the Bell number $B_r$ modulo $m$, and let $Q$ be the remainder when this value is divided by $m$. Find the value of $Q$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66),\n \"_n\": Const(6),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "C5"], "recipe_id": "9ea0cc", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:54:44.539742Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T03:54:44.541696Z"}, "problem_hash": "84d89d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 273, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:34:20.579Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 6827}, "timestamp": "2026-02-10T14:54:14.532Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 5502}, "timestamp": "2026-02-11T20:34:53.658Z"}, {"id": 8, "model": "mathstral", "answer": 53, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 473}, "timestamp": "2026-02-13T03:48:47.222Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 480}, "timestamp": "2026-02-11T21:16:36.021Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "372932", "alias": "antilemma_v7_kummer_1918700295_776", "problem": "Let $S$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\le a \\le 16$, $1 \\le b \\le 48$, $10 \\le t \\le 256$, and $t = 7a + 3b$. Let $D$ be the set of all positive divisors $d$ of $58985$ such that $1 \\le d \\le |S|$. Let $m$ be the largest element of $D$. Let $x$ be the largest integer $k$ such that $3^k$ divides $\\binom{m}{94}$. Compute $x$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(94),\n \"x\": MaxKDivides(target=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=48)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=256)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Const(58985))))), k=Ref(\"_n\")), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR/V7", "V7"], "recipe_id": "671c77", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "lemma_set": ["LIN_FORM", "MAX_DIVISOR", "V7"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:29:59.436975Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:29:59.438767Z"}, "problem_hash": "34a8dc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V7": "ok", "MAX_DIVISOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K16": "no", "K18": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "d38a39", "alias": "sequence_fibonacci_compute_v1_865884756_685", "problem": "Let $m = 2$. Let $n'$ be the smallest divisor of $19343$ that is at least $m$. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq n'$ and $n_1$ is divisible by the largest prime number less than or equal to $28$. Let $n$ be the sum of all elements of $S$. Compute the $n$-th Fibonacci number, denoted $F_n$. Let $Q = 94864 - F_n$. Find the value of $Q$.", "answer": 66207, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(19343))))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n1\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Const(28)), IsPrime(Var(\"n2\")))))), Const(0))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(94864),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_DIVISIBLE", "MAX_PRIME_BELOW/SUM_DIVISIBLE"], "recipe_id": "bf6e3f", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:33:14.293728Z", "verification": {"verified": true, "answer": 66207, "timestamp": "2026-02-08T15:33:14.297134Z"}, "problem_hash": "17df67", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 527}, "timestamp": "2026-02-12T08:41:36.417Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K5": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dc308f", "alias": "algebra_vieta_sum_v1_1978505735_6975", "problem": "Let $n = 307$. Let $S$ be the set of all positive integers $x$ such that $$x^2 - 12x + c = 0,$$ where $c$ is the number of integers $n'$ with $1 \\leq n' \\leq 307$ and $n' \\equiv \\left\\lfloor \\frac{n'}{2} \\right\\rfloor \\pmod{11}$. Let $P$ be the product of all elements in $S$. Find the remainder when $44121 \\cdot P$ is divided by $89357$.", "answer": 29626, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(307),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(Const(value=-12), Var(name='x')), CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), right=Const(value=0)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(89357)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T19:55:59.330335Z", "verification": {"verified": true, "answer": 29626, "timestamp": "2026-02-08T19:55:59.342543Z"}, "problem_hash": "cd0f0e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 453}, "timestamp": "2026-02-13T01:14:42.081Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "73650a", "alias": "nt_sum_divisors_range_v1_1431428450_1386", "problem": "Let $N = 55000$. Define $U$ to be the number of positive integers $n \\leq N$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $S$ be the sum of the number of positive divisors of all positive integers from $1$ to $U$. Find the value of $S$.", "answer": 43376, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55000),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_ONE", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C", "LIOUVILLE_ONE"], "num_lemmas": 2, "generation_time": 1.683, "created_at": "2026-02-08T14:05:12.964817Z", "verification": {"verified": true, "answer": 43376, "timestamp": "2026-02-08T14:05:14.647319Z"}, "problem_hash": "a79ab5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 616}, "timestamp": "2026-02-12T07:44:19.928Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K15": "no", "MAX_VAL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "22c75e", "alias": "nt_count_coprime_and_v1_655260480_5780", "problem": "Let $d$ be the smallest divisor of $3823963$ that is at least $2$. Let $k = 13$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 29946$, $\\gcd(n, d) = 1$, and $\\gcd(n, k) = 1$.", "answer": 25130, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(29946),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3823963))))),\n \"k2\": Const(13),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.261, "created_at": "2026-02-08T18:39:42.151096Z", "verification": {"verified": true, "answer": 25130, "timestamp": "2026-02-08T18:39:45.412385Z"}, "problem_hash": "02660a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 529}, "timestamp": "2026-02-13T00:21:18.805Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "K5": "no", "L3b": "no", "LTE_DIFF": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dcce9a", "alias": "sequence_count_fib_divisible_v1_1742523217_5721", "problem": "Let $n_0 = 2$. Let $D$ be the set of all positive divisors $d$ of $25820586097$ such that $d \\geq 2$, and let $d_{\\min}$ be the smallest element of $D$. Define $U$ as the set of all prime numbers $n$ such that $n \\geq n_0$ and $n \\leq d_{\\min}$. Let $u$ be the number of elements in $U$. Let $F_n$ denote the $n$th Fibonacci number, with $F_1 = F_2 = 1$. Define $S$ as the set of all positive integers $n$ such that $n \\geq \\phi(2)$, $n \\leq u$, and $4$ divides $F_n$. Compute the number of elements in $S$.", "answer": 70, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(25820586097)))))), IsPrime(Var(\"n\"))))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "ONE_PHI_2"], "recipe_id": "bc4921", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.04, "created_at": "2026-02-08T11:11:56.759674Z", "verification": {"verified": true, "answer": 70, "timestamp": "2026-02-08T11:11:56.799426Z"}, "problem_hash": "733b0c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no"}, "split": "test"} +{"id": "72b4e0", "alias": "comb_sum_binomial_mod_v1_784195855_8314", "problem": "Let $a_0$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 81$. Let $T$ be the set of all integers $t$ with $7 \\leq t \\leq 257$ for which there exist positive integers $a \\leq 71$ and $b \\leq 23$ such that $t = 2a + 5b$. Define $c = |T|$. Compute the remainder when $\\sum_{k = a_0}^{189} \\binom{c}{k}$ is divided by $10613$.", "answer": 2491, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10613),\n \"sum\": Summation(var=\"k\", start=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(81)))), expr=Sum(Var(\"x\"), Var(\"y\")))), end=Const(189), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=71)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=23)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=257)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T16:00:25.572226Z", "verification": {"verified": true, "answer": 2491, "timestamp": "2026-02-08T16:00:25.591792Z"}, "problem_hash": "fabe14", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 457}, "timestamp": "2026-02-12T09:39:55.529Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "944890", "alias": "nt_sum_divisors_range_v1_1978505735_6623", "problem": "Let $A$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 12$, and $\\gcd(p, q) = 1$. Let $s$ be the number of elements in $A$. Let $B$ be the set of all prime numbers $n$ such that $s \\le n \\le 102329$. Let $t$ be the number of elements in $B$. Compute the sum of the number of positive divisors of each integer from 1 to $t$, inclusive.", "answer": 91613, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(102329)), IsPrime(Var(\"n\"))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 1.012, "created_at": "2026-02-08T19:43:08.151846Z", "verification": {"verified": true, "answer": 91613, "timestamp": "2026-02-08T19:43:09.163625Z"}, "problem_hash": "5cbd19", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 368}, "timestamp": "2026-02-13T01:10:58.186Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "49fd27", "alias": "diophantine_product_count_v1_1742523217_2193", "problem": "Let $m=3481$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=54,\\quad \\gcd(p,q)=1,\\quad p 0$, and $0$ otherwise. Define $\\beta = 1$ if $D = 0$, and $0$ otherwise. Let $r = 2\\alpha + \\beta$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $r + 2$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(10),\n \"b\": Const(-10),\n \"c\": Const(-7),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/SUM_ARITHMETIC", "MOBIUS_COPRIME"], "recipe_id": "b498df", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.021, "created_at": "2026-02-08T03:35:05.797378Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T03:35:05.818415Z"}, "problem_hash": "d15b38", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 758}, "timestamp": "2026-02-10T05:42:30.724Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 701}, "timestamp": "2026-02-10T13:47:57.597Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 326}, "timestamp": "2026-02-12T18:25:27.878Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 215, "completion_tokens": 370}, "timestamp": "2026-02-11T19:29:26.619Z"}], "solution_status": 1, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "SUM_DIVISIBLE": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "b602a1", "alias": "modular_min_linear_v1_1918700295_3218", "problem": "Let $a$ be the largest positive integer $d$ such that $d \\leq 670$ and $d$ divides $457610$. Let $b$ be the number of positive integers $n$ such that $1 \\leq n \\leq 15109$ and $\\gcd(n, 15) = 1$. Let $m$ be the sum of all real solutions $x$ to the equation $x^2 - 9409x + 764814 = 0$. Let $r$ be the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $a \\cdot x \\equiv b \\pmod{m}$. Compute the remainder when $44791 \\cdot r$ is divided by $91658$.", "answer": 16450, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(15),\n \"_n\": Const(15109),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(670)), Divides(divisor=Var(\"d\"), dividend=Const(457610))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"m\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_d\")), Mul(Const(-9409), Var(\"x\")), Const(764814)), Const(0)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(44791),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91658)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR", "VIETA_SUM", "C4"], "recipe_id": "c36b57", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_DIVISOR", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.374, "created_at": "2026-02-08T08:27:29.581137Z", "verification": {"verified": true, "answer": 16450, "timestamp": "2026-02-08T08:27:29.954647Z"}, "problem_hash": "92521c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16450, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 3647}, "timestamp": "2026-02-13T19:07:46.228Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 623}, "timestamp": "2026-02-12T01:56:46.145Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "MAX_DIVISOR": "ok", "VIETA_SUM": "ok", "DS2": "no", "K14": "no", "K15": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a1a4fa", "alias": "diophantine_product_count_v1_1918700295_2619", "problem": "Let $k$ be the largest positive divisor of $719880$ that is at most $840$. Let $u$ be the smallest positive integer $n$ such that $2^{131}$ divides $n!$. Let $S$ be the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Compute the number of elements in $S$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(131),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(840)), Divides(divisor=Var(\"d\"), dividend=Const(719880))))),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Ref(\"_n\")), domain='Z_{>0}')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR", "V5"], "recipe_id": "7f19d2", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "V5"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T08:08:09.571165Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T08:08:09.585725Z"}, "problem_hash": "de050c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "V5": "ok", "COUNT_PRIMES": "no", "K14": "no", "K18": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "354e41", "alias": "antilemma_v8_lucas_124444284_904", "problem": "Let $n = 23479$. Let $d$ be the number of positive integers $p$ such that there exist positive integers $q$ with $p < q$, $pq = 12$, and $\\gcd(p,q) = 1$. Let $\\phi(k)$ denote Euler's totient function. Define $L = \\phi(47) - 46$ and $M = \\phi(1)$. Let $x$ be the number of integers $j$ such that $L \\leq j \\leq n$ and $\\binom{23479}{j} \\equiv M \\pmod{d}$. Compute $x$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23479),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Sub(EulerPhi(n=Const(47)), Const(46))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(23479), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), EulerPhi(n=Const(1)))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8", "ZERO_PHI_PRIME", "ONE_PHI_1", "V8"], "recipe_id": "d97943", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_1", "V8", "ZERO_PHI_PRIME"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:34:34.822757Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T03:34:34.825615Z"}, "problem_hash": "3fdd1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 248, "completion_tokens": 2512}, "timestamp": "2026-02-09T23:42:29.347Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 1647}, "timestamp": "2026-02-09T07:18:56.482Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "V8": "ok", "ZERO_PHI_PRIME": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "aafdba", "alias": "nt_count_divisible_and_v1_1978505735_3997", "problem": "Let $n = 36$. Define $d_1$ to be the number of integers $t$ such that there exist integers $a$ and $b$ satisfying $1 \\le a \\le 2$, $1 \\le b \\le 5$, $5 \\le t \\le 16$, and $t = 3a + 2b$. Define $d_2$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Compute the number of positive integers $n$ less than or equal to 169080 that are divisible by both $d_1$ and $d_2$.", "answer": 2818, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36),\n \"upper\": Const(169080),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=16)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"d2\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 5.794, "created_at": "2026-02-08T17:58:33.406653Z", "verification": {"verified": true, "answer": 2818, "timestamp": "2026-02-08T17:58:39.200676Z"}, "problem_hash": "762b23", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 636}, "timestamp": "2026-02-12T23:27:05.698Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "904e1c", "alias": "algebra_quadratic_discriminant_v1_1742523217_169", "problem": "Let $m = 8224$ and let $n$ be the number of nonnegative integers $j$ such that $0 \\le j \\le 8224$ and $\\binom{m}{j}$ is odd. Let $a = \\sum_{k=1}^{4} k$, $b = -3$, and $c = -4$. Define $D = b^2 - n \\cdot a \\cdot c$. Compute $2 \\cdot [D > 0] + [D = 0]$, where $[P]$ denotes the Iverson bracket, equal to 1 if $P$ is true and 0 otherwise. Find the value of this expression.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8224),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(8224)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"a\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"b\": Const(-3),\n \"c\": Const(-4),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/SUM_ARITHMETIC"], "recipe_id": "a28292", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "V8"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:54:38.610516Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T02:54:38.613424Z"}, "problem_hash": "4f00ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 847}, "timestamp": "2026-02-09T14:25:57.917Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 720}, "timestamp": "2026-02-09T00:03:59.514Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 7648}, "timestamp": "2026-02-10T14:36:48.317Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 369}, "timestamp": "2026-02-10T15:08:05.033Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 1443}, "timestamp": "2026-02-10T14:59:05.494Z"}, {"id": 8, "model": "mathstral", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 447}, "timestamp": "2026-02-11T06:21:08.910Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 495}, "timestamp": "2026-02-11T19:22:50.312Z"}], "solution_status": 2, "lemma_applicability": {"V8": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "test"} +{"id": "b96f2c", "alias": "diophantine_fbi2_min_v1_1470522791_1761", "problem": "Let $k = 26$ and let $\\ell = 36$. Define $S$ to be the set of all integers $d$ such that $d \\geq 7$, $d \\leq \\ell$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$. Let $r$ be the minimum element of $S$. Let $T$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 72$, and $\\gcd(p, q) = 1$. Let $t$ be the number of elements in $T$. Define $U$ to be the set of all prime numbers $n$ such that $n \\geq t$ and $n \\leq 313$. Let $m$ be the maximum element of $U$. Compute the value of $r \\bmod 317 + 3001 \\cdot (r \\bmod m)$.", "answer": 39026, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(317),\n \"k\": Const(26),\n \"upper\": Const(36),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\"))))),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(Const(3001), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Const(313)), IsPrime(Var(\"n\")))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "9e60b9", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T13:57:20.649809Z", "verification": {"verified": true, "answer": 39026, "timestamp": "2026-02-08T13:57:20.656423Z"}, "problem_hash": "e41dca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 39026, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 595}, "timestamp": "2026-02-12T07:36:28.893Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "b07a7b", "alias": "antilemma_sum_equals_v1_151522320_1250", "problem": "Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 198$. Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 97$ and $1 \\leq j \\leq 98$ such that $i + j = n$. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 37$ and $1 \\leq j \\leq 37$ such that $i + j = 39$. Find the remainder when $c - x$ is divided by $67250$.", "answer": 67189, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(39),\n \"_m\": Const(198),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(98))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_d\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(37))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(67250)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "b4aae4", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T03:51:37.966657Z", "verification": {"verified": true, "answer": 67189, "timestamp": "2026-02-08T03:51:37.977432Z"}, "problem_hash": "65f5f1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 67189, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1045}, "timestamp": "2026-02-10T15:54:39.527Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 67189, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 971}, "timestamp": "2026-02-10T14:32:09.574Z"}, {"id": 8, "model": "mathstral", "answer": 606, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 519}, "timestamp": "2026-02-13T01:08:25.194Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 644}, "timestamp": "2026-02-11T20:12:38.592Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "cb6838", "alias": "comb_count_partitions_v1_898971024_3108", "problem": "Let $n = 40$ and let $p(n)$ denote the number of integer partitions of $n$. Let $d$ be the smallest integer greater than or equal to $2$ that divides $1763$. Compute the remainder when $d - p(n)$ is divided by $54269$.", "answer": 16972, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(40),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1763))))), Ref(\"result\")), modulus=Const(54269)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "comb_count_partitions_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:09:13.351165Z", "verification": {"verified": true, "answer": 16972, "timestamp": "2026-02-08T17:09:13.353395Z"}, "problem_hash": "35b6b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 839, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 268}, "timestamp": "2026-02-12T22:02:47.103Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0af0bf", "alias": "modular_product_range_v1_1440796553_586", "problem": "Let $c = 4$. Let $A$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 7218$. Let $B$ be the largest prime number $n$ such that $2 \\leq n \\leq A$. Let $C$ be the number of prime numbers $n$ such that $2 \\leq n \\leq B$. Define $P$ to be the product $\\prod_{i=c}^{C} i$. Compute the remainder when $P$ is divided by $11489$.", "answer": 6283, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(11489),\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_c\"), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(7218)))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "ac93ca", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T11:52:41.842323Z", "verification": {"verified": true, "answer": 6283, "timestamp": "2026-02-08T11:52:41.851089Z"}, "problem_hash": "6538e6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 3922}, "timestamp": "2026-02-14T20:26:45.510Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 574}, "timestamp": "2026-02-12T04:45:23.178Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_PRIMES": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K17": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "484f20", "alias": "sequence_fibonacci_compute_v1_458359167_3796", "problem": "Let $d$ be the smallest divisor of $667$ such that $d \\geq 2$. Define $n = d$. Let $\\text{result} = F_n$, the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute the remainder when $21613 \\cdot \\text{result}$ is divided by $51970$. Determine the value of this remainder.", "answer": 37251, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(51970),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(667))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(21613), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:22:35.475655Z", "verification": {"verified": true, "answer": 37251, "timestamp": "2026-02-08T11:22:35.477188Z"}, "problem_hash": "d47d18", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37251, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 163, "completion_tokens": 2672}, "timestamp": "2026-02-14T12:43:00.338Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 312}, "timestamp": "2026-02-12T03:55:09.917Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "5244e6", "alias": "algebra_poly_eval_v1_458359167_4773", "problem": "Let $z = 8$. Define\n\n$$\nA = 5z^3 - 5z^2 - 9z + d_{\\text{min}},\n$$\n\nwhere $d_{\\text{min}}$ is the smallest integer $d \\geq 2$ that divides $75$. Compute $76176 - A$.", "answer": 74005, "graph": "graphs = [\n Graph(\n let={\n \"z\": Const(8),\n \"result\": Sum(Mul(Const(5), Pow(Ref(\"z\"), Const(3))), Mul(Const(-5), Pow(Ref(\"z\"), Const(2))), Mul(Const(-9), Ref(\"z\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(75)))))),\n \"_c\": Const(76176),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:02:26.407584Z", "verification": {"verified": true, "answer": 74005, "timestamp": "2026-02-08T12:02:26.410523Z"}, "problem_hash": "4e7264", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 74005, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 259}, "timestamp": "2026-02-12T04:55:51.536Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "e45b57", "alias": "diophantine_fbi2_count_v1_865884756_541", "problem": "Let $k$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 960$. Let $m = 170$ and $n = 3$. Determine the number of integers $d$ such that $2 \\leq d \\leq 170$, $d$ divides $k$, $\\frac{k}{d} \\geq 3$, and $\\frac{k}{d} \\leq \\sum_{k1=1}^{18} k1$. Compute this number.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(170),\n \"_n\": Const(3),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(960))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Summation(var=\"k1\", start=Const(1), end=Const(18), expr=Var(\"k1\")))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["SUM_ARITHMETIC", "COMB1"], "recipe_id": "095a4b", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "K14", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.325, "created_at": "2026-02-08T15:29:37.388699Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T15:29:37.713991Z"}, "problem_hash": "b17804", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 828}, "timestamp": "2026-02-12T08:35:40.138Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "SUM_ARITHMETIC": "ok", "K13": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "abdd18", "alias": "algebra_poly_eval_v1_1978505735_3197", "problem": "Let $n$ be the smallest divisor of $7429$ that is at least $2$. Compute the remainder when $$\\sum_{n_1=1}^{|n^4 + 3n^3 - 4n^2 + 7n + 1|} \\tau(n_1)$$ is divided by $64191$.", "answer": 40370, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7429))))),\n \"result\": Sum(Pow(Ref(\"n\"), Const(4)), Mul(Ref(\"_n\"), Pow(Ref(\"n\"), Const(3))), Mul(Const(-4), Pow(Ref(\"n\"), Const(2))), Mul(Const(7), Ref(\"n\")), Const(1)),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Const(64191)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T17:27:21.395444Z", "verification": {"verified": true, "answer": 40370, "timestamp": "2026-02-08T17:27:21.408684Z"}, "problem_hash": "b2eb01", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 404}, "timestamp": "2026-02-12T22:35:09.664Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "K5": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3b6d78", "alias": "nt_count_divisible_and_v1_865884756_3698", "problem": "Let $d_1 = 10$. Let $d_2$ be the number of integers $t$ such that $21 \\leq t \\leq 81$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 3$, and $t = 9a + 12b$. Compute the remainder when \n$$\n353702 \\cdot \\left| N \\right| \\bmod 97 + 329703 \\cdot \\left( |N|^2 \\bmod 101 \\right) + 215534 \\cdot \\left( |N| \\bmod 4 \\right)\n$$\nis divided by $89182$, where $N$ is the set of positive integers $n$ such that $1 \\leq n \\leq 31590$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Here, $97$ is the largest prime at most $98$, and $103$ is the largest divisor of $11639$ at most $103$.", "answer": 50539, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": Const(31590),\n \"d1\": Const(10),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=81)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(4),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Const(98)), IsPrime(Var(\"n1\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(103)), Divides(divisor=Var(\"d\"), dividend=Const(11639)))))))), modulus=Const(1009091)), modulus=Const(89182)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MAX_DIVISOR", "LIN_FORM"], "recipe_id": "b97e03", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 1.077, "created_at": "2026-02-08T17:32:32.987171Z", "verification": {"verified": true, "answer": 50539, "timestamp": "2026-02-08T17:32:34.063735Z"}, "problem_hash": "ab4e5c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 370, "completion_tokens": 675}, "timestamp": "2026-02-12T22:43:39.282Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "no", "K16": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "378491", "alias": "modular_count_residue_v1_1918700295_115", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 1470$, $\\gcd(p, q) = 1$, and $p < q$. Let $r = 0$. Define $S$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq 60031$ and $n \\equiv r \\pmod{m}$. Let $B$ be the number of elements in $S$. Compute $B + 2^B \\bmod 67129$, where the exponentiation is reduced modulo $\\sum_{k=1}^{5} k$ before being used as an exponent, and the final result is taken modulo $67129$.", "answer": 7511, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67129),\n \"upper\": Const(60031),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=1470)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"r\": Const(0),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Const(5), expr=Var(\"k\")))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "COPRIME_PAIRS", "ONE_PHI_1"], "recipe_id": "2c147a", "seed_template_id": "modular_count_residue_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 2.715, "created_at": "2026-02-08T03:00:30.553866Z", "verification": {"verified": true, "answer": 7511, "timestamp": "2026-02-08T03:00:33.268474Z"}, "problem_hash": "6a929f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7501, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 1313}, "timestamp": "2026-02-08T22:52:08.917Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "test"} +{"id": "97814a", "alias": "modular_mod_compute_v1_1918700295_413", "problem": "Find the remainder when $47961$ is divided by $67600$.", "answer": 47961, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(47961),\n \"m\": Const(67600),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/B3/B1"], "recipe_id": "d0ac7b", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B1", "B3", "C3"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T03:13:05.888288Z", "verification": {"verified": true, "answer": 47961, "timestamp": "2026-02-08T03:13:05.902809Z"}, "problem_hash": "d41c41", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 47961, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 567}, "timestamp": "2026-02-10T13:25:17.434Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 47961, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 252}, "timestamp": "2026-02-10T13:00:59.278Z"}, {"id": 8, "model": "mathstral", "answer": 961, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 75, "completion_tokens": 579}, "timestamp": "2026-02-11T17:01:23.750Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 47961, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 172}, "timestamp": "2026-02-11T20:29:47.745Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "B1": "ok_later", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "5b0b21", "alias": "comb_sum_binomial_row_v1_1520064083_9363", "problem": "Let $n$ be the smallest positive integer greater than $1$ that divides $634933$. Compute $2^n$. Let this value be $T$. Find the remainder when $47391 \\cdot T$ is divided by $92689$.", "answer": 45540, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(634933))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"_c\": Const(47391),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92689)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T10:42:23.580446Z", "verification": {"verified": true, "answer": 45540, "timestamp": "2026-02-08T10:42:23.582671Z"}, "problem_hash": "2a5617", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 45540, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 97, "completion_tokens": 1690}, "timestamp": "2026-02-14T08:08:43.446Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 526}, "timestamp": "2026-02-12T03:23:24.939Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a21790", "alias": "nt_count_coprime_v1_458359167_13", "problem": "Let $k$ be the smallest positive divisor of $47027$ that is at least $2$. Let $m$ be the number of positive integers $n$ such that $n \\leq 13689$ and $\\gcd(n, k) = 1$. Compute $m$.", "answer": 13248, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(13689),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(47027))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.598, "created_at": "2026-02-08T02:56:59.085206Z", "verification": {"verified": true, "answer": 13248, "timestamp": "2026-02-08T02:57:04.683214Z"}, "problem_hash": "bd847a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13320, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 895}, "timestamp": "2026-02-08T20:04:01.384Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13248, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 732}, "timestamp": "2026-02-08T21:18:48.619Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13248, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 106, "completion_tokens": 1050}, "timestamp": "2026-02-10T21:09:10.425Z"}, {"id": 8, "model": "mathstral", "answer": 47026, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 493}, "timestamp": "2026-02-11T08:36:04.840Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 13689, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 314}, "timestamp": "2026-02-11T19:58:42.709Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.64, "mid": 0.78, "hi": 3.59}, "split": "test"} +{"id": "dd2ae7", "alias": "nt_count_coprime_and_v1_865884756_6827", "problem": "Let $n = 13013$ and let $u = 30901$. Let $k_1$ be the smallest divisor of $n$ that is at least $2$, and let $k_2 = 11$. Compute the number of positive integers $n'$ such that $1 \\leq n' \\leq u$, $\\gcd(n', k_1) = 1$, and $\\gcd(n', k_2) = 1$.", "answer": 24079, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13013),\n \"upper\": Const(30901),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.189, "created_at": "2026-02-08T19:24:46.748951Z", "verification": {"verified": true, "answer": 24079, "timestamp": "2026-02-08T19:24:49.938350Z"}, "problem_hash": "74b5ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 309000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 602}, "timestamp": "2026-02-13T00:59:52.132Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K14": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "222e8f", "alias": "geo_count_lattice_rect_v1_865884756_6816", "problem": "Let $a = 444$ and $b = 180$. Define $R$ to be the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the remainder when $50047 \\cdot R$ is divided by $56625$.", "answer": 15115, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(444),\n \"b\": Const(180),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(50047), Ref(\"result\")), modulus=Const(56625)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T19:24:35.677362Z", "verification": {"verified": true, "answer": 15115, "timestamp": "2026-02-08T19:24:35.678406Z"}, "problem_hash": "d211bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 466}, "timestamp": "2026-02-13T00:59:43.449Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "807cef", "alias": "comb_sum_binomial_row_v1_784195855_8838", "problem": "Let $m = 10249$. Let $T$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq m$ and\n$$\n\\binom{10249}{j} \\equiv 1 \\pmod{|T|}.\n$$\nCompute $2^n$.", "answer": 65536, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10249),\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(10249), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:22:35.560103Z", "verification": {"verified": true, "answer": 65536, "timestamp": "2026-02-08T16:22:35.562484Z"}, "problem_hash": "f25d8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 454}, "timestamp": "2026-02-12T10:32:29.977Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MOD_FACTORIAL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "98b8ef", "alias": "nt_min_coprime_above_v1_784195855_9110", "problem": "Let $S$ be the set of all integers $n$ such that $12321 < n \\leq 12657$ and $\\gcd(n, 326) = 1$. Let $r$ be the smallest element of $S$. Let $T$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 188$. Let $P$ be the maximum value of $xy$ over all such pairs. Compute the remainder when $P - r$ is divided by $74593$.", "answer": 71106, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(12321),\n \"upper\": Const(12657),\n \"modulus\": Const(326),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(188)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(74593)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.031, "created_at": "2026-02-08T16:32:47.051659Z", "verification": {"verified": true, "answer": 71106, "timestamp": "2026-02-08T16:32:47.082477Z"}, "problem_hash": "29449d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 442}, "timestamp": "2026-02-12T11:01:43.614Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dea1c3", "alias": "modular_inverse_v1_1978505735_6353", "problem": "Let $n = 2$ and $a = 292$. Let $m$ be the smallest divisor $d$ of $1408977314447$ such that $d \\geq n$. Find the smallest positive integer $x$ such that $x \\leq 1086$ and\n$$\n292x \\equiv 1 \\pmod{m}.\n$$", "answer": 510, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(292),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1408977314447))))),\n \"upper\": Const(1086),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.047, "created_at": "2026-02-08T19:33:35.378214Z", "verification": {"verified": true, "answer": 510, "timestamp": "2026-02-08T19:33:35.425301Z"}, "problem_hash": "7f080b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 285}, "timestamp": "2026-02-13T01:03:49.036Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9b8478", "alias": "antilemma_count_primes_v1_1125832087_1412", "problem": "Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the smallest divisor of $94454713298411$ that is at least $c$. Compute the number of prime numbers $n$ in the interval $[m, n]$. (Note: the same symbol $n$ is used for the upper bound of the interval and as the variable for counting primes; interpret accordingly.)", "answer": 443, "graph": "graphs = [\n Graph(\n let={\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(94454713298411))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS/MIN_PRIME_FACTOR/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "dbf394", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T03:43:07.440604Z", "verification": {"verified": true, "answer": 443, "timestamp": "2026-02-08T03:43:07.455182Z"}, "problem_hash": "7e5726", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "cc78eb", "alias": "geo_visible_lattice_v1_1820931509_664", "problem": "Let $n = 99$. A visible lattice point $(x,y)$ is a point in the plane with positive integers $x$ and $y$ such that $\\gcd(x,y) = 1$. Let $V$ be the number of visible lattice points $(x,y)$ with $1 \\leq x, y \\leq n$. Compute the value of $43264 - V$.", "answer": 37257, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(99),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(43264),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.243, "created_at": "2026-02-08T11:49:20.706998Z", "verification": {"verified": true, "answer": 37257, "timestamp": "2026-02-08T11:49:20.949802Z"}, "problem_hash": "375498", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37257, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 4094}, "timestamp": "2026-02-14T19:28:17.897Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 349}, "timestamp": "2026-02-12T04:39:00.120Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "57f1f0", "alias": "comb_catalan_compute_v1_1520064083_827", "problem": "Let $n_1 = 5$ and define\n$$\nf = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $n_2$ be the value of\n$$\n\\sum_{k=0}^{9} (-1)^k \\binom{9}{k}.\n$$\nDefine\n$$\nw = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nLet $n = 11w + f$. Define $C_n$ to be the $n$th Catalan number. Compute the remainder when $48 \\cdot 66 \\cdot C_n$ is divided by $72311$.", "answer": 33223, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72311),\n \"n2\": Summation(var=\"k\", start=Const(0), end=Const(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\")))),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(5),\n \"f\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Mul(Const(11), Ref(\"w\")), Ref(\"f\")),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(48)), right=IntegerRange(start=Const(1), end=Const(66)))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "BINOMIAL_ALTERNATING"], "recipe_id": "f28f83", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:37:29.412574Z", "verification": {"verified": true, "answer": 33223, "timestamp": "2026-02-08T03:37:29.414554Z"}, "problem_hash": "99a7db", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33223, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 2336}, "timestamp": "2026-02-10T15:07:07.141Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 33223, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 2693}, "timestamp": "2026-02-10T13:55:17.248Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 544}, "timestamp": "2026-02-12T19:22:53.391Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 546}, "timestamp": "2026-02-11T20:01:08.464Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "8351fc", "alias": "modular_sum_quadratic_residues_v1_579913215_199", "problem": "Let $p$ be the smallest integer greater than or equal to 2 that divides 13309193. Define $k = \\frac{p(p-1)}{4}$. Compute the remainder when $\\sum_{n=1}^{|k|} \\phi(n)$ is divided by 66613, where $\\phi(n)$ denotes Euler's totient function.", "answer": 29035, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(13309193))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(66613)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.707, "created_at": "2026-02-08T12:58:10.784783Z", "verification": {"verified": true, "answer": 29035, "timestamp": "2026-02-08T12:58:11.491562Z"}, "problem_hash": "a7da78", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 694}, "timestamp": "2026-02-12T05:57:45.711Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K18": "no", "K5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1eba06", "alias": "modular_sum_quadratic_residues_v1_124444284_6493", "problem": "Let $p$ be the smallest divisor of $4519535029697539$ that is at least $2$. Define $Q$ as the remainder when $\\frac{p(p-1)}{4} \\times 44121$ is divided by $56053$. Compute $Q$.", "answer": 51261, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4519535029697539))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(56053)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T08:29:10.458396Z", "verification": {"verified": true, "answer": 51261, "timestamp": "2026-02-08T08:29:10.459949Z"}, "problem_hash": "8489e4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 105, "completion_tokens": 8192}, "timestamp": "2026-02-13T19:07:35.628Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 270}, "timestamp": "2026-02-12T01:56:14.755Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_SUM": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "a3bf74", "alias": "nt_sum_totient_over_divisors_v1_458359167_26", "problem": "Let $p = 7$. Define $n_2 = p^3$. Let $t = \\lambda(n_2) + 1$, where $\\lambda(n)$ denotes the Liouville function. Let $n_1 = 53$ and define $w = \\lambda(n_1) + 1 + t$. Let $n = 41518 + w$. Let $\\varphi(d)$ denote Euler's totient function. Define\n$$\n\\text{result} = \\sum_{d \\mid n} \\varphi(d).\n$$\nLet $Q$ be the remainder when $75299 \\cdot \\text{result}$ is divided by $57236$. Compute $Q$.", "answer": 33562, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(7),\n \"n2\": Pow(Ref(\"p\"), Const(3)),\n \"t\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Const(53),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1), Ref(\"t\")),\n \"n\": Sum(Const(41518), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(75299),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(57236)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE"], "recipe_id": "fa9221", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T02:57:17.468162Z", "verification": {"verified": true, "answer": 33562, "timestamp": "2026-02-08T02:57:17.481736Z"}, "problem_hash": "caa8f0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "split": "test"} +{"id": "ce96a0", "alias": "sequence_lucas_compute_v1_458359167_3288", "problem": "Let $n$ be the smallest divisor of $437$ that is greater than or equal to $2$. Compute the $n$-th Lucas number.", "answer": 9349, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(437),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:15:33.796169Z", "verification": {"verified": true, "answer": 9349, "timestamp": "2026-02-08T08:15:33.797135Z"}, "problem_hash": "b98b43", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9349, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 78, "completion_tokens": 726}, "timestamp": "2026-02-13T16:25:13.074Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 395}, "timestamp": "2026-02-12T01:41:12.693Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3b": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "ade417", "alias": "nt_count_divisible_and_v1_153355830_160", "problem": "Let $d_1 = \\sum_{k=1}^{3} k$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $P$ to be the set of all values $xy$ where $(x,y) \\in S$. Let $d_2 = \\sum_{d \\mid \\max(P)} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 49644$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Compute the Fibonacci entry point of $|N| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|N| + 2$. Find the value of this $k$.", "answer": 120, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(49644),\n \"d1\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"d2\": SumOverDivisors(n=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x'), Var(name='y')))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "B1/K3"], "recipe_id": "8c124f", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "K3", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 1.675, "created_at": "2026-02-08T02:55:12.353862Z", "verification": {"verified": true, "answer": 120, "timestamp": "2026-02-08T02:55:14.028414Z"}, "problem_hash": "3be997", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 120, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 314, "completion_tokens": 4559}, "timestamp": "2026-02-10T11:51:07.276Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 120, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 314, "completion_tokens": 2783}, "timestamp": "2026-02-10T12:25:41.430Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:37:33.302Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 360, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 609}, "timestamp": "2026-02-10T15:43:37.728Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 120, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 3084}, "timestamp": "2026-02-10T17:52:59.627Z"}, {"id": 8, "model": "mathstral", "answer": 34, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 631}, "timestamp": "2026-02-11T06:58:07.060Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 443}, "timestamp": "2026-02-11T19:53:56.386Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "K3": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "f5f341", "alias": "comb_count_derangements_v1_898971024_2638", "problem": "Let $n$ be the smallest divisor of $637637$ that is at least $2$. Define $r = !n$, the subfactorial of $n$. Compute the remainder when $96543 \\cdot r$ is divided by $86017$.", "answer": 75362, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(637637))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(96543), Ref(\"result\")), modulus=Const(86017)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:53:26.159945Z", "verification": {"verified": true, "answer": 75362, "timestamp": "2026-02-08T16:53:26.161969Z"}, "problem_hash": "22cdef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 367}, "timestamp": "2026-02-12T21:17:18.405Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cd2983", "alias": "nt_count_digit_sum_v1_1918700295_4486", "problem": "Let $d$ be the smallest divisor of 18588623 that is at least 2. Let $\\text{result}$ be the number of positive integers $n \\leq 99999$ such that the sum of the decimal digits of $n$ equals $d$. Determine the value of $\\text{result}$.", "answer": 6000, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(99999),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(18588623))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.678, "created_at": "2026-02-08T09:24:31.771512Z", "verification": {"verified": true, "answer": 6000, "timestamp": "2026-02-08T09:24:35.449222Z"}, "problem_hash": "56dff4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2710, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 112, "completion_tokens": 1804}, "timestamp": "2026-02-14T04:05:07.202Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 316}, "timestamp": "2026-02-12T02:55:33.081Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K5": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "66180f", "alias": "nt_num_divisors_compute_v1_1125832087_1391", "problem": "Let $n = 45360$. Determine the value of the number of positive divisors of $n$.", "answer": 100, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(45360),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SUM", "B3/DIVISOR_PARITY"], "recipe_id": "ea4ef5", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.022, "created_at": "2026-02-08T03:42:42.141939Z", "verification": {"verified": true, "answer": 100, "timestamp": "2026-02-08T03:42:42.163542Z"}, "problem_hash": "32e9b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 641}, "timestamp": "2026-02-10T15:26:53.897Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 692}, "timestamp": "2026-02-10T14:12:08.139Z"}, {"id": 8, "model": "mathstral", "answer": 100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 80, "completion_tokens": 544}, "timestamp": "2026-02-12T22:32:30.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 120, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 127, "completion_tokens": 262}, "timestamp": "2026-02-11T20:06:37.025Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SUM": "ok_later", "DS2": "no", "K14": "no", "K15": "no", "K18": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "4392e3", "alias": "sequence_count_fib_divisible_v1_655260480_5868", "problem": "Let $n = 2$. Let $d_1$ be the smallest divisor of $127757473$ that is at least $n$. Determine the number of positive integers $n'$ such that $1 \\leq n' \\leq d_1$ and the $n'$-th Fibonacci number is divisible by $2$.", "answer": 166, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(127757473))))),\n \"d\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.067, "created_at": "2026-02-08T18:41:35.870956Z", "verification": {"verified": true, "answer": 166, "timestamp": "2026-02-08T18:41:35.937670Z"}, "problem_hash": "8cdc3a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 338}, "timestamp": "2026-02-13T00:26:38.906Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dbeaab", "alias": "nt_lcm_compute_v1_151522320_2205", "problem": "Let $a$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 883600$. Let $b$ be the largest prime number less than or equal to $1380$. Let $m$ be the smallest prime divisor of $112425221$, and let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq 104$. Compute the remainder when\n$$\n353702 \\cdot |\\text{lcm}(a,b)| \\bmod 97 + 329703 \\cdot \\left((|\\text{lcm}(a,b)|^2 + 1) \\bmod m\\right) + 215534 \\cdot \\left((|\\text{lcm}(a,b)| + 43) \\bmod p\\right)\n$$\nis divided by $54488$.", "answer": 18741, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(43),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(883600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1380)), IsPrime(Var(\"n\"))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(112425221))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(104)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(54488)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW", "B3"], "recipe_id": "66fd52", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T04:41:21.671340Z", "verification": {"verified": true, "answer": 18741, "timestamp": "2026-02-08T04:41:21.687212Z"}, "problem_hash": "5bd6c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3348, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:40:58.571Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 47836, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 4250}, "timestamp": "2026-02-11T21:41:18.841Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 145, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 3130}, "timestamp": "2026-02-12T02:14:53.751Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 804}, "timestamp": "2026-02-13T21:43:39.146Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 431}, "timestamp": "2026-02-11T21:39:04.754Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K5": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "5ba229", "alias": "nt_min_coprime_above_v1_2051736721_5310", "problem": "Let $S$ be the set of all integers $d \\geq 2$ that divide $12218753$. Let $m$ be the smallest element of $S$. Determine the value of the smallest integer $n$ such that $28224 < n \\leq 28463$ and $\\gcd(n, m) = 1$.", "answer": 28225, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(28224),\n \"upper\": Const(28463),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(12218753))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.022, "created_at": "2026-02-08T18:29:21.510501Z", "verification": {"verified": true, "answer": 28225, "timestamp": "2026-02-08T18:29:21.532667Z"}, "problem_hash": "267573", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 272}, "timestamp": "2026-02-13T00:11:22.628Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K15": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "305359", "alias": "nt_num_divisors_compute_v1_655260480_2490", "problem": "Let $d$ be the smallest divisor of $38152661$ that is at least $2$. Determine the number of positive divisors of this value of $d$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(38152661))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T16:46:59.724703Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T16:46:59.728718Z"}, "problem_hash": "1550dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 236}, "timestamp": "2026-02-12T20:58:27.344Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e9cc64", "alias": "comb_sum_binomial_row_v1_677425708_364", "problem": "Let $c=5$. Compute\n$$M=\\max\\{e\\in\\mathbb{Z}_{\\ge0}:2^e\\text{ divides }(c^4-3^4)\\}.$$ \nLet\n$$g=\\gcd(3,M).$$\nFor each positive divisor $d$ of $g$, let $\\mu(d)$ be the value of the Möbius function at $d$, and define\n$$L=\\sum_{d\\mid g} \\mu(d).$$\nLet $m=2$. Let $P$ be the largest prime number $k$ such that $m\\le k\\le 5$.\n\nDefine\n$$n=\\sum_{k=L}^{P} \\varphi(k)\\left\\lfloor\\frac{5}{k}\\right\\rfloor,$$\nwhere $\\varphi$ is Euler's totient function. Finally, let\n$$Q=2^n.$$\nCompute $Q$.", "answer": 32768, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=3), b=MaxKDivides(target=Sub(left=Pow(base=Ref(name='_c'), exp=Const(value=4)), right=Pow(base=Const(value=3), exp=Const(value=4))), base=Const(value=2))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MOBIUS_COPRIME/K2", "MAX_PRIME_BELOW/K2"], "recipe_id": "8bbc3e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LTE_DIFF_P2", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:14:20.455715Z", "verification": {"verified": true, "answer": 32768, "timestamp": "2026-02-08T03:14:20.462498Z"}, "problem_hash": "91a198", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 907}, "timestamp": "2026-02-08T20:28:57.638Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 32768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 884}, "timestamp": "2026-02-10T02:44:29.893Z"}], "solution_status": 2, "lemma_applicability": {"LTE_DIFF_P2": "ok", "MAX_PRIME_BELOW": "ok", "K2": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K5": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "18beae", "alias": "nt_count_with_divisor_count_v1_1918700295_1127", "problem": "Let $A$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $B$ be the number of positive integers $n \\leq 70756$ that have exactly two positive divisors. Let $C$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 15842$. Compute the remainder when $B^A + 7B + C$ is divided by $71958$.", "answer": 7705, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15842),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(70756),\n \"div_count\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(7), Ref(\"result\")), Ref(\"_c\")), modulus=Const(71958)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COMB1"], "recipe_id": "a141ad", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 4.703, "created_at": "2026-02-08T05:36:09.410865Z", "verification": {"verified": true, "answer": 7705, "timestamp": "2026-02-08T05:36:14.113699Z"}, "problem_hash": "bb1445", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7705, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 2602}, "timestamp": "2026-02-12T11:02:35.458Z"}, {"id": 8, "model": "mathstral", "answer": 14462, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 455}, "timestamp": "2026-02-14T20:08:04.244Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 490}, "timestamp": "2026-02-11T22:50:12.484Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COMB1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "b16452", "alias": "modular_sum_quadratic_residues_v1_1918700295_2954", "problem": "Let $p$ be the largest prime number less than or equal to 558. Compute\n$$\nR = \\frac{p(p - 1)}{4}.\n$$\nLet $S$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Compute\n$$\nQ = R + \\left( S^{(R \\bmod 14)} \\bmod 56357 \\right).\n$$\nFind the value of $Q$.", "answer": 77431, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(558),\n \"_n\": Const(56357),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Mod(value=Ref(\"result\"), modulus=Const(14))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "recipe_id": "a43944", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:20:02.587634Z", "verification": {"verified": true, "answer": 77431, "timestamp": "2026-02-08T08:20:02.590526Z"}, "problem_hash": "3a8c0b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 77431, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 163, "completion_tokens": 969}, "timestamp": "2026-02-13T17:17:19.942Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 615}, "timestamp": "2026-02-12T01:46:50.688Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "K15": "no", "K17": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "aa4cd1", "alias": "nt_count_coprime_and_v1_655260480_1689", "problem": "Let $k_1$ be the smallest prime divisor of $35$, and let $k_2 = 7$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 14360$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$.", "answer": 9847, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35),\n \"upper\": Const(14360),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k2\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.706, "created_at": "2026-02-08T16:17:30.655380Z", "verification": {"verified": true, "answer": 9847, "timestamp": "2026-02-08T16:17:32.361134Z"}, "problem_hash": "179fa5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11488, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 435}, "timestamp": "2026-02-12T10:15:34.992Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e8e9bf", "alias": "nt_count_digit_sum_v1_1520064083_4118", "problem": "Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = s$, where $s$ is the number of integers $n$ with $1 \\leq n \\leq 286$ such that the sum of the decimal digits of $n$ is odd. Let $m$ be the minimum value of $x + y$ over all such pairs $(x,y)$. Let $P$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 23$ such that $i + j = m$. Let $\\text{target\\_sum}$ be the number of elements in $P$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 91204$ such that the sum of the decimal digits of $n$ is equal to $\\text{target\\_sum}$.\n\nDetermine the value of this count.", "answer": 5548, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(91204),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(286)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(23))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B3/COUNT_SUM_EQUALS"], "recipe_id": "f75230", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_SUM_EQUALS", "L3B"], "num_lemmas": 3, "generation_time": 3.589, "created_at": "2026-02-08T06:05:16.145785Z", "verification": {"verified": true, "answer": 5548, "timestamp": "2026-02-08T06:05:19.734948Z"}, "problem_hash": "aad4df", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 728, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 4244}, "timestamp": "2026-02-12T19:18:13.945Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 495}, "timestamp": "2026-02-11T23:34:06.830Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "B3": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "52ac8c", "alias": "nt_sum_over_divisible_v1_151522320_440", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 48841$ and\n$$\nn \\equiv \\sum_{k=0}^{7} (-1)^k \\binom{7}{k} \\pmod{55}.\n$$\nLet $S$ be the set of all such integers $n$.\n\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 40$. Define $c$ to be the maximum value of $xy$ over all pairs in $T$.\n\nCompute the remainder when $c - \\sum S$ is divided by $92527$.", "answer": 34865, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(48841),\n \"divisor\": Const(55),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Summation(var=\"k\", start=Const(0), end=Const(7), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(7), k=Var(\"k\")))))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(40)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92527)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "BINOMIAL_ALTERNATING"], "recipe_id": "0ac0db", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "BINOMIAL_ALTERNATING"], "num_lemmas": 2, "generation_time": 1.543, "created_at": "2026-02-08T03:15:18.854460Z", "verification": {"verified": true, "answer": 34865, "timestamp": "2026-02-08T03:15:20.397808Z"}, "problem_hash": "34f198", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34865, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 2230}, "timestamp": "2026-02-10T13:57:29.309Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34865, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 1260}, "timestamp": "2026-02-10T13:17:01.485Z"}, {"id": 8, "model": "mathstral", "answer": 400, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 840}, "timestamp": "2026-02-11T18:39:33.566Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44087, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 479}, "timestamp": "2026-02-11T20:43:06.018Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "BINOMIAL_ALTERNATING": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "d38595", "alias": "modular_mod_compute_v1_784195855_2248", "problem": "Let $x$ be the sum of all real solutions to the equation $x^2 - 2020x - 10125 = 0$. Let $m$ be the largest positive divisor of 4098580 that is at most $x$ and at least $\\phi(2)$. Compute the remainder when $-41$ is divided by $m$.", "answer": 1979, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-2020), Var(\"x\")), Const(-10125)), Const(0)))),\n \"a\": Const(-41),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), EulerPhi(n=Const(2))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4098580))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/MAX_DIVISOR", "ONE_PHI_2"], "recipe_id": "1a2c0e", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "ONE_PHI_2", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:37:21.339383Z", "verification": {"verified": true, "answer": 1979, "timestamp": "2026-02-08T05:37:21.341511Z"}, "problem_hash": "76ae75", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"ONE_PHI_2": "ok", "VIETA_SUM": "ok", "MAX_DIVISOR": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "split": "test"} +{"id": "2311f1", "alias": "geo_count_lattice_rect_v1_124444284_10194", "problem": "Let $a = 99$ and $b = 281$. Define $R$ to be the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Let $Q = 59518 \\cdot R \\bmod 50187$, where the result is the unique integer in $[0, 50187)$. Find the value of $Q$.", "answer": 3759, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(99),\n \"b\": Const(281),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(59518), Ref(\"result\")), modulus=Const(50187)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.004, "created_at": "2026-02-08T12:52:33.540645Z", "verification": {"verified": true, "answer": 3759, "timestamp": "2026-02-08T12:52:33.544564Z"}, "problem_hash": "3d0a96", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 291}, "timestamp": "2026-02-12T05:46:11.978Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4b3d20", "alias": "sequence_fibonacci_compute_v1_2051736721_5860", "problem": "Let $n$ be the smallest divisor of $640987$ that is at least $2$. Let $F_n$ denote the $n$th Fibonacci number, with $F_1 = F_2 = 1$ and $F_{k} = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute the remainder when $50141 \\cdot F_n$ is divided by $96430$.", "answer": 83637, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(640987))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(50141), Ref(\"result\")), modulus=Const(96430)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:50:18.833663Z", "verification": {"verified": true, "answer": 83637, "timestamp": "2026-02-08T18:50:18.835256Z"}, "problem_hash": "cc641f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 371}, "timestamp": "2026-02-13T00:35:23.532Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dbca45", "alias": "comb_sum_binomial_mod_v1_898971024_1324", "problem": "Let $S$ be the set of all positive integers $t$ such that $12 \\leq t \\leq 256$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 12$, $1 \\leq b \\leq 28$, and $t = 5a + 7b$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 18225$. Define $k$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $T$. Compute the remainder when\n\\[\n\\sum_{k=56}^{m} \\binom{k}{k}\n\\]\nis divided by $10567$.", "answer": 1098, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10567),\n \"_n\": Const(56),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=28)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=256)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))), expr=Binom(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(18225)))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.037, "created_at": "2026-02-08T16:03:49.175949Z", "verification": {"verified": true, "answer": 1098, "timestamp": "2026-02-08T16:03:49.212620Z"}, "problem_hash": "b67bac", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 468}, "timestamp": "2026-02-12T09:47:29.283Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "08ed0b", "alias": "sequence_fibonacci_compute_v1_784195855_3666", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 2$, $1 \\leq j \\leq 32$, and $\\gcd(i, j) = 1$. Let $F_n$ denote the $n$-th Fibonacci number, where $F_1 = F_2 = 1$ and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute the remainder when $$\nF_n^2 + n \\cdot F_n + \\sum_{k=1}^{129} k\n$$ is divided by $76117$.", "answer": 47545, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(32))))),\n \"n\": Const(20),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Const(129), expr=Var(\"k\"))), modulus=Const(76117)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/SUM_ARITHMETIC"], "recipe_id": "a3b852", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:34:13.477990Z", "verification": {"verified": true, "answer": 47545, "timestamp": "2026-02-08T06:34:13.479647Z"}, "problem_hash": "985849", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56832, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 3297}, "timestamp": "2026-02-13T01:58:37.211Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 561}, "timestamp": "2026-02-12T00:14:48.169Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_SUM_EQUALS": "no", "K18": "no", "L3b": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "3fd5dd", "alias": "antilemma_cartesian_v1_865884756_1279", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 25$ and $1 \\leq b \\leq 32$. Let $c$ be the number of integers $t$ such that $16 \\leq t \\leq 9008$ and there exist positive integers $a \\leq 663$, $b \\leq 503$ for which $t = 6a + 10b$. Define\n$$\ns = \\sum_{i = d}^{e} d_i \\cdot (i + 1)^2,\n$$\nwhere $d_i$ is the $i$th decimal digit of $x$ (with digit positions starting at 0 for the units place), $d = \\sum_{k=0}^{5} (-1)^k \\binom{5}{k}$, and $e = \\text{number of digits of } x - 1$. Compute $s + c$.", "answer": 4561, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=663)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=503)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=9008)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"Q\": Sum(Summation(var=\"i\", start=Summation(var=\"k\", start=Const(0), end=Ref(\"_n\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(5), k=Var(\"k\")))), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "BINOMIAL_ALTERNATING", "COUNT_CARTESIAN"], "recipe_id": "def49d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:51:46.571590Z", "verification": {"verified": true, "answer": 4561, "timestamp": "2026-02-08T15:51:46.574461Z"}, "problem_hash": "499783", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 800, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 492}, "timestamp": "2026-02-12T09:32:57.705Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3855e2", "alias": "modular_product_range_v1_784195855_8496", "problem": "Let $c$ be the number of positive integers $n$ such that $1 \\leq n \\leq 2829$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute the remainder when the product of all integers from 121 to $c$, inclusive, is divided by 10687.", "answer": 6644, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10687),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(121), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2829)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:07:18.796607Z", "verification": {"verified": true, "answer": 6644, "timestamp": "2026-02-08T16:07:18.799628Z"}, "problem_hash": "222d6c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 797}, "timestamp": "2026-02-12T10:03:32.207Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6028d6", "alias": "nt_count_coprime_v1_153355830_537", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 9$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the minimum element of $T$. Define $k$ to be the largest prime number $n$ such that $2 \\leq n \\leq m$. Let $N = 20736$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n, k) = \\phi(2)$. ", "answer": 16589, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(20736),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), EulerPhi(n=Const(2)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "ONE_PHI_2"], "recipe_id": "db4140", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 1.586, "created_at": "2026-02-08T03:08:37.130794Z", "verification": {"verified": true, "answer": 16589, "timestamp": "2026-02-08T03:08:38.717184Z"}, "problem_hash": "d49ad3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K16": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "9d8a3d", "alias": "antilemma_sum_primes_v1_1874849503_397", "problem": "Let $m = 224$. Let $k_{\\max}$ be the largest integer $k$ such that $7^k \\leq m$. Let $T$ be the set of all integers $t$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 15$, $1 \\leq b \\leq 48$, $22 \\leq t \\leq 594$, and $t = 14a + 8b$. Let $N = |T|$. Let $S$ be the set of all prime numbers $n$ such that $k_{\\max} \\leq n \\leq N$. Compute the sum of all elements in $S$.", "answer": 6870, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(224),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(7), Var(\"k\")), Ref(\"_m\")))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=48)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=594)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/LIN_FORM/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "23fd2a", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_VAL", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:01:02.054393Z", "verification": {"verified": true, "answer": 6870, "timestamp": "2026-02-08T13:01:02.057687Z"}, "problem_hash": "added8", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:27:06.205Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "SUM_PRIMES": "ok", "LIN_FORM": "ok_later", "K16": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "81b10f", "alias": "sequence_count_fib_divisible_v1_655260480_6284", "problem": "Let $d$ be the smallest divisor of 437 that is at least 2. Compute the number of positive integers $n$ such that $n \\leq 873$ and $d$ divides the $n$th Fibonacci number.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(873),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(437))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.035, "created_at": "2026-02-08T18:57:25.329045Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T18:57:25.364343Z"}, "problem_hash": "58bd05", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 511}, "timestamp": "2026-02-13T00:41:40.020Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "19f5c0", "alias": "algebra_quadratic_discriminant_v1_1978505735_4868", "problem": "Let $a = 8$, $b$ be the smallest divisor of $847$ that is at least $2$, and $c = -10$. Define $\\text{result} = b^2 - 4ac$. Compute the value of $\\text{result}$.", "answer": 369, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(8),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"c\": Const(-10),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:36:18.055649Z", "verification": {"verified": true, "answer": 369, "timestamp": "2026-02-08T18:36:18.057628Z"}, "problem_hash": "5f51c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 321, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 173}, "timestamp": "2026-02-13T00:17:19.904Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "K14": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "271a5d", "alias": "comb_count_derangements_v1_2051736721_4231", "problem": "Let $d$ be the smallest divisor of 11011 that is greater than 1. Compute the remainder when $69477 \\cdot !d$ is divided by 94253, where $!d$ denotes the number of derangements of $d$ elements.", "answer": 60760, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11011),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(69477), Ref(\"result\")), modulus=Const(94253)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:50:13.039684Z", "verification": {"verified": true, "answer": 60760, "timestamp": "2026-02-08T17:50:13.041521Z"}, "problem_hash": "2f7d4e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 395}, "timestamp": "2026-02-12T23:13:31.050Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "MAX_VAL": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ffe6e3", "alias": "nt_min_coprime_above_v1_1915831931_744", "problem": "Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 168$. Let $M$ be the maximum value of $xy$ over all such pairs. Let $n_0$ be the smallest integer greater than $M$ and at most $7285$ such that $\\gcd(n_0, 219) = 1$. Let $c$ be the number of positive integers $j$ such that $j^2 \\leq 4100625$ and $j \\leq 2025$. Compute the value of\n$$\n7^{n_0} \\bmod 99991 + c.\n$$", "answer": 21633, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2025),\n \"start\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(168)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(7285),\n \"modulus\": Const(219),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(2)), Const(4100625))), domain='positive_integers')),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3", "B1"], "recipe_id": "aff505", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C3"], "num_lemmas": 2, "generation_time": 0.027, "created_at": "2026-02-08T15:39:05.544398Z", "verification": {"verified": true, "answer": 21633, "timestamp": "2026-02-08T15:39:05.571228Z"}, "problem_hash": "e42b01", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 487}, "timestamp": "2026-02-12T08:50:46.152Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C3": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b4f6a0", "alias": "diophantine_product_count_v1_1125832087_2300", "problem": "Let $k = 120$. Define $r$ to be the number of positive integers $x$ such that $1 \\leq x \\leq 100$, $x$ divides $k$, and $\\frac{k}{x} \\leq 100$. Compute $\\sum_{n=1}^{r} \\phi(n)$, where $\\phi(n)$ denotes the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\\n\\nFind the value of this sum.", "answer": 64, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(120),\n \"upper\": Const(100),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "MAX_DIVISOR", "C5"], "recipe_id": "84ec2d", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.058, "created_at": "2026-02-08T04:30:23.664246Z", "verification": {"verified": true, "answer": 64, "timestamp": "2026-02-08T04:30:23.722151Z"}, "problem_hash": "04bb41", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 64, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 1253}, "timestamp": "2026-02-10T17:04:55.452Z"}, {"id": 8, "model": "mathstral", "answer": 98, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 871}, "timestamp": "2026-02-13T18:52:12.286Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 538}, "timestamp": "2026-02-11T20:56:26.188Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "MAX_DIVISOR": "ok", "MOBIUS_COPRIME": "ok", "DS2": "no", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "5013da", "alias": "nt_sum_divisors_compute_v1_1742523217_1534", "problem": "Let $N=60025$, and let $R$ be the sum of all positive divisors of $N$.\n\nConsider all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=12,\\quad \\gcd(p,q)=1,\\quad p p$ such that $p \\cdot q = 72$ and $\\gcd(p,q) = 1$. Let $b = -4$ and $c = -6$. Let $d$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $p \\cdot q = 108$ and $\\gcd(p,q) = 1$. Compute $b^d - n \\cdot a \\cdot c$.", "answer": 64, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"b\": Const(-4),\n \"c\": Const(-6),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3B/COPRIME_PAIRS"], "recipe_id": "245474", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B", "L3C"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T06:07:50.327567Z", "verification": {"verified": true, "answer": 64, "timestamp": "2026-02-08T06:07:50.338736Z"}, "problem_hash": "2b235f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1519}, "timestamp": "2026-02-12T20:05:29.672Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 25, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 695}, "timestamp": "2026-02-11T23:38:10.679Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "COPRIME_PAIRS": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF_P2": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "cf19bd", "alias": "nt_min_crt_v1_1431428450_710", "problem": "Let $m = 3$ and let $k$ be the smallest divisor of $29645$ that is at least $2$. Determine the smallest positive integer $n$, with $1 \\leq n \\leq 15$, such that $n \\equiv 2 \\pmod{m}$ and $n \\equiv 3 \\pmod{k}$. Find the value of $n$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29645),\n \"m\": Const(3),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"a\": Const(2),\n \"b\": Const(3),\n \"upper\": Const(15),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.058, "created_at": "2026-02-08T13:38:42.137492Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T13:38:42.195749Z"}, "problem_hash": "34e2f1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 391}, "timestamp": "2026-02-12T07:11:55.507Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7f3954", "alias": "modular_count_residue_v1_865884756_5827", "problem": "Let $m$ be the smallest integer greater than or equal to $2$ that divides $27869$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 64516$ and $n \\equiv 11 \\pmod{m}$.", "answer": 2225, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(64516),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(27869))))),\n \"r\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.95, "created_at": "2026-02-08T18:48:00.715517Z", "verification": {"verified": true, "answer": 2225, "timestamp": "2026-02-08T18:48:02.665214Z"}, "problem_hash": "020e2e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3800, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 387}, "timestamp": "2026-02-13T00:33:16.575Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "K16": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "079ea2", "alias": "comb_count_permutations_fixed_v1_655260480_2418", "problem": "Let $n$ be the smallest prime divisor of $35$. Let $k = 0$. Define $R = \\binom{n}{k} \\cdot !\\left(n - k\\right)$, where $!m$ denotes the number of derangements of $m$ elements. Find the remainder when $44121 \\cdot R$ is divided by $67030$.", "answer": 64484, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(67030)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:42:47.640288Z", "verification": {"verified": true, "answer": 64484, "timestamp": "2026-02-08T16:42:47.643229Z"}, "problem_hash": "158c60", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 62924, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 401}, "timestamp": "2026-02-12T20:57:42.042Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "14b246", "alias": "antilemma_product_of_sums_v1_168721529_2003", "problem": "Let $n = 28$. Define\n$$\nA = \\left( \\sum_{k=1}^{n} k \\right) \\left( \\sum_{(i,j) \\in S} ij \\right),\n$$\nwhere $S$ is the set of all ordered pairs $(i,j)$ with $1 \\leq i \\leq 3$ and $1 \\leq j \\leq 6$. Let $N$ be the number of positive integers $k \\leq 582420$ such that $30$ divides the $k$-th Fibonacci number. Compute the remainder when $N \\cdot A$ is divided by $86808$.", "answer": 29532, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(28),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(2)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(582420)), Divides(divisor=Const(30), dividend=Fibonacci(arg=Var(name='n')))))), Ref(\"x\")), modulus=Const(86808)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "e353af", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ONE_PHI_2", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T14:03:06.263866Z", "verification": {"verified": true, "answer": 29532, "timestamp": "2026-02-08T14:03:06.266623Z"}, "problem_hash": "6aa2eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29532, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 7661}, "timestamp": "2026-02-10T00:51:42.990Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "K13": "no", "K18": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "7271b7", "alias": "algebra_quadratic_discriminant_v1_1520064083_2711", "problem": "Let $a = -8$ and $b = 8$. Let $c = \\phi(47) - 46$, where $\\phi$ denotes Euler's totient function. Define\n$$\nD = b^2 - 4 \\cdot \\max\\{xy \\mid x, y \\text{ are positive integers such that } x + y = 4\\} \\cdot c.\n$$\nCompute the value of\n$$\n2 \\cdot \\begin{cases} 1 & \\text{if } D > \\sum_{d \\mid \\gcd(51,136)} \\mu(d), \\\\ 0 & \\text{otherwise} \\end{cases} + \\begin{cases} 1 & \\text{if } D = 0, \\\\ 0 & \\text{otherwise.} \\end{cases}\n$$", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-8),\n \"b\": Const(8),\n \"c\": Sub(EulerPhi(n=Const(47)), Const(46)),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), SumOverDivisors(n=GCD(a=Const(value=51), b=Const(value=136)), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ZERO_PHI_PRIME", "B1"], "recipe_id": "944869", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME", "ZERO_PHI_PRIME"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:57:13.253004Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:57:13.260829Z"}, "problem_hash": "187880", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "ZERO_PHI_PRIME": "ok", "K15": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "V7": "no"}, "split": "test"} +{"id": "853584", "alias": "modular_sum_quadratic_residues_v1_124444284_4303", "problem": "Let $p = 509$. Let $\\text{result} = \\frac{p(p-1)}{4}$. Let $Q$ be the remainder when $\\max(xy)$ over all ordered pairs $(x, y)$ of positive integers with $x + y = 12$, minus $\\text{result}$, is divided by 80598. Compute $Q$.", "answer": 15991, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": Const(509),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(80598)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T05:54:22.502527Z", "verification": {"verified": true, "answer": 15991, "timestamp": "2026-02-08T05:54:22.505812Z"}, "problem_hash": "1893e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15991, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 601}, "timestamp": "2026-02-12T16:36:31.940Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 80597, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 364}, "timestamp": "2026-02-11T23:19:58.818Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "290281", "alias": "nt_lcm_compute_v1_865884756_2249", "problem": "Let $m = 30$ and $n = 2$. Define $a$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 134880$ and $m$ divides the $k$-th Fibonacci number. Define $b$ to be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 35$ and $1 \\leq j \\leq 57$ such that $\\gcd(i, j) = 1$. Let $r = \\operatorname{lcm}(a, b)$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq n$ that divides 384091916153069. Compute the remainder when $d_{\\text{min}} \\cdot r$ is divided by 96552.", "answer": 24744, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(96552),\n \"_m\": Const(30),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(134880)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(57))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(384091916153069))))), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "COUNT_FIB_DIVISIBLE", "COUNT_COPRIME_GRID"], "recipe_id": "245cc8", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_FIB_DIVISIBLE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T16:39:35.677714Z", "verification": {"verified": true, "answer": 24744, "timestamp": "2026-02-08T16:39:35.683474Z"}, "problem_hash": "80c6c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 708}, "timestamp": "2026-02-12T20:46:13.413Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "L3b": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e1ce26", "alias": "comb_count_derangements_v1_1520064083_8356", "problem": "Let $n$ be the smallest divisor of $539$ that is greater than or equal to $2$. Compute the subfactorial of $n$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(539),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T10:09:28.080160Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T10:09:28.081152Z"}, "problem_hash": "e4dc3c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 78, "completion_tokens": 996}, "timestamp": "2026-02-14T06:31:39.987Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 298}, "timestamp": "2026-02-12T03:12:00.314Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K5": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "dedeae", "alias": "nt_count_divisible_v1_677425708_3928", "problem": "Let $n$ be a positive integer. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq 74691$ and $n$ is divisible by 8. Let $A$ be the number of elements in this set. Compute the value of $$A + \\left(2^{A \\bmod k}\\right) \\bmod 94175,$$ where $k$ is the largest integer such that $17^k$ divides $238!$. Give the final result as a single integer.", "answer": 13432, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(238),\n \"upper\": Const(74691),\n \"divisor\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(17)))), modulus=Const(94175))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1"], "recipe_id": "c6fab2", "seed_template_id": "nt_count_divisible_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V1"], "num_lemmas": 1, "generation_time": 4.792, "created_at": "2026-02-08T06:04:13.539207Z", "verification": {"verified": true, "answer": 13432, "timestamp": "2026-02-08T06:04:18.331240Z"}, "problem_hash": "a1f340", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MOD_ADD": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "d247d2", "alias": "diophantine_product_count_v1_1742523217_5647", "problem": "Let $k$ be the number of integers $t$ such that $9 \\leq t \\leq 734$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 38$, $1 \\leq b \\leq 234$, and $t = 7a + 2b$. Let $u$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 12$ and $1 \\leq j \\leq 22$. Determine the value of the number of positive integers $x$ such that $x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$.", "answer": 26, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=38)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=234)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=734)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(22)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=Const(1))), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COUNT_CARTESIAN", "LIN_FORM", "ONE_PHI_1"], "recipe_id": "e0e8d6", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.127, "created_at": "2026-02-08T11:08:39.297604Z", "verification": {"verified": true, "answer": 26, "timestamp": "2026-02-08T11:08:39.424648Z"}, "problem_hash": "cccd73", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ONE_PHI_1": "ok", "K15": "no", "K17": "no", "LTE_SUM": "no", "V1": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "5dd8cf", "alias": "comb_count_derangements_v1_971394319_1396", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 1001. Let $r$ be the subfactorial of $n$, denoted $!n$, which counts the number of derangements of $n$ elements. Compute the remainder when $26751 \\cdot r$ is divided by $68818$.", "answer": 47394, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(26751), Ref(\"result\")), modulus=Const(68818)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:39:59.525886Z", "verification": {"verified": true, "answer": 47394, "timestamp": "2026-02-08T13:39:59.526833Z"}, "problem_hash": "69201f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 300}, "timestamp": "2026-02-12T07:15:27.942Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2f800a", "alias": "nt_lcm_compute_v1_151522320_303", "problem": "Let $L$ be the least common multiple of $891$ and $694$. Let\n$$Q\\equiv 26575\\cdot L\\pmod{98456},$$\nwhere $0\\le Q<98456$.\n\nFind the value of $Q$.", "answer": 57326, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(891),\n \"b\": Const(694),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(26575),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(98456)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/MIN_PRIME_FACTOR/LIOUVILLE_ONE", "COUNT_COPRIME_GRID/LIOUVILLE_ONE", "MOBIUS_SUM"], "recipe_id": "a23a19", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["C3", "COUNT_COPRIME_GRID", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 5, "generation_time": 0.027, "created_at": "2026-02-08T03:08:53.030386Z", "verification": {"verified": true, "answer": 57326, "timestamp": "2026-02-08T03:08:53.057778Z"}, "problem_hash": "6e1fbb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 57326, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 2819}, "timestamp": "2026-02-10T13:08:21.024Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 57326, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 1357}, "timestamp": "2026-02-09T01:18:33.609Z"}, {"id": 8, "model": "mathstral", "answer": 13125, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 822}, "timestamp": "2026-02-11T15:08:46.510Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 61989, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 433}, "timestamp": "2026-02-11T20:22:12.376Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "COUNT_COPRIME_GRID": "ok", "MOBIUS_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "92a5f2", "alias": "nt_max_prime_below_v1_1978505735_6265", "problem": "Let $S$ be the set of all integers $n_1$ such that $1 \\le n_1 \\le 10$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $k$ be the number of elements in $S$. Determine the value of the largest prime number $n$ such that $k \\le n \\le 11813$.", "answer": 11813, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11813),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(10)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.263, "created_at": "2026-02-08T19:32:13.943409Z", "verification": {"verified": true, "answer": 11813, "timestamp": "2026-02-08T19:32:14.206531Z"}, "problem_hash": "599754", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 455}, "timestamp": "2026-02-13T01:03:00.951Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K14": "no", "K5": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e53da2", "alias": "nt_count_divisible_and_v1_1520064083_3930", "problem": "Let $m = 27$ and $n$ be the largest integer $k$ such that $3^k$ divides $4^m - 1$. Let $r$ be the number of positive integers $n \\le 44928$ that are divisible by both $6$ and $8$. Let $j_0$ be the number of positive integers $j \\le 14$ such that $j^n \\le 38416$. Compute the remainder when $r + 2^{r \\bmod j_0}$ is divided by $84436$.", "answer": 2896, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(27),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(4), Ref(\"_m\")), Const(1)), base=Const(3)),\n \"upper\": Const(44928),\n \"d1\": Const(6),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(14)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(38416))), domain='positive_integers')))), modulus=Const(84436))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/C3"], "recipe_id": "cf17a2", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "LTE_DIFF"], "num_lemmas": 2, "generation_time": 9.932, "created_at": "2026-02-08T05:59:05.494415Z", "verification": {"verified": true, "answer": 2896, "timestamp": "2026-02-08T05:59:15.426261Z"}, "problem_hash": "67cd9a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF": "ok", "C3": "ok_later", "K14": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V7": "no"}, "split": "test"} +{"id": "d0882d", "alias": "nt_gcd_compute_v1_168721529_1671", "problem": "Let $A$ be the set of all integers $n$ such that $2 \\le n \\le 21$ and $n$ is prime. Let $k$ be the maximum of $A$.\n\nLet $B = 8650415919381337933^k$. Let $C$ be the largest integer $t$ such that $13^t$ divides $B$. Let $p$ be the smallest integer $d \\ge 2$ such that $d$ divides $C$.\n\nLet $n_1 = p^2$, and let $u$ be the value of the Liouville function $\\lambda(n_1)$, defined by $\\lambda(n_1) = (-1)^{\\Omega(n_1)}$, where $\\Omega(n_1)$ is the total number of prime factors of $n_1$ counted with multiplicity.\n\nLet $n = 29$, and let $w$ be the value of the Möbius function $\\mu(n)$ squared, that is, $w = (\\mu(29))^2$.\n\nLet $a = 152361$ and $b = 355509$, and let $g$ be $\\gcd(a,b)$. Define\n$$Q \\equiv 44121 \\cdot g \\pmod{65404 \\cdot u \\cdot w},$$\nwhere $0 \\le Q < 65404 \\cdot u \\cdot w$.\n\nFind the value of $Q$. ", "answer": 32187, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=MaxKDivides(target=Pow(Const(8650415919381337933), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(21)), IsPrime(Var(\"n\")))))), base=Const(13)))))),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"u\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(29),\n \"w\": Pow(MoebiusMu(n=Ref(name='n')), Ref(\"_m\")),\n \"a\": Const(152361),\n \"b\": Const(355509),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Mul(Const(65404), Ref(\"u\")), Ref(\"w\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14/MIN_PRIME_FACTOR/LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "105c4a", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 5, "generation_time": 0.005, "created_at": "2026-02-08T13:49:55.109681Z", "verification": {"verified": true, "answer": 32187, "timestamp": "2026-02-08T13:49:55.114849Z"}, "problem_hash": "9811ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32187, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 422, "completion_tokens": 2585}, "timestamp": "2026-02-09T20:11:28.094Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok", "K14": "ok_later", "LIOUVILLE_ONE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "494b1b", "alias": "algebra_poly_eval_v1_1080341949_63", "problem": "Let $b = 12$. Let $d$ be an integer satisfying $d \\geq 2$ and $d \\mid 77$. Let $m$ be the smallest such $d$. Define\n$$\n\\text{result} = 5b^2 + m \\cdot b - 7.\n$$\nCompute $58081 - \\text{result}$.", "answer": 57284, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"b\": Const(12),\n \"result\": Sum(Mul(Const(5), Pow(Ref(\"b\"), Const(2))), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(77))))), Ref(\"b\")), Const(-7)),\n \"Q\": Sub(Const(58081), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:10:11.987595Z", "verification": {"verified": true, "answer": 57284, "timestamp": "2026-02-08T13:10:11.990246Z"}, "problem_hash": "5777de", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 57284, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 233}, "timestamp": "2026-02-12T06:19:10.039Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "d55d4c", "alias": "modular_sum_quadratic_residues_v1_865884756_4612", "problem": "Let $N = 48400$. Let $p$ be the smallest prime divisor of $5593467371$. Define $r = \\frac{p(p-1)}{4}$. Compute $N - r$.", "answer": 30377, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48400),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5593467371))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:00:22.397306Z", "verification": {"verified": true, "answer": 30377, "timestamp": "2026-02-08T18:00:22.399520Z"}, "problem_hash": "ebdb0f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 237}, "timestamp": "2026-02-12T23:33:26.087Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "K17": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bb692b", "alias": "geo_count_lattice_triangle_v1_124444284_3588", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(200,144)$, and $(60,222)$. Define $B$ to be twice the area of this triangle. Let $I$ be the number of interior lattice points and $b$ be the number of boundary lattice points of this triangle. Given that $$B = 2I + b - 2,$$ compute the value of $I$.", "answer": 7733, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(222),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=200), Const(value=144)), Mul(Const(value=60), Sub(left=Const(value=0), right=Const(value=222))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=200)), b=Abs(arg=Const(value=222))), GCD(a=Abs(arg=Sub(left=Const(value=60), right=Const(value=200))), b=Abs(arg=Sub(left=Const(value=144), right=Ref(name='_n')))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=60))), b=Abs(arg=Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=720)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T05:27:55.344850Z", "verification": {"verified": true, "answer": 7733, "timestamp": "2026-02-08T05:27:55.350189Z"}, "problem_hash": "cb33a6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17873, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 1365}, "timestamp": "2026-02-12T09:37:00.206Z"}, {"id": 8, "model": "mathstral", "answer": 26519, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 151, "completion_tokens": 576}, "timestamp": "2026-02-14T18:57:40.517Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 546}, "timestamp": "2026-02-11T22:43:21.876Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "2c454c", "alias": "algebra_quadratic_discriminant_v1_1978505735_114", "problem": "Let $a = 10$, $b = -3$, and $c = -4$. Define the discriminant $D = b^2 - 4ac$. Let $Q$ be the number of real solutions to the quadratic equation $ax^2 + bx + c = 0$, counting multiplicity. Compute $Q$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(10),\n \"b\": Const(-3),\n \"c\": Const(-4),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS", "COPRIME_PAIRS/VIETA_SUM"], "recipe_id": "c8d6d2", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.034, "created_at": "2026-02-08T15:12:06.448669Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T15:12:06.483126Z"}, "problem_hash": "7fe886", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 229}, "timestamp": "2026-02-12T07:57:21.806Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "VIETA_SUM": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "7c9b19", "alias": "nt_sum_over_divisible_v1_784195855_1965", "problem": "Let $T$ be the set of all integers $t$ such that $10 \\leq t \\leq 2230$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 97$, $1 \\leq b \\leq 517$, and $t = 7a + 3b$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = |T|$. Define $d = \\min\\{x + y \\mid (x, y) \\in P\\}$. Let $R$ be the sum of all integers $n$ such that $1 \\leq n \\leq 44521$ and $n \\equiv \\sum_{d \\mid 14} \\mu(d) \\pmod{d}$, where $\\mu$ is the M\\\"obius function. Compute the remainder when $21316 - R$ is divided by $98148$.", "answer": 83806, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21316),\n \"upper\": Const(44521),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=97)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=517)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=2230)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=Const(value=14), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Const(98148)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3", "MOBIUS_SUM"], "recipe_id": "e0045e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 1.563, "created_at": "2026-02-08T05:24:51.857581Z", "verification": {"verified": true, "answer": 83806, "timestamp": "2026-02-08T05:24:53.420146Z"}, "problem_hash": "45577b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "B3": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K5": "no", "V5": "no", "V7": "no"}, "split": "test"} +{"id": "5601ca", "alias": "nt_lcm_compute_v1_1978505735_1600", "problem": "Let $a$ be the smallest divisor of $1608372013$ that is at least $2$. Let $b = 1347$, and let $c = \\operatorname{lcm}(a, b)$. Compute the sum of the squares of the positions (indexed starting at 1) of each digit in the decimal representation of $c$, multiplied by the corresponding digit, plus $37$. That is, if $c$ has decimal digits $d_0, d_1, \\dots, d_{k-1}$ from least significant to most, compute $\\sum_{i=0}^{k-1} d_i (i+1)^2 + 37$.", "answer": 582, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1608372013))))),\n \"b\": Const(1347),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(37),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T16:16:46.989121Z", "verification": {"verified": true, "answer": 582, "timestamp": "2026-02-08T16:16:46.995030Z"}, "problem_hash": "4cb8dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 381}, "timestamp": "2026-02-12T10:13:35.368Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dc76db", "alias": "modular_sum_quadratic_residues_v1_124444284_9808", "problem": "Let $n = 2$. Let $p$ be the smallest divisor of $213479407$ that is greater than or equal to $n$. Compute the value of $\\frac{p(p-1)}{4}$.", "answer": 87764, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(213479407))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:41:31.095887Z", "verification": {"verified": true, "answer": 87764, "timestamp": "2026-02-08T12:41:31.097512Z"}, "problem_hash": "df710d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 316}, "timestamp": "2026-02-12T05:31:45.101Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K18": "no", "K5": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "916011", "alias": "comb_sum_binomial_mod_v1_397696148_724", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 58765536377. Compute\n$$\n\\sum_{k=15}^{119} \\binom{d}{k},\n$$\nand let $r$ be the remainder when this sum is divided by 11173. Find the remainder when $54597 \\cdot r$ is divided by 65822.", "answer": 23862, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65822),\n \"sum\": Summation(var=\"k\", start=Const(15), end=Const(119), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(58765536377))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11173)),\n \"Q\": Mod(value=Mul(Const(54597), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T11:42:53.729847Z", "verification": {"verified": true, "answer": 23862, "timestamp": "2026-02-08T11:42:53.736096Z"}, "problem_hash": "dd7366", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 4464}, "timestamp": "2026-02-14T17:26:43.925Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 280}, "timestamp": "2026-02-12T04:26:03.219Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K5": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "397a2e", "alias": "nt_count_digit_sum_v1_50713871_12", "problem": "Let $ n_1 = 2^2 $. Define $ v = \\lambda(n_1) $, where $ \\lambda(n) $ denotes the Liouville function. Let $ n = 3^{3v} $ and $ c = \\lambda(n) + 1 $. The target sum is $ 21 + c $. Let $ S $ be the set of all positive integers $ n $ such that $ 1 \\leq n \\leq 99999 $ and the sum of the decimal digits of $ n $ is equal to the target sum. Let $ r $ be the number of elements in $ S $. Let $ T $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = 64 $. Define $ c' $ to be the maximum value of $ xy $ over all such pairs. Compute the remainder when $ c' - r $ is divided by $ 94162 $.", "answer": 89311, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94162),\n \"p1\": Const(2),\n \"n1\": Pow(Ref(\"p1\"), Const(2)),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Const(3),\n \"n\": Pow(Ref(\"p\"), Mul(Const(3), Ref(\"v\"))),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Const(99999),\n \"target_sum\": Sum(Const(21), Ref(\"c\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(64)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "LIOUVILLE_MINUS_ONE", "LIOUVILLE_ONE"], "recipe_id": "a14b77", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "LIOUVILLE_MINUS_ONE", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 18.437, "created_at": "2026-02-08T02:42:40.585747Z", "verification": {"verified": true, "answer": 89311, "timestamp": "2026-02-08T02:42:59.022289Z"}, "problem_hash": "0e1319", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 89311, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 1857}, "timestamp": "2026-02-08T19:45:09.021Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 89311, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 308, "completion_tokens": 1851}, "timestamp": "2026-02-09T18:57:48.105Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:07:29.688Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 89903, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 2115}, "timestamp": "2026-02-09T22:46:33.383Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "LIOUVILLE_MINUS_ONE": "ok", "LIOUVILLE_ONE": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3b": "no", "V5": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "test"} +{"id": "587c52", "alias": "nt_min_crt_v1_1978505735_8152", "problem": "Let $n = 1001$ and $m = 3$. Let $k$ be the smallest divisor of $n$ that is at least $2$. Find the smallest positive integer $n$ such that $1 \\leq n \\leq 21$, $n \\equiv 2 \\pmod{3}$, and $n \\equiv 4 \\pmod{k}$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"m\": Const(3),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"a\": Const(2),\n \"b\": Const(4),\n \"upper\": Const(21),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T20:41:45.203410Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T20:41:45.221273Z"}, "problem_hash": "0a650f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 620}, "timestamp": "2026-02-13T01:27:20.078Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "b99324", "alias": "antilemma_product_of_sums_v1_151522320_1441", "problem": "Let $S$ be the set of all ordered pairs $(k, j)$ where $k$ is an integer with $1 \\leq k \\leq 5$ and $j$ is an integer with $1 \\leq j \\leq 2$. Define $S_1$ to be the sum of the values of $k$ over all such pairs in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 25$ and $n \\equiv 0 \\pmod{25}$. Define $S_2$ to be the sum $\\sum_{k=1}^{|T|} k$. Compute $S_1 \\cdot S_2$.", "answer": 9750, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=Const(25)), Const(0))))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "11e64a", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:00:21.783312Z", "verification": {"verified": true, "answer": 9750, "timestamp": "2026-02-08T04:00:21.785465Z"}, "problem_hash": "e46ace", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"PRODUCT_OF_SUMS": "ok", "SUM_DIVISIBLE": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "0dc863", "alias": "sequence_lucas_compute_v1_397696148_1443", "problem": "Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 242$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{11}$. Compute the $n$-th Lucas number.", "answer": 39603, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(242),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:33:16.167541Z", "verification": {"verified": true, "answer": 39603, "timestamp": "2026-02-08T12:33:16.168351Z"}, "problem_hash": "d7ac60", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 520}, "timestamp": "2026-02-12T05:18:14.559Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "63b28e", "alias": "comb_factorial_compute_v1_397696148_1470", "problem": "Let $d$ be a divisor of $143143$ that is at least $2$. Let $n$ be the smallest such $d$. Compute the remainder when $18186 \\cdot n!$ is divided by $87007$.", "answer": 39069, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87007),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(18186), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:34:09.198734Z", "verification": {"verified": true, "answer": 39069, "timestamp": "2026-02-08T12:34:09.200332Z"}, "problem_hash": "d3c153", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 375}, "timestamp": "2026-02-12T05:18:35.388Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "054a5b", "alias": "nt_sum_phi_v1_784195855_2460", "problem": "Let $m = 17$. Let $t$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 11$ such that $\\gcd(i, j) = 1$. Let $p$ be the largest prime number at most $501$. Compute the largest integer $e$ such that $m^e$ divides $t^p$. Then compute the sum of $\\phi(n)$ over all positive integers $n$ from $1$ to $e$, where $\\phi$ is Euler's totient function.", "answer": 75916, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"upper\": MaxKDivides(target=Pow(Ref(\"_n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(501)), IsPrime(Var(\"n\")))))), base=Ref(\"_m\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/K14", "MAX_PRIME_BELOW/K14"], "recipe_id": "cfba00", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.097, "created_at": "2026-02-08T05:45:12.506353Z", "verification": {"verified": true, "answer": 75916, "timestamp": "2026-02-08T05:45:12.603113Z"}, "problem_hash": "fe635a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "C2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V3": "no", "V5": "no"}, "split": "test"} +{"id": "319211", "alias": "nt_num_divisors_compute_v1_1520064083_1138", "problem": "Let $n=99$, and let $d(n)$ denote the number of positive divisors of $n$. Define $R=d(n)$. Let\n$$m=\\min\\{x+y\\mid x,y\\text{ are positive integers and }xy=784\\}.$$ \nLet $v_{13}(N)$ denote the largest integer $k$ such that $13^k$ divides $N$. Define $c$ to be the smallest positive integer $t$ such that\n$$v_{13}(t!)\\ge m.$$\nWrite $|R|$ in base $10$, and for each integer $i$ with $0\\le i\\le L-1$, where $L$ is the number of decimal digits of $|R|$, let $d_i$ be the $i$-th digit of $|R|$ (with $d_0$ the units digit, $d_1$ the tens digit, and so on). Define\n$$S=\\sum_{i=0}^{L-1} d_i\\,(i+\\varphi(2))^2,$$\nwhere $\\varphi$ is Euler's totient function. Finally, let\n$$Q=S+c.$$\nCompute $Q$.", "answer": 682, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(99),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(13)), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(784)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), domain='Z_{>0}')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), EulerPhi(n=Const(2))), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V5", "ONE_PHI_2"], "recipe_id": "03a34a", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "V5"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:48:32.586013Z", "verification": {"verified": true, "answer": 682, "timestamp": "2026-02-08T03:48:32.590630Z"}, "problem_hash": "0637bb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "V5": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "07e447", "alias": "comb_count_derangements_v1_1431428450_578", "problem": "Let $d$ be the smallest divisor of $847$ that is at least $2$. Define $n = d$. Compute the remainder when $44121 \\cdot !n$ is divided by $61247$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 35589, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(61247)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:33:01.213208Z", "verification": {"verified": true, "answer": 35589, "timestamp": "2026-02-08T13:33:01.215361Z"}, "problem_hash": "9ec592", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 273}, "timestamp": "2026-02-12T07:05:32.310Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0e5410", "alias": "geo_count_lattice_triangle_v1_124444284_1966", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ of positive integers such that $i \\leq 144$, $j \\leq 145$, and $i + j = 145$. Let $C$ be the number of positive integers $n \\leq 316$ such that $\\gcd(n, 15) = 1$. Define\n$$\n\\text{area\\_2x} = \\left| 120 \\cdot |A| - 200 \\cdot 169 \\right|.\n$$\nLet\n$$\n\\text{boundary} = \\gcd(144, C) + \\gcd(56, 49) + \\gcd(200, 120).\n$$\nLet $\\text{result} = \\frac{\\text{area\\_2x} + 2 - \\text{boundary}}{2}$. Let $Q$ be the Bell number corresponding to the remainder when $|\\text{result}|$ is divided by 11. Compute $Q$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(316),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='i'), Var(name='j')]), condition=Eq(left=Sum(Var(name='i'), Var(name='j')), right=Const(value=145)), domain=CartesianProduct(left=IntegerRange(start=Const(value=1), end=Const(value=144)), right=IntegerRange(start=Const(value=1), end=Const(value=145))))), Const(value=120)), Mul(Const(value=200), Sub(left=Const(value=0), right=Const(value=169))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=144)), b=Abs(arg=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_m')), Eq(left=GCD(a=Var(name='n'), b=Const(value=15)), right=Const(value=1))))))), GCD(a=Abs(arg=Sub(left=Const(value=200), right=Const(value=144))), b=Abs(arg=Sub(left=Const(value=120), right=Const(value=169)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=200))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "C4"], "recipe_id": "ebd983", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T04:13:30.836009Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T04:13:30.844840Z"}, "problem_hash": "666287", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 21147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 327, "completion_tokens": 1091}, "timestamp": "2026-02-10T15:57:35.677Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 818}, "timestamp": "2026-02-13T11:26:44.441Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 333, "completion_tokens": 647}, "timestamp": "2026-02-11T20:36:04.756Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "3361a2", "alias": "diophantine_fbi2_min_v1_677425708_1818", "problem": "Let $ k = 48 $ and define $ u = 58 $. Consider the set of all integers $ d $ such that $ 2 \\leq d \\leq u $, $ d $ divides $ k $, and $ \\frac{k}{d} \\geq 5 $. Let $ m $ be the minimum element of this set. Define $ a = |m| \\bmod 11 $. Compute the $ a $-th Bell number $ B_a $.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(48),\n \"a\": Const(1),\n \"b\": Const(4),\n \"upper\": Const(58),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE", "LIN_FORM"], "recipe_id": "17e69f", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "bell_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.026, "created_at": "2026-02-08T04:28:54.222300Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:28:54.248575Z"}, "problem_hash": "0c3c9e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 811}, "timestamp": "2026-02-10T01:20:54.679Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 476}, "timestamp": "2026-02-10T17:17:33.005Z"}, {"id": 8, "model": "mathstral", "answer": 5, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 876}, "timestamp": "2026-02-13T20:02:18.959Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 42, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 317}, "timestamp": "2026-02-11T21:00:13.427Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok", "COUNT_PRIMES": "no", "L3b": "no", "MOD_ADD": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "17fd65", "alias": "nt_sum_divisors_mod_v1_1520064083_4657", "problem": "Let $a$ be the number of solutions $(t)$ to the following: there exist positive integers $a'$ and $b$ with $1 \\le a' \\le 25$, $1 \\le b \\le 24$, $11 \\le t \\le 268$, and $t = 4a' + 7b$. Let $n = a + v$, where $v = \\lambda(6) + 1$ and $\\lambda$ denotes the Liouville function (defined as $\\lambda(n) = (-1)^{\\Omega(n)}$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity). Let $\\sigma$ be the sum of all positive divisors of $n$. Find the remainder when $\\sigma$ is divided by $10079$.", "answer": 744, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(1),\n \"c\": BigOmega(n=Ref(name='n2')),\n \"n1\": Sum(Const(5), Ref(\"c\")),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=24)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=268)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))), Ref(\"v\")),\n \"M\": Const(10079),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "c96de7", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:22:13.417222Z", "verification": {"verified": true, "answer": 744, "timestamp": "2026-02-08T06:22:13.419318Z"}, "problem_hash": "4e7284", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "L3c": "no", "LTE_SUM": "no", "V8": "no"}, "split": "test"} +{"id": "74a1d3", "alias": "modular_modexp_compute_v1_1520064083_1651", "problem": "Let $a = 47$, $e = 406$, and $m = 55696$. Let $r$ be the remainder when $a^e$ is divided by $m$. Let $p$ be the largest prime number not exceeding $399$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of odd positive integers such that $x_1 + x_2 = 10006$. Compute the remainder when $\\left(r \\bmod 251\\right) + c \\cdot \\left(r \\bmod p\\right)$ is divided by $77921$.", "answer": 57003, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77921),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(399)), IsPrime(Var(\"n\"))))),\n \"a\": Const(47),\n \"e\": Const(406),\n \"m\": Const(55696),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(10006))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(251)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COMB1"], "recipe_id": "02f3da", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:11:05.685178Z", "verification": {"verified": true, "answer": 57003, "timestamp": "2026-02-08T04:11:05.690564Z"}, "problem_hash": "cc49c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 57003, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 5003}, "timestamp": "2026-02-10T15:48:19.299Z"}, {"id": 8, "model": "mathstral", "answer": 210, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 1433}, "timestamp": "2026-02-13T10:38:40.921Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 360}, "timestamp": "2026-02-11T20:33:03.321Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COMB1": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "75dec6", "alias": "comb_sum_binomial_row_v1_1520064083_4823", "problem": "Let $n = 11$. Let $S$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 2185$ and $23$ divides $k$. Let $m$ be the number of elements in $S$. Let $t$ be the largest positive integer $k$ such that $5^k \\leq m$. Compute $t^n$. ", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(11),\n \"result\": Pow(MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(5), Var(\"k\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(2185)), Divides(divisor=Const(23), dividend=Var(\"k\"))), domain='positive_integers'))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MAX_VAL"], "recipe_id": "057bfd", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "MAX_VAL"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:27:02.684624Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T06:27:02.686336Z"}, "problem_hash": "34f174", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 291}, "timestamp": "2026-02-12T00:05:10.191Z"}], "solution_status": 2, "lemma_applicability": {"C2": "ok", "MAX_VAL": "ok_later", "COUNT_SUM_EQUALS": "no", "K13": "no", "K15": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "79b4df", "alias": "nt_sum_totient_over_divisors_v1_1125832087_1038", "problem": "Let $p = 2$. Define $e$ to be the remainder when $ (p-1)! + \\sum_{d \\mid \\gcd(8,15)} \\mu(d) $ is divided by $p$. Let $n_1 = 14 + e$. Define $h = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $n = 78768 + h$. Compute $ \\sum_{d \\mid n} \\phi(d) $.", "answer": 78768, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(2),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), modulus=Ref(\"p\")),\n \"n1\": Sum(Const(14), Ref(\"e\")),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Const(78768), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "MOBIUS_COPRIME", "WILSON"], "recipe_id": "98e00f", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:28:08.368806Z", "verification": {"verified": true, "answer": 78768, "timestamp": "2026-02-08T03:28:08.372848Z"}, "problem_hash": "f7581f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MOBIUS_COPRIME": "ok", "WILSON": "ok", "COUNT_PRIMES": "no", "K15": "no", "L3b": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "split": "test"} +{"id": "412d09", "alias": "modular_modexp_compute_v1_865884756_2002", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 967$ and the sum of the digits of $n$ is odd. Let $s$ be the number of positive integers $j$ such that $1 \\leq j \\leq |A|$ and $j^3 \\leq 113379904$. Define $e$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 968000$ and $s$ divides $k$. Let $a = 2$ and $m = 14400$. Define $r = a^e \\bmod m$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 2100, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(967)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"a\": Const(2),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(968000)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(3)), Const(113379904))), domain='positive_integers')), dividend=Var(\"k\"))), domain='positive_integers')),\n \"m\": Const(14400),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["L3B/C3/C2"], "recipe_id": "34fb8a", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "C3", "COUNT_FIB_DIVISIBLE", "L3B"], "num_lemmas": 4, "generation_time": 0.215, "created_at": "2026-02-08T16:26:39.923518Z", "verification": {"verified": true, "answer": 2100, "timestamp": "2026-02-08T16:26:40.138838Z"}, "problem_hash": "a5d89b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 518}, "timestamp": "2026-02-12T10:39:53.336Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "C2": "ok_later", "C3": "ok_later", "DS2": "no", "K14": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cbc60c", "alias": "algebra_quadratic_discriminant_v1_458359167_722", "problem": "Let $a = 2$, $b = 6$, and $c = -7$. Compute the discriminant $D = b^2 - 4ac$. Let $\\alpha = 1$ if $D > \\sum_{d \\mid k} \\mu(d)$, where $k$ is the largest integer such that $5^k$ divides $180!$, and $\\alpha = 0$ otherwise. Let $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Compute the value of $2\\alpha + \\beta$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(2),\n \"b\": Const(6),\n \"c\": Const(-7),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), SumOverDivisors(n=MaxKDivides(target=Factorial(arg=Const(value=180)), base=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["V1/MOBIUS_SUM"], "recipe_id": "6b1ace", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_SUM", "V1"], "num_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T03:31:28.237651Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:31:28.263237Z"}, "problem_hash": "a22714", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "K17": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "7a0860", "alias": "algebra_quadratic_discriminant_v1_124444284_5001", "problem": "Let $a = 1$ and $c = -54$. Let $b$ be the smallest divisor of $225$ that is at least $2$. Define $D = b^2 - 4ac$. Let $\\text{result}$ be the number of real solutions to the quadratic equation $ax^2 + bx + c = 0$, counting multiplicity (i.e., $2$ if $D > 0$, $1$ if $D = 0$, $0$ if $D < 0$). Let $c' = 42642$. Compute $c' \\cdot \\text{result}$.", "answer": 85284, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(1),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(225))))),\n \"c\": Const(-54),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": Const(42642),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T06:20:37.956503Z", "verification": {"verified": true, "answer": 85284, "timestamp": "2026-02-08T06:20:37.959476Z"}, "problem_hash": "1e9433", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 85284, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 258}, "timestamp": "2026-02-11T23:57:37.458Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "bcfe67", "alias": "nt_count_coprime_and_v1_784195855_4393", "problem": "Let $m = 103$ and $n = 97$. Define $\\text{upper}$ to be the largest positive divisor of $28955017$ that is at most $5369$. Let $k_1 = 7$ and $k_2 = 9$. Define $\\text{result}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $\\gcd(n, 7) = 1$, and $\\gcd(n, 9) = 1$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 370440$, $\\gcd(p, q) = 1$, and $p < q$. Compute the value of\n$$\n\\left(353702 \\cdot (\\text{result} \\bmod 97) + 329703 \\cdot \\left((\\text{result}^2 + 1) \\bmod 101\\right) + 215534 \\cdot \\left((\\text{result} + c) \\bmod 103\\right)\\right) \\bmod 75265.\n$$", "answer": 73001, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(103),\n \"_n\": Const(97),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(5369)), Divides(divisor=Var(\"d\"), dividend=Const(28955017))))),\n \"k1\": Const(7),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=370440)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_m\")))), modulus=Const(1009091)), modulus=Const(75265)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "MAX_DIVISOR"], "recipe_id": "df3a7f", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.599, "created_at": "2026-02-08T07:04:48.135366Z", "verification": {"verified": true, "answer": 73001, "timestamp": "2026-02-08T07:04:48.734398Z"}, "problem_hash": "0eb450", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19151, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 6610}, "timestamp": "2026-02-13T07:39:11.067Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 386, "completion_tokens": 448}, "timestamp": "2026-02-12T00:48:11.683Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K14": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "77fdee", "alias": "modular_sum_quadratic_residues_v1_898971024_411", "problem": "Let $p$ be the smallest prime divisor of $15877752557$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $Q$ be the remainder when $7 - \\text{result}$ is divided by $76026$. Compute $Q$.", "answer": 45670, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76026),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15877752557))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Sub(Const(7), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:26:49.815861Z", "verification": {"verified": true, "answer": 45670, "timestamp": "2026-02-08T15:26:49.818067Z"}, "problem_hash": "11f263", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 79, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 334}, "timestamp": "2026-02-12T08:25:40.733Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K15": "no", "K17": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7698db", "alias": "antilemma_k2_v1_124444284_7047", "problem": "Let $n$ be the sum of all real solutions $x$ to the equation $x^2 - 139x + 4824 = 0$. Define\n$$\nx = \\sum_{k=1}^{139} \\phi(k) \\left\\lfloor \\frac{1}{k} \\sum_{d \\mid n} \\phi(d) \\right\\rfloor.\n$$\nCompute the smallest positive integer $k$ such that the $k$th Fibonacci number is divisible by $|x| + 2$.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(139),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-139), Var(\"x\")), Const(4824)), Const(0)))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:47:22.444472Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T08:47:22.446705Z"}, "problem_hash": "208bf0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1620, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 2769}, "timestamp": "2026-02-13T22:06:13.441Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 568}, "timestamp": "2026-02-12T02:16:14.678Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "450b9b", "alias": "antilemma_v1_legendre_124444284_1219", "problem": "Let $x$ be the largest integer $k$ such that $7^k$ divides $25284!$.\n\nDefine $a = |x|$ and let $b = \\sum_{d \\mid \\gcd(5,7)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $c = |x| + b$.\n\nLet $d = \\varphi(2)$, where $\\varphi$ denotes Euler's totient function, and define $e = |x| + d$. Then let $f = \\tau(e)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nCompute $a + \\varphi(c) + f$.", "answer": 8036, "graph": "graphs = [\n Graph(\n let={\n \"x\": MaxKDivides(target=Factorial(Const(25284)), base=Const(7)),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=5), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d'))))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(2))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ONE_PHI_2", "V1"], "recipe_id": "a6ec92", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_2", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:44:35.326508Z", "verification": {"verified": true, "answer": 8036, "timestamp": "2026-02-08T03:44:35.328183Z"}, "problem_hash": "e00107", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8036, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 1546}, "timestamp": "2026-02-10T04:38:51.979Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8036, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 1557}, "timestamp": "2026-02-09T11:05:39.262Z"}], "solution_status": 2, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K17": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "080d51", "alias": "nt_min_coprime_above_v1_1874849503_360", "problem": "Let $m$ be the smallest divisor of $5893921838143$ that is at least $2$. Let $S$ be the set of all integers $n$ such that $56280 < n \\leq 56643$ and $\\gcd(n, m) = \\phi(\\phi(2))$. Compute the smallest element of $S$.", "answer": 56281, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(56280),\n \"upper\": Const(56643),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5893921838143))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), EulerPhi(n=EulerPhi(n=Const(2))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "54c41a", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.064, "created_at": "2026-02-08T12:58:03.967237Z", "verification": {"verified": true, "answer": 56281, "timestamp": "2026-02-08T12:58:04.031528Z"}, "problem_hash": "c8027b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:11:06.788Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "K17": "no", "K5": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "4934e4", "alias": "comb_count_permutations_fixed_v1_1431428450_154", "problem": "Let $n = 8$ and $k = 1$. Define $\\alpha = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.\n\nLet $S$ be the set of all integers $t$ such that $10 \\leq t \\leq 8213$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 507$, $1 \\leq b \\leq 956$, and $t = 3a + 7b$. Let $N$ be the number of elements in $S$.\n\nLet $D$ be the set of all positive integers $d$ such that $d \\leq N$ and $d$ divides $67330048$. Let $c$ be the maximum element of $D$.\n\nCompute the remainder when $c - \\alpha$ is divided by $64263$.", "answer": 57623, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64263),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=507)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=956)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=8213)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"n\": Const(8),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(67330048))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR"], "recipe_id": "af9269", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T13:16:57.753703Z", "verification": {"verified": true, "answer": 57623, "timestamp": "2026-02-08T13:16:57.758825Z"}, "problem_hash": "5dd04d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 508}, "timestamp": "2026-02-12T06:28:19.232Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "C2": "no", "K13": "no", "K18": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "969a84", "alias": "nt_count_coprime_and_v1_1742523217_3219", "problem": "Let $n$ be a positive integer such that $1 \\le n \\le 19748$. Compute the number of such $n$ that are relatively prime to both $5$ and $7$.\\\\\n\nLet $r$ be this count. Find the smallest positive integer $k$ such that the $k$th Fibonacci number is divisible by $r + 2$.", "answer": 5082, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19748),\n \"k1\": Const(5),\n \"k2\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LTE_SUM", "ONE_PHI_1"], "recipe_id": "e273eb", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LTE_SUM", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 6.278, "created_at": "2026-02-08T05:43:32.018176Z", "verification": {"verified": true, "answer": 5082, "timestamp": "2026-02-08T05:43:38.296485Z"}, "problem_hash": "2139cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5082, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 2208}, "timestamp": "2026-02-12T13:30:10.949Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 544}, "timestamp": "2026-02-11T23:02:41.857Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LTE_SUM": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "1f33e2", "alias": "antilemma_sum_equals_v1_1742523217_3081", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 99$, $1 \\leq j \\leq 99$, and $i + j = 101$. Let $y$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 70$, $1 \\leq j \\leq 71$, and $i + j = 72$. Compute the value of $5^{|x|} \\bmod 99991 + y$.", "answer": 29456, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(101)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(99))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(70)), right=IntegerRange(start=Const(1), end=Const(71)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "57f854", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "two_stage_modexp", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T05:31:16.943102Z", "verification": {"verified": true, "answer": 29456, "timestamp": "2026-02-08T05:31:16.950111Z"}, "problem_hash": "36fd72", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34839, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 3040}, "timestamp": "2026-02-12T11:49:49.593Z"}, {"id": 8, "model": "mathstral", "answer": 20826, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 1232}, "timestamp": "2026-02-14T20:35:46.168Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 370}, "timestamp": "2026-02-11T22:53:40.115Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "896e47", "alias": "nt_sum_divisors_range_v1_865884756_655", "problem": "Let $n_1$ be the maximum value of $xy$ over all positive integers $x$ and $y$ such that $x + y = 6$. Let $h = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $v = \\omega(1)$, the number of distinct prime factors of $1$. Let $s$ be the minimum value of $x_1 + y_1$ over all positive integers $x_1$ and $y_1$ such that $x_1 y_1 = 20250000$. Let $R$ be the sum of the number of positive divisors of all positive integers $n_2$ from $1$ to $s$, inclusive. Find the remainder when $44121 \\cdot R$ is divided by $96332 + h + v$.", "answer": 75222, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(96332),\n \"n1\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n')),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Mul(Var(\"x1\"), Var(\"y1\")), Const(20250000)))), expr=Sum(Var(\"x1\"), Var(\"y1\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n2\")))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Sum(Ref(\"_n\"), Ref(\"h\")), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/EULER_TOTIENT_SUM", "OMEGA_ZERO", "B3"], "recipe_id": "bc9ab1", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B1", "B3", "EULER_TOTIENT_SUM", "OMEGA_ZERO"], "num_lemmas": 4, "generation_time": 0.307, "created_at": "2026-02-08T15:33:06.222059Z", "verification": {"verified": true, "answer": 75222, "timestamp": "2026-02-08T15:33:06.528634Z"}, "problem_hash": "0e356d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "B3": "ok", "OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "V3": "no", "V5": "no"}, "split": "test"} +{"id": "7bd432", "alias": "algebra_quadratic_discriminant_v1_1470522791_1569", "problem": "Let $a = 6$, $b = 4$, and let $c$ be the smallest integer greater than or equal to 2 that divides $3773$. Compute the smallest positive integer $k$ such that the $k$th Fibonacci number is divisible by $|b^2 - 4ac| + 2$. The Fibonacci sequence is defined by $F_1 = F_2 = 1$ and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 120, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(6),\n \"b\": Const(4),\n \"c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3773))))),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:44:46.157044Z", "verification": {"verified": true, "answer": 120, "timestamp": "2026-02-08T13:44:46.158856Z"}, "problem_hash": "028a3a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 268}, "timestamp": "2026-02-12T07:19:49.290Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K18": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f672ee", "alias": "comb_factorial_compute_v1_48377204_2416", "problem": "Let $n$ be the smallest divisor of $13013$ that is at least $2$. Let $r = n!$. Compute the remainder when $81265 \\cdot r$ is divided by $81534$.", "answer": 30318, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13013))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(81265),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(81534)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:46:13.550414Z", "verification": {"verified": true, "answer": 30318, "timestamp": "2026-02-08T16:46:13.553539Z"}, "problem_hash": "d56efd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 80996, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 330}, "timestamp": "2026-02-12T20:53:26.075Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_DIFF_P2": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4a8814", "alias": "nt_count_with_divisor_count_v1_1520064083_2224", "problem": "Let $U$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=154$. Let $r$ be the number of integers $n$ with $1\\le n\\le U$ for which $n$ has exactly $4$ positive divisors.\n\nLet $T$ be the number of integers $n$ with $1\\le n\\le 19801$ and $\\gcd(n,10)=1$. Define\n$$C=\\sum_{d\\mid T} \\varphi(d).$$\nLet\n$$Q\\equiv r^2+7r+C\\pmod{95702},$$\nwhere $0\\le Q<95702$.\n\nFind the value of $Q$.", "answer": 42989, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(154)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"div_count\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=19801)), Eq(left=GCD(a=Var(name='n'), b=Ref(name='_n')), right=Const(value=1))))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(7), Ref(\"result\")), Ref(\"_c\")), modulus=Const(95702)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/K3", "B1"], "recipe_id": "fed3fd", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C4", "K3"], "num_lemmas": 3, "generation_time": 0.491, "created_at": "2026-02-08T04:35:17.528454Z", "verification": {"verified": true, "answer": 42989, "timestamp": "2026-02-08T04:35:18.019370Z"}, "problem_hash": "4e4ea3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 8192}, "timestamp": "2026-02-11T09:31:23.544Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 8192}, "timestamp": "2026-02-10T17:09:03.942Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 55713, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 3988}, "timestamp": "2026-02-12T01:33:55.799Z"}, {"id": 8, "model": "mathstral", "answer": 10845, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 654}, "timestamp": "2026-02-13T19:08:02.505Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 582}, "timestamp": "2026-02-11T21:35:04.540Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C4": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "c3049b", "alias": "nt_count_divisible_and_v1_1125832087_2038", "problem": "Let $d$ be the least integer greater than or equal to $2$ that divides $105$. Let $n_1=1$, and let $s$ be the number of prime factors of $n_1$, counted with multiplicity. Let $p=7$, and let $n=p^d$. Let $e$ be the number of distinct prime factors of $n$.\n\nLet $d_1=6$. For each integer $t$, consider whether there exist integers $a$ and $b$ such that $1\\le a\\le 3$, $1\\le b\\le 3$, $5\\le t\\le 15$, and\n$$t=3a+2b.$$\nLet $d_2$ be the number of integers $t$ for which such integers $a$ and $b$ exist.\n\nLet $\\text{upper}=27594$. Let $\\text{result}$ be the number of integers $n$ with $1\\le n\\le \\text{upper}$ such that\n\\begin{itemize}\n \\item $n\\equiv 0\\pmod{d_1}$, and\n \\item $n\\equiv \\displaystyle \\sum_{d\\mid \\gcd(9,24)} \\mu(d) \\pmod{d_2}$,\n\\end{itemize}\nwhere $\\mu(d)$ denotes the Möbius function.\n\nLet $c=19059$, and define\n$$Q\\equiv c\\cdot \\text{result} \\pmod{\\bigl(54985+s\\bigr)e},$$\nwith $0\\le Q<\\bigl(54985+s\\bigr)e$.\n\nFind the value of $Q$. ", "answer": 20412, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(105))))),\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(7),\n \"n\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"e\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(27594),\n \"d1\": Const(6),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=GCD(a=Const(value=9), b=Const(value=24)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": Const(19059),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Sum(Const(54985), Ref(\"s\")), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIN_FORM/OMEGA_ONE", "BIG_OMEGA_ZERO", "MOBIUS_COPRIME"], "recipe_id": "17b787", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 5, "generation_time": 1.024, "created_at": "2026-02-08T04:17:36.222282Z", "verification": {"verified": true, "answer": 20412, "timestamp": "2026-02-08T04:17:37.246559Z"}, "problem_hash": "a21ad3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "LIN_FORM": "ok_later", "OMEGA_ONE": "ok_later", "K18": "no", "L3b": "no", "LTE_SUM": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "fcc23c", "alias": "nt_sum_over_divisible_v1_1978505735_1106", "problem": "Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 5899$. Let $D$ be the set of all positive divisors $d$ of $34951519$ that are at most $\\max(P)$. Let $u = \\max(D)$. Compute the remainder when $$18928 \\cdot \\left( \\sum_{\\substack{n_1 = 1 \\\\ 39 \\mid n_1}}^{u} n_1 \\right)$$ is divided by $80859$.", "answer": 55680, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80859),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5899)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Const(34951519))))),\n \"divisor\": Const(39),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(18928), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_DIVISOR"], "recipe_id": "c8e97a", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.195, "created_at": "2026-02-08T15:49:45.501363Z", "verification": {"verified": true, "answer": 55680, "timestamp": "2026-02-08T15:49:45.696332Z"}, "problem_hash": "c4808d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 346}, "timestamp": "2026-02-12T09:17:44.319Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MAX_DIVISOR": "ok_later", "K13": "no", "K17": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d7d173", "alias": "nt_count_coprime_v1_784195855_2687", "problem": "Let $m=4$. Let $n$ be the smallest possible value of $x+y$, where $x$ and $y$ are positive integers such that $xy=25$.\n\nLet $k=6$ and let $U=56644$. Let $r$ be the number of integers $t$ with $1\\le t\\le U$ such that\n$$\\gcd(t,k)=\\sum_{d\\mid\\gcd(m,9)} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function.\n\nLet $c$ be the largest prime number between $2$ and $44$, inclusive.\n\nLet\n$$Q\\equiv r^2+nr+c \\pmod{58216},$$\nwhere $0\\le Q<58216$.\n\nFind the value of $Q$.", "answer": 49798, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(56644),\n \"k\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), SumOverDivisors(n=GCD(a=Ref(name='_m'), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(44)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(58216)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "recipe_id": "078868", "seed_template_id": "nt_count_coprime_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 4.431, "created_at": "2026-02-08T05:56:04.964253Z", "verification": {"verified": true, "answer": 49798, "timestamp": "2026-02-08T05:56:09.395089Z"}, "problem_hash": "2f0488", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "DS2": "no", "K14": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "9b7490", "alias": "antilemma_sum_equals_v1_1742523217_2360", "problem": "Let $m = 2$. Define $n$ to be the number of integers $t$ such that $5 \\leq t \\leq 21$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 3$, and $t = 2a + 3b$. Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 15$, $1 \\leq j \\leq 15$, and $i + j = n$. Compute\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} |x| \\rfloor} \\left( \\text{digit}_i(x) \\cdot (i+1)^m \\right) + \\text{the number of ordered pairs } (x_1, x_2) \\text{ of positive odd integers such that } x_1 + x_2 = 24.\n$$", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=21)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(15))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Factorial(Const(0))), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(24)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_FACTORIAL_0"], "recipe_id": "2acf76", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM", "ONE_FACTORIAL_0"], "num_lemmas": 4, "generation_time": 0.019, "created_at": "2026-02-08T04:43:04.206309Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T04:43:04.225290Z"}, "problem_hash": "296bd0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 335, "completion_tokens": 2292}, "timestamp": "2026-02-11T21:54:15.490Z"}, {"id": 8, "model": "mathstral", "answer": 88, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 975}, "timestamp": "2026-02-13T23:22:31.369Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 321, "completion_tokens": 549}, "timestamp": "2026-02-11T21:46:26.020Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.83, "hi": 1.59}, "split": "test"} +{"id": "c44b66", "alias": "diophantine_fbi2_min_v1_1520064083_2656", "problem": "Let $ k $ be the number of ordered pairs $ (i, j) $ of positive integers such that $ 1 \\leq i \\leq 72 $, $ 1 \\leq j \\leq 73 $, and $ i + j = 73 $. Let $ m = 245 $ and $ n = 4 $. Define $ T $ to be the set of all integers $ d $ such that $ 4 \\leq d \\leq 82 $, $ d $ divides $ k $, and $ \\frac{k}{d} \\geq \\min\\left\\{ d' \\geq 2 : d' \\mid 245 \\right\\} $. Find the value of the smallest such $ d $.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(245),\n \"_n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(73)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(73))))),\n \"upper\": Const(82),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "recipe_id": "7f0b78", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.06, "created_at": "2026-02-08T04:54:16.964639Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T04:54:17.024675Z"}, "problem_hash": "081228", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 877}, "timestamp": "2026-02-11T22:25:13.096Z"}, {"id": 8, "model": "mathstral", "answer": 8, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 209, "completion_tokens": 595}, "timestamp": "2026-02-14T03:18:23.821Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 378}, "timestamp": "2026-02-11T22:03:02.639Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "MAX_VAL": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "b67736", "alias": "algebra_vieta_sum_v1_677425708_3576", "problem": "Let $m$ be the largest prime number between 2 and 4, inclusive. Let $c = 2$. Let $p$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 74832$ and $\\binom{74832}{j}$ is odd. Let $q$ be the largest prime number between 2 and $p$, inclusive. Consider the polynomial $$x^m - 10x^2 + qx - 30.$$ Find the sum of all real roots of this polynomial.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"_n\": Const(2),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-10), Pow(Var(\"x\"), Ref(\"_n\"))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(74832)), Eq(Mod(value=Binom(n=Const(74832), k=Var(\"j\")), modulus=Ref(\"_c\")), Const(1))), domain='nonnegative_integers'))), IsPrime(Var(\"n\"))))), Var(\"x\")), Const(-30)), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/MAX_PRIME_BELOW", "MAX_PRIME_BELOW/V8"], "recipe_id": "4c1c81", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V8"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T05:51:07.034919Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T05:51:07.049236Z"}, "problem_hash": "a94ccc", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 349}, "timestamp": "2026-02-11T23:11:44.186Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 306}, "timestamp": "2026-02-11T23:11:36.532Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V8": "ok", "K18": "no", "K5": "no", "L3c": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "61c819", "alias": "algebra_poly_eval_v1_48377204_703", "problem": "Let $d$ be the smallest divisor of $15$ that is at least $2$. Define $\\alpha = 8 \\cdot 10^d + 5 \\cdot 10^2 + 9 \\cdot 10 + 8$. Compute the remainder when $\\alpha^2 + 16\\alpha + 128$ is divided by $97435$.", "answer": 12700, "graph": "graphs = [\n Graph(\n let={\n \"b\": Const(10),\n \"result\": Sum(Mul(Const(8), Pow(Ref(\"b\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15))))))), Mul(Const(5), Pow(Ref(\"b\"), Const(2))), Mul(Const(9), Ref(\"b\")), Const(8)),\n \"_c\": Const(128),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(16), Ref(\"result\")), Ref(\"_c\")), modulus=Const(97435)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:39:33.331707Z", "verification": {"verified": true, "answer": 12700, "timestamp": "2026-02-08T15:39:33.334265Z"}, "problem_hash": "afde65", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 474}, "timestamp": "2026-02-12T08:53:04.171Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a08e7f", "alias": "nt_count_intersection_v1_1918700295_1182", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define\n$$\nb = \\sum_{k=1}^{A} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor,\n$$\nwhere\n$$\nA = \\max\\left\\{ n \\in \\mathbb{Z}^+ \\mid 2 \\leq n \\leq \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor \\text{ and } n \\text{ is prime} \\right\\}.\n$$\nLet $N = 20000$. Let $S$ be the set of all positive integers $n \\leq N$ such that $7$ divides $n$ and $\\gcd(n, b) = 1$. Compute the number of elements in $S$.", "answer": 1524, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(5),\n \"N\": Const(20000),\n \"a\": Const(7),\n \"b\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\")))))), IsPrime(Var(\"n\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MAX_PRIME_BELOW/K2"], "recipe_id": "e60010", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 4.518, "created_at": "2026-02-08T05:38:05.362134Z", "verification": {"verified": true, "answer": 1524, "timestamp": "2026-02-08T05:38:09.880525Z"}, "problem_hash": "f008eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1524, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 218, "completion_tokens": 1356}, "timestamp": "2026-02-12T13:16:41.092Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1429, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 658}, "timestamp": "2026-02-11T23:01:46.087Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K16": "no", "K17": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "d020d9", "alias": "nt_count_digit_sum_v1_124444284_9807", "problem": "Let $n = 49$. Define $S$ as the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $T$ be the set of all integers $t$ satisfying $45 \\leq t \\leq 30057$ for which there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1407$, $1 \\leq b \\leq 82$, and $t = 21a + 6b + 18$. Let $u$ be the number of elements in $T$. Let $s$ be the minimum value of $x + y$ over all pairs $(x, y) \\in S$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq u$ and the sum of the digits of $n$ is equal to $s$.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1407)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=82)), Geq(left=Var(name='t'), right=Const(value=45)), Leq(left=Var(name='t'), right=Const(value=30057)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=18)))))))),\n \"target_sum\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 4.38, "created_at": "2026-02-08T12:41:26.352350Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T12:41:30.732522Z"}, "problem_hash": "c9bee1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 497}, "timestamp": "2026-02-12T05:31:42.441Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5002d2", "alias": "algebra_vieta_sum_v1_1353956133_500", "problem": "Let $m = 19$ and let $n$ be the smallest integer $d \\geq 2$ that divides $15$. Define $\\text{result}$ to be the sum of all real numbers $x$ satisfying\n$$\n- x^k - 4x^n + 19x^2 - 14x = 0,\n$$\nwhere $k$ is the number of ordered pairs of positive integers $(p, q)$ such that $p < q$, $pq = 90$, and $\\gcd(p, q) = 1$. Compute $17689 - \\text{result}$.", "answer": 17693, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(19),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Mul(Const(-1), Pow(Var(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=90)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Mul(Const(-4), Pow(Var(\"x\"), Ref(\"_n\"))), Mul(Ref(\"_m\"), Pow(Var(\"x\"), Const(2))), Mul(Const(-14), Var(\"x\"))), Const(0)))),\n \"Q\": Sub(Const(17689), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COPRIME_PAIRS"], "recipe_id": "7f271c", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T11:28:36.120574Z", "verification": {"verified": true, "answer": 17693, "timestamp": "2026-02-08T11:28:36.133453Z"}, "problem_hash": "c7762e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17693, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 1155}, "timestamp": "2026-02-14T14:50:52.809Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 590}, "timestamp": "2026-02-12T04:08:54.915Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COPRIME_PAIRS": "ok_later", "C2": "no", "K14": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "24c6e1", "alias": "nt_count_primes_v1_151522320_2127", "problem": "Let $m = 2$. Let $A$ be the set of all positive integers $n$ such that $1 \\le n \\le 2$ and $n$ is even. Let $s$ be the sum of all elements in $A$. Let $B$ be the set of all positive integers $n$ such that $s \\le n \\le 13924$ and $n$ is prime. Compute the number of elements in $B$.", "answer": 1646, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2)), Eq(Mod(value=Var(\"n\"), modulus=Const(2)), Const(0))))),\n \"upper\": Const(13924),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_m\")), Summation(var=\"k\", start=Const(0), end=Const(2), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(2), k=Var(\"k\"))))))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/SUM_DIVISIBLE", "BINOMIAL_ALTERNATING"], "recipe_id": "96b168", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 2.472, "created_at": "2026-02-08T04:36:53.714822Z", "verification": {"verified": true, "answer": 1646, "timestamp": "2026-02-08T04:36:56.186825Z"}, "problem_hash": "b0c0ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:39:32.111Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1649, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 3847}, "timestamp": "2026-02-11T21:38:26.373Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1643, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 1467}, "timestamp": "2026-02-12T02:07:02.297Z"}, {"id": 8, "model": "mathstral", "answer": 125, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 1077}, "timestamp": "2026-02-13T21:18:56.076Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 233}, "timestamp": "2026-02-11T21:38:14.866Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "SUM_DIVISIBLE": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "1711b3", "alias": "comb_count_permutations_fixed_v1_1918700295_1113", "problem": "Let $n = 7$ and let $k$ be the sum of $\\mu(d)$ over all positive divisors $d$ of 47. Define $A$ to be the number of ordered pairs $(x, y)$ of positive integers such that $xy = 2250000$, and let $S$ be the sum $x + y$ over all such pairs. Compute the minimum value of $S$ minus $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 1146, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"k\": SumOverDivisors(n=Const(value=47), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "MOBIUS_SUM"], "recipe_id": "947cb5", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:36:08.984677Z", "verification": {"verified": true, "answer": 1146, "timestamp": "2026-02-08T05:36:08.986778Z"}, "problem_hash": "148a5e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "d63729", "alias": "nt_count_divisible_v1_1440796553_283", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le 53824$ and $n$ is divisible by $29$. Let $d_{\\min}$ be the smallest divisor of $95981209$ that is at least $2$, and let $r_1 = N \\bmod d_{\\min}$. Let $r_2 = (N^2 + 1) \\bmod 101$. Let $d_{\\max}$ be the largest divisor $d$ of $11227$ such that $1 \\le d \\le 103$, and let $r_3 = (N + 16) \\bmod d_{\\max}$. Define\n\\[\nQ = (353702 \\cdot r_1 + 329703 \\cdot r_2 + 215534 \\cdot r_3) \\bmod 1009091,\n\\]\nand compute $Q \\bmod 94602$.", "answer": 61883, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"upper\": Const(53824),\n \"divisor\": Const(29),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(16),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(95981209))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11227)))))))), modulus=Const(1009091)), modulus=Const(94602)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_DIVISOR"], "recipe_id": "e393be", "seed_template_id": "nt_count_divisible_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 8.848, "created_at": "2026-02-08T11:42:06.787262Z", "verification": {"verified": true, "answer": 61883, "timestamp": "2026-02-08T11:42:15.635134Z"}, "problem_hash": "23032c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61883, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 3111}, "timestamp": "2026-02-14T17:44:46.568Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 333, "completion_tokens": 501}, "timestamp": "2026-02-12T04:27:55.693Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "302792", "alias": "algebra_poly_eval_v1_1431428450_1359", "problem": "Let $a$ be the smallest integer $d \\geq 2$ that divides $143$. Compute $8a^2 + 3a + 1$.", "answer": 1002, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143))))),\n \"result\": Sum(Mul(Const(8), Pow(Ref(\"a\"), Const(2))), Mul(Const(3), Ref(\"a\")), Const(1)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T14:02:54.561594Z", "verification": {"verified": true, "answer": 1002, "timestamp": "2026-02-08T14:02:54.563696Z"}, "problem_hash": "0a5ba3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1002, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 201}, "timestamp": "2026-02-12T07:44:03.522Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "ba6ff6", "alias": "diophantine_fbi2_count_v1_717093673_4216", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 432$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 32$, $1 \\leq b \\leq 84$, and $t = 3a + 4b$. Let $k$ be the number of elements in $T$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 2704$, and let $m$ be the minimum value of $x + y$ over all such pairs. Find the number of integers $d$ such that $2 \\leq d \\leq 101$, $d$ divides $k$, and $5 \\leq k/d \\leq m$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(2),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=84)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=432)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2704)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.135, "created_at": "2026-02-08T18:06:14.049674Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T18:06:14.184488Z"}, "problem_hash": "d73e70", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 507}, "timestamp": "2026-02-12T23:43:57.743Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d61d6e", "alias": "nt_count_with_divisor_count_v1_898971024_149", "problem": "Let $d_{\\text{min}}$ be the smallest divisor of $37295413$ that is at least $2$. Find the number of positive integers $n$ such that $1 \\leq n \\leq d_{\\text{min}}$ and $n$ has exactly $6$ positive divisors. Compute the remainder when $44121$ times this number is divided by $55285$.", "answer": 23578, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(37295413))))),\n \"div_count\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(55285)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.288, "created_at": "2026-02-08T15:13:19.464050Z", "verification": {"verified": true, "answer": 23578, "timestamp": "2026-02-08T15:13:20.751717Z"}, "problem_hash": "f446ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 311}, "timestamp": "2026-02-12T08:05:37.593Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "K17": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "80e97b", "alias": "nt_count_coprime_and_v1_1918700295_969", "problem": "Let $s$ be the number of distinct prime factors of 16. Let $k_1 = 9s$ and $k_2 = 16$. Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le 60550$ and\n\\begin{itemize}\n\\item $\\gcd(n, k_1) = 1$,\n\\item $\\gcd(n, k_2) = \\sum_{d \\mid \\gcd(p, 7)} \\mu(d)$, where $p$ is the largest prime satisfying $2 \\le p \\le 6$.\n\\end{itemize}\nCompute the value of $N$.", "answer": 20183, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(16),\n \"s\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n')),\n \"upper\": Sum(Const(60549), Ref(\"e\")),\n \"k1\": Mul(Const(9), Ref(\"s\")),\n \"k2\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=6)), IsPrime(arg=Var(name='n'))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "OMEGA_ZERO", "OMEGA_ONE"], "recipe_id": "33b9b7", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "OMEGA_ONE", "OMEGA_ZERO"], "num_lemmas": 4, "generation_time": 11.931, "created_at": "2026-02-08T05:24:49.063322Z", "verification": {"verified": true, "answer": 20183, "timestamp": "2026-02-08T05:25:00.994228Z"}, "problem_hash": "17a65b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "OMEGA_ONE": "ok", "OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok_later", "K15": "no", "K16": "no", "LTE_SUM": "no", "V1": "no", "V5": "no"}, "split": "test"} +{"id": "2a38d2", "alias": "nt_sum_totient_over_divisors_v1_1918700295_3896", "problem": "Let $m = 30$. Define $n$ to be the number of integers $t$ such that $7 \\leq t \\leq 42$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 6$, and $t = 4a + 3b$. Let $N = 60197$. Compute\n$$\n\\sum_{d \\mid N} \\phi(d) + \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor.\n$$", "answer": 92150, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=42)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"n\": Const(60197),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K2"], "recipe_id": "316ffb", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T09:01:46.665877Z", "verification": {"verified": true, "answer": 92150, "timestamp": "2026-02-08T09:01:46.668405Z"}, "problem_hash": "db96da", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 60662, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 1850}, "timestamp": "2026-02-13T23:27:21.988Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 564}, "timestamp": "2026-02-12T02:25:19.947Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "K2": "ok_later", "C2": "no", "L3b": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "b55738", "alias": "comb_count_derangements_v1_1918700295_3282", "problem": "Let $c = 65824$. Let $m$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq c$ and $\\binom{c}{j}$ is odd. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_{\\text{max}}$ be the largest prime number $n$ such that $n \\geq n$ and $n \\leq m$. Compute the number of derangements of $n_{\\text{max}}$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(65824),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_c\")), Eq(Mod(value=Binom(n=Const(65824), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "a3b369", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T08:30:10.518562Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T08:30:10.521923Z"}, "problem_hash": "8b5d6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 2717}, "timestamp": "2026-02-13T19:14:39.818Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 649}, "timestamp": "2026-02-12T01:57:20.729Z"}], "solution_status": 1, "lemma_applicability": {"V8": "ok", "COPRIME_PAIRS": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "81b732", "alias": "modular_sum_quadratic_residues_v1_655260480_3406", "problem": "Let $p$ be the smallest divisor of $3446028377977$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 24414, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3446028377977))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:22:21.741817Z", "verification": {"verified": true, "answer": 24414, "timestamp": "2026-02-08T17:22:21.743074Z"}, "problem_hash": "8350d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 204}, "timestamp": "2026-02-12T22:25:21.333Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "58c8cb", "alias": "comb_count_partitions_v1_655260480_3623", "problem": "Let $n = 42$ and $N = 168$. Let $P$ be the number of integer partitions of $n$. Let $M$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = N$. Compute the remainder when $M - P$ is divided by $91264$.", "answer": 45146, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(168),\n \"n\": Const(42),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(91264)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_count_partitions_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T17:28:26.135777Z", "verification": {"verified": true, "answer": 45146, "timestamp": "2026-02-08T17:28:26.138491Z"}, "problem_hash": "d2d156", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 338}, "timestamp": "2026-02-12T22:37:13.350Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cf0147", "alias": "modular_modexp_compute_v1_655260480_4299", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 41409$ and $$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}.\n$$\nLet $e$ be the number of such integers $n$. Define $a = 31$ and $m = 33489$. Let $r$ be the remainder when $a^e$ is divided by $m$. Compute the remainder when $61347 \\cdot r$ is divided by $87566$.", "answer": 29464, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41409),\n \"a\": Const(31),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"m\": Const(33489),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(61347), Ref(\"result\")), modulus=Const(87566)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T17:52:35.227799Z", "verification": {"verified": true, "answer": 29464, "timestamp": "2026-02-08T17:52:35.231071Z"}, "problem_hash": "1bb0e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 791}, "timestamp": "2026-02-12T23:15:02.916Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "97ac96", "alias": "diophantine_product_count_v1_1439011603_2701", "problem": "Let $k$ be the number of positive integers $n$ with $1 \\le n \\le 1800$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $S$ be the set of all positive integers $x$ such that $1 \\le x \\le 333$, $x$ divides $k$, and $\\frac{k}{x} \\le 333$. Compute the remainder when $35318 \\cdot |S|$ is divided by $53303$.", "answer": 30754, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35318),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1800)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"upper\": Const(333),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(53303)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.033, "created_at": "2026-02-08T16:55:08.214921Z", "verification": {"verified": true, "answer": 30754, "timestamp": "2026-02-08T16:55:08.247962Z"}, "problem_hash": "6dfbbf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 617}, "timestamp": "2026-02-12T21:32:05.108Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f061b0", "alias": "nt_sum_divisors_mod_v1_1742523217_5638", "problem": "Let $\\Omega(n)$ denote the number of prime factors of $n$ counted with multiplicity, and let $\\mu(n)$ denote the M\\\"obius function. Define $c = \\Omega(1)$ and $t = \\sum_{d \\mid 1} \\mu(d)$. Let $\\sigma = \\sum_{d \\mid 83160} d$, and let $M = 11491$. Compute the remainder when $\\sigma$ is divided by $M$, and denote this value by $r$. Let $C$ be the number of integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 357$, $1 \\leq b \\leq 1389$, $36 \\leq t \\leq 28332$, and $t = 21a + 15b$. Let $Q$ be the remainder when $r^2 + 41r + C$ is divided by $(87969 + c) \\cdot t$. Find the value of $Q$.", "answer": 10258, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41),\n \"n2\": Const(1),\n \"c\": BigOmega(n=Ref(name='n2')),\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(83160),\n \"M\": Const(11491),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=357)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1389)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=28332)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")), modulus=Mul(Sum(Const(87969), Ref(\"c\")), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "BIG_OMEGA_ZERO", "MOBIUS_SUM"], "recipe_id": "1e6eb9", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T11:08:31.947664Z", "verification": {"verified": true, "answer": 10258, "timestamp": "2026-02-08T11:08:31.950020Z"}, "problem_hash": "2778f8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K15": "no", "K18": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "8e31f9", "alias": "antilemma_product_of_sums_v1_153355830_73", "problem": "Let $x$ be the product of two quantities. The first is the sum of all positive integers $k$ such that $3^k \\le 71586494964$. The second is the sum of all $k$ such that $(k, j)$ is an ordered pair of positive integers with $1 \\le k \\le 8$ and $1 \\le j \\le 9$. Compute $x$.", "answer": 81972, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(71586494964)))), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Var(\"k\")))),\n \"Q\": Ref(\"x\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "a95604", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_VAL", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:52:59.497921Z", "verification": {"verified": true, "answer": 81972, "timestamp": "2026-02-08T02:52:59.499942Z"}, "problem_hash": "556a24", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 81972, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 1450}, "timestamp": "2026-02-08T22:41:51.875Z"}], "solution_status": 2, "lemma_applicability": {"MAX_VAL": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "K16": "same_pattern_wrong", "C2": "no", "L3b": "no", "MOD_SUB": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "1cf2b7", "alias": "nt_count_divisors_in_range_v1_548369836_49", "problem": "Let $n=20160$. Let $N$ be the number of positive divisors $d$ of $n$ that satisfy $1\\le d\\le 840$. Compute $N$.", "answer": 67, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(20160),\n \"a\": Const(1),\n \"b\": Const(840),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/K3", "LIN_FORM/V8"], "recipe_id": "3cfc2e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "B3", "K3", "LIN_FORM", "V8"], "num_lemmas": 5, "generation_time": 0.134, "created_at": "2026-02-08T02:44:41.620632Z", "verification": {"verified": true, "answer": 67, "timestamp": "2026-02-08T02:44:41.754398Z"}, "problem_hash": "597785", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 67, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:46:18.011Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 67, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 151, "completion_tokens": 3059}, "timestamp": "2026-02-09T19:03:31.122Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 104, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:46:41.555Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 67, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 98, "completion_tokens": 6307}, "timestamp": "2026-02-09T01:54:08.694Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 87, "completion_tokens": 2492}, "timestamp": "2026-02-09T07:44:30.250Z"}, {"id": 8, "model": "mathstral", "answer": 35, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 101, "completion_tokens": 743}, "timestamp": "2026-02-11T03:13:08.902Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 542}, "timestamp": "2026-02-11T19:41:04.071Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "B3": "ok_later", "K3": "ok_later", "V8": "ok_later", "COUNT_PRIMES": "no", "K16": "no", "K5": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "78eaa9", "alias": "nt_sum_divisors_compute_v1_784195855_2981", "problem": "Let $n = 25600$, and let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Let $\\ell = 5$, and define $m = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{\\ell}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Compute the value of $\\sigma(n) + 2^{\\sigma(n) \\bmod m} \\bmod 91207$.", "answer": 63585, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"n\": Const(25600),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_m\"), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))))), modulus=Const(91207))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2"], "recipe_id": "105ef2", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:09:44.162383Z", "verification": {"verified": true, "answer": 63585, "timestamp": "2026-02-08T06:09:44.166536Z"}, "problem_hash": "d2d460", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63585, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 1112}, "timestamp": "2026-02-12T20:54:05.730Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9844, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 466}, "timestamp": "2026-02-11T23:42:57.755Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "f24402", "alias": "comb_sum_binomial_mod_v1_655260480_5773", "problem": "Let $d_0$ be the smallest divisor of $9781900727$ that is at least $2$. Define $s = \\sum_{k=102}^{d_0} \\binom{446}{k}$. Let $t$ be the remainder when $s$ is divided by $10891$, and let $Q$ be the remainder when $44121 \\cdot t$ is divided by $94097$. Find the value of $Q$.", "answer": 37675, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94097),\n \"sum\": Summation(var=\"k\", start=Const(102), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9781900727))))), expr=Binom(n=Const(446), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10891)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.022, "created_at": "2026-02-08T18:39:36.709524Z", "verification": {"verified": true, "answer": 37675, "timestamp": "2026-02-08T18:39:36.731773Z"}, "problem_hash": "17f63d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 516}, "timestamp": "2026-02-13T00:21:15.456Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "K14": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a0acad", "alias": "modular_min_modexp_v1_1978505735_674", "problem": "Let $ a = 5 $. Let $ b = \\sum_{k=1}^{15} k $. Let $ m $ be the number of positive integers $ n $ with $ 1 \\leq n \\leq 701 $ such that $ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3} $. Let $ u $ be the number of positive integers $ j $ with $ 1 \\leq j \\leq 232 $ such that $ j^4 \\leq 2897022976 $. Let $ x_0 $ be the smallest positive integer $ x $ such that $ 1 \\leq x \\leq u $ and $ 5^x \\equiv b \\pmod{m} $. Compute the remainder when $ 43703 \\cdot x_0 $ is divided by $ 56306 $.", "answer": 4264, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(232),\n \"_n\": Const(56306),\n \"a\": Const(5),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(15), expr=Var(\"k\")),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(701)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_m\")), Leq(Pow(Var(\"j\"), Const(4)), Const(2897022976))), domain='positive_integers')),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(43703), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "L3C", "C3"], "recipe_id": "f5a0cb", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "L3C", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.029, "created_at": "2026-02-08T15:31:53.083938Z", "verification": {"verified": true, "answer": 4264, "timestamp": "2026-02-08T15:31:53.112823Z"}, "problem_hash": "287322", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 298, "completion_tokens": 467}, "timestamp": "2026-02-12T08:38:55.016Z"}], "solution_status": 0, "lemma_applicability": {"C3": "ok", "L3C": "ok", "SUM_ARITHMETIC": "ok", "C2": "no", "K16": "no", "K17": "no", "K18": "no", "K5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "686531", "alias": "modular_count_residue_v1_1520064083_6685", "problem": "Let $m$ be the smallest divisor of $12673$ that is at least $2$. Let $r = 2$ and let $u = 53361$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $n \\equiv r \\pmod{m}$. Let $t$ be the number of elements in $S$. Compute the remainder when $39989 \\cdot t$ is divided by $57675$.", "answer": 35876, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(53361),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(12673))))),\n \"r\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mul(Const(39989), Ref(\"result\")), modulus=Const(57675)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.662, "created_at": "2026-02-08T08:15:59.070430Z", "verification": {"verified": true, "answer": 35876, "timestamp": "2026-02-08T08:16:03.732651Z"}, "problem_hash": "9bc761", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 35876, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 3610}, "timestamp": "2026-02-13T16:55:17.827Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10903, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 537}, "timestamp": "2026-02-12T01:43:47.099Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K16": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "d8424e", "alias": "comb_count_permutations_fixed_v1_1915831931_3593", "problem": "Let $n$ be the smallest divisor of $385$ that is at least $2$. Compute the value of $\\binom{n}{0} \\cdot !n$, where $!n$ denotes the number of derangements of $n$ elements, and then find the remainder when $61097$ times this value is divided by $54372$.", "answer": 24040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(385))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(61097), Ref(\"result\")), modulus=Const(54372)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T17:46:43.752958Z", "verification": {"verified": true, "answer": 24040, "timestamp": "2026-02-08T17:46:43.756991Z"}, "problem_hash": "67818c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 42920, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 508}, "timestamp": "2026-02-12T23:10:10.693Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7c5287", "alias": "nt_count_phi_equals_v1_124444284_1196", "problem": "Let $m = 1836$ and $n = 96$. Let $u$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = n$. Let $k$ be the number of positive integers $\\ell \\leq m$ such that the digit sum of $\\ell$ is even. Determine the number of positive integers $a \\leq u$ such that $\\phi(a) = k$. Let $Q$ be the smallest positive index $j$ such that the $j$-th Fibonacci number is divisible by $|\\text{that number}| + 2$. Find the value of $Q$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1836),\n \"_n\": Const(96),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "B1"], "recipe_id": "c2339c", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "L3B"], "num_lemmas": 2, "generation_time": 0.329, "created_at": "2026-02-08T03:44:08.813675Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T03:44:09.143166Z"}, "problem_hash": "007cf5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:17:26.809Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 6698}, "timestamp": "2026-02-09T10:50:37.236Z"}, {"id": 8, "model": "mathstral", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 496}, "timestamp": "2026-02-12T23:54:55.017Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 609}, "timestamp": "2026-02-11T21:09:17.360Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "L3B": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "1707c7", "alias": "nt_num_divisors_compute_v1_717093673_1624", "problem": "Let $n = 32041$. Compute the number of positive divisors of $n$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(32041),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T16:13:06.897397Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T16:13:06.903741Z"}, "problem_hash": "aba985", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 104}, "timestamp": "2026-02-12T10:10:18.928Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "181447", "alias": "diophantine_fbi2_min_v1_1520064083_4719", "problem": "Let $m = \\sum_{d \\mid \\gcd\\left(8,\\, \\max\\{k : 2^k \\text{ divides } 16!\\}\\right)} \\mu(d)$. Define $k = \\sum_{i=m}^{4} i$. Let $d_{\\text{min}}$ be the smallest integer $d \\ge 2$ such that $d \\le 20$, $d$ divides $k$, and $k/d \\ge 2$.\n\nCompute $d_{\\text{min}}$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=8), b=MaxKDivides(target=Factorial(arg=Const(value=16)), base=Const(value=2))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(4), expr=Var(\"k\")),\n \"upper\": Const(20),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["V1/MOBIUS_COPRIME/SUM_ARITHMETIC"], "recipe_id": "0f2fa5", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "SUM_ARITHMETIC", "V1"], "num_lemmas": 4, "generation_time": 0.038, "created_at": "2026-02-08T06:24:11.761626Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T06:24:11.799722Z"}, "problem_hash": "f29a99", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_ARITHMETIC": "ok_later", "K5": "same_pattern_wrong", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "f72664", "alias": "modular_count_residue_v1_458359167_4216", "problem": "Let $m = 27$. Let $r$ be the smallest divisor of $135$ that is at least $2$. Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 84100$ and $n \\equiv r \\pmod{m}$. Compute the value of $61504 - |S|$.", "answer": 58389, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(84100),\n \"m\": Const(27),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(135))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sub(Const(61504), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.013, "created_at": "2026-02-08T11:38:15.609562Z", "verification": {"verified": true, "answer": 58389, "timestamp": "2026-02-08T11:38:18.622468Z"}, "problem_hash": "d348ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58392, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 122, "completion_tokens": 743}, "timestamp": "2026-02-14T16:36:10.619Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 58390, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 372}, "timestamp": "2026-02-12T04:21:22.907Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "6189f8", "alias": "diophantine_fbi2_count_v1_124444284_1289", "problem": "Let $k = 60$. Consider the set of positive integers $d$ such that $2 \\leq d \\leq 56$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 58$. Let $A$ be the number of such integers $d$. Let $B$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 76$ such that $\\gcd(i, j) = 1$. Define $Q = \\left(3^{|A|} \\bmod 99991\\right) + B$. Find the value of $Q$.", "answer": 7005, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Const(56)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(58))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(76))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "ONE_PHI_2"], "recipe_id": "a77f80", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T03:48:45.845346Z", "verification": {"verified": true, "answer": 7005, "timestamp": "2026-02-08T03:48:45.857009Z"}, "problem_hash": "d8f0ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7005, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1672}, "timestamp": "2026-02-10T05:42:19.556Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7005, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1450}, "timestamp": "2026-02-09T12:07:44.132Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok", "C2": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "c5afba", "alias": "diophantine_fbi2_count_v1_238844314_1068", "problem": "Let $k = 840$. Consider the set of all positive integers $d$ such that $6 \\leq d \\leq 118$, $d$ divides $k$, and\n$$\n6 \\leq \\frac{k}{d} \\leq 117.\n$$\nAdditionally, require that $\\frac{k}{d} \\geq m$, where $m$ is the smallest positive integer greater than or equal to $2$ that divides $6125$. Let $R$ be the number of such integers $d$. Compute the remainder when $44121 \\cdot R$ is divided by $82736$.", "answer": 49554, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"k\": Const(840),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(118)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6125)))))), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(117))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(82736)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T13:53:03.398354Z", "verification": {"verified": true, "answer": 49554, "timestamp": "2026-02-08T13:53:03.414150Z"}, "problem_hash": "f363bf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 555}, "timestamp": "2026-02-12T07:28:50.267Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K14": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c33de8", "alias": "modular_count_residue_v1_655260480_5233", "problem": "Let $n = 4235$ and $m = 28$. Define $r$ to be the smallest divisor of $n$ that is at least $2$. Let $S$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 70225$ and $k \\equiv r \\pmod{m}$. Compute the number of elements in $S$. Multiply this number by $14625$, and find the remainder when the product is divided by $96124$. Determine the value of this remainder.", "answer": 56256, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4235),\n \"upper\": Const(70225),\n \"m\": Const(28),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(14625),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(96124)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.237, "created_at": "2026-02-08T18:22:22.269945Z", "verification": {"verified": true, "answer": 56256, "timestamp": "2026-02-08T18:22:24.506948Z"}, "problem_hash": "774b54", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 480}, "timestamp": "2026-02-13T00:03:43.201Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5cecee", "alias": "comb_factorial_compute_v1_124444284_7540", "problem": "Let $ n $ be the smallest divisor of $ 13013 $ that is greater than or equal to $ 2 $. Compute $ n! $.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13013),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:11:05.968425Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T09:11:05.969433Z"}, "problem_hash": "063aa4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 77, "completion_tokens": 714}, "timestamp": "2026-02-14T01:18:27.067Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 206}, "timestamp": "2026-02-12T02:37:54.456Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c57937", "alias": "antilemma_k2_v1_784195855_7975", "problem": "Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 186x - 12087 = 0$. Let $T$ be the sum of $\\phi(d)$ over all positive divisors $d$ of the sum of the elements of $S$. Compute\n$$\n\\sum_{k=1}^{T} \\phi(k) \\left\\lfloor \\frac{186}{k} \\right\\rfloor.\n$$", "answer": 17391, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(186),\n \"x\": Summation(var=\"k\", start=Const(1), end=SumOverDivisors(n=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(Const(value=-186), Var(name='x')), Const(value=-12087)), right=Const(value=0)))), var='d', expr=EulerPhi(n=Var(name='d'))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T09:38:40.547399Z", "verification": {"verified": true, "answer": 17391, "timestamp": "2026-02-08T09:38:40.548578Z"}, "problem_hash": "2268f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17391, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 1033}, "timestamp": "2026-02-14T08:23:46.873Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 402}, "timestamp": "2026-02-12T03:25:00.005Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "36c15c", "alias": "nt_sum_divisors_mod_v1_124444284_2826", "problem": "Let $m = 2$, and let $n_0$ be the largest prime number $n$ such that $2 \\leq n \\leq 5$. Let $S$ be the set of all positive integers $j$ such that $$ j \\leq \\left| \\left\\{ t \\in \\mathbb{Z}^+ \\mid 9 \\leq t \\leq 734,\\ \\exists a,b \\in \\mathbb{Z}^+ \\text{ with } 1 \\leq a \\leq 17,\\ 1 \\leq b \\leq 100,\\ t = 2a + 7b \\right\\} \\right| $$ and $j^{n_0} \\leq 193491763200000$. Let $n = |S|$. Define $\\sigma$ to be the sum of all positive divisors of $n$. Compute the remainder when $19003 \\cdot (\\sigma \\bmod 10723)$ is divided by $84890$.", "answer": 23764, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=100)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=734)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(193491763200000))), domain='positive_integers')),\n \"M\": Const(10723),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": Const(19003),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(84890)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C3", "LIN_FORM/C3"], "recipe_id": "7ba2c0", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T05:02:22.724136Z", "verification": {"verified": true, "answer": 23764, "timestamp": "2026-02-08T05:02:22.736782Z"}, "problem_hash": "8919c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 23764, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 328, "completion_tokens": 5490}, "timestamp": "2026-02-11T22:47:12.406Z"}, {"id": 8, "model": "mathstral", "answer": 68771221, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 813}, "timestamp": "2026-02-14T06:06:40.643Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 604}, "timestamp": "2026-02-11T22:12:14.720Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "C3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "L3b": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "5bdbc9", "alias": "sequence_count_fib_divisible_v1_655260480_1165", "problem": "Let $n = 2$. Define $d = 15$ and let $u$ be the smallest divisor of $295927$ that is at least $n$. Compute the number of positive integers $k$ such that $1 \\leq k \\leq u$ and $d$ divides the $k$-th Fibonacci number.\n\nFind the value of this count.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(295927))))),\n \"d\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.033, "created_at": "2026-02-08T15:56:02.142500Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T15:56:02.175011Z"}, "problem_hash": "ef0c0d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 269}, "timestamp": "2026-02-12T09:28:42.514Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "03bed5", "alias": "nt_count_coprime_and_v1_1439011603_30", "problem": "Let $k_1 = 3$ and let $k_2$ be the smallest divisor of $537251$ that is at least $2$. Let $S$ be the set of positive integers $n$ such that $1 \\leq n \\leq 20430$, $\\gcd(n, 3) = 1$, and $\\gcd(n, k_2) = 1$. Let $r$ be the number of elements in $S$. Compute the remainder when $44121 \\cdot r$ is divided by $97484$.", "answer": 5886, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(20430),\n \"k1\": Const(3),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(97484)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.057, "created_at": "2026-02-08T15:07:53.470816Z", "verification": {"verified": true, "answer": 5886, "timestamp": "2026-02-08T15:07:55.527379Z"}, "problem_hash": "10ca7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 461}, "timestamp": "2026-02-12T07:56:30.029Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "MAX_VAL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0815d1", "alias": "nt_count_divisors_in_range_v1_1520064083_8933", "problem": "Let $a$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 625$. Let $b$ be the number of positive integers $t$ with $10 \\leq t \\leq 1409$ for which there exist positive integers $a$ and $b$ such that $a \\leq 381$, $b \\leq 38$, and $t = 3a + 7b$. Compute the number of positive divisors $d$ of $83160$ such that $a \\leq d \\leq b$.", "answer": 67, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(83160),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(625)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=381)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=38)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=1409)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T10:26:39.696069Z", "verification": {"verified": true, "answer": 67, "timestamp": "2026-02-08T10:26:39.713876Z"}, "problem_hash": "2f3145", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 69, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 8002}, "timestamp": "2026-02-14T07:30:48.326Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 504}, "timestamp": "2026-02-12T03:18:25.860Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K14": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f0c43c", "alias": "modular_count_residue_v1_397696148_2801", "problem": "Let $m$ be the smallest divisor of $175$ that is at least $2$. Let $\\text{upper} = 88804$. Determine the number of positive integers $n \\leq \\text{upper}$ such that $n \\equiv 0 \\pmod{m}$. Compute this number.", "answer": 17760, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(88804),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(175))))),\n \"r\": Const(0),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.56, "created_at": "2026-02-08T13:33:48.367481Z", "verification": {"verified": true, "answer": 17760, "timestamp": "2026-02-08T13:33:51.926991Z"}, "problem_hash": "9e409b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 17760, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 361}, "timestamp": "2026-02-12T07:48:14.485Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "267ce5", "alias": "comb_binomial_compute_v1_1125832087_74", "problem": "Let $n$ be the number of integers $k$ with $1 \\leq k \\leq 42$ such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{3}$. Let $s$ be the sum of the first $3$ positive integers. Define $b = \\binom{n}{s}$. Let $d_0$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(4,9)$, and let $a = |b|$. Compute the sum of the number of positive divisors of each integer from $d_0$ to $a$, inclusive.", "answer": 24522, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(42)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "L3C"], "recipe_id": "a1d9c0", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:51:21.542882Z", "verification": {"verified": true, "answer": 24522, "timestamp": "2026-02-08T02:51:21.545136Z"}, "problem_hash": "592258", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "K16": "no", "K18": "no", "MOD_ADD": "no", "V1": "no", "V8": "no"}, "split": "test"} +{"id": "02b016", "alias": "comb_sum_binomial_mod_v1_168721529_398", "problem": "Let $m$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $x \\cdot y = 4$. Let $A$ be the set of integers $t$ such that $12 \\leq t \\leq 314$ and $t = 7a + 5b$ for some integers $a, b$ with $1 \\leq a \\leq 7$ and $1 \\leq b \\leq 53$. Let $n = |A|$. Let $B$ be the set of integers $t$ such that $7 \\leq t \\leq 387$ and $t = 5a + 2b$ for some integers $a, b$ with $1 \\leq a \\leq 63$ and $1 \\leq b \\leq 36$. Define $\\binom{|B|}{k}$ for each $k$ from $m$ to $n$. Compute the remainder when\n$$\n\\sum_{k=m}^{n} \\binom{|B|}{k}\n$$\nis divided by $10009$.", "answer": 7689, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10009),\n \"sum\": Summation(var=\"k\", start=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Sum(Var(\"x\"), Var(\"y\")))), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=53)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=314)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=63)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=36)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=387)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.077, "created_at": "2026-02-08T13:02:03.874654Z", "verification": {"verified": true, "answer": 7689, "timestamp": "2026-02-08T13:02:03.951249Z"}, "problem_hash": "306086", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 359, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:33:14.322Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 355, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:31:27.229Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1601, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 813}, "timestamp": "2026-02-09T16:16:45.815Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:13:25.504Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 531}, "timestamp": "2026-02-12T06:03:32.200Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "bc76c2", "alias": "antilemma_k2_v1_168721529_1598", "problem": "Let $m$ be the sum of all integers $x$ satisfying\n$$x^2-221x+11398=0.$$\nLet $n$ be the value of\n$$\\sum_{d\\mid 221} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Define\n$$X=\\sum_{k=1}^{n} \\varphi(k)\\left\\lfloor \\frac{m}{k} \\right\\rfloor.$$\nCompute $X$. ", "answer": 24531, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11398),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-221), Var(\"x\")), Ref(\"_c\")), Const(0)))),\n \"_n\": SumOverDivisors(n=Const(value=221), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/K3/K2", "IDENTITY_POW_ZERO", "K2"], "recipe_id": "42f75d", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "K13", "K2", "K3", "VIETA_SUM"], "num_lemmas": 5, "generation_time": 0.004, "created_at": "2026-02-08T13:48:20.390914Z", "verification": {"verified": true, "answer": 24531, "timestamp": "2026-02-08T13:48:20.395326Z"}, "problem_hash": "b124c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:19:43.792Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 24531, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 218, "completion_tokens": 1336}, "timestamp": "2026-02-11T07:58:54.804Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 629}, "timestamp": "2026-02-12T07:24:58.441Z"}], "solution_status": 1, "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "d2fcb2", "alias": "modular_count_residue_v1_677425708_438", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 66049$ and\n\\[n\\equiv 6\\pmod{15}.\n\\]\nLet $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=676$. Let $S$ be the set of all values of $x+y$ as $(x,y)$ ranges over $A$, and let $M$ be the minimum element of $S$.\n\nLet\n\\[T=\\sum_{k=\\varphi(2)}^{M} k,\n\\]\nwhere $\\varphi$ denotes Euler's totient function.\n\nDefine\n\\[Q\\equiv N\\cdot T \\pmod{56241},\\quad 0\\le Q<56241.\n\\]\nFind the value of $Q$. ", "answer": 49547, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(66049),\n \"m\": Const(15),\n \"r\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mul(Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(676)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")), Ref(\"result\")), modulus=Const(56241)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC", "ONE_PHI_2"], "recipe_id": "769558", "seed_template_id": "modular_count_residue_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 3.336, "created_at": "2026-02-08T03:32:53.816496Z", "verification": {"verified": true, "answer": 49547, "timestamp": "2026-02-08T03:32:57.152749Z"}, "problem_hash": "1a957b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49547, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 292, "completion_tokens": 1095}, "timestamp": "2026-02-08T20:34:37.331Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 49547, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 1479}, "timestamp": "2026-02-10T03:51:09.391Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "DS2": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "19e320", "alias": "comb_binomial_compute_v1_1978505735_3917", "problem": "Let $n$ be the number of integers $t$ such that $15 \\leq t \\leq 63$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 5$, and $t = 6a + 9b$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9$. Compute $\\binom{n}{k}$.", "answer": 5005, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=63)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T17:55:34.886729Z", "verification": {"verified": true, "answer": 5005, "timestamp": "2026-02-08T17:55:34.891464Z"}, "problem_hash": "211b6e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 535}, "timestamp": "2026-02-12T23:22:11.402Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "721aeb", "alias": "modular_count_residue_v1_677425708_3905", "problem": "Let $m = 7$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 4$. Define $P$ to be the set of all products $xy$ where $(x,y) \\in S$. Let $\\mathcal{P}$ be the maximum element of $P$. Let $r$ be the largest prime number $n$ such that $2 \\leq n \\leq \\mathcal{P}$. Let $U = 30976$. Define $T$ to be the set of all integers $n$ with $1 \\leq n \\leq U$ such that $n \\equiv r \\pmod{m}$. Compute the number of elements in $T$. Let $Q$ be the remainder when $$\\sum_{n=\\phi(2)}^{|T|} \\phi(n)$$ is divided by $86591$. Find the value of $Q$.", "answer": 64790, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(30976),\n \"m\": Const(7),\n \"r\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(86591)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_PRIME_BELOW", "ONE_PHI_2"], "recipe_id": "ece14c", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 1.823, "created_at": "2026-02-08T06:02:41.458054Z", "verification": {"verified": true, "answer": 64790, "timestamp": "2026-02-08T06:02:43.281530Z"}, "problem_hash": "96cd3a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "ONE_PHI_2": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "L3b": "no", "V7": "no"}, "split": "test"} +{"id": "66a12a", "alias": "algebra_poly_eval_v1_124444284_7180", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1638400$. Define $T$ to be the set of all values $x + y$ where $(x,y) \\in S$. Let $m$ be the minimum value in $T$. Let $C$ be the number of integers $t$ such that $25 \\le t \\le 2767$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 220$, $1 \\le b \\le 70$, and $t = 10a + 8b + 7$. Define\n$$\nR = \\frac{100 \\cdot 21^5 + C \\cdot 21^4 - 3722 \\cdot 21^3 + 1804 \\cdot 21^2 - 1184 \\cdot 21 - m}{7178}.\n$$\nLet $r = |R| \\mod 11$. Compute the $r$-th Bell number.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7178),\n \"k\": Const(21),\n \"result\": Div(Sum(Mul(Const(100), Pow(Ref(\"k\"), Const(5))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=220)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=70)), Geq(left=Var(name='t'), right=Const(value=25)), Leq(left=Var(name='t'), right=Const(value=2767)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b')), Const(value=7)))))))), Pow(Ref(\"k\"), Const(4))), Mul(Const(-3722), Pow(Ref(\"k\"), Const(3))), Mul(Const(1804), Pow(Ref(\"k\"), Const(2))), Mul(Const(-1184), Ref(\"k\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1638400)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Ref(\"_n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T08:54:40.336529Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T08:54:40.345453Z"}, "problem_hash": "1e5561", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 7297}, "timestamp": "2026-02-13T22:28:37.675Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 352, "completion_tokens": 532}, "timestamp": "2026-02-12T02:18:13.562Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "781453", "alias": "comb_binomial_compute_v1_784195855_5480", "problem": "Let $p$ be the largest prime number not exceeding 134. Let $k$ be the number of nonnegative integers $j$ such that $0 \\le j \\le p$ and $\\binom{v}{j}$ is odd, where $v$ is the largest integer such that $13^v$ divides $1586!$. Let $n = 14$ and define $\\text{result} = \\binom{n}{k}$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by 95558.", "answer": 51975, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(134)), IsPrime(Var(\"n\"))))),\n \"n\": Const(14),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MaxKDivides(target=Factorial(Const(1586)), base=Const(13)), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(95558)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V8", "V1/V8"], "recipe_id": "f35e1f", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1", "V8"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:55:43.143054Z", "verification": {"verified": true, "answer": 51975, "timestamp": "2026-02-08T07:55:43.145733Z"}, "problem_hash": "2864db", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "V8": "ok_later", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "K13": "no", "K14": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "89a86c", "alias": "nt_sum_divisors_range_v1_124444284_1550", "problem": "Let $m = 8988$. Let $n$ be the number of integers $j$ with $0 \\leq j \\leq m$ such that $\\binom{8988}{j}$ is odd. Let $S$ be the set of all integers $n$ with $1 \\leq n \\leq 10816$. Define $\\text{sumdiv}$ to be the sum of the number of positive divisors of each element in $S$. Let $c$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = n$. Let $Q$ be the remainder when $c - \\text{sumdiv}$ is divided by $66919$. Find the value of $Q$.", "answer": 31694, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8988),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(8988), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"upper\": Const(10816),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66919)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/B3"], "recipe_id": "dd3b45", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "V8"], "num_lemmas": 2, "generation_time": 0.563, "created_at": "2026-02-08T03:59:07.650846Z", "verification": {"verified": true, "answer": 31694, "timestamp": "2026-02-08T03:59:08.214004Z"}, "problem_hash": "e9c688", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:11:33.216Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 31698, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 5473}, "timestamp": "2026-02-10T15:09:58.109Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31684, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 5554}, "timestamp": "2026-02-11T21:16:30.252Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 479}, "timestamp": "2026-02-13T05:13:15.208Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 643}, "timestamp": "2026-02-11T21:19:19.748Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "B3": "ok_later", "K13": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "b5b829", "alias": "comb_bell_compute_v1_151522320_1546", "problem": "Let $n$ be the number of positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 1543500$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of integers $t$ with $5 \\leq t \\leq 17$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, and $t = 3a + 2b$. Compute the Bell number of the remainder when the Bell number of $n$ is divided by $m$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=1543500)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS"], "recipe_id": "086724", "seed_template_id": "comb_bell_compute_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:05:03.530537Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T04:05:03.535306Z"}, "problem_hash": "27cd0f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 259, "completion_tokens": 1781}, "timestamp": "2026-02-10T15:19:56.964Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 673}, "timestamp": "2026-02-13T06:29:19.883Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 476}, "timestamp": "2026-02-11T20:25:38.207Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "K18": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "75c112", "alias": "modular_min_modexp_v1_124444284_8819", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 258064$. Let $T$ be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq T$, $n$ is divisible by 4, and $\\gcd(n, 35) = 1$. Let $b = |A|$. Let $m = 571$ and let $x$ be the smallest positive integer such that $2^x \\equiv b \\pmod{m}$ and $1 \\leq x \\leq 114$. Determine the value of the Fibonacci entry point modulo $x + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $x + 2$.", "answer": 37, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(258064)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"m\": Const(571),\n \"upper\": Const(114),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T11:55:23.655790Z", "verification": {"verified": true, "answer": 37, "timestamp": "2026-02-08T11:55:23.668709Z"}, "problem_hash": "a94bde", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 4691}, "timestamp": "2026-02-14T20:34:53.379Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 490}, "timestamp": "2026-02-12T04:46:12.330Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "352dfb", "alias": "nt_sum_divisors_range_v1_1520064083_7032", "problem": "Let $N = 73326$. Define $u$ to be the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the sum of the number of positive divisors of each integer from $1$ to $u$.", "answer": 59735, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73326),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.232, "created_at": "2026-02-08T08:43:12.028999Z", "verification": {"verified": true, "answer": 59735, "timestamp": "2026-02-08T08:43:12.261262Z"}, "problem_hash": "bd5444", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 59744, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 4327}, "timestamp": "2026-02-13T20:58:42.238Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 615}, "timestamp": "2026-02-12T02:07:53.468Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "4d3ce3", "alias": "comb_binomial_compute_v1_1353956133_369", "problem": "Let $n$ be the number of positive integers $j$ at most $14$ such that $j^d \\leq 537824$, where $d$ is the smallest divisor of $4235$ that is at least $2$. Let $k = \\sum_{k=1}^{3} k$. Compute $\\binom{n}{k}$.", "answer": 3003, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4235),\n \"_n\": Const(14),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))), Const(537824))), domain='positive_integers')),\n \"k\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C3", "SUM_ARITHMETIC"], "recipe_id": "8ab5e0", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T11:25:41.586631Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T11:25:41.589418Z"}, "problem_hash": "321b1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3003, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 119, "completion_tokens": 973}, "timestamp": "2026-02-14T13:42:32.608Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 332}, "timestamp": "2026-02-12T04:01:16.646Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_ARITHMETIC": "ok", "C3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4d6841", "alias": "modular_product_range_v1_898971024_2894", "problem": "Let $n = 2$. Define $d_{\\text{min}}$ to be the smallest integer $d \\geq n$ such that $d$ divides $21872197$. Let $P$ be the product of all integers $i$ from $21$ to $d_{\\text{min}}$, inclusive. Let $R$ be the remainder when $P$ is divided by $10343$. Compute the remainder when $67940 \\cdot R$ is divided by $58143$.", "answer": 54193, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(21), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(21872197)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10343)),\n \"_c\": Const(67940),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(58143)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T17:02:54.909473Z", "verification": {"verified": true, "answer": 54193, "timestamp": "2026-02-08T17:02:54.914322Z"}, "problem_hash": "2aaa48", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 321}, "timestamp": "2026-02-12T21:46:15.715Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K17": "no", "K18": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fbf7ab", "alias": "comb_count_permutations_fixed_v1_1470522791_617", "problem": "Let $n$ be the smallest integer at least 2 that divides 41327. Let $k = 6$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 20328, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(41327))))),\n \"k\": Const(6),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:08:28.486744Z", "verification": {"verified": true, "answer": 20328, "timestamp": "2026-02-08T13:08:28.488545Z"}, "problem_hash": "a7e2dc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8660640, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 457}, "timestamp": "2026-02-12T06:14:40.333Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "61ae2e", "alias": "nt_sum_divisors_mod_v1_1742523217_4575", "problem": "Let $n_2$ be the number of positive integers $k$ such that $1 \\leq k \\leq 9280$ and $64$ divides $k$. Define $w = \\sum_{d \\mid n_2} \\phi(d) - n_2$. Let $n_1 = 361 + w$ and let $m$ be the number of distinct prime factors of $n_1$. Define $n = 45360 \\cdot m$. Let $\\sigma(n)$ be the sum of all positive divisors of $n$. Find the remainder when $\\sigma(n)$ is divided by $10903$.", "answer": 5600, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(361),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(9280)), Divides(divisor=Const(64), dividend=Var(\"k\"))), domain='positive_integers')),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Sum(Ref(\"_n\"), Ref(\"w\")),\n \"m\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Const(45360), Ref(\"m\")),\n \"M\": Const(10903),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/EULER_TOTIENT_SUM", "OMEGA_ONE"], "recipe_id": "72fa53", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C2", "EULER_TOTIENT_SUM", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:58:23.496117Z", "verification": {"verified": true, "answer": 5600, "timestamp": "2026-02-08T08:58:23.498267Z"}, "problem_hash": "cab3da", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "OMEGA_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_SUM_EQUALS": "no", "K13": "no", "K16": "no", "L3b": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "8fa369", "alias": "nt_count_intersection_v1_898971024_3003", "problem": "Let $a$ be the smallest divisor of $77$ that is at least $2$, and let $b = 10$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq 50000$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Determine the number of elements in this set.", "answer": 2857, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"b\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.816, "created_at": "2026-02-08T17:06:49.065499Z", "verification": {"verified": true, "answer": 2857, "timestamp": "2026-02-08T17:06:50.881635Z"}, "problem_hash": "f072ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6428, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 445}, "timestamp": "2026-02-12T21:47:13.235Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b66fc9", "alias": "modular_modexp_compute_v1_124444284_4657", "problem": "Let $N$ be the number of ordered pairs $(i,j)$ of integers with $1 \\le i \\le 2$ and $1 \\le j \\le 113$ such that $\\gcd(i,j)=1$.\n\nLet\n\\[T = \\sum_{d\\mid N} \\varphi(d),\\]\nwhere $d$ ranges over all positive divisors of $N$ and $\\varphi$ denotes Euler's totient function.\nLet $e$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=T$.\n\nLet $a=29$ and $m=10781$, and let $r$ be the remainder when $a^{e}$ is divided by $m$.\nLet $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r|+2$.\n\nFind the value of $Q$.", "answer": 6378, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(113))))),\n \"a\": Const(29),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d')))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(10781),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/K3/B1"], "recipe_id": "812dac", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "K3"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T06:10:46.545507Z", "verification": {"verified": true, "answer": 6378, "timestamp": "2026-02-08T06:10:46.550784Z"}, "problem_hash": "b73574", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 8192}, "timestamp": "2026-02-12T20:43:21.502Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 311, "completion_tokens": 732}, "timestamp": "2026-02-11T23:41:36.571Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "B1": "ok_later", "K3": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "54ffa6", "alias": "nt_min_coprime_above_v1_1978505735_2574", "problem": "Let $n = 89110$, $a = 5776$, $b = 5809$, and $m = 23$. Define $r$ to be the smallest integer $n$ such that $a < n \\leq b$ and $\\gcd(n, m) = 1$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 64$. Define $P$ to be the maximum value of $xy$ over all pairs $(x, y) \\in S$. Compute the remainder when $P - r$ is divided by $n$.\\n\\nFind the value of $Q = (P - r) \\bmod 89110$.", "answer": 84357, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(89110),\n \"start\": Const(5776),\n \"upper\": Const(5809),\n \"modulus\": Const(23),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(64)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T16:57:52.080845Z", "verification": {"verified": true, "answer": 84357, "timestamp": "2026-02-08T16:57:52.087516Z"}, "problem_hash": "f58e60", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 355}, "timestamp": "2026-02-12T21:45:19.431Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "DS2": "no", "L3b": "no", "MOD_MUL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "76714d", "alias": "diophantine_fbi2_count_v1_1520064083_6434", "problem": "Let $m = 80$ and $n = 3$. Let $k$ be the number of integers $t$ such that $5 \\leq t \\leq 846$ and there exist positive integers $a \\leq 63$, $b \\leq 240$ satisfying $t = 2a + 3b$.\n\nLet $S$ be the set of all integers $d$ such that $n \\leq d \\leq m$, $d$ divides $k$, and $3 \\leq \\frac{k}{d} \\leq \\min(x+y)$, where the minimum is taken over all ordered pairs $(x,y)$ of positive integers satisfying $xy = 1600$.\n\nCompute the number of elements in $S$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80),\n \"_n\": Const(3),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=63)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=240)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=846)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1600)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.161, "created_at": "2026-02-08T08:04:24.519690Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T08:04:24.680376Z"}, "problem_hash": "0531d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 5904}, "timestamp": "2026-02-13T15:05:04.503Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 415}, "timestamp": "2026-02-12T01:33:36.146Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "01ea13", "alias": "comb_sum_binomial_mod_v1_2051736721_4590", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 1385$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $k$ be the number of elements in $S$. Compute the remainder when $$\\sum_{i=k}^{344} \\binom{433}{i}$$ is divided by $10513$, then multiply that remainder by $44121$ and find the result modulo $58601$.", "answer": 27042, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10513),\n \"sum\": Summation(var=\"k\", start=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1385)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), end=Const(344), expr=Binom(n=Const(433), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(58601)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T18:02:58.048375Z", "verification": {"verified": true, "answer": 27042, "timestamp": "2026-02-08T18:02:58.074459Z"}, "problem_hash": "bededc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 540}, "timestamp": "2026-02-12T23:35:59.271Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "no", "DS2": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f41819", "alias": "algebra_poly_eval_v1_1125832087_127", "problem": "Let $k$ be the largest prime number $n$ such that $2 \\leq n \\leq e$, where $e$ is the largest integer for which $3^e$ divides $195!$. Let $s = \\sum_{n=1}^{89} n$, where the sum is taken over all positive integers $n \\leq 89$ such that $n$ is divisible by $k$. Compute\n$$\n\\frac{60 \\cdot 16^4 - 10 \\cdot 16^3 - 94 \\cdot 16^2 - 32 \\cdot 16 + 70}{s}.\n$$", "answer": 43446, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(60),\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Const(195)), base=Const(3))), IsPrime(Var(\"n\"))))),\n \"x\": Const(16),\n \"result\": Div(Sum(Mul(Ref(\"_c\"), Pow(Ref(\"x\"), Ref(\"_m\"))), Mul(Const(-10), Pow(Ref(\"x\"), Const(3))), Mul(Const(-94), Pow(Ref(\"x\"), Const(2))), Mul(Const(-32), Ref(\"x\")), Const(70)), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(89)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW/SUM_DIVISIBLE"], "recipe_id": "f0e3dd", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_DIVISIBLE", "V1"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T02:52:32.753189Z", "verification": {"verified": true, "answer": 43446, "timestamp": "2026-02-08T02:52:32.758605Z"}, "problem_hash": "1d4057", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "MAX_PRIME_BELOW": "ok_later", "SUM_DIVISIBLE": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "29c6d7", "alias": "modular_product_range_v1_1440796553_274", "problem": "Let $ n $ be an integer. Define $ r $ to be the remainder when $ \\prod_{i=27}^{91} i $ is divided by 11807. Let $ A $ be the maximum value of $ n $ such that $ n $ is a prime number and $ 2 \\le n \\le 99 $. Let $ B $ be the number of prime numbers $ n $ such that $ 2 \\le n \\le 547 $. Let $ C = |r| \\mod 103 $. Compute\n$$\n(353702 \\cdot (|r| \\mod A) + 329703 \\cdot (|r|^2 \\mod B) + 215534 \\cdot C) \\mod 1009091,\n$$\nand then find the remainder when this result is divided by 60465.", "answer": 51696, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(27), end=Const(91)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11807)),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(99)), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(547)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(49)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(60465)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COUNT_PRIMES"], "recipe_id": "fdaf0d", "seed_template_id": "modular_product_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T11:42:04.650475Z", "verification": {"verified": true, "answer": 51696, "timestamp": "2026-02-08T11:42:04.654890Z"}, "problem_hash": "8a5db1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29469, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 5388}, "timestamp": "2026-02-14T17:42:42.718Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 469}, "timestamp": "2026-02-12T04:27:47.772Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "K17": "no", "L3b": "no", "LTE_SUM": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f0304a", "alias": "antilemma_count_primes_v1_153355830_556", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 317$. Let $S$ be the set of all integers $t$ such that $7 \\leq t \\leq 113$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 20$, $1 \\leq b \\leq 11$, and $t = 4a + 3b$. Compute the remainder when\n\\[\n353702 \\cdot (x \\bmod 97) + 329703 \\cdot \\left(x^2 + 1\\right) \\bmod |S| + 215534 \\cdot \\left(x \\bmod 29\\right)\n\\]\nis divided by 1009091, and then divide that result by 66444 and take the remainder.", "answer": 11967, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(317),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(29),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=113)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(66444)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_PRIMES"], "recipe_id": "ed9777", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:09:44.843658Z", "verification": {"verified": true, "answer": 11967, "timestamp": "2026-02-08T03:09:44.845994Z"}, "problem_hash": "a792ba", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "DS2": "no", "K18": "no", "K5": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "49ce84", "alias": "diophantine_fbi2_count_v1_1978505735_524", "problem": "Let $n = 54$. Let $k$ be the number of integers $t$ such that $9 \\leq t \\leq 74$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 16$, and $t = 7a + 2b$. Let $r$ be the number of divisors $d$ of $k$ such that $5 \\leq d \\leq 54$ and $5 \\leq \\frac{k}{d} \\leq 54$. Let $c$ be the largest prime number less than or equal to $3347$. Compute $c \\cdot r$.", "answer": 13388, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=16)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=74)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(54))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3347)), IsPrime(Var(\"n\"))))),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "4a5bfb", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T15:26:05.836879Z", "verification": {"verified": true, "answer": 13388, "timestamp": "2026-02-08T15:26:05.851488Z"}, "problem_hash": "cfd14a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 360}, "timestamp": "2026-02-12T08:23:46.500Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3b": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "00f8f9", "alias": "nt_count_divisible_v1_548369836_243", "problem": "Let $d_0$ be the smallest integer greater than or equal to 2 that divides 1031153. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq 31153$ and $n$ is divisible by $d_0$. Compute $20000 - r$.", "answer": 18926, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(31153),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1031153))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(20000),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.932, "created_at": "2026-02-08T02:49:28.543433Z", "verification": {"verified": true, "answer": 18926, "timestamp": "2026-02-08T02:49:29.475429Z"}, "problem_hash": "4e9d12", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 18926, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 4977}, "timestamp": "2026-02-08T20:16:25.811Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:27:15.111Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 18926, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 7260}, "timestamp": "2026-02-10T00:01:17.818Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 18360, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 399}, "timestamp": "2026-02-09T03:53:07.822Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18926, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 864}, "timestamp": "2026-02-09T10:56:57.435Z"}, {"id": 8, "model": "mathstral", "answer": 18168, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 505}, "timestamp": "2026-02-11T04:15:31.092Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18168, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 264}, "timestamp": "2026-02-11T19:43:00.871Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "67c997", "alias": "nt_euler_phi_compute_v1_1520064083_2349", "problem": "Let $n_0 = 78961$. Consider all pairs of positive integers $(x, y)$ such that $x + y = 146$, and let $n_2$ be the maximum value of $xy$ over all such pairs. Let $\\lambda(n)$ denote the Liouville function, and define $e = \\lambda(n_2)$. Let $g = 10$, $m = 15$, $n_1 = 10$, $a = g \\cdot m$, and $b = g \\cdot n_1$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a,b)$, where $\\mu$ is the M\\\"obius function. Define $n = n_0 + c$. Let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when\n$$\n\\varphi(n) + \\varphi\\left(|\\varphi(n)| + |e|\\right) + \\tau\\left(|\\varphi(n)| + 1\\right)\n$$\nis divided by $81605$, where $\\tau(k)$ is the number of positive divisors of $k$.", "answer": 49531, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78961),\n \"n2\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(146)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"e\": LiouvilleLambda(n=Ref(name='n2')),\n \"g\": Const(10),\n \"m\": Const(15),\n \"n1\": Const(10),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Ref(\"_n\"), Ref(\"c\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Mul(Const(1), Ref(\"e\")))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))), modulus=Const(81605)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/LIOUVILLE_ONE", "MOBIUS_COPRIME"], "recipe_id": "1039a2", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B1", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:39:36.269771Z", "verification": {"verified": true, "answer": 49531, "timestamp": "2026-02-08T04:39:36.272400Z"}, "problem_hash": "8aa7d1", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K14": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "325e50", "alias": "comb_sum_binomial_row_v1_798873815_262", "problem": "Let $n_0 = 2$. Define $n$ to be the smallest divisor $d$ of $4199$ such that $d \\geq n_0$. Let $r = 2^n$. Find the remainder when $29037 \\cdot r$ is divided by $61517$.", "answer": 46382, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4199))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(29037), Ref(\"result\")), modulus=Const(61517)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:31:57.976627Z", "verification": {"verified": true, "answer": 46382, "timestamp": "2026-02-08T02:31:57.977609Z"}, "problem_hash": "490809", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46382, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 1692}, "timestamp": "2026-02-08T19:17:46.279Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46382, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 1569}, "timestamp": "2026-02-09T15:01:02.638Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:08:22.084Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 46382, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 4650}, "timestamp": "2026-02-08T22:33:02.505Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24802, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 109, "completion_tokens": 1378}, "timestamp": "2026-02-09T02:05:09.109Z"}, {"id": 8, "model": "mathstral", "answer": 38301, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 126, "completion_tokens": 860}, "timestamp": "2026-02-11T01:37:04.907Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 58074, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 252}, "timestamp": "2026-02-11T19:35:16.856Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "68a2ce", "alias": "nt_count_intersection_v1_2051736721_5760", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 200$. Define $M$ to be the maximum value of $xy$ over all pairs $(x, y) \\in S$. Let $N$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = M$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq N$, $11$ divides $n$, and $\\gcd(n, 15) = 1$. Let $Q$ be the remainder when $38215$ times this value is divided by $85874$. Compute $Q$.", "answer": 11853, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85874),\n \"N\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(200)))), expr=Mul(Var(\"x\"), Var(\"y\")))))))),\n \"a\": Const(11),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(38215),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/COMB1"], "recipe_id": "ce2825", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COMB1"], "num_lemmas": 2, "generation_time": 0.153, "created_at": "2026-02-08T18:47:26.886994Z", "verification": {"verified": true, "answer": 11853, "timestamp": "2026-02-08T18:47:27.040171Z"}, "problem_hash": "96c303", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 996}, "timestamp": "2026-02-13T00:32:15.038Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COMB1": "ok_later", "C2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9d6aba", "alias": "nt_euler_phi_compute_v1_1116507919_193", "problem": "Let $g=19$ and let $t$ be an integer. Let $m$ be the number of integers $t$ with $5\\le t\\le 15$ for which there exist integers $a$ and $b$ with $1\\le a\\le 3$, $1\\le b\\le 3$, and\n$$t=3a+2b.$$\n\nLet $n_1=6$, and define\n$$a_1=gm, \\qquad b_1=gn_1.$$\nLet\n$$f=\\sum_{d\\mid \\gcd(a_1,b_1)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $A$ be the number of integers $n$ such that $1\\le n\\le 15394$, $2$ divides $n$, and\n$$\\gcd\\bigl(n, M\\bigr)=1,$$\nwhere $M$ is the number of integers $k$ with $1\\le k\\le 43$ and the sum of the decimal digits of $k$ is even.\nDefine\n$$a=A+f.$$\nLet $b=19$, and define\n$$e=\\sum_{d\\mid \\gcd(a,b)} \\mu(d).$$\n\nLet\n$$N=88209\\,e,$$\nand let $\\varphi$ denote Euler's totient function. Finally, let\n$$Q=\\varphi(N).$$\n\nCompute $Q$.", "answer": 53460, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"g\": Const(19),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"n1\": Const(6),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(15394)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(43)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), Const(1))))), Ref(\"f\")),\n \"b\": Const(19),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(88209), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C5/MOBIUS_COPRIME", "LIN_FORM/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "7bdaed", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 2, "lemma_set": ["C5", "L3B", "LIN_FORM", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 5, "generation_time": 0.009, "created_at": "2026-02-08T02:27:39.748059Z", "verification": {"verified": true, "answer": 53460, "timestamp": "2026-02-08T02:27:39.757170Z"}, "problem_hash": "043311", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 430, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:12:10.611Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 53460, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 426, "completion_tokens": 1962}, "timestamp": "2026-02-09T14:15:00.069Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 381, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:17:08.063Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 53460, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 349, "completion_tokens": 2309}, "timestamp": "2026-02-09T17:08:39.998Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "ONE_PHI_1": "ok", "C5": "ok_later", "MOBIUS_COPRIME": "ok_later", "K17": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "test"} +{"id": "1cdd07", "alias": "nt_sum_phi_v1_1918700295_577", "problem": "Let $n = 49284$. Define $S$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $\\sigma$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $m = 3$. Define $A$ to be the set of positive integers $j$ such that $1 \\le j \\le 22$ and $j^m \\le 10648$. Let $d_0 = \\gcd(15, |A|)$. Let $B$ be the set of positive integers $d$ that divide $d_0$, and define $\\mu_0 = \\sum_{d \\mid d_0} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $N$ be the set of all positive integers $n$ such that $\\mu_0 \\le n \\le \\sigma$. Compute the sum of $\\phi(n)$ for all $n \\in N$, where $\\phi$ denotes Euler's totient function. Find the value of this sum.", "answer": 60004, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(49284),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=15), b=CountOverSet(set=SolutionsSet(var=Var(name='j'), condition=And(Geq(left=Var(name='j'), right=Const(value=1)), Leq(left=Var(name='j'), right=Const(value=22)), Leq(left=Pow(base=Var(name='j'), exp=Ref(name='_m')), right=Const(value=10648)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["C3/MOBIUS_COPRIME", "B3"], "recipe_id": "3e4fa1", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C3", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.253, "created_at": "2026-02-08T03:19:06.119015Z", "verification": {"verified": true, "answer": 60004, "timestamp": "2026-02-08T03:19:06.371714Z"}, "problem_hash": "fe13d9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "C3": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "297780", "alias": "nt_count_coprime_v1_1874849503_655", "problem": "Let $\\text{result}$ be the number of positive integers $n$ with $1 \\leq n \\leq 72900$ such that $\\gcd(n, 36) = 1$. Let $c$ be the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $11^{|\\text{result}|} + c$ is divided by $99991$.", "answer": 96115, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(72900),\n \"k\": Const(36),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "ONE_PHI_2"], "recipe_id": "a036ba", "seed_template_id": "nt_count_coprime_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 5.84, "created_at": "2026-02-08T13:14:31.214328Z", "verification": {"verified": true, "answer": 96115, "timestamp": "2026-02-08T13:14:37.054827Z"}, "problem_hash": "855e75", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:31:49.722Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "DS2": "no", "K18": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "57f08f", "alias": "nt_count_coprime_and_v1_809748730_1694", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $91091$. Let $n$ be a positive integer such that $1 \\leq n \\leq 12460$, $\\gcd(n, d) = 1$, and $\\gcd(n, 9) = 1$. Determine the number of such integers $n$.", "answer": 7120, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(12460),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(91091))))),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.49, "created_at": "2026-02-08T12:37:53.500484Z", "verification": {"verified": true, "answer": 7120, "timestamp": "2026-02-08T12:37:54.990631Z"}, "problem_hash": "eb85d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7654, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 578}, "timestamp": "2026-02-12T05:25:34.931Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0af0b6", "alias": "modular_sum_quadratic_residues_v1_865884756_5862", "problem": "Let $n = 87375$. Let $p$ be the smallest prime divisor of $95420839635846419$ that is at least $2$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $c = 99947$, and let $Q$ be the remainder when $c \\cdot \\text{result}$ is divided by $n$. Find the value of $Q$.", "answer": 24108, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87375),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(95420839635846419))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Const(99947),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:48:38.164641Z", "verification": {"verified": true, "answer": 24108, "timestamp": "2026-02-08T18:48:38.165868Z"}, "problem_hash": "145c75", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 287}, "timestamp": "2026-02-13T00:33:41.107Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "K5": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "eaf34a", "alias": "modular_product_range_v1_1874849503_555", "problem": "Let $c=49$ and $m=139$. Let $e$ be the smallest integer $d\\ge2$ such that $d\\mid15$, and let $N$ be the number of positive integers $j$ with $1\\le j\\le m$ and\n$$j^{e}\\le 2685619.$$\n\nLet\n$$P=\\prod_{i=c}^{N} i,$$\nand let $R$ be the remainder when $P$ is divided by $11597$.\n\nLet $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with\n$$1\\le a\\le 41,\\quad 1\\le b\\le 193,\\quad 7\\le t\\le 1047,\\quad\\text{and}\\quad t=2a+5b.$$\nLet $T$ be the number of elements in $S$.\n\nLet\n$$Q\\equiv TR\\pmod{59773},$$\nwith $0\\le Q<59773$. Find the value of $Q$.", "answer": 29028, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(49),\n \"_m\": Const(139),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_m\")), Leq(Pow(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15)))))), Const(2685619))), domain='positive_integers')),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_c\"), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11597)),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=41)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=193)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=1047)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), Ref(\"result\")), modulus=Const(59773)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C3/LIN_FORM", "LIN_FORM"], "recipe_id": "9859bb", "seed_template_id": "modular_product_range_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T13:09:54.222657Z", "verification": {"verified": true, "answer": 29028, "timestamp": "2026-02-08T13:09:54.228685Z"}, "problem_hash": "0bb14a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:27:00.854Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:36:06.936Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 357, "completion_tokens": 566}, "timestamp": "2026-02-12T06:20:53.244Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "K14": "no", "K16": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "c50368", "alias": "antilemma_v7_kummer_151522320_1723", "problem": "Let $n_1 = 1$. Define $t = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $p = 3t$, $q = 59$, and $r = 61$. Define $n = p \\cdot q \\cdot r$. Let $f = \\mu(n)^2$, and let $\\_n = 666 \\cdot f$. Define $x$ to be the largest integer $k$ such that $2^k$ divides $\\binom{1665}{\\_n}$. Compute the value of $x \\bmod{293} + 7001 \\cdot (x \\bmod{337})$.", "answer": 63018, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Mul(Const(3), Ref(\"t\")),\n \"q\": Const(59),\n \"r\": Const(61),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"f\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"_n\": Mul(Const(666), Ref(\"f\")),\n \"x\": MaxKDivides(target=Binom(n=Const(1665), k=Ref(\"_n\")), base=Const(2)),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Const(7001), Mod(value=Ref(\"x\"), modulus=Const(337)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "V7"], "recipe_id": "f693f2", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "V7"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:12:58.907877Z", "verification": {"verified": true, "answer": 63018, "timestamp": "2026-02-08T04:12:58.908592Z"}, "problem_hash": "d732a1", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok", "V7": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "c5a785", "alias": "modular_modexp_compute_v1_865884756_4465", "problem": "Let $N$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\le i \\le 20$, $1 \\le j \\le 162$, and $\\gcd(i, j) = 1$. Let $a$ be the smallest divisor greater than 1 of 3108169. Let $e$ be the largest prime number $n$ such that $2 \\le n \\le N$.\n\nCompute the remainder when $a^e$ is divided by 47089.", "answer": 39731, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(162))))),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3108169))))),\n \"e\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"m\": Const(47089),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "229efd", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T17:56:12.475893Z", "verification": {"verified": true, "answer": 39731, "timestamp": "2026-02-08T17:56:12.480083Z"}, "problem_hash": "073d25", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 600}, "timestamp": "2026-02-12T23:26:00.118Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "19ec57", "alias": "geo_count_lattice_rect_v1_2051736721_1611", "problem": "Let $a = 360$ and $b = 177$. Define $S$ as the set of all lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Let $N$ be the number of elements in $S$. Find the remainder when $91873 \\cdot N$ is divided by $66234$.", "answer": 6346, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(360),\n \"b\": Const(177),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(91873), Ref(\"result\")), modulus=Const(66234)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T16:07:51.572469Z", "verification": {"verified": true, "answer": 6346, "timestamp": "2026-02-08T16:07:51.573269Z"}, "problem_hash": "d4328c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 510}, "timestamp": "2026-02-12T09:54:58.670Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "06eb17", "alias": "nt_sum_gcd_range_mod_v1_124444284_4575", "problem": "Let $N$ be the smallest integer greater than or equal to $2$ that divides $12246411857$. Let $k = 420$ and $M = 11657$. Define $s = \\sum_{n=1}^{N} \\gcd(n, k)$. Compute the remainder when $s$ is divided by $M$.", "answer": 2045, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(12246411857))))),\n \"k\": Const(420),\n \"M\": Const(11657),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.164, "created_at": "2026-02-08T06:05:35.925388Z", "verification": {"verified": true, "answer": 2045, "timestamp": "2026-02-08T06:05:36.089040Z"}, "problem_hash": "8b64fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 118, "completion_tokens": 7124}, "timestamp": "2026-02-12T20:35:30.642Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 289}, "timestamp": "2026-02-11T23:40:45.112Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K15": "no", "K17": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "e2fae3", "alias": "antilemma_sum_primes_v1_865884756_99", "problem": "Let $n_0 = 2$. Let $x$ be the sum of all prime numbers $n$ such that $n_0 \\leq n \\leq s$, where $s$ is the number of positive integers at most 352 that are relatively prime to 15.\n\nFind the value of $x$.", "answer": 3447, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(352)), Eq(GCD(a=Var(\"n1\"), b=Const(15)), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Ref(\"x\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["C4/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "9be52e", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "COPRIME_PAIRS", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T15:10:57.616207Z", "verification": {"verified": true, "answer": 3447, "timestamp": "2026-02-08T15:10:57.627594Z"}, "problem_hash": "de2260", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3447, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 2335}, "timestamp": "2026-02-10T04:01:21.909Z"}], "solution_status": 2, "lemma_applicability": {"C4": "ok", "SUM_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "MAX_VAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "7d4212", "alias": "nt_lcm_compute_v1_677425708_4303", "problem": "Let $p$ be the largest prime number between $2$ and $32$, inclusive, and let $n = p^2$. Let $u$ be the remainder when the number of positive divisors of $n$ is divided by $2$.\n\nLet $M$ be the smallest integer $d \\ge 2$ such that $d$ divides $13396455859$. Let $e$ be the number of prime factors of $1$, counted with multiplicity. Define\n$$a = M \\cdot e \\cdot u.$$\n\nLet $b$ be the number of integers $t$ for which there exist integers $x$ and $y$ satisfying $1 \\le x \\le 43$, $1 \\le y \\le 144$, $8 \\le t \\le 647$, and\n$$t = 5x + 3y.$$\n\nLet $R$ be the least common multiple of $a$ and $b$. Finally, let $Q$ be the remainder when $26014R$ is divided by $69393$.\n\nFind the value of $Q$. ", "answer": 10430, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(69393),\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"t\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(32)), IsPrime(Var(\"n\"))))),\n \"n\": Pow(Ref(\"t\"), Const(2)),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Mul(Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13396455859))))), Ref(\"e\")), Ref(\"u\")),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=43)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=144)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=647)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(26014),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ZERO/DIVISOR_PARITY", "MAX_PRIME_BELOW/DIVISOR_PARITY", "LIN_FORM"], "recipe_id": "cd3a16", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "DIVISOR_PARITY", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 5, "generation_time": 0.008, "created_at": "2026-02-08T06:32:11.923656Z", "verification": {"verified": true, "answer": 10430, "timestamp": "2026-02-08T06:32:11.931923Z"}, "problem_hash": "13ec5e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ZERO": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "7d455d", "alias": "algebra_quadratic_discriminant_v1_548369836_76", "problem": "Let $n = 120$. Let $a$ be the largest integer $k$ such that $5^k$ divides $\\binom{n}{m}$, where $m$ is the number of integers $n$ with $1 \\leq n \\leq 96$ for which the sum of the digits of $n$ is even. Let $b = 6$ and $c = 0$. Compute $b^2 - 4ac$.", "answer": 36, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(120),\n \"a\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(96)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), base=Const(5)),\n \"b\": Const(6),\n \"c\": Const(0),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["L3B/V7"], "recipe_id": "a16b70", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW", "V7"], "num_lemmas": 3, "generation_time": 0.022, "created_at": "2026-02-08T02:44:54.394466Z", "verification": {"verified": true, "answer": 36, "timestamp": "2026-02-08T02:44:54.416720Z"}, "problem_hash": "3544e4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 36, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 406}, "timestamp": "2026-02-08T19:47:42.074Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 36, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 1605}, "timestamp": "2026-02-09T19:23:21.788Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:13:22.657Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 36, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 3860}, "timestamp": "2026-02-09T02:08:39.443Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 1754}, "timestamp": "2026-02-09T08:10:38.234Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "V7": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K5": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -6.8, "mid": -4.25, "hi": -1.31}, "split": "test"} +{"id": "ac1ce1", "alias": "modular_min_linear_v1_1978505735_1308", "problem": "Let $x$ be the smallest positive integer solution to the congruence $12159x \\equiv 15421 \\pmod{16283}$ such that $1 \\leq x \\leq 16283$. Let $T$ be the set of all ordered pairs $(x_1, y)$ of positive integers such that $x_1 + y = 90$. Let $P$ be the maximum value of $x_1 y$ over all pairs $(x_1, y) \\in T$. Compute $P - x$.", "answer": 327, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(12159),\n \"b\": Const(15421),\n \"m\": Const(16283),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x1\"), Var(\"y\")), Const(90)))), expr=Mul(Var(\"x1\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "modular_min_linear_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.77, "created_at": "2026-02-08T16:00:48.551740Z", "verification": {"verified": true, "answer": 327, "timestamp": "2026-02-08T16:00:49.322150Z"}, "problem_hash": "dd8256", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 378}, "timestamp": "2026-02-12T09:51:50.146Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dc9f43", "alias": "comb_sum_binomial_mod_v1_784195855_10196", "problem": "Let $ s = \\sum_{k=50}^{222} \\binom{228}{k} $. Let $ c $ be the smallest divisor of $ 4199 $ that is at least $ 2 $. Compute the remainder when $ c - (s \\bmod 10453) $ is divided by $ 60183 $.", "answer": 54083, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"sum\": Summation(var=\"k\", start=Const(50), end=Const(222), expr=Binom(n=Const(228), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10453)),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4199))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(60183)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T17:29:29.606314Z", "verification": {"verified": true, "answer": 54083, "timestamp": "2026-02-08T17:29:29.627243Z"}, "problem_hash": "7c22ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 536}, "timestamp": "2026-02-12T22:41:03.323Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "880b98", "alias": "algebra_quadratic_discriminant_v1_1520064083_4289", "problem": "Let $m = 108$ and $n = 2$. Let $a = -2$ and $b = -18$. Define $c$ to be the largest integer $k$ such that $2^k \\leq 1450840$. Compute the value of $$\\max\\{xy \\mid x \\text{ and } y \\text{ are positive integers such that } x + y = m\\} - (b^n - 4ac).$$", "answer": 2432, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(108),\n \"_n\": Const(2),\n \"a\": Const(-2),\n \"b\": Const(-18),\n \"c\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(1450840)))),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MAX_VAL"], "recipe_id": "bbec55", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_VAL"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:11:33.091346Z", "verification": {"verified": true, "answer": 2432, "timestamp": "2026-02-08T06:11:33.093911Z"}, "problem_hash": "af5680", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2432, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 569}, "timestamp": "2026-02-12T21:18:31.927Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3456, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 391}, "timestamp": "2026-02-11T23:45:16.727Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "MAX_VAL": "ok", "K16": "same_pattern_wrong", "C2": "no", "K15": "no", "L3b": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "6e0811", "alias": "comb_binomial_compute_v1_2051736721_89", "problem": "Let $n = 13$ and $d$ be the smallest divisor of $1001$ that is at least $2$. Compute $\\binom{n}{d}$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"n\": Const(13),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:11:55.230054Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T15:11:55.231864Z"}, "problem_hash": "0eef6c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 324}, "timestamp": "2026-02-12T07:56:06.473Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K18": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cd77db", "alias": "diophantine_fbi2_count_v1_153355830_1682", "problem": "Let $\\mathcal{D}$ be the set of all positive integers $d$ such that $1 \\leq d \\leq 75$ and $d$ divides $6225$. Let $n$ be the maximum element of $\\mathcal{D}$. Define\n$$\nk = \\sum_{i=1}^{5} \\varphi(i) \\left\\lfloor \\frac{5}{i} \\right\\rfloor.\n$$\nNow let $S$ be the set of all positive integers $d$ such that $6 \\leq d \\leq n$, $d$ divides $k$, and $\\left\\lfloor \\frac{k}{d} \\right\\rfloor$ is an integer between $4$ and $73$, inclusive. Compute the number of elements in $S$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(75)), Divides(divisor=Var(\"d\"), dividend=Const(6225))))),\n \"k\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(15), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(73))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/K2", "K2/K2"], "recipe_id": "9d8f28", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T06:33:15.725886Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T06:33:15.734981Z"}, "problem_hash": "b12852", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 977}, "timestamp": "2026-02-13T01:43:59.613Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 614}, "timestamp": "2026-02-12T00:13:41.136Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "e85c4a", "alias": "modular_sum_quadratic_residues_v1_1439011603_2538", "problem": "Let $p$ be the smallest prime divisor of $77837$. Define $r = \\frac{p(p-1)}{4}$. Let $Q$ be the remainder when $44121 \\cdot r$ is divided by $86701$.\n\nFind the value of $Q$.", "answer": 30747, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77837))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(86701)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:51:15.291955Z", "verification": {"verified": true, "answer": 30747, "timestamp": "2026-02-08T16:51:15.293388Z"}, "problem_hash": "a63d72", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 349}, "timestamp": "2026-02-12T21:13:56.005Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "L3b": "no", "MOD_ADD": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8f5571", "alias": "nt_sum_divisors_compute_v1_458359167_2377", "problem": "Let $n = 21499$. Let $S$ be the set of all positive integers $p$ such that there exists an integer $q$ with $p \\cdot q = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $T$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 11$. Let $A$ be the set of all prime numbers $n$ satisfying $|S| \\leq n \\leq \\max(T)$. Let $r = \\sigma(n)$, the sum of the positive divisors of $n$. Compute the Bell number $B_k$, where $k$ is the remainder when $|r|$ is divided by $\\max(A)$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(21499),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "fa2047", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:21:02.296600Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T05:21:02.301201Z"}, "problem_hash": "7cbf28", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 2146}, "timestamp": "2026-02-12T08:00:57.983Z"}, {"id": 8, "model": "mathstral", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 897}, "timestamp": "2026-02-14T16:45:24.567Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 478}, "timestamp": "2026-02-11T22:34:25.019Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "fe8000", "alias": "sequence_lucas_compute_v1_124444284_10050", "problem": "Let $n$ be the smallest integer at least $2$ that divides $444889$. Compute the $n$th Lucas number.", "answer": 64079, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(444889))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:47:42.462539Z", "verification": {"verified": true, "answer": 64079, "timestamp": "2026-02-08T12:47:42.463645Z"}, "problem_hash": "afea2d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 183}, "timestamp": "2026-02-12T05:40:44.727Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K14": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "836189", "alias": "nt_count_coprime_and_v1_717093673_1697", "problem": "Let $k_1$ be the smallest divisor of $6125$ that is at least $2$. Let $k_2 = 9$. Let $S$ be the set of all positive integers $n$ with $1 \\leq n \\leq 40340$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Compute the remainder when $96999$ times $|S|$ is divided by $92608$.", "answer": 12205, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(40340),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6125))))),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(96999), Ref(\"result\")), modulus=Const(92608)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.89, "created_at": "2026-02-08T16:14:49.888935Z", "verification": {"verified": true, "answer": 12205, "timestamp": "2026-02-08T16:14:54.778775Z"}, "problem_hash": "b270d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 627}, "timestamp": "2026-02-12T10:20:26.962Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "80f9d7", "alias": "comb_factorial_compute_v1_798873815_174", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 77. Compute the factorial of this integer $d$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:30:29.958881Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T02:30:29.959708Z"}, "problem_hash": "5dc515", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 239}, "timestamp": "2026-02-08T19:07:13.051Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 206}, "timestamp": "2026-02-09T13:58:28.127Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 88, "completion_tokens": 1149}, "timestamp": "2026-02-09T13:08:04.073Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 86, "completion_tokens": 350}, "timestamp": "2026-02-08T20:55:27.316Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 76, "completion_tokens": 333}, "timestamp": "2026-02-09T00:40:38.086Z"}, {"id": 8, "model": "mathstral", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 87, "completion_tokens": 340}, "timestamp": "2026-02-11T01:21:58.331Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 131}, "timestamp": "2026-02-11T19:22:22.131Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "test"} +{"id": "3d3234", "alias": "nt_count_gcd_equals_v1_238844314_717", "problem": "Let $k$ be the smallest divisor of $11776575876041$ that is at least $2$. Determine the value of $d$, where $d$ is the number of positive integers $n \\le 43264$ such that $\\gcd(n, k) = 1$. Then compute the remainder when $68746 \\cdot d$ is divided by $51277$.", "answer": 35179, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(51277),\n \"upper\": Const(43264),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11776575876041))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(68746), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.238, "created_at": "2026-02-08T13:33:02.936343Z", "verification": {"verified": true, "answer": 35179, "timestamp": "2026-02-08T13:33:07.174792Z"}, "problem_hash": "9513e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 328}, "timestamp": "2026-02-12T07:03:00.143Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K5": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e7efa4", "alias": "algebra_poly_eval_v1_1820931509_465", "problem": "Let $n$ be the smallest integer greater than or equal to $2$ that divides $143$. Compute $3n^3 + 6n^2 + 3n - 7$.", "answer": 4745, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143))))),\n \"result\": Sum(Mul(Const(3), Pow(Ref(\"n\"), Const(3))), Mul(Const(6), Pow(Ref(\"n\"), Const(2))), Mul(Const(3), Ref(\"n\")), Const(-7)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:38:22.181254Z", "verification": {"verified": true, "answer": 4745, "timestamp": "2026-02-08T11:38:22.182859Z"}, "problem_hash": "38d4bb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4745, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 243}, "timestamp": "2026-02-12T04:29:40.941Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "d6423f", "alias": "nt_count_coprime_and_v1_1978505735_6572", "problem": "Let $ k_1 $ be the smallest integer $ d \\geq 2 $ that divides $ 735 $, and let $ k_2 = 11 $. Determine the number of positive integers $ n $ such that $ 1 \\leq n \\leq 32630 $, $ \\gcd(n, k_1) = 1 $, and $ \\gcd(n, k_2) = 1 $.", "answer": 19776, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(32630),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(735))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 13.323, "created_at": "2026-02-08T19:40:33.218182Z", "verification": {"verified": true, "answer": 19776, "timestamp": "2026-02-08T19:40:46.540867Z"}, "problem_hash": "157261", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 804}, "timestamp": "2026-02-13T01:09:15.970Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2845f4", "alias": "nt_count_divisors_in_range_v1_48377204_3109", "problem": "Let $n$ be the number of positive integers at most $9449$ that are relatively prime to $30$. Let $r$ be the number of positive divisors of $n$ that are between $1$ and $364$, inclusive. Compute the value of $$ r + 2^r \\bmod 54327, $$ where the exponent $r$ is reduced modulo $$ \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor. $$", "answer": 4138, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(9449)), Eq(GCD(a=Var(\"n1\"), b=Const(30)), Const(1))))),\n \"a\": Const(1),\n \"b\": Const(364),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))))), modulus=Const(54327))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "C4"], "recipe_id": "895faa", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "K2"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T17:11:37.028708Z", "verification": {"verified": true, "answer": 4138, "timestamp": "2026-02-08T17:11:37.042832Z"}, "problem_hash": "3de5e6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 605}, "timestamp": "2026-02-12T22:05:16.301Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "K2": "ok", "K16": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8effe8", "alias": "nt_count_divisors_in_range_v1_1978505735_473", "problem": "Let $n = 332640$, $a = 47$, and $b = 332642$. Define $d$-count as the number of divisors of $n$ that are at least $a$ and at most $b$. Let $s$ be the minimum value of $d_1$ such that $d_1 \\geq 2$ and $d_1$ divides $347633$. Let $c$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 11$ and $1 \\leq j \\leq 11$ such that $i + j = s$. Compute the value of\n$$\nQ = \\left( 353702 \\cdot (|d\\text{-count}| \\bmod 97) + 329703 \\cdot \\left( |d\\text{-count}|^2 + 1 \\right) \\bmod 101 + 215534 \\cdot (|d\\text{-count}| + c) \\bmod 103 \\right) \\bmod 78107.\n$$", "answer": 57718, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(97),\n \"n\": Const(332640),\n \"a\": Const(47),\n \"b\": Const(332642),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(347633)))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_m\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(78107)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_SUM_EQUALS"], "recipe_id": "8e46bf", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.215, "created_at": "2026-02-08T15:24:02.581300Z", "verification": {"verified": true, "answer": 57718, "timestamp": "2026-02-08T15:24:05.796740Z"}, "problem_hash": "49baab", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 361, "completion_tokens": 353}, "timestamp": "2026-02-12T08:23:22.751Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fa82b1", "alias": "nt_euler_phi_compute_v1_677425708_530", "problem": "Let $P$ be the greatest prime not exceeding $1023$. Let $N$ be the number of integers $n$ such that $2\\le n\\le P$ and $n$ is prime.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $x+y=N$. For each such pair, form the product $xy$. Let $C$ be the greatest value among all these products.\n\nLet $\\varphi(51984)$ denote Euler's totient function of $51984$, and define\n$$Q \\equiv C - \\varphi(51984) \\pmod{71564},$$\nwith $0\\le Q<71564$.\n\nFind the value of $Q$.", "answer": 62544, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71564),\n \"n\": Const(51984),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1023)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/B1"], "recipe_id": "0c88f6", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:35:25.941590Z", "verification": {"verified": true, "answer": 62544, "timestamp": "2026-02-08T03:35:25.944619Z"}, "problem_hash": "811985", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 62544, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 7420}, "timestamp": "2026-02-08T20:43:53.237Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 62544, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 259, "completion_tokens": 1503}, "timestamp": "2026-02-10T05:15:48.625Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 497}, "timestamp": "2026-02-12T19:09:50.197Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 517}, "timestamp": "2026-02-11T19:29:57.642Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "B1": "ok_later", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "0d0aaf", "alias": "geo_count_lattice_triangle_v1_1470522791_867", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(196,32)$, and $(210,101)$, multiplied by 2. Let $B$ be the sum of the greatest common divisors of the absolute differences of the coordinates of the three pairs of vertices. Specifically, let\n\\[\nB = \\gcd(196, 32) + \\gcd(|196 - 210|, |32 - 101|) + \\gcd(210, d),\n\\]\nwhere $d$ is the smallest integer greater than or equal to 2 that divides 1071509. Let $\\text{result} = \\frac{A + 2 - B}{2}$. Compute the remainder when $\\sum_{n=1}^{|\\text{result}|} \\phi(n)$ is divided by 51081, where $\\phi$ is Euler's totient function.", "answer": 12028, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(32),\n \"_n\": Const(210),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=196), Const(value=101)), Mul(Ref(name='_n'), Sub(left=Const(value=0), right=Const(value=32))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=196)), b=Abs(arg=Const(value=32))), GCD(a=Abs(arg=Sub(left=Const(value=210), right=Const(value=196))), b=Abs(arg=Sub(left=Const(value=101), right=Ref(name='_m')))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=210))), b=Abs(arg=Sub(left=Const(value=0), right=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=1071509))))))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(51081)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.33, "created_at": "2026-02-08T13:17:36.056074Z", "verification": {"verified": true, "answer": 12028, "timestamp": "2026-02-08T13:17:36.386238Z"}, "problem_hash": "e41b9d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 457}, "timestamp": "2026-02-12T06:34:48.319Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K18": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9af9b8", "alias": "sequence_lucas_compute_v1_1918700295_3751", "problem": "Let $c = 6$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = c$. Let $m$ be the maximum value of $xy$ over all such pairs. Let $Q$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $n$ be the minimum value of $x + y$ over all such pairs. Define\n\n$$\nS = \\sum_{k=1}^{n} k.\n$$\n\nCompute the $S$-th Lucas number.", "answer": 24476, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(6),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/SUM_ARITHMETIC"], "recipe_id": "314b38", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:51:18.744521Z", "verification": {"verified": true, "answer": 24476, "timestamp": "2026-02-08T08:51:18.746541Z"}, "problem_hash": "b63fce", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24476, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 803}, "timestamp": "2026-02-13T22:40:26.312Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 410}, "timestamp": "2026-02-12T02:20:23.970Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "SUM_ARITHMETIC": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "1ed14a", "alias": "modular_product_range_v1_124444284_6654", "problem": "Let $n = 11503$. Let $S$ be the set of all positive integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 10$, $10 \\leq t \\leq 51$, and $t = 7a + 3b$. Define $k$ to be the number of elements in $S$.\n\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 38025$. Define $m$ to be the minimum value of $x + y$ over all such pairs.\n\nLet $P = \\prod_{i=k}^{m} i$. Let $r$ be the remainder when $P$ is divided by $n$. Compute the remainder when $25313 \\cdot r$ is divided by $92041$.", "answer": 32127, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11503),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=51)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(38025)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n \"_c\": Const(25313),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92041)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:34:26.501620Z", "verification": {"verified": true, "answer": 32127, "timestamp": "2026-02-08T08:34:26.504872Z"}, "problem_hash": "94a711", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25313, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 4751}, "timestamp": "2026-02-13T19:40:14.998Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 445}, "timestamp": "2026-02-12T01:59:56.726Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "255601", "alias": "modular_sum_quadratic_residues_v1_1248542787_546", "problem": "Let $p$ be the smallest prime divisor of $31056173$, and let $n = 4$. Compute $\\frac{p(p-1)}{n}$.", "answer": 24414, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(31056173))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:12:27.077270Z", "verification": {"verified": true, "answer": 24414, "timestamp": "2026-02-08T03:12:27.078474Z"}, "problem_hash": "2795a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 150, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:28:21.766Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:16:14.588Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 99, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:41:09.994Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25043, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 80, "completion_tokens": 5423}, "timestamp": "2026-02-11T09:35:15.363Z"}, {"id": 8, "model": "mathstral", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 96, "completion_tokens": 613}, "timestamp": "2026-02-12T12:07:47.046Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 179}, "timestamp": "2026-02-11T20:34:38.915Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "c4e5f3", "alias": "nt_count_digit_sum_v1_655260480_571", "problem": "Let $n = 162$ and let $S$ be the set of all positive integers $x$ such that $x \\leq 135424$ and the sum of the digits of $x$ is $33$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = n$. Define $P$ to be the maximum value of $xy$ over all such pairs in $T$. Compute $P - |S|$.", "answer": 4631, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(162),\n \"upper\": Const(135424),\n \"target_sum\": Const(33),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 6.184, "created_at": "2026-02-08T15:28:04.522153Z", "verification": {"verified": true, "answer": 4631, "timestamp": "2026-02-08T15:28:10.706558Z"}, "problem_hash": "c647bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 407}, "timestamp": "2026-02-12T08:32:16.520Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "75522b", "alias": "nt_count_divisible_and_v1_124444284_5645", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 9$. Let $d_1$ be the minimum value of $x + y$ over all such pairs.\\\\\n\nLet $T$ be the set of all ordered pairs $(i, j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 6$ such that $\\gcd(i, j) = 1$. Let $d_2$ be the number of elements in $T$.\\\\\n\nCompute the number of positive integers $n \\leq 73746$ such that $n$ is divisible by both $d_1$ and $d_2$.", "answer": 4097, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(73746),\n \"d1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d2\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 2.58, "created_at": "2026-02-08T06:45:31.544974Z", "verification": {"verified": true, "answer": 4097, "timestamp": "2026-02-08T06:45:34.124990Z"}, "problem_hash": "583a06", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 719}, "timestamp": "2026-02-13T04:20:35.842Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 819, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 466}, "timestamp": "2026-02-12T00:28:25.666Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "K15": "no", "K18": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3e70d0", "alias": "comb_sum_binomial_mod_v1_168721529_66", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 1315$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Define\n$$\ns = \\sum_{k=8}^{N} \\binom{232}{k}.\n$$\nLet $r$ be the remainder when $s$ is divided by $10883$. Compute the remainder when $\\sum_{n=1}^{r} \\phi(n)$ is divided by $53655$, where $\\phi$ denotes Euler's totient function.", "answer": 38678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53655),\n \"sum\": Summation(var=\"k\", start=Const(8), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1315)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))), expr=Binom(n=Const(232), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10883)),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.424, "created_at": "2026-02-08T12:47:36.936574Z", "verification": {"verified": true, "answer": 38678, "timestamp": "2026-02-08T12:47:37.360910Z"}, "problem_hash": "4d8aed", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:59:38.980Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:28:20.178Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 594}, "timestamp": "2026-02-09T12:46:00.508Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 4894}, "timestamp": "2026-02-09T22:58:51.328Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 645}, "timestamp": "2026-02-12T05:36:39.694Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K17": "no", "K18": "no", "L3c": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "48a40d", "alias": "modular_sum_quadratic_residues_v1_971394319_1026", "problem": "Let $p$ be the smallest prime divisor of $101528535751$. Compute $\\frac{p(p-1)}{4}$.", "answer": 77423, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(101528535751))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:26:46.902724Z", "verification": {"verified": true, "answer": 77423, "timestamp": "2026-02-08T13:26:46.904558Z"}, "problem_hash": "a64142", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 149}, "timestamp": "2026-02-12T06:51:54.897Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3e5e00", "alias": "modular_sum_quadratic_residues_v1_153355830_104", "problem": "Let $T$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $t$ be the number of elements in $T$. Let $S = \\sum_{k=1}^{19} k$. Let $p$ be the largest prime number $n$ such that $t \\leq n \\leq S$. Let $r = \\frac{p(p-1)}{4}$. Compute the remainder when $75298 \\cdot r$ is divided by $52485$.", "answer": 14985, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(75298),\n \"_n\": Const(52485),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Const(19), expr=Var(\"k\"))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "2d0c65", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:53:13.620586Z", "verification": {"verified": true, "answer": 14985, "timestamp": "2026-02-08T02:53:13.624683Z"}, "problem_hash": "fdee1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 5218}, "timestamp": "2026-02-10T11:46:38.370Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 14985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 1821}, "timestamp": "2026-02-08T22:56:56.828Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:16:20.876Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:46:36.550Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 1597}, "timestamp": "2026-02-10T14:36:21.455Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 40960}, "timestamp": "2026-02-11T05:34:58.861Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10915, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 415}, "timestamp": "2026-02-11T19:48:06.377Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K15": "no", "K17": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "efb9ea", "alias": "comb_count_permutations_fixed_v1_898971024_656", "problem": "Let $n$ be the smallest divisor of $1225$ that is at least $2$. Let $k = 2$. Define $r = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Let $Q$ be the remainder when $95352 \\cdot r$ is divided by $98771$. Find the value of $Q$.", "answer": 30391, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95352),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1225))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(98771)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:34:40.395671Z", "verification": {"verified": true, "answer": 30391, "timestamp": "2026-02-08T15:34:40.398337Z"}, "problem_hash": "96b203", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30091, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 323}, "timestamp": "2026-02-12T08:44:08.271Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9505fd", "alias": "modular_inverse_v1_2051736721_3564", "problem": "Let $m$ be the smallest divisor of 9432167567627237 that is at least 2. Let $a = 251$ and $\\text{upper} = 456$. Let $\\text{result}$ be the smallest positive integer $x$ such that $1 \\leq x \\leq \\text{upper}$ and $251x \\equiv 1 \\pmod{m}$. Let $Q$ be the remainder when $24104 \\cdot \\text{result}$ is divided by 80745. Compute $Q$.", "answer": 49607, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24104),\n \"a\": Const(251),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9432167567627237))))),\n \"upper\": Const(456),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(80745)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.031, "created_at": "2026-02-08T17:24:23.816527Z", "verification": {"verified": true, "answer": 49607, "timestamp": "2026-02-08T17:24:23.847317Z"}, "problem_hash": "f9f39d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 381}, "timestamp": "2026-02-12T22:29:31.909Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "LTE_DIFF": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3c4d9a", "alias": "modular_count_residue_v1_677425708_670", "problem": "Let $m = 13$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1521$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $S$ be the set of positive integers $k$ such that $1 \\leq k \\leq 65$ and $k$ is divisible by $m$. Define $m'$ as the largest integer $e$ such that $2^e$ divides $\\binom{\\sum S}{n}$. Let $r = 2$ and let $T$ be the set of integers $t$ such that $1 \\leq t \\leq 83521$ and $t \\equiv r \\pmod{m'}$. Define $Q = 37636 - |T|$. Compute $Q$.", "answer": 20932, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1521)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(83521),\n \"m\": MaxKDivides(target=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(65)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_m\")), Const(0))))), k=Ref(\"_n\")), base=Const(2)),\n \"r\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sub(Const(37636), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_DIVISIBLE/V7"], "recipe_id": "f62ecb", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "V7"], "num_lemmas": 3, "generation_time": 2.722, "created_at": "2026-02-08T03:40:23.565791Z", "verification": {"verified": true, "answer": 20932, "timestamp": "2026-02-08T03:40:26.287985Z"}, "problem_hash": "a234eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20932, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 2035}, "timestamp": "2026-02-08T20:54:22.063Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "SUM_DIVISIBLE": "ok_later", "V7": "ok_later", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "e3b79a", "alias": "nt_count_digit_sum_v1_238844314_1138", "problem": "Let $n = 47027$. Define $s$ to be the smallest divisor of $n$ that is at least $2$. Let $T$ be the set of all positive integers $k$ such that $1 \\le k \\le 467856$ and the sum of the decimal digits of $k$ is equal to $s$. Let $N$ be the number of elements in $T$. Compute the smallest positive integer $m$ such that the $m$th Fibonacci number is divisible by $N + 2$. (Note: the Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\ge 3$.)", "answer": 2460, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(47027),\n \"upper\": Const(467856),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 18.647, "created_at": "2026-02-08T13:59:08.162097Z", "verification": {"verified": true, "answer": 2460, "timestamp": "2026-02-08T13:59:26.808671Z"}, "problem_hash": "67af36", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 339}, "timestamp": "2026-02-12T07:39:17.720Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K15": "no", "K5": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1422c6", "alias": "diophantine_fbi2_min_v1_1526740231_321", "problem": "Let $n = 1001$ and $k = 180$. Let $u = 190$. Let $d_{\\min}$ be the smallest divisor of $n$ that is at least 2. Find the smallest integer $d$ such that $d_{\\min} \\le d \\le u$, $d$ divides $k$, and $k/d \\ge 4$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"k\": Const(180),\n \"upper\": Const(190),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\")))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.073, "created_at": "2026-02-08T11:27:23.351722Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T11:27:23.424537Z"}, "problem_hash": "f2a689", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 127, "completion_tokens": 702}, "timestamp": "2026-02-14T14:09:29.661Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 457}, "timestamp": "2026-02-12T04:04:44.755Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3b": "no", "LTE_DIFF_P2": "no", "V1": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b4efa1", "alias": "modular_sum_quadratic_residues_v1_784195855_7320", "problem": "Let $p$ be the smallest divisor of $2846969449$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 13053, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2846969449))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:12:33.983152Z", "verification": {"verified": true, "answer": 13053, "timestamp": "2026-02-08T09:12:33.984298Z"}, "problem_hash": "349526", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13514, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 79, "completion_tokens": 3828}, "timestamp": "2026-02-14T01:29:49.300Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 195}, "timestamp": "2026-02-12T02:38:43.814Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "68f120", "alias": "algebra_poly_eval_v1_48377204_388", "problem": "Let $t = 11$. Compute the value of\n$$\n4 \\cdot t^4 + t^{\\max\\{n \\mid 2 \\leq n \\leq 4,\\ n\\ \\text{is prime}\\}} + 3 \\cdot t^{c} + 6t + \\min\\{d \\mid d \\geq 2,\\ d\\ \\text{divides}\\ 75\\},\n$$\nwhere $c$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$.", "answer": 60327, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\n \"_m\": Const(4),\n \"_n\": Const(75),\n \"t\": Const(11),\n \"result\": Sum(Mul(Ref(\"_m\"), Pow(Ref(\"t\"), Const(4))), Pow(Ref(\"t\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\")))))), Mul(Ref(\"_c\"), Pow(Ref(\"t\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Mul(Const(6), Ref(\"t\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\")))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "c59c4f", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T15:24:54.353376Z", "verification": {"verified": true, "answer": 60327, "timestamp": "2026-02-08T15:24:54.361547Z"}, "problem_hash": "bf18ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 543117, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 524}, "timestamp": "2026-02-12T08:24:27.256Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "L3c": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "325d80", "alias": "modular_modexp_compute_v1_971394319_359", "problem": "Let $a = 43$. Let $e$ be the smallest divisor of $6520878079973$ that is at least $2$. Let $m = 23409$. Compute $43^e \\bmod 23409$.", "answer": 9511, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(43),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6520878079973))))),\n \"m\": Const(23409),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:02:47.661384Z", "verification": {"verified": true, "answer": 9511, "timestamp": "2026-02-08T13:02:47.663389Z"}, "problem_hash": "93c41f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 288}, "timestamp": "2026-02-12T06:05:16.422Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "61ec8f", "alias": "comb_count_partitions_v1_1978505735_4668", "problem": "Let $n$ be the smallest divisor of $94987$ that is greater than or equal to $2$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $44121 \\cdot p(n)$ is divided by $52936$.", "answer": 35045, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(94987))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(52936)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:25:55.660534Z", "verification": {"verified": true, "answer": 35045, "timestamp": "2026-02-08T18:25:55.662000Z"}, "problem_hash": "0146dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 282}, "timestamp": "2026-02-13T00:07:54.225Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "de0285", "alias": "nt_num_divisors_compute_v1_397696148_434", "problem": "Let $n = 3969$. Compute the number of positive divisors of $n$. Let this value be $d$. Let $P$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq \\sum_{d \\mid 327} \\phi(d)$, where $\\phi(d)$ denotes Euler's totient function. Let $M$ be the largest element of $P$. Compute $d \\bmod M$ and $d \\bmod 313$. Find the value of $(d \\bmod M) + 2003 \\cdot (d \\bmod 313)$.", "answer": 30060, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2003),\n \"n\": Const(3969),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), SumOverDivisors(n=Const(value=327), var='d', expr=EulerPhi(n=Var(name='d')))), IsPrime(Var(\"n\")))))), Mul(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=Const(313)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_PRIME_BELOW"], "recipe_id": "b5af12", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:29:24.757828Z", "verification": {"verified": true, "answer": 30060, "timestamp": "2026-02-08T11:29:24.760062Z"}, "problem_hash": "2f856b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 30060, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 173, "completion_tokens": 1121}, "timestamp": "2026-02-14T15:13:54.861Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 507}, "timestamp": "2026-02-12T04:12:27.309Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3b": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "302af7", "alias": "nt_euler_phi_compute_v1_458359167_587", "problem": "Let $N = 6461$. Define $p$ to be the number of positive integers $k$ such that $1 \\leq k \\leq N$ and $91$ divides $k$. Let $s = \\Omega(p)$, the number of prime factors of $p$ counted with multiplicity. Let $t = \\sum_{d \\mid 1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $n = 31991 \\cdot s$ and let $r = \\varphi(n)$, where $\\varphi$ denotes Euler's totient function. Compute the remainder when $44121 \\cdot t \\cdot r$ is divided by $56249$.", "answer": 30882, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6461),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(91), dividend=Var(\"k\"))), domain='positive_integers')),\n \"s\": BigOmega(n=Ref(name='p')),\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(31991), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Const(44121), Ref(\"t\")), Ref(\"result\")), modulus=Const(56249)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/BIG_OMEGA_ONE", "MOBIUS_SUM"], "recipe_id": "a2700c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "C2", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:25:56.076875Z", "verification": {"verified": true, "answer": 30882, "timestamp": "2026-02-08T03:25:56.082524Z"}, "problem_hash": "db698a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "MOBIUS_SUM": "ok", "BIG_OMEGA_ONE": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V7": "no"}, "split": "test"} +{"id": "d6e987", "alias": "diophantine_fbi2_min_v1_2051736721_5095", "problem": "Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 210681$. For each such pair, compute $x + y$, and let $s$ be the minimum value among all such sums. Let $U$ be the set of all positive integers $n$ such that $1 \\le n \\le s$, $9$ divides $n$, and $\\gcd(n, 35) = 1$. Let $u$ be the number of elements in $U$. Let $D$ be the set of all integers $d$ such that $5 \\le d \\le u$, $d$ divides $60$, and $\\frac{60}{d} \\ge 4$. Determine the smallest element of $D$, and compute the sum of the number of positive divisors of all positive integers from $1$ up to that smallest element.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": Const(4),\n \"k\": Const(60),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(210681)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T18:21:59.591347Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T18:21:59.599651Z"}, "problem_hash": "d4e53b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 564}, "timestamp": "2026-02-13T00:02:41.052Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "K14": "no", "K18": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f72f1b", "alias": "diophantine_fbi2_min_v1_124444284_9989", "problem": "Let $k = 21$. Let $d_{\\min}$ be the smallest divisor of $59771317$ that is at least $2$. Let $d_0$ be the smallest integer $d$ such that $2 \\leq d \\leq d_{\\min}$, $d$ divides $k$, and $\\frac{k}{d} \\geq 7$.\n\nFind the value of $d_0$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(21),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(59771317))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T12:45:49.233249Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T12:45:49.245008Z"}, "problem_hash": "4d0229", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 303}, "timestamp": "2026-02-12T05:34:48.758Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "f60223", "alias": "antilemma_count_primes_v1_784195855_2438", "problem": "Let $m = 5$ and $n = 5$. Let $k$ be the largest integer such that $5^k$ divides $4^5 + 1^5$. Let $A$ be the set of all integers $n$ such that $k \\leq n \\leq 16025$, $n$ is divisible by $5$, and $\\gcd(n, 6) = 1$. Compute the number of prime numbers in $A$.", "answer": 180, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(5),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Sum(Pow(Const(4), Const(5)), Pow(Const(1), Ref(\"_m\"))), base=Const(5))), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16025)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["LTE_SUM/COUNT_PRIMES", "C5/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "32a677", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "C5", "COUNT_PRIMES", "LTE_SUM"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T05:44:45.175016Z", "verification": {"verified": true, "answer": 180, "timestamp": "2026-02-08T05:44:45.190242Z"}, "problem_hash": "66d4b1", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "COUNT_PRIMES": "ok", "LTE_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "split": "test"} +{"id": "94ee05", "alias": "geo_count_lattice_triangle_v1_1978505735_8385", "problem": "Let the points $A = (289, 196)$, $B = (91, 120)$, and $C = (0, 0)$ define a triangle in the coordinate plane. Let $A_2$ be twice the area of triangle $ABC$. Let $b$ be the number of lattice points on the boundary of triangle $ABC$, computed as the sum of the greatest common divisors of the absolute differences of the coordinates along each side. Compute the value of $\\frac{A_2 + 2 - b}{2}$, and then find the remainder when $44121$ times this value is divided by $72242$.", "answer": 2335, "graph": "graphs = [\n Graph(\n let={\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=289), Const(value=120)), Mul(Const(value=91), Sub(left=Const(value=0), right=Const(value=196))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=289)), b=Abs(arg=Const(value=196))), GCD(a=Abs(arg=Sub(left=Const(value=91), right=Const(value=289))), b=Abs(arg=Sub(left=Const(value=120), right=Const(value=196)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=91))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(72242)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "generation_time": 0.005, "created_at": "2026-02-08T20:48:44.766076Z", "verification": {"verified": true, "answer": 2335, "timestamp": "2026-02-08T20:48:44.771067Z"}, "problem_hash": "2f651e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 579}, "timestamp": "2026-02-13T01:30:02.321Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "17592b", "alias": "nt_count_intersection_v1_677425708_1895", "problem": "Let $N$ be the largest integer $k$ such that $19^k$ divides\n$$\n276694923365479939206136720157402168770424495600768933256383205227744788540971952915537919949111926211401406890292433337636956721106573689396969104285836412582295745352169228729040633377632120215109359583186639532342963501142974558388302693926012347545793198906245556646701858983408054190415747727615173285429988167849263702802257362040316680633814569528520968003263670044358084796831067693128052457177979725268823103022696416093516857992581455995719063320967906504629709958023670058620076676257427732250823960148089885769146050529102126178680759419522576515897047835667678674998832271049246396267170809225262759261158651112539104748734302969503211920864698900662212379749726981912262735827432297850183622028918395813447969164368998078540144122310512525650013645805408356365925280826072210166263492848860596229015360527858443784223941444559538944102414359557813643975435853332038384381579695209325674650330684378240124152730465208183471119102571855575254852086872604750035951806526239698381363352852638420690891899809613136488937000938418319439040416428737246218533086195783543113426399303626818025381001552567345917310068000089171589772961824293026775105512942639680239475919399838120015843402337627558078555737824518069961826244431648803499562780025360442244801712010195723158525888631113142538902242592272024232899454505097893449986642176774807728808535708700781058470473293859845871952050051423550978504624609038860888338131361265627433492842738727474955013602648591368066387053154916821347408634848675833752925595837297342833418353694115457636337872702089650780117935086374492522363452792225001)^4.\n$$\nLet $a = 7$, and let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9$. Define $S$ to be the set of positive integers $n$ such that $1 \\le n \\le N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Let $\\alpha$ be the number of elements in $S$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9253764$. Compute $\\alpha + \\sum_{i=0}^{d-1} d_i (i+1)^2$, where $d$ is the number of decimal digits of $\\alpha$ and $d_i$ is the $i$-th decimal digit of $\\alpha$ (starting from the units digit as $i=0$).", "answer": 6122, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": MaxKDivides(target=Pow(Const(276694923365479939206136720157402168770424495600768933256383205227744788540971952915537919949111926211401406890292433337636956721106573689396969104285836412582295745352169228729040633377632120215109359583186639532342963501142974558388302693926012347545793198906245556646701858983408054190415747727615173285429988167849263702802257362040316680633814569528520968003263670044358084796831067693128052457177979725268823103022696416093516857992581455995719063320967906504629709958023670058620076676257427732250823960148089885769146050529102126178680759419522576515897047835667678674998832271049246396267170809225262759261158651112539104748734302969503211920864698900662212379749726981912262735827432297850183622028918395813447969164368998078540144122310512525650013645805408356365925280826072210166263492848860596229015360527858443784223941444559538944102414359557813643975435853332038384381579695209325674650330684378240124152730465208183471119102571855575254852086872604750035951806526239698381363352852638420690891899809613136488937000938418319439040416428737246218533086195783543113426399303626818025381001552567345917310068000089171589772961824293026775105512942639680239475919399838120015843402337627558078555737824518069961826244431648803499562780025360442244801712010195723158525888631113142538902242592272024232899454505097893449986642176774807728808535708700781058470473293859845871952050051423550978504624609038860888338131361265627433492842738727474955013602648591368066387053154916821347408634848675833752925595837297342833418353694115457636337872702089650780117935086374492522363452792225001), Const(4)), base=Const(19)),\n \"a\": Const(7),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9253764)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K14"], "recipe_id": "9ddd19", "seed_template_id": "nt_count_intersection_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K14"], "num_lemmas": 2, "generation_time": 0.183, "created_at": "2026-02-08T04:37:54.803618Z", "verification": {"verified": true, "answer": 6122, "timestamp": "2026-02-08T04:37:54.986926Z"}, "problem_hash": "73f917", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 874, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:51:19.873Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K14": "ok", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "e2dc99", "alias": "algebra_vieta_sum_v1_1520064083_3727", "problem": "Find the product of all real solutions $x$ to the equation $x^2 - 13x + 30 = 0$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(Const(value=-13), Var(name='x')), Const(value=30)), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_DIVISOR/MAX_DIVISOR/MIN_PRIME_FACTOR", "COPRIME_PAIRS/MIN_PRIME_FACTOR", "COPRIME_PAIRS/MAX_DIVISOR"], "recipe_id": "c2e6a4", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.08, "created_at": "2026-02-08T05:50:08.569354Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T05:50:08.649477Z"}, "problem_hash": "d2568c", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 30, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 84, "completion_tokens": 358}, "timestamp": "2026-02-11T23:17:37.778Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 167}, "timestamp": "2026-02-11T23:17:11.389Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "e676f9", "alias": "diophantine_fbi2_count_v1_48377204_497", "problem": "Let $k = 360$. Determine the number of positive integers $d$ such that $2 \\leq d \\leq 100$, $d$ divides $k$, $\\frac{k}{d} \\geq 5$, and $\\frac{k}{d} \\leq m$, where $m$ is the smallest positive integer $d_1 \\geq 2$ that divides $11021$.", "answer": 17, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(360),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(100)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(11021))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V5"], "num_lemmas": 2, "generation_time": 0.12, "created_at": "2026-02-08T15:31:04.726606Z", "verification": {"verified": true, "answer": 17, "timestamp": "2026-02-08T15:31:04.846860Z"}, "problem_hash": "a6f056", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 521}, "timestamp": "2026-02-12T08:35:13.017Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "974222", "alias": "nt_sum_divisors_range_v1_1439011603_2744", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 45933$ and $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.$$ Let $N = |A|$. Let $S$ be the set of positive integers $n_1$ such that $1 \\leq n_1 \\leq N$. Compute the remainder when $$\\sum_{n_1 \\in S} \\tau(n_1)$$ is divided by $88901$, where $\\tau(n_1)$ denotes the number of positive divisors of $n_1$.", "answer": 66003, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(27896),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(45933)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(88901)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.231, "created_at": "2026-02-08T16:55:47.556212Z", "verification": {"verified": true, "answer": 66003, "timestamp": "2026-02-08T16:55:47.786975Z"}, "problem_hash": "80c7fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 610}, "timestamp": "2026-02-12T21:32:24.894Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "K16": "no", "K5": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d91a8d", "alias": "comb_count_permutations_fixed_v1_784195855_1379", "problem": "Let $a = \\sum_{k=1}^{2} \\varphi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$ and $n = \\sum_{k=1}^{a} \\varphi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\varphi$ denotes Euler's totient function. Let $k = 2$. Define $D(m)$ to be the number of derangements of $m$ elements. Compute the remainder when $\\binom{n}{k} \\cdot D(n - k)$ is divided by 69500.", "answer": 48835, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(69500),\n \"n\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2", "ONE_PHI_1"], "recipe_id": "0ab9d0", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:00:01.328187Z", "verification": {"verified": true, "answer": 48835, "timestamp": "2026-02-08T05:00:01.331452Z"}, "problem_hash": "01bdea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K2": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "LTE_SUM": "no", "V8": "no"}, "split": "test"} +{"id": "557387", "alias": "antilemma_v8_lucas_784195855_3951", "problem": "Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 97788$ and the binomial coefficient $\\binom{97788}{j}$ leaves a remainder of $1$ when divided by the highest power of $19$ that divides $19^2$. Determine the value of $\\sum_{n=\\varphi(1)}^{|x|} \\tau(n)$, where $\\varphi$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 75108, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(97788)), Eq(Mod(value=Binom(n=Const(97788), k=Var(\"j\")), modulus=MaxKDivides(target=Pow(Const(19), Ref(\"_n\")), base=Const(19))), Const(1))), domain='nonnegative_integers')),\n \"Q\": Summation(var=\"n\", start=EulerPhi(n=Const(1)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/V8", "ONE_PHI_1", "V8"], "recipe_id": "f29867", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "ONE_PHI_1", "V8"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:42:55.221381Z", "verification": {"verified": true, "answer": 75108, "timestamp": "2026-02-08T06:42:55.223721Z"}, "problem_hash": "2efecb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "ONE_PHI_1": "ok", "V8": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K16": "no", "K5": "no", "LTE_SUM": "no"}, "split": "test"} +{"id": "373669", "alias": "comb_sum_binomial_mod_v1_2051736721_13", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 360$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $t$ be the number of elements in $S$. Compute the remainder when $\\sum_{k=t}^{283} \\binom{311}{k}$ is divided by $11173$.", "answer": 3646, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(311),\n \"sum\": Summation(var=\"k\", start=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(360)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), end=Const(283), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11173)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.036, "created_at": "2026-02-08T15:07:39.561211Z", "verification": {"verified": true, "answer": 3646, "timestamp": "2026-02-08T15:07:39.597163Z"}, "problem_hash": "3d9a51", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 679}, "timestamp": "2026-02-12T07:55:24.973Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "L3b": "no", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cf0ebd", "alias": "nt_sum_divisors_compute_v1_784195855_1279", "problem": "Let $m$ be the sum of $\\mu(d)$ over all positive divisors $d$ of 1, where $\\mu$ is the M\\\"obius function. Let $n_1 = 47^k \\cdot 5 \\cdot 73$, where $k$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $e = \\mu(n_1)^{2m}$ and $n = 27225 + e$. Define $\\text{result} = \\sigma(n)$, the sum of all positive divisors of $n$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|\\text{result}| + 2$. Give your answer as a single integer.", "answer": 6300, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(1),\n \"m\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(47),\n \"q\": Const(5),\n \"r\": Const(73),\n \"n1\": Mul(Pow(Ref(\"p\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Ref(\"q\"), Ref(\"r\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Mul(Const(2), Ref(\"m\"))),\n \"n\": Sum(Const(27225), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "5c4ad8", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.045, "created_at": "2026-02-08T04:57:29.054758Z", "verification": {"verified": true, "answer": 6300, "timestamp": "2026-02-08T04:57:29.099871Z"}, "problem_hash": "cb462a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K17": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "7f3088", "alias": "antilemma_coprime_grid_v1_1742523217_583", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 36$, and let $M$ be the minimum value of $x + y$ over all pairs in $S$.\n\nLet\n$$T = \\sum_{d \\mid \\gcd(M,25)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $\\varphi$ denote Euler's totient function, and define\n$$G = \\varphi(\\varphi(T)).$$\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1 \\le i \\le 37$ and $1 \\le j \\le 178$ such that\n$$\\gcd(i,j) = G.$$\n\nCompute $x$.", "answer": 4084, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=EulerPhi(n=SumOverDivisors(n=GCD(a=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=36)))), expr=Sum(Var(name='x'), Var(name='y')))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(178))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME/ONE_PHI_1/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "c641d2", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:08:14.454674Z", "verification": {"verified": true, "answer": 4084, "timestamp": "2026-02-08T03:08:14.456989Z"}, "problem_hash": "0b4e88", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4084, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:51:08.870Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 4084, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 5134}, "timestamp": "2026-02-09T04:41:13.340Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "COUNT_INTEGER_RANGE": "no", "K16": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "9cb1c8", "alias": "nt_sum_phi_v1_1520064083_1244", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define $S = \\left\\{1, 2, \\dots, 500\\right\\}$ and let $\\Phi = \\sum_{n \\in S} \\phi(n)$. Let $k$ be the largest integer such that $2^k \\leq 5$. Compute \n$$\n353702 \\cdot (|\\Phi| \\bmod 97) + 329703 \\cdot \\left(\\left(|\\Phi|^k\\right) \\bmod 101\\right) + 215534 \\cdot \\left((|\\Phi| + 41) \\bmod 103\\right),\n$$\ndenote this value by $T$. Compute the remainder when $T$ is divided by $85080$.", "answer": 1587, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(500),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(5))))), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(41)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(85080)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL"], "recipe_id": "b73993", "seed_template_id": "nt_sum_phi_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_VAL"], "num_lemmas": 1, "generation_time": 0.037, "created_at": "2026-02-08T03:53:22.138534Z", "verification": {"verified": true, "answer": 1587, "timestamp": "2026-02-08T03:53:22.175328Z"}, "problem_hash": "4b80ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:04:37.297Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 74798, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 4330}, "timestamp": "2026-02-10T14:41:25.176Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6889, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 3686}, "timestamp": "2026-02-11T20:02:18.289Z"}, {"id": 8, "model": "mathstral", "answer": 641, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 647}, "timestamp": "2026-02-13T02:17:27.533Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 506}, "timestamp": "2026-02-11T21:13:59.963Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "K16": "same_pattern_wrong", "COUNT_PRIMES": "no", "K13": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "1fe529", "alias": "nt_count_divisible_v1_153355830_25", "problem": "Let $m = 2$. Let $P$ be the set of all prime numbers $p$ such that $m \\leq p \\leq 240$. Let $N$ be the number of prime numbers less than or equal to the largest element of $P$. Let $D$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = N$. Find the number of positive integers $n$ with $1 \\leq n \\leq 30276$ that are divisible by $D$.", "answer": 1164, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(240)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"upper\": Const(30276),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/COMB1"], "recipe_id": "094f63", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.905, "created_at": "2026-02-08T02:51:16.226894Z", "verification": {"verified": true, "answer": 1164, "timestamp": "2026-02-08T02:51:17.131530Z"}, "problem_hash": "b08ac0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1164, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 1493}, "timestamp": "2026-02-10T11:43:26.891Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1164, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1384}, "timestamp": "2026-02-08T22:03:41.198Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:48:52.899Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 30276, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 309}, "timestamp": "2026-02-10T14:30:07.948Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1164, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 1134}, "timestamp": "2026-02-10T14:03:28.601Z"}, {"id": 8, "model": "mathstral", "answer": 2523, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 564}, "timestamp": "2026-02-11T05:18:22.245Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 507}, "timestamp": "2026-02-11T19:46:18.223Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COMB1": "ok_later", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "05c969", "alias": "sequence_fibonacci_compute_v1_1431428450_1375", "problem": "Let $n$ be the smallest divisor of $667$ that is at least $2$. Define $F_n$ to be the $n$-th Fibonacci number, with $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $d$ be the number of decimal digits of $F_n$, and for $i = 0$ to $d-1$, let $d_i$ be the $i$-th digit of $F_n$ (starting from the units place). Compute the value of $\\sum_{i=0}^{d-1} d_i (i+1)^2 + 16$.", "answer": 275, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(667))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T14:03:04.102559Z", "verification": {"verified": true, "answer": 275, "timestamp": "2026-02-08T14:03:04.106890Z"}, "problem_hash": "5826c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 321}, "timestamp": "2026-02-12T07:44:15.114Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3c": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4028b6", "alias": "comb_catalan_compute_v1_1125832087_931", "problem": "Let $ h = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k} $, and let $ n_1 = 3 + h $.\\\\\nLet $ m = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k} $, and let $ n = 11 + m $.\\\\\nDefine $ C_n $ to be the $ n $-th Catalan number.\\\\\nLet $ T $ be the set of all ordered pairs $ (x_1, x_2) $ of positive odd integers such that $ x_1 + x_2 = 22 $.\\\\\nLet $ Q $ be the Bell number $ B_k $, where $ k $ is the remainder when $ |C_n| $ is divided by the number of elements in $ T $.\\\\\nFind the value of $ Q $.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(22),\n \"n2\": Const(0),\n \"h\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"u\": Const(3),\n \"n1\": Sum(Ref(\"u\"), Ref(\"h\")),\n \"m\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Const(11), Ref(\"m\")),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "COMB1"], "recipe_id": "80ed3b", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:22:10.998064Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:22:11.002479Z"}, "problem_hash": "91076b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 299, "completion_tokens": 1908}, "timestamp": "2026-02-10T14:04:09.130Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 299, "completion_tokens": 954}, "timestamp": "2026-02-10T13:20:29.282Z"}, {"id": 8, "model": "mathstral", "answer": 237463, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 1635}, "timestamp": "2026-02-11T18:45:29.253Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 292, "completion_tokens": 577}, "timestamp": "2026-02-11T20:44:49.825Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "9e6acf", "alias": "modular_min_linear_v1_124444284_5243", "problem": "Let $a$ be the smallest integer $d \\geq 2$ that divides $3751105221435289$. Let $b = 22097$ and $m = 55356$. Let $x$ be the smallest positive integer such that $x \\leq m$ and $$ax \\equiv b \\pmod{m}.$$ Compute the Bell number $B_r$, where $r$ is the remainder when $|x|$ is divided by $11$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3751105221435289))))),\n \"b\": Const(22097),\n \"m\": Const(55356),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.534, "created_at": "2026-02-08T06:28:40.672961Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T06:28:43.207016Z"}, "problem_hash": "5df408", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 6260}, "timestamp": "2026-02-13T01:12:05.077Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 356}, "timestamp": "2026-02-12T00:10:12.049Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "MOD_SUB": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "066466", "alias": "comb_count_partitions_v1_124444284_9351", "problem": "Let $n$ be the smallest divisor of $1763$ that is greater than or equal to $2$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $$\\sum_{k=1}^{p(n)} \\tau(k)$$ is divided by $68586$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 4059, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1763),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(68586)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:25:38.137458Z", "verification": {"verified": true, "answer": 4059, "timestamp": "2026-02-08T12:25:38.138802Z"}, "problem_hash": "0a1ff9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 348}, "timestamp": "2026-02-12T05:12:01.927Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e6180b", "alias": "nt_num_divisors_compute_v1_124444284_9542", "problem": "Let $n$ be the smallest divisor of $94987$ that is greater than or equal to $2$. Let $d(n)$ denote the number of positive divisors of $n$. Compute $48872 \\cdot d(n)$.", "answer": 97744, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94987),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mul(Const(48872), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T12:33:48.083035Z", "verification": {"verified": true, "answer": 97744, "timestamp": "2026-02-08T12:33:48.086826Z"}, "problem_hash": "252f92", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 97744, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 172}, "timestamp": "2026-02-12T05:21:23.274Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K15": "no", "K16": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "3c9a94", "alias": "antilemma_cartesian_v1_798873815_49", "problem": "Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12330$. Let $T$ be the Cartesian product of the sets $\\{1, 2, \\dots, 17\\}$ and $\\{1, 2, \\dots, 49\\}$. Compute the remainder when $|S| \\cdot |T|$ is divided by $97807$.", "answer": 49481, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12330),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"x\")), modulus=Const(97807)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_CARTESIAN"], "recipe_id": "5e0ad8", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "affine_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T02:25:23.324542Z", "verification": {"verified": true, "answer": 49481, "timestamp": "2026-02-08T02:25:23.325332Z"}, "problem_hash": "1a60bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 1098}, "timestamp": "2026-02-08T18:32:06.603Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 49481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 782}, "timestamp": "2026-02-09T12:22:21.423Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:29:08.940Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 49481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 5027}, "timestamp": "2026-02-08T20:17:03.408Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 49481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 887}, "timestamp": "2026-02-08T22:30:41.436Z"}, {"id": 8, "model": "mathstral", "answer": 23, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 709}, "timestamp": "2026-02-10T20:06:03.847Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 547}, "timestamp": "2026-02-11T19:31:36.302Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "57e2f5", "alias": "modular_count_residue_v1_1915831931_3138", "problem": "Let $n = 77077$ and $m$ be the smallest divisor of $n$ that is at least $2$. Let $\\text{result}$ be the number of positive integers $k$ such that $1 \\leq k \\leq 66564$ and $k \\equiv 2 \\pmod{m}$.\n\nFind the value of $\\text{result}$.", "answer": 9509, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77077),\n \"upper\": Const(66564),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"r\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.894, "created_at": "2026-02-08T17:22:22.240611Z", "verification": {"verified": true, "answer": 9509, "timestamp": "2026-02-08T17:22:27.134792Z"}, "problem_hash": "92f1c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3504, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 479}, "timestamp": "2026-02-12T22:27:58.108Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7290e3", "alias": "algebra_vieta_sum_v1_784195855_8879", "problem": "Let $\\text{result}$ be the sum of all real solutions $x$ to the equation\n$$\nx^3 + 9x^2 - 64x - 576 = 0.\n$$\nLet $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 186$. Define $P$ as the maximum value of $xy$ over all such pairs in $S$. Compute $P - \\text{result}$.", "answer": 8658, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(3)), Mul(Ref(\"_n\"), Pow(Var(\"x\"), Const(2))), Mul(Const(-64), Var(\"x\")), Const(-576)), Const(0)))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(186)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T16:24:10.531737Z", "verification": {"verified": true, "answer": 8658, "timestamp": "2026-02-08T16:24:10.540150Z"}, "problem_hash": "b453b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 404}, "timestamp": "2026-02-12T10:32:49.683Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8fae7b", "alias": "modular_product_range_v1_1915831931_3058", "problem": "Let $N = 1109$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $k$ be the number of elements in this set. Define $P$ as the product of all integers from $11$ to $k$, inclusive. Let $r$ be the remainder when $P$ is divided by $11177$. Compute the remainder when $11^{|r|} + 50000$ is divided by $86127$.", "answer": 30810, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1109),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(11), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11177)),\n \"Q\": Mod(value=Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(50000)), modulus=Const(86127)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T17:20:16.983738Z", "verification": {"verified": true, "answer": 30810, "timestamp": "2026-02-08T17:20:16.987709Z"}, "problem_hash": "10a6cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 379}, "timestamp": "2026-02-12T22:20:33.657Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K17": "no", "K18": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5b2087", "alias": "nt_count_divisible_and_v1_151522320_2218", "problem": "Let $d_1 = 6$ and let $d_2$ be the number of integers $n$ with $1 \\leq n \\leq 18$ such that the sum of the decimal digits of $n$ is even. Let $r$ be the number of positive integers $n$ with $1 \\leq n \\leq 44514$ that are divisible by both $d_1$ and $d_2$. Let $m_1$ be the smallest divisor of $10930463309$ that is at least 2, and let $m_2$ be the smallest divisor of $1201289$ that is at least 2. Define\n$$\nQ = \\left( 353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left( (r^2 \\bmod 1) \\bmod m_1 \\right) + 215534 \\cdot \\left( \\left( \\sum_{i=1}^{|r|} 1 \\right) \\bmod 13 \\right) \\bmod m_2 \\right) \\bmod 1009091\n$$\nand take the remainder when $Q$ is divided by $72431$. Compute this remainder.", "answer": 53166, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(72431),\n \"_n\": Const(2),\n \"upper\": Const(44514),\n \"d1\": Const(6),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(18)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10930463309))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(13)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1201289)))))))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "L3B"], "recipe_id": "662624", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.403, "created_at": "2026-02-08T04:41:35.886349Z", "verification": {"verified": true, "answer": 53166, "timestamp": "2026-02-08T04:41:39.289400Z"}, "problem_hash": "596b89", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 382, "completion_tokens": 7374}, "timestamp": "2026-02-11T21:48:51.604Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 382, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:47:39.487Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 2496}, "timestamp": "2026-02-12T02:38:46.181Z"}, {"id": 8, "model": "mathstral", "answer": 63978, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 362, "completion_tokens": 925}, "timestamp": "2026-02-13T22:44:03.052Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 397, "completion_tokens": 512}, "timestamp": "2026-02-11T21:42:47.598Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K16": "no", "K5": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "93a7bf", "alias": "comb_count_surjections_v1_151522320_1694", "problem": "Let $n_2 = 0$. Define $s = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$. Let $n_1 = 0$. Define $u = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Let $n$ be the product of the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4\\}$, $s$, and $u$. Let $k = 3$. Define $\\text{result} = 3! \\cdot S(n, 3)$, where $S(n, k)$ denotes the Stirling number of the second kind. Compute the value of $\\text{result} + \\phi(|\\text{result}| + 1) + \\tau(|\\text{result}| + 0!)$, where $\\phi$ denotes Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 10604, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(0),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))), Ref(\"s\"), Ref(\"u\")),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Factorial(Const(0))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "ONE_FACTORIAL_0"], "recipe_id": "aeadb8", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:12:00.723692Z", "verification": {"verified": true, "answer": 10604, "timestamp": "2026-02-08T04:12:00.729246Z"}, "problem_hash": "38ab26", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 10604, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 344, "completion_tokens": 1768}, "timestamp": "2026-02-10T15:38:48.782Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 607}, "timestamp": "2026-02-13T09:43:33.280Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 524}, "timestamp": "2026-02-11T20:31:00.471Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "cf032e", "alias": "antilemma_sum_equals_v1_865884756_1404", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 85$, $1 \\leq i \\leq 83$, and $1 \\leq j \\leq 83$. Let $c$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 77$ and $1 \\leq b \\leq 119$. Compute the remainder when $c \\cdot x$ is divided by $74121$.", "answer": 10156, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(74121),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(85)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(83)), right=IntegerRange(start=Const(1), end=Const(83))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(77)), right=IntegerRange(start=Const(1), end=Const(119)))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "81018e", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "affine_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.042, "created_at": "2026-02-08T16:03:40.447989Z", "verification": {"verified": true, "answer": 10156, "timestamp": "2026-02-08T16:03:40.490096Z"}, "problem_hash": "a061a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 417}, "timestamp": "2026-02-12T09:46:15.993Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2be6f4", "alias": "comb_bell_compute_v1_458359167_4412", "problem": "Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 49$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{5}$. Compute the Bell number $B_n$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:45:12.994163Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T11:45:12.995112Z"}, "problem_hash": "cb0246", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 105, "completion_tokens": 885}, "timestamp": "2026-02-14T18:38:04.619Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 473}, "timestamp": "2026-02-12T04:33:53.838Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b9e34c", "alias": "nt_count_with_divisor_count_v1_1520064083_4449", "problem": "Compute the number of positive integers $n$ such that $1 \\leq n \\leq 18496$ and the number of positive divisors of $n$ is exactly 10.", "answer": 251, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(18496),\n \"div_count\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K14/MAX_PRIME_BELOW"], "recipe_id": "321f2f", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 2.171, "created_at": "2026-02-08T06:17:12.001363Z", "verification": {"verified": true, "answer": 251, "timestamp": "2026-02-08T06:17:14.171918Z"}, "problem_hash": "ad0cf3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 251, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 84, "completion_tokens": 2194}, "timestamp": "2026-02-12T22:10:19.503Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 676}, "timestamp": "2026-02-11T23:50:52.259Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "K14": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "87ca4d", "alias": "antilemma_k2_v1_124444284_8814", "problem": "Let $P$ be the set of all positive integers $x$ such that $x^2 - 261x - 5022 = 0$. Let $d(n)$ denote the number of positive divisors of $n$, and let $\\phi(n)$ denote Euler's totient function. Define $s = \\sum_{d \\mid |P|} \\phi(d)$, where $|P|$ is the number of elements in $P$. Compute the remainder when $\\sum_{k=1}^{261} \\phi(k) \\left\\lfloor \\frac{s}{k} \\right\\rfloor$ is divided by $85818$.", "answer": 63838, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(261),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Ref(name='_m')), Mul(Const(value=-261), Var(name='x')), Const(value=-5022)), right=Const(value=0)))), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(85818)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 3.344, "created_at": "2026-02-08T11:55:06.730028Z", "verification": {"verified": true, "answer": 63838, "timestamp": "2026-02-08T11:55:10.074392Z"}, "problem_hash": "9b564f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 560}, "timestamp": "2026-02-14T20:31:17.605Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 587}, "timestamp": "2026-02-12T04:46:08.772Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "c0cfde", "alias": "sequence_count_fib_divisible_v1_784195855_5356", "problem": "Let $u = 616$. Compute the number of positive integers $n \\leq u$ such that the $n$-th Fibonacci number is divisible by $3$. Find the remainder when $11625$ times this number is divided by $55618$.", "answer": 10474, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(616),\n \"d\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(11625), Ref(\"result\")), modulus=Const(55618)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/V5/MAX_PRIME_BELOW"], "recipe_id": "07d94d", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 3, "generation_time": 0.103, "created_at": "2026-02-08T07:50:13.318922Z", "verification": {"verified": true, "answer": 10474, "timestamp": "2026-02-08T07:50:13.422137Z"}, "problem_hash": "3825ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10474, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 99, "completion_tokens": 1743}, "timestamp": "2026-02-13T12:37:54.288Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 614}, "timestamp": "2026-02-12T01:19:45.229Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MAX_PRIME_BELOW": "ok_later", "V5": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "L3c": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "13d935", "alias": "modular_sum_quadratic_residues_v1_1520064083_8165", "problem": "Let $p$ be the smallest prime divisor of $159197$. Let $n = 4$. Compute $\\frac{p(p-1)}{n}$.", "answer": 39303, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(159197))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T10:02:41.894493Z", "verification": {"verified": true, "answer": 39303, "timestamp": "2026-02-08T10:02:41.897222Z"}, "problem_hash": "77b438", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39303, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 78, "completion_tokens": 3122}, "timestamp": "2026-02-14T06:09:21.777Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 180}, "timestamp": "2026-02-12T03:10:01.571Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c8ae2f", "alias": "nt_count_gcd_equals_v1_971394319_2047", "problem": "Let $d$ be the smallest divisor of $22499$ that is greater than or equal to $2$. Let $D = 149$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 15876$ and $\\gcd(n, d) = D$.", "answer": 106, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(15876),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(22499))))),\n \"d\": Const(149),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.276, "created_at": "2026-02-08T14:05:54.611052Z", "verification": {"verified": true, "answer": 106, "timestamp": "2026-02-08T14:05:55.887479Z"}, "problem_hash": "46d9e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 106, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 356}, "timestamp": "2026-02-12T07:49:12.230Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "ccc84e", "alias": "comb_count_permutations_fixed_v1_677425708_1427", "problem": "Let $m = 4$. Define $p$ to be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = m$. Let $n$ be the sum\n$$\n\\sum_{k = \\phi(2)}^{p} \\phi(k) \\left\\lfloor \\frac{q}{k} \\right\\rfloor,\n$$\nwhere $q$ is the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = 4$. Let $k = 7$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 240, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Var(\"k\"))))),\n \"k\": Const(7),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/K2", "ONE_PHI_2"], "recipe_id": "062b78", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "K2", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:11:43.646704Z", "verification": {"verified": true, "answer": 240, "timestamp": "2026-02-08T04:11:43.650718Z"}, "problem_hash": "7fd1ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 240, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 1301}, "timestamp": "2026-02-09T19:52:29.578Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "ONE_PHI_2": "ok", "K2": "ok_later", "L3b": "no", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "ce5e32", "alias": "antilemma_k2_v1_48377204_1642", "problem": "Let $c = 2$. Let $m$ be the sum of all integers $x$ such that $x^2 - 305x - 614 = 0$. Let $n$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $m$. Compute $$\\sum_{k=1}^{305} \\phi(k) \\left\\lfloor \\frac{n}{k} \\right\\rfloor.$$", "answer": 46665, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_c\")), Mul(Const(-305), Var(\"x1\")), Const(-614)), Const(0)))),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Const(305), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T16:16:46.599970Z", "verification": {"verified": true, "answer": 46665, "timestamp": "2026-02-08T16:16:46.601489Z"}, "problem_hash": "85b67e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 769}, "timestamp": "2026-02-12T10:21:32.657Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "K14": "no", "L3c": "no", "MAX_VAL": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "295fee", "alias": "nt_count_coprime_and_v1_677425708_1932", "problem": "Let $n_1$ be the number of prime numbers between $2$ and $11131$, inclusive. Let $h$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $a$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 16$. Let $b = 7$ and define $n = ab + 1$. Let $c$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $k_1 = 8 + h + c$ and $k_2 = 15$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 10695$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$.", "answer": 2852, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(11131)), IsPrime(Var(\"n\"))))),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(16)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Const(7),\n \"n\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Const(10695),\n \"k1\": Sum(Const(8), Ref(\"h\"), Ref(\"c\")),\n \"k2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/DIVISOR_PARITY", "B3/DIVISOR_PARITY"], "recipe_id": "617b38", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "COUNT_PRIMES", "DIVISOR_PARITY"], "num_lemmas": 3, "generation_time": 1.022, "created_at": "2026-02-08T04:39:54.053128Z", "verification": {"verified": true, "answer": 2852, "timestamp": "2026-02-08T04:39:55.074719Z"}, "problem_hash": "f7d100", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:18:34.347Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "87333b", "alias": "antilemma_k3_v1_151522320_807", "problem": "Let $m = \\sum_{d\\mid 29} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $n = 27021$ and let $x = \\sum_{d\\mid n} \\phi(d)$. Let $S$ be the set of all integers $x$ such that $x^2 - 12x - 9964 = 0$. Compute the remainder when $x^2 + m \\cdot x + \\sum S$ is divided by $75154$.", "answer": 45412, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": SumOverDivisors(n=Const(value=29), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_n\": Const(27021),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"x\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-12), Var(\"x\")), Const(-9964)), Const(0))))), modulus=Const(75154)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/VIETA_SUM", "K3"], "recipe_id": "dfc3e0", "seed_template_id": "antilemma_k3_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:32:57.374005Z", "verification": {"verified": true, "answer": 45412, "timestamp": "2026-02-08T03:32:57.377073Z"}, "problem_hash": "c3ece4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 45412, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 6915}, "timestamp": "2026-02-10T15:02:47.275Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 45412, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 1379}, "timestamp": "2026-02-10T13:52:51.957Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 463}, "timestamp": "2026-02-11T19:35:48.588Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 436}, "timestamp": "2026-02-11T21:00:41.401Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok_later", "K13": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "25e6d3", "alias": "nt_sum_over_divisible_v1_458359167_3838", "problem": "Let $d_0$ be the smallest integer greater than or equal to $2$ that divides $1234899792913837$. Let $S$ be the set of all positive integers $n \\leq d_0$ such that $n$ is divisible by $98$. Let $T$ be the sum of all elements in $S$. Compute the remainder when $\\sum_{n=1}^{T} \\phi(n)$ is divided by $80852$.", "answer": 43408, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1234899792913837))))),\n \"divisor\": Const(98),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(80852)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 10.335, "created_at": "2026-02-08T11:23:20.860097Z", "verification": {"verified": true, "answer": 43408, "timestamp": "2026-02-08T11:23:31.194693Z"}, "problem_hash": "573db5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 2448}, "timestamp": "2026-02-14T13:46:17.057Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 365}, "timestamp": "2026-02-12T04:01:49.051Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "a1191d", "alias": "nt_count_with_divisor_count_v1_677425708_1202", "problem": "Let $A$ be the number of positive integers $n \\leq 11449$ that have exactly 4 positive divisors. Let $B$ be the sum of all even positive integers $n \\leq 2$. Let $C$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 47$. Compute the value of $A + (B^A \\bmod 60155)$.", "answer": 3007, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60155),\n \"upper\": Const(11449),\n \"div_count\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2)), Eq(Mod(value=Var(\"n\"), modulus=Const(2)), Const(0))))), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(47)), IsPrime(Var(\"n\"))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_DIVISIBLE", "COUNT_PRIMES"], "recipe_id": "a4dc67", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "SUM_ARITHMETIC", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 9.361, "created_at": "2026-02-08T04:01:43.549279Z", "verification": {"verified": true, "answer": 3007, "timestamp": "2026-02-08T04:01:52.910394Z"}, "problem_hash": "7a7403", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:59:02.455Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:05:49.345Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1256, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 5573}, "timestamp": "2026-02-11T21:05:35.276Z"}, {"id": 8, "model": "mathstral", "answer": 23, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 452}, "timestamp": "2026-02-13T04:58:47.842Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 433}, "timestamp": "2026-02-11T21:18:25.052Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_DIVISIBLE": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "006c24", "alias": "comb_count_partitions_v1_1978505735_8052", "problem": "Let $M = 87616$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = M$. For each such pair, compute $x + y$, and let $s$ be the minimum value among all such sums. Let $n$ be the number of positive integers $k$ such that $k \\leq s$, $8$ divides $k$, and $\\gcd(k, 15) = 1$. Determine the value of the number of integer partitions of $n$.", "answer": 37338, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(87616),\n \"_n\": Const(8),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Const(15)), Const(1))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T20:38:06.074215Z", "verification": {"verified": true, "answer": 37338, "timestamp": "2026-02-08T20:38:06.076432Z"}, "problem_hash": "8ea9fe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 464}, "timestamp": "2026-02-13T01:26:14.175Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "K15": "no", "K16": "no", "K17": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b55802", "alias": "sequence_count_fib_divisible_v1_458359167_3892", "problem": "Let $d$ be the smallest divisor of $1316351296367$ that is at least $2$. Let $e = 14$. Determine the value of the number of positive integers $n$ such that $n \\leq d$ and $e$ divides the $n$-th Fibonacci number.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1316351296367))))),\n \"d\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.035, "created_at": "2026-02-08T11:25:30.166049Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T11:25:30.201243Z"}, "problem_hash": "1b9b5c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 3139}, "timestamp": "2026-02-14T13:53:04.397Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 472}, "timestamp": "2026-02-12T04:02:22.263Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K14": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "983fd1", "alias": "nt_count_digit_sum_v1_1742523217_4737", "problem": "Let $s$ be the number of positive integers $n \\leq 105$ such that the sum of the decimal digits of $n$ is even. Let $t$ be the number of positive integers $n \\leq s$ such that the sum of the decimal digits of $n$ is odd. Let $u$ be the number of positive integers $n \\leq 131072$ such that the sum of the decimal digits of $n$ equals $t$. Compute the remainder when $93749 \\cdot u$ is divided by $54858$.", "answer": 40744, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(131072),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(105)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(93749),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(54858)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/L3B", "ONE_PHI_2", "ONE_PHI_1"], "recipe_id": "6634c6", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 4.673, "created_at": "2026-02-08T09:06:16.532315Z", "verification": {"verified": true, "answer": 40744, "timestamp": "2026-02-08T09:06:21.205187Z"}, "problem_hash": "cb831b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "b61f37", "alias": "nt_count_divisors_in_range_v1_655260480_1043", "problem": "Let $n = 720$. Let $a = 5$, and let $b$ be the smallest divisor of $51060343$ that is at least $2$. \n\nDetermine the number of positive divisors $d_1$ of $n$ such that $a \\leq d_1 \\leq b$.", "answer": 25, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(720),\n \"a\": Const(5),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(51060343))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Divides(divisor=Var(\"d1\"), dividend=Ref(\"n\")), Geq(Var(\"d1\"), Ref(\"a\")), Leq(Var(\"d1\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T15:52:45.788126Z", "verification": {"verified": true, "answer": 25, "timestamp": "2026-02-08T15:52:45.796374Z"}, "problem_hash": "77f994", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 447}, "timestamp": "2026-02-12T09:19:45.515Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K18": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f95b9b", "alias": "nt_min_crt_v1_1520064083_4801", "problem": "Let $p_1 = 11$, and define $v = (p_1 - 1)! + 1 \\pmod{p_1}$. Let $p$ be the smallest divisor of $837401$ that is at least $2$. Let $q = 11$ and $r = 3 + v$. Define $n = p \\cdot q \\cdot r$. Let $h = \\tau(n) \\bmod 2$, where $\\tau(n)$ is the number of positive divisors of $n$. Let $k = 11 + h$ and $a = 6$. Let $b$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 6$. Determine the smallest positive integer $n$ such that $n \\leq 99$, $n \\equiv a \\pmod{9}$, and $n \\equiv b \\pmod{k}$. Compute the value of $n$.", "answer": 42, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"p1\": Const(11),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(837401))))),\n \"q\": Const(11),\n \"r\": Sum(Const(3), Ref(\"v\")),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Ref(\"_n\")),\n \"m\": Const(9),\n \"k\": Sum(Const(11), Ref(\"h\")),\n \"a\": Const(6),\n \"b\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(99),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "WILSON", "B1"], "recipe_id": "25437b", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "DIVISOR_PARITY", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 4, "generation_time": 0.043, "created_at": "2026-02-08T06:26:16.075562Z", "verification": {"verified": true, "answer": 42, "timestamp": "2026-02-08T06:26:16.118890Z"}, "problem_hash": "5615ee", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "4a9c0d", "alias": "diophantine_fbi2_min_v1_1125832087_61", "problem": "Let $S$ be the set of integers $t$ with $36 \\leq t \\leq 3598$ that can be expressed as $t = 14a + 8b + 14$ for some integers $a$ and $b$ satisfying $1 \\leq a \\leq 188$ and $1 \\leq b \\leq 119$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = |S|$. Let $d$ be the smallest integer such that $3 \\leq d \\leq 94$, $d$ divides $k$, and $\\frac{k}{d} \\geq 7$. Let $T$ be the set of integers $t$ with $7 \\leq t \\leq 4456$ that can be expressed as $t = 3a + 4b$ for some integers $a$ and $b$ satisfying $1 \\leq a \\leq 1164$ and $1 \\leq b \\leq 241$. Compute $|T| - d$.", "answer": 4441, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=188)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=119)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=3598)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b')), Const(value=14))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(94),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1164)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=241)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=4456)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LIN_FORM/B3"], "recipe_id": "4af534", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T02:51:10.042677Z", "verification": {"verified": true, "answer": 4441, "timestamp": "2026-02-08T02:51:10.052660Z"}, "problem_hash": "0e29cf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 355, "completion_tokens": 8192}, "timestamp": "2026-02-10T11:41:53.634Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 355, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:23:50.697Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:51:22.164Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 4447, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 723}, "timestamp": "2026-02-10T14:03:36.732Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4437, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 5988}, "timestamp": "2026-02-10T12:54:49.415Z"}, {"id": 8, "model": "mathstral", "answer": 2744, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 533}, "timestamp": "2026-02-11T04:43:21.608Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 348, "completion_tokens": 499}, "timestamp": "2026-02-11T19:44:17.306Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "K16": "no", "LTE_DIFF": "no", "V1": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "b99e9a", "alias": "nt_count_intersection_v1_1978505735_7579", "problem": "Let $a$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides 2431. Let $N = 50000$ and $b = 12$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, 12) = 1$. Let $r$ be the number of elements in $S$. Compute $Q = r + \\phi(|r| + 1) + \\tau(|r| + 1)$, where $\\phi(m)$ denotes the number of positive integers at most $m$ that are relatively prime to $m$, and $\\tau(m)$ denotes the number of positive divisors of $m$. Find the value of $Q$.", "answer": 2277, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2431))))),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.12, "created_at": "2026-02-08T20:19:31.713619Z", "verification": {"verified": true, "answer": 2277, "timestamp": "2026-02-08T20:19:34.834015Z"}, "problem_hash": "159901", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 442}, "timestamp": "2026-02-13T01:20:44.674Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8afb02", "alias": "nt_num_divisors_compute_v1_1742523217_315", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 107113. Define $\\text{result}$ to be the number of positive divisors of $n$. Compute the remainder when $74083 \\times \\text{result}$ is divided by 62172.\n\nFind the value of $Q$, where $Q$ is this remainder.", "answer": 23822, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62172),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(107113))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(74083),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T02:58:08.719140Z", "verification": {"verified": true, "answer": 23822, "timestamp": "2026-02-08T02:58:08.721001Z"}, "problem_hash": "904669", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:19:15.063Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 23822, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 928}, "timestamp": "2026-02-09T01:44:01.782Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23822, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 951}, "timestamp": "2026-02-11T00:22:12.345Z"}, {"id": 8, "model": "mathstral", "answer": 23812, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 426}, "timestamp": "2026-02-11T10:48:32.621Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 310}, "timestamp": "2026-02-11T20:03:43.657Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -2.64, "mid": 0.78, "hi": 3.59}, "split": "test"} +{"id": "b0a43e", "alias": "diophantine_fbi2_count_v1_865884756_448", "problem": "Let $k = 420$. Consider the set of all integers $d$ such that $2 \\leq d \\leq 181$, $d$ divides $k$, and $3 \\leq \\frac{k}{d} \\leq 182$. Let $r$ denote the number of such integers $d$. Let $m$ be the smallest divisor of $8091182401$ that is at least 2. Compute the remainder when\n$$\n(r \\bmod m) + \\left(\\nu_5(28020!) \\cdot (r \\bmod 337)\\right)\n$$\nis divided by $82350$, where $\\nu_5(N!)$ denotes the largest power of 5 dividing $N!$.", "answer": 57690, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(337),\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(181)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(182))))),\n \"_c\": MaxKDivides(target=Factorial(Const(28020)), base=Const(5)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(8091182401)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(82350)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "V1"], "recipe_id": "b12eab", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V1"], "num_lemmas": 2, "generation_time": 0.031, "created_at": "2026-02-08T15:24:25.054753Z", "verification": {"verified": true, "answer": 57690, "timestamp": "2026-02-08T15:24:25.085974Z"}, "problem_hash": "4958eb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "K5": "same_pattern_wrong", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K17": "no", "V5": "no"}, "split": "test"} +{"id": "ee43af", "alias": "antilemma_v8_lucas_798873815_43", "problem": "Let $h$ be the value of $\\displaystyle \\sum_{d\\mid 1} \\mu(d)$, and let $p=71h$. Define $n=p^2$, and let $s$ be the value of the Liouville function $\\lambda(n)$.\n\nLet $x$ be the number of nonnegative integers $j$ with $0\\le j\\le 98151$ such that the binomial coefficient $\\binom{98151}{j}$ is odd.\n\nConsider all ordered pairs $(u,v)$ of positive integers such that $uv=36481$. Let $T$ be the set of all possible values of $u+v$ as $(u,v)$ ranges over these pairs, and let $m$ be the minimum element of $T$.\n\nLet\n$$Q\\equiv m\\cdot x\\pmod{71343s},$$\nwhere $0\\le Q<71343s$.\n\nFind the value of $Q$.\"", "answer": 61595, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98151),\n \"n1\": Const(1),\n \"h\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Mul(Const(71), Ref(\"h\")),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"s\": LiouvilleLambda(n=Ref(name='n')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(98151), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36481)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"x\")), modulus=Mul(Const(71343), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LIOUVILLE_ONE", "MOBIUS_SUM", "V8"], "recipe_id": "151e6b", "seed_template_id": "antilemma_v8_lucas", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "LIOUVILLE_ONE", "MOBIUS_SUM", "V8"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T02:25:19.344390Z", "verification": {"verified": true, "answer": 61595, "timestamp": "2026-02-08T02:25:19.346955Z"}, "problem_hash": "708f9a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61595, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 3147}, "timestamp": "2026-02-08T18:32:06.603Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 61595, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 2901}, "timestamp": "2026-02-09T12:18:37.003Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:23:10.376Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 616}, "timestamp": "2026-02-08T20:14:42.160Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61595, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 1836}, "timestamp": "2026-02-08T22:25:47.541Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MOBIUS_SUM": "ok", "V8": "ok", "LIOUVILLE_ONE": "ok_later", "K13": "no", "L3c": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "test"} +{"id": "4099bf", "alias": "antilemma_v1_legendre_784195855_4446", "problem": "Let $m = 11$. Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 76$ and $1 \\leq j \\leq 154$ such that $\\gcd(i, j) = 1$. Let $n$ be the number of elements in $S$. Compute the largest integer $k$ such that $m^k$ divides $n!$.", "answer": 715, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(76)), right=IntegerRange(start=Const(1), end=Const(154))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/V1", "V1"], "recipe_id": "4cbe30", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V1"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:06:07.382879Z", "verification": {"verified": true, "answer": 715, "timestamp": "2026-02-08T07:06:07.384314Z"}, "problem_hash": "b3e78e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K13": "no", "K17": "no"}, "split": "test"} +{"id": "358a5e", "alias": "modular_sum_quadratic_residues_v1_1742523217_4631", "problem": "Let $m = 23409$. Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 32770$ such that $\\binom{32770}{j}$ is odd. Let $p$ be the largest prime number that does not exceed the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Compute $\\frac{p(p-1)}{n}$.", "answer": 21389, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23409),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(32770)), Eq(Mod(value=Binom(n=Const(32770), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "V8/MAX_PRIME_BELOW"], "recipe_id": "8eadba", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T09:00:12.695373Z", "verification": {"verified": true, "answer": 21389, "timestamp": "2026-02-08T09:00:12.700061Z"}, "problem_hash": "6c44df", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21389, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 1645}, "timestamp": "2026-02-13T23:15:46.834Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3399, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 556}, "timestamp": "2026-02-12T02:24:04.275Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "V8": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "L3b": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "f04ce5", "alias": "comb_sum_binomial_mod_v1_153355830_1771", "problem": "Let $n$ be the number of integers $t$ such that $5 \\leq t \\leq 322$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 20$, $1 \\leq b \\leq 94$, and $t = 2a + 3b$. Let $a = 3$ and let $b$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 6$. Define $n_{\\text{total}} = a + b$. Let $e = \\sum_{k=0}^{n_{\\text{total}}} (-1)^k \\binom{n_{\\text{total}}}{k}$ and let $w = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Compute the value of\n$$\n(44121 \\cdot w \\cdot S) \\mod (92420 + e),\n$$\nwhere $S = \\sum_{k=25}^{n} \\binom{348}{k}$. Note that $S = 0$ if $n < 25$. Determine the value of this expression.", "answer": 86617, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=94)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=322)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"n1\": Const(0),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"a\": Const(3),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(6))))),\n \"n\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"e\": Summation(var=\"k\", start=Const(0), end=Ref(\"n\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n\"), k=Var(\"k\")))),\n \"sum\": Summation(var=\"k\", start=Const(25), end=Ref(\"_n\"), expr=Binom(n=Const(348), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10139)),\n \"Q\": Mod(value=Mul(Mul(Ref(\"_m\"), Ref(\"w\")), Ref(\"result\")), modulus=Sum(Const(92420), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING", "LIN_FORM/COMB1"], "recipe_id": "0c13b6", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T06:36:27.435034Z", "verification": {"verified": true, "answer": 86617, "timestamp": "2026-02-08T06:36:27.473027Z"}, "problem_hash": "3a1ccb", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 5705}, "timestamp": "2026-02-13T02:35:00.584Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 370, "completion_tokens": 574}, "timestamp": "2026-02-12T00:17:52.058Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "4d10bd", "alias": "comb_binomial_compute_v1_1742523217_4917", "problem": "Let $d$ be the smallest divisor of $323$ that is at least $2$. Compute the number of ordered pairs $(i, j)$ of integers with $1 \\leq i, j \\leq 15$ such that $i + j$ equals the largest power of $d$ that divides $34271896307633 \\times 24137569$. Let $n$ be this number. Find the remainder when $44121 \\times \\binom{n}{7}$ is divided by $65336$.", "answer": 39760, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(65336),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(323))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), MaxKDivides(target=Mul(Const(34271896307633), Const(24137569)), base=Ref(\"_n\"))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(15))))),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K13/COUNT_SUM_EQUALS"], "recipe_id": "f765b2", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "K13", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T09:20:49.027042Z", "verification": {"verified": true, "answer": 39760, "timestamp": "2026-02-08T09:20:49.038208Z"}, "problem_hash": "8dc424", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "K13": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_SUM": "no", "V3": "no", "V8": "no"}, "split": "test"} +{"id": "983aa6", "alias": "nt_count_divisible_and_v1_1874849503_521", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 282$ and $8$ divides the $n$-th Fibonacci number. Let $d$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $|A|$, where $\\mu$ denotes the M\\\"obius function. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 36612$, $n \\equiv d \\pmod{6}$, and $n \\equiv 0 \\pmod{9}$. Compute the remainder when $20051 \\cdot |B|$ is divided by $90060$.", "answer": 76614, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(36612),\n \"d1\": Const(6),\n \"d2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=282)), Divides(divisor=Const(value=8), dividend=Fibonacci(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(20051), Ref(\"result\")), modulus=Const(90060)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MOBIUS_SUM"], "recipe_id": "85f82d", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 6.419, "created_at": "2026-02-08T13:07:49.506588Z", "verification": {"verified": true, "answer": 76614, "timestamp": "2026-02-08T13:07:55.925252Z"}, "problem_hash": "44e7be", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 76614, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 3532}, "timestamp": "2026-02-09T18:02:01.508Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_SUM": "ok_later", "C2": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "654a6e", "alias": "antilemma_k2_v1_1874849503_1386", "problem": "Let $c = 67$ and $m = 529$. Define $n$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of 357, and then define $n$ again as the sum of $\\phi(d)$ over all positive divisors $d$ of that sum. Let $x = \\sum_{k=1}^{357} \\phi(k) \\left\\lfloor \\frac{n}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Compute the remainder when $x^2 + 23x + m$ is divided by 65915.", "answer": 47497, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(67),\n \"_m\": Const(529),\n \"_n\": SumOverDivisors(n=SumOverDivisors(n=Const(value=357), var='d', expr=EulerPhi(n=Var(name='d'))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Div(Const(67), Ref(\"_c\")), end=Const(357), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(23), Ref(\"x\")), Ref(\"_m\")), modulus=Const(65915)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/K3/K2", "IDENTITY_DIV_SELF", "K2"], "recipe_id": "047cbf", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF", "K2", "K3"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:52:02.963063Z", "verification": {"verified": true, "answer": 47497, "timestamp": "2026-02-08T13:52:02.965433Z"}, "problem_hash": "1b2e59", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 47497, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 2280}, "timestamp": "2026-02-10T04:01:34.640Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 490}, "timestamp": "2026-02-11T21:14:56.000Z"}], "solution_status": 1, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok", "K2": "ok", "K3": "ok", "K5": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "86644f", "alias": "nt_sum_divisors_compute_v1_1125832087_148", "problem": "Let $S$ be the set of integers $n$ with $1\\le n\\le2$ such that $\\gcd(n,15)=1$, and let $N=\\varphi(|S|)$, where $\\varphi$ denotes Euler's totient function. Let $w$ be the number of prime factors of $N$, counted with multiplicity.\n\nLet $u$ be the number of distinct prime factors of $1$. Define\n$$T=46225+w+u.$$ \n\nLet $Q$ be the sum of all positive divisors of $T$. Compute $Q$.", "answer": 58683, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))),\n \"w\": BigOmega(n=Ref(name='n2')),\n \"n1\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(46225), Ref(\"w\"), Ref(\"u\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ONE_PHI_2/BIG_OMEGA_ZERO", "OMEGA_ZERO"], "recipe_id": "15960a", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C4", "OMEGA_ZERO", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T02:54:16.899304Z", "verification": {"verified": true, "answer": 58683, "timestamp": "2026-02-08T02:54:16.901080Z"}, "problem_hash": "676d19", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "OMEGA_ZERO": "ok", "BIG_OMEGA_ZERO": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K16": "no", "MOD_MUL": "no", "V1": "no"}, "split": "test"} +{"id": "16f126", "alias": "nt_sum_divisors_compute_v1_784195855_4682", "problem": "Let $a = 15$ and $b = 42849$. Let $d = \\gcd\\left(2^a, 22\\right)$. Let $s = \\sum_{k \\mid d} \\mu(k)$, where $\\mu$ denotes the M\\\"obius function. Let $\\sigma(b)$ denote the sum of all positive divisors of $b$. Compute the remainder when $$\\sum_{n = s}^{ |\\sigma(b)| } \\tau(n)$$ is divided by $87462$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 54138, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"n\": Const(42849),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MaxKDivides(target=Pow(base=Const(value=2), exp=Ref(name='_n')), base=Const(value=2)), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(87462)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_COPRIME"], "recipe_id": "344c10", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:16:10.005226Z", "verification": {"verified": true, "answer": 54138, "timestamp": "2026-02-08T07:16:10.006692Z"}, "problem_hash": "08dead", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "b6ba62", "alias": "antilemma_k3_v1_1520064083_3237", "problem": "Let $N=38$. Let $x$ be the value of\n$$\\sum_{d\\mid 37573} \\varphi(d),$$\nwhere the sum is taken over all positive divisors $d$ of $37573$ and $\\varphi$ is Euler's totient function.\n\nConsider all integers $t$ such that\n$$t^2-38t+240=0,$$\nand let $V$ be the set of all such integers $t$. Let $d$ be the sum of all elements of $V$.\n\nLet $a=\\dfrac{N}{d}$. Consider the sum\n$$S=\\sum_{n=a}^{|x|} \\varphi(n),$$\nwhere $|x|$ denotes the absolute value of $x$.\n\nDefine $Q$ to be the remainder when $S$ is divided by $50562$, so that $0\\le Q<50562$.\n\nFind the value of $Q$.", "answer": 15198, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(38),\n \"x\": SumOverDivisors(n=Const(value=37573), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Ref(\"_n\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-38), Var(\"x\")), Const(240)), Const(0))))), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(50562)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/IDENTITY_DIV_SELF", "K3"], "recipe_id": "fc6f80", "seed_template_id": "antilemma_k3_v1", "ending_id": "sum_totient", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 3.063, "created_at": "2026-02-08T05:31:51.881827Z", "verification": {"verified": true, "answer": 15198, "timestamp": "2026-02-08T05:31:54.944823Z"}, "problem_hash": "9d5546", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 4367}, "timestamp": "2026-02-12T10:21:32.286Z"}, {"id": 8, "model": "mathstral", "answer": 20, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 814}, "timestamp": "2026-02-14T19:28:20.348Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 318, "completion_tokens": 456}, "timestamp": "2026-02-11T22:46:22.700Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "IDENTITY_DIV_SELF": "ok_later", "K14": "no", "K17": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "43262e", "alias": "diophantine_sum_product_min_v1_1116507919_463", "problem": "Let $S$ be the number of integers $n$ with $1 \\leq n \\leq 95$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $P = 130$. Let $x$ be the smallest integer with $1 \\leq x \\leq 30$ such that $x(S - x) = P$. Find the remainder when $89758 \\cdot x$ is divided by $84321$.", "answer": 27185, "graph": "graphs = [\n Graph(\n let={\n \"S\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(95)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"P\": Const(130),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(30)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"_c\": Const(89758),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(84321)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T02:34:40.619791Z", "verification": {"verified": true, "answer": 27185, "timestamp": "2026-02-08T02:34:40.627708Z"}, "problem_hash": "f60cbe", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 27185, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 1308}, "timestamp": "2026-02-08T19:35:08.029Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 27185, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 1525}, "timestamp": "2026-02-09T18:06:54.515Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:05:15.292Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 398}, "timestamp": "2026-02-10T13:37:45.382Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27185, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 151, "completion_tokens": 1130}, "timestamp": "2026-02-09T21:44:15.163Z"}, {"id": 8, "model": "mathstral", "answer": 5437, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 805}, "timestamp": "2026-02-11T02:12:56.698Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 779}, "timestamp": "2026-02-11T19:37:18.701Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "d751dc", "alias": "antilemma_product_of_sums_v1_798873815_488", "problem": "Let $S_1$ be the sum of all integers $j$ such that\n$$\n\\phi(37) - 36 \\le j \\le 7\n$$\nand\n$$\n\\binom{\\max\\{k : 2^k \\mid 2^7\\}, j} \\equiv 1 \\pmod{2}.\n$$\nLet $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ of positive integers with $1 \\le i \\le 10$ and $1 \\le j \\le 4$. Compute $S_1 \\cdot S_2$.", "answer": 15400, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Sub(EulerPhi(n=Const(37)), Const(36))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MaxKDivides(target=Pow(Const(2), Const(7)), base=Const(2)), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "PRODUCT_OF_SUMS", "lemma_paths": ["PRODUCT_OF_SUMS", "ZERO_PHI_PRIME", "K14"], "recipe_id": "5100a6", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "PRODUCT_OF_SUMS", "ZERO_PHI_PRIME"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:40:16.748293Z", "verification": {"verified": true, "answer": 15400, "timestamp": "2026-02-08T02:40:16.750340Z"}, "problem_hash": "10b8d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 1089}, "timestamp": "2026-02-08T19:36:47.492Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 1030}, "timestamp": "2026-02-09T17:46:17.348Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 7556}, "timestamp": "2026-02-09T19:13:29.463Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 670}, "timestamp": "2026-02-09T00:44:42.317Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 838}, "timestamp": "2026-02-09T06:03:09.096Z"}], "solution_status": 2, "lemma_applicability": {"K14": "ok", "PRODUCT_OF_SUMS": "ok", "ZERO_PHI_PRIME": "ok", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -9.08, "mid": -5.92, "hi": -3.37}, "split": "test"} +{"id": "850ef9", "alias": "comb_count_permutations_fixed_v1_2051736721_80", "problem": "Let $n$ be the smallest divisor of $1573$ that is greater than or equal to $2$. Let $k = 8$. Compute the remainder when $27667 \\cdot \\binom{n}{k} \\cdot !(n - k)$ is divided by $76071$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 1590, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1573),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(8),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(27667), Ref(\"result\")), modulus=Const(76071)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:11:15.527270Z", "verification": {"verified": true, "answer": 1590, "timestamp": "2026-02-08T15:11:15.531089Z"}, "problem_hash": "e38001", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 554}, "timestamp": "2026-02-12T07:56:02.958Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "81d0ef", "alias": "nt_euler_phi_compute_v1_153355830_880", "problem": "Let $n = 35$. Let $p$ be the smallest divisor of $n$ that is at least $2$, and let $q = 2$. Define $n_2 = p \\cdot q$. Let $w$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_2$, where $\\mu$ is the M\\\"obius function. Let $m$ be the smallest divisor of $4084441$ that is at least $2$, and define $n_1 = m + w$. Let $f = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ is Euler's totient function. Finally, let $n = 82944 + f$. Compute $\\phi(n)$.", "answer": 27648, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"q\": Const(2),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"w\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4084441))))), Ref(\"w\")),\n \"f\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Const(82944), Ref(\"f\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SUM/EULER_TOTIENT_SUM"], "recipe_id": "29f7b1", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:13:55.459586Z", "verification": {"verified": true, "answer": 27648, "timestamp": "2026-02-08T04:13:55.465978Z"}, "problem_hash": "e3397e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "EULER_TOTIENT_SUM": "ok_later", "MOBIUS_SUM": "ok_later", "K16": "no", "L3b": "no", "LTE_SUM": "no", "V5": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "b5dc8a", "alias": "nt_count_divisible_v1_865884756_260", "problem": "Let $d$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 18$ such that $\\gcd(i, j) = 1$. Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 18$ and $\\gcd(p, q) = 1$. Let $N$ be the number of positive integers $n$ such that $n \\leq 65025$, $n$ is a multiple of $d$, and $n \\geq \\phi(|P|)$, where $\\phi$ denotes Euler's totient function. Compute $11025 - N$.", "answer": 8617, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65025),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(18))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sub(Const(11025), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "COUNT_COPRIME_GRID"], "recipe_id": "ba5c0f", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 3.686, "created_at": "2026-02-08T15:17:16.215695Z", "verification": {"verified": true, "answer": 8617, "timestamp": "2026-02-08T15:17:19.901936Z"}, "problem_hash": "41f664", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8617, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 842}, "timestamp": "2026-02-10T06:15:50.694Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok_later", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "ce3476", "alias": "modular_inverse_v1_677425708_3297", "problem": "Let $a$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 26$. Let $m$ be the smallest divisor of $20736983863$ that is at least $2$. Let $\\ell$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 72$ such that $\\gcd(i, j) = 1$. Let $x_0$ be the smallest positive integer $x$ such that $x \\leq \\ell$ and $ax \\equiv 1 \\pmod{m}$. Compute the multiplicative order of $2$ modulo $2|x_0| + 3$.", "answer": 198, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(26)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(20736983863))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(72))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR", "B1"], "recipe_id": "e47a5c", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.03, "created_at": "2026-02-08T05:38:18.143570Z", "verification": {"verified": true, "answer": 198, "timestamp": "2026-02-08T05:38:18.173688Z"}, "problem_hash": "5ed5d0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_INTEGER_RANGE": "no", "K13": "no", "V3": "no", "V7": "no"}, "split": "test"} +{"id": "82e3cd", "alias": "nt_min_coprime_above_v1_153355830_2949", "problem": "Let $n$ range over the prime numbers from $2$ to $6$, inclusive. Define $s = \\sum_{k=1}^{n} k$. Let $S$ be the set of integers $m$ such that $44944 < m \\leq 45009$ and $\\gcd(m, s) = 1$. Let $r$ be the smallest element of $S$. Compute the remainder when $80251 \\cdot r$ is divided by $94293$.", "answer": 51568, "graph": "graphs = [\n Graph(\n let={\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))),\n \"start\": Const(44944),\n \"upper\": Const(45009),\n \"modulus\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(80251), Ref(\"result\")), modulus=Const(94293)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["SUM_PRIMES/SUM_ARITHMETIC"], "recipe_id": "53d8d2", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.023, "created_at": "2026-02-08T07:29:12.439108Z", "verification": {"verified": true, "answer": 51568, "timestamp": "2026-02-08T07:29:12.461802Z"}, "problem_hash": "e72e38", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56510, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 147, "completion_tokens": 2443}, "timestamp": "2026-02-13T10:32:40.231Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 306}, "timestamp": "2026-02-12T01:04:59.881Z"}], "solution_status": 0, "lemma_applicability": {"SUM_PRIMES": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K14": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "08dc6b", "alias": "nt_count_phi_equals_v1_898971024_3135", "problem": "Let $n = 3072$. Define $u$ to be the number of integers $k$ with $1 \\leq k \\leq n$ such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{3}$. Find the number of positive integers $m \\leq u$ such that $\\phi(m) = 991$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3072),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"k\": Const(991),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n1\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.307, "created_at": "2026-02-08T17:10:53.938391Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T17:10:54.245707Z"}, "problem_hash": "ea92d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 666}, "timestamp": "2026-02-12T22:03:12.446Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K16": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "438433", "alias": "antilemma_sum_primes_v1_1742523217_1649", "problem": "Let $e$ be the number of prime factors of $1$, counted with multiplicity. Let $p = 3$, and let $q$ be the smallest divisor of $170867$ that is at least $2$. Define $n = p \\cdot q$. Let $c = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Define $k = 2c + ec$. Compute the sum of all prime numbers $m$ such that $k \\le m \\le 3$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(3),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(170867))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"_n\": Mul(Sum(Const(2), Ref(\"e\")), Ref(\"c\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO", "SUM_PRIMES"], "recipe_id": "e6c962", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE", "SUM_PRIMES"], "num_lemmas": 5, "generation_time": 0.016, "created_at": "2026-02-08T04:05:42.595366Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T04:05:42.611311Z"}, "problem_hash": "ce5dbf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "ebb1fd", "alias": "modular_product_range_v1_1978505735_5352", "problem": "Let $S$ be the set of all integers $t$ such that $32 \\leq t \\leq 227$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 12$, $1 \\leq b \\leq 9$, and $t = 9a + 12b + 11$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 24964$. Let $s$ be the minimum value of $x + y$ over all such pairs. Compute the remainder when the product $\\prod_{i = m}^{s} i$ is divided by $10859$.", "answer": 4553, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24964),\n \"_n\": Const(10859),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=32)), Leq(left=Var(name='t'), right=Const(value=227)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b')), Const(value=11)))))))), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T18:57:37.486363Z", "verification": {"verified": true, "answer": 4553, "timestamp": "2026-02-08T18:57:37.494728Z"}, "problem_hash": "0bc4a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 459}, "timestamp": "2026-02-13T00:43:52.068Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "67b90f", "alias": "nt_count_divisible_v1_1820931509_203", "problem": "Let $d$ be the smallest integer at least $2$ that divides $143$. Let $r$ be the number of positive integers $n$ at most $48841$ such that $n$ is divisible by $d$. Compute the remainder when $44121 \\cdot r$ is divided by $65011$.", "answer": 19097, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(48841),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(65011)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.879, "created_at": "2026-02-08T11:24:27.055514Z", "verification": {"verified": true, "answer": 19097, "timestamp": "2026-02-08T11:24:29.934408Z"}, "problem_hash": "7e87bf", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19097, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 1227}, "timestamp": "2026-02-14T13:10:29.755Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 42951, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 339}, "timestamp": "2026-02-12T03:57:25.564Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "080ea2", "alias": "comb_sum_binomial_row_v1_1520064083_1086", "problem": "Let $n_2 = 0$. Define\n$$\nm = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nLet $n_1 = 7$. Define\n$$\nc = \\sum_{k=\\binom{5}{5} - 1}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 32$. Let $n$ be the number of elements in $S$. Define $\\text{result} = 2^n$ and $\\_c = 38257 + c$. Let $Q$ be the remainder when $\\_c \\cdot \\text{result}$ is divided by $58653 \\cdot m$. Compute $Q$.", "answer": 29614, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(38257),\n \"n2\": Const(0),\n \"m\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(7),\n \"c\": Summation(var=\"k\", start=Sub(Binom(n=Const(5), k=Const(5)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(32))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"_c\": Sum(Ref(\"_n\"), Ref(\"c\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(58653), Ref(\"m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_N", "COMB1"], "recipe_id": "0427c6", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ZERO_BINOM_N"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:46:51.464643Z", "verification": {"verified": true, "answer": 29614, "timestamp": "2026-02-08T03:46:51.469086Z"}, "problem_hash": "453ea6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29614, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:44:28.141Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 29614, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 1846}, "timestamp": "2026-02-10T14:23:03.740Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 521}, "timestamp": "2026-02-13T00:02:13.569Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 476}, "timestamp": "2026-02-11T20:10:30.991Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "ZERO_BINOM_N": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "83550c", "alias": "comb_count_partitions_v1_349078426_112", "problem": "Let $n$ be the smallest divisor of $10496752661$ that is at least $2$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $48107 \\cdot p(n)$ is divided by $90074$.", "answer": 56763, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90074),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10496752661))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(48107),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:50:09.894499Z", "verification": {"verified": true, "answer": 56763, "timestamp": "2026-02-08T12:50:09.896718Z"}, "problem_hash": "993d11", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 313}, "timestamp": "2026-02-12T05:44:33.079Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3a2844", "alias": "geo_count_lattice_triangle_v1_151522320_2312", "problem": "Let $m=2$ and $n=36$. Let\n$$A=\\left|120\\cdot120+n\\,(0-300)\\right|.$$\n\nLet $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=324$. Let $T$ be the set of all values of $x+y$ as $(x,y)$ ranges over $S$, and let $u$ be the minimum element of $T$.\n\nLet\n$$V=\\sum_{k=1}^{\\displaystyle \\sum_{k=1}^{5} \\varphi(k)\\left\\lfloor\\frac{5}{k}\\right\\rfloor} \\varphi(k)\\left\\lfloor\\frac{15}{k}\\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet\n$$B=\\gcd\\bigl(|120|,|300|\\bigr)+\\gcd\\bigl(|u-120|,|V-300|\\bigr)+\\gcd\\bigl(|0-36|,|0-120|\\bigr).$$\n\nLet\n$$R=\\frac{A+2-B}{m}$$\nand let $Q=|R|$.\n\nCompute $Q$. ", "answer": 1759, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(36),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=120), Const(value=120)), Mul(Ref(name='_n'), Sub(left=Const(value=0), right=Const(value=300))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=300))), GCD(a=Abs(arg=Sub(left=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=324)))), expr=Sum(Var(name='x'), Var(name='y')))), right=Const(value=120))), b=Abs(arg=Sub(left=Summation(expr=Mul(EulerPhi(n=Var(name='k')), Floor(arg=Div(left=Const(value=15), right=Var(name='k')))), var='k', start=Const(value=1), end=Summation(expr=Mul(EulerPhi(n=Var(name='k')), Floor(arg=Div(left=Const(value=5), right=Var(name='k')))), var='k', start=Const(value=1), end=Const(value=5))), right=Const(value=300)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=36))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_m\")),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2", "B3"], "recipe_id": "406878", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T04:43:57.978111Z", "verification": {"verified": true, "answer": 1759, "timestamp": "2026-02-08T04:43:57.990370Z"}, "problem_hash": "28dba6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1759, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 379, "completion_tokens": 1682}, "timestamp": "2026-02-11T23:37:35.739Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1759, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 379, "completion_tokens": 1633}, "timestamp": "2026-02-11T21:49:01.238Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 346, "completion_tokens": 8192}, "timestamp": "2026-02-12T03:54:32.152Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1764, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 1280}, "timestamp": "2026-02-12T02:20:32.594Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1759, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 1897}, "timestamp": "2026-02-12T01:00:17.462Z"}, {"id": 8, "model": "mathstral", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 354, "completion_tokens": 40960}, "timestamp": "2026-02-13T23:04:15.513Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 376, "completion_tokens": 655}, "timestamp": "2026-02-11T21:43:55.698Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K2": "ok", "K13": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "1f3330", "alias": "nt_min_coprime_above_v1_784195855_9991", "problem": "Let $\\text{start}$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 25$ and $1 \\le j \\le 83$ such that $\\gcd(i, j) = 1$. Let $\\text{upper}$ be the number of integers $t$ with $9 \\le t \\le 1373$ for which there exist positive integers $a \\le 147$ and $b \\le 172$ such that $t = 7a + 2b$. Let $\\text{result}$ be the smallest integer $n$ such that $\\text{start} < n \\le \\text{upper}$ and $\\gcd(n, 42) = 1$. Compute $\\text{result}$.", "answer": 1313, "graph": "graphs = [\n Graph(\n let={\n \"start\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(83))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=147)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=172)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=1373)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"modulus\": Const(42),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.048, "created_at": "2026-02-08T17:21:23.557011Z", "verification": {"verified": true, "answer": 1313, "timestamp": "2026-02-08T17:21:23.604914Z"}, "problem_hash": "c96a7a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 571}, "timestamp": "2026-02-12T22:24:25.819Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "77d1b3", "alias": "diophantine_fbi2_count_v1_124444284_10368", "problem": "Let $ k = 120 $ and $ \\ell = 5 $. Consider the set of all positive integers $ d $ satisfying the following conditions:\n\n- $ d $ divides 130940501,\n- $ d \\geq 2 $,\n- and let $ m $ be the smallest such $ d $ that satisfies these two conditions.\n\nNow consider the set of all positive integers $ d $ such that:\n\n- $ d $ divides $ k $,\n- $ 5 \\leq d \\leq m $,\n- $ \\frac{k}{d} \\geq \\ell $,\n- $ \\frac{k}{d} \\leq 103 $.\n\nLet $ r $ be the number of such integers $ d $. Compute the value of $ r $.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": Const(120),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(130940501)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(103))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T13:01:46.826388Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T13:01:46.834131Z"}, "problem_hash": "43a770", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 379}, "timestamp": "2026-02-12T06:06:35.830Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "K17": "no", "K18": "no", "L3b": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d23347", "alias": "algebra_poly_eval_v1_124444284_169", "problem": "Let $k = 7$. Define $a$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_0$ be the smallest divisor of $1002001$ that is at least $\\sum_{d\\mid 2} \\phi(d)$. Compute the value of\n$$\n9k^4 - 9k^3 - 2k^a - 3k + d_0.\n$$", "answer": 18410, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(7),\n \"result\": Sum(Mul(Const(9), Pow(Ref(\"k\"), Const(4))), Mul(Const(-9), Pow(Ref(\"k\"), Ref(\"_n\"))), Mul(Const(-2), Pow(Ref(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Mul(Const(-3), Ref(\"k\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), SumOverDivisors(n=Const(value=2), var='d', expr=EulerPhi(n=Var(name='d')))), Divides(divisor=Var(\"d\"), dividend=Const(1002001)))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "b3fc8d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:02:17.601582Z", "verification": {"verified": true, "answer": 18410, "timestamp": "2026-02-08T03:02:17.610747Z"}, "problem_hash": "431650", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 18410, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1558}, "timestamp": "2026-02-09T14:19:35.574Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 18410, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1266}, "timestamp": "2026-02-08T23:40:14.177Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18410, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 1292}, "timestamp": "2026-02-11T05:31:48.428Z"}, {"id": 8, "model": "mathstral", "answer": 18215, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 539}, "timestamp": "2026-02-11T13:07:30.090Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 380}, "timestamp": "2026-02-11T20:12:05.735Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K3": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K17": "no", "V3": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "d0cfb5", "alias": "comb_count_partitions_v1_717093673_1037", "problem": "Let $n$ be the smallest divisor of $4084441$ that is greater than or equal to $2$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $24314 \\cdot p(n)$ is divided by $61749$.", "answer": 22113, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61749),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4084441))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(24314), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:48:10.974738Z", "verification": {"verified": true, "answer": 22113, "timestamp": "2026-02-08T15:48:10.975957Z"}, "problem_hash": "ccfb71", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 515}, "timestamp": "2026-02-12T09:12:56.061Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K18": "no", "LTE_SUM": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2c4494", "alias": "antilemma_v7_kummer_677425708_973", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 1271$ and the sum of the decimal digits of $n$ is even. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 16129$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $k$ be the largest integer such that $2^k$ divides $\\binom{A}{s}$. Compute the remainder when $44121k$ is divided by $80926$.", "answer": 66069, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(80926),\n \"_m\": Const(16129),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1271)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Const(2)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["L3B/V7", "B3/V7", "V7"], "recipe_id": "9ee462", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3B", "MAX_DIVISOR", "V7"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:54:44.511073Z", "verification": {"verified": true, "answer": 66069, "timestamp": "2026-02-08T03:54:44.517699Z"}, "problem_hash": "353031", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 66069, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 4731}, "timestamp": "2026-02-09T14:30:18.092Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "L3B": "ok", "V7": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K15": "no", "K5": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "907dee", "alias": "modular_sum_quadratic_residues_v1_124444284_10232", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $116939$. Let $r = \\frac{p(p-1)}{4}$. Compute the remainder when $49946 \\cdot r$ is divided by $69155$.", "answer": 66548, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(116939))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Const(49946),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(69155)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:54:30.221147Z", "verification": {"verified": true, "answer": 66548, "timestamp": "2026-02-08T12:54:30.222876Z"}, "problem_hash": "15fd98", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 291}, "timestamp": "2026-02-12T05:56:01.898Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1388fc", "alias": "nt_count_divisible_v1_397696148_2267", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $13013$. Determine the number of positive integers $n$ less than or equal to $52900$ such that $n$ is divisible by $d$.", "answer": 7557, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(52900),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(13013))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.765, "created_at": "2026-02-08T13:04:35.748821Z", "verification": {"verified": true, "answer": 7557, "timestamp": "2026-02-08T13:04:37.514163Z"}, "problem_hash": "930186", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 304}, "timestamp": "2026-02-12T06:08:15.757Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "07bf1f", "alias": "algebra_vieta_sum_v1_2051736721_5011", "problem": "Let $x$ be a positive integer such that $$\n x^2 + \\left( \\text{the number of integers } n \\text{ with } 1 \\leq n \\leq 23 \\text{ and } n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3} \\right) \\cdot x - 18 = 0.\n$$ Let $r$ be the product of all such $x$. Let $Q = B_m$, where $B_m$ is the $m$-th Bell number and $m = |r| \\bmod 11$. Determine the value of $Q$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=23)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))), Var(name='x')), Const(value=-18)), right=Const(value=0)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T18:19:26.476340Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T18:19:26.486629Z"}, "problem_hash": "e9620b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 585}, "timestamp": "2026-02-12T23:59:41.209Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K15": "no", "K5": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a1074b", "alias": "nt_sum_divisors_compute_v1_1520064083_2422", "problem": "Let $n=67161$. Let $Q$ be the sum of all positive divisors of $n$.\n\nFind the value of $Q$.", "answer": 91264, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(67161),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ONE_PHI_2/BIG_OMEGA_ZERO", "LIN_FORM/MOBIUS_SUM"], "recipe_id": "6b9a6e", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ZERO", "C4", "LIN_FORM", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 5, "generation_time": 0.006, "created_at": "2026-02-08T04:43:31.175158Z", "verification": {"verified": true, "answer": 91264, "timestamp": "2026-02-08T04:43:31.180980Z"}, "problem_hash": "bba96a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 91264, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 1125}, "timestamp": "2026-02-11T21:50:14.789Z"}, {"id": 8, "model": "mathstral", "answer": 137326, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 89, "completion_tokens": 755}, "timestamp": "2026-02-13T23:09:58.112Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 67162, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 132}, "timestamp": "2026-02-11T21:44:38.672Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "BIG_OMEGA_ZERO": "ok_later", "MOBIUS_SUM": "ok_later", "ONE_PHI_2": "ok_later", "K15": "no", "K17": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "cc3e50", "alias": "nt_count_intersection_v1_458359167_1088", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le 58328$, $8$ divides $n$, and $\\gcd(n, 35) = 1$. Let $M$ be the number of positive integers $n$ such that $1 \\le n \\le N$, $9$ divides $n$, and $\\gcd(n, 10) = 1$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 62500$. Compute the remainder when $5^M + c$ is divided by $99991$.", "answer": 80993, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(58328)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"a\": Const(9),\n \"b\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(62500)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "C5"], "recipe_id": "0c0979", "seed_template_id": "nt_count_intersection_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.169, "created_at": "2026-02-08T04:16:44.356165Z", "verification": {"verified": true, "answer": 80993, "timestamp": "2026-02-08T04:16:44.525249Z"}, "problem_hash": "3a4122", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 80993, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 257, "completion_tokens": 5606}, "timestamp": "2026-02-10T16:26:55.863Z"}, {"id": 8, "model": "mathstral", "answer": 99990, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 1359}, "timestamp": "2026-02-13T14:45:56.746Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 1178}, "timestamp": "2026-02-11T20:45:22.183Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "C5": "ok", "DS2": "no", "K15": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "5e9b31", "alias": "antilemma_cartesian_v1_1742523217_1742", "problem": "Compute the remainder when the product of the number of ordered pairs $(a,b)$ with $1 \\leq a \\leq 61$, $1 \\leq b \\leq 104$, and the number of ordered pairs $(c,d)$ with $1 \\leq c \\leq 45$, $1 \\leq d \\leq 47$, is divided by $65939$.", "answer": 31943, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65939),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(45)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(61)), right=IntegerRange(start=Const(1), end=Const(104)))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "48cdc6", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "affine_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T04:11:50.796980Z", "verification": {"verified": true, "answer": 31943, "timestamp": "2026-02-08T04:11:50.798684Z"}, "problem_hash": "1e6daa", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 31943, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 984}, "timestamp": "2026-02-10T15:50:40.147Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 657}, "timestamp": "2026-02-13T10:55:12.572Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 262}, "timestamp": "2026-02-11T20:33:43.677Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "7c362f", "alias": "nt_sum_over_divisible_v1_151522320_149", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\le n \\le 73984$ and $n \\equiv \\mu(1) + \\mu(d_1) + \\mu(d_2) + \\cdots + \\mu(13) \\pmod{153}$, where the sum is over all positive divisors $d$ of $13$ and $\\mu$ is the M\\\"obius function. Let $r$ be the sum of all elements in $A$. Let $c$ be the number of positive integers $n$ such that $1 \\le n \\le 49392$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $p$ be the number of unordered pairs of coprime positive integers $(p, q)$ with $p < q$ and $p \\cdot q = 4204200$. Compute the remainder when $r^2 + p \\cdot r + c$ is divided by $91978$.", "answer": 35440, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(73984),\n \"divisor\": Const(153),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=Const(value=13), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(49392)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=4204200)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(91978)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "L3C", "MOBIUS_SUM"], "recipe_id": "3c9922", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3C", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 10.29, "created_at": "2026-02-08T03:00:20.903832Z", "verification": {"verified": true, "answer": 35440, "timestamp": "2026-02-08T03:00:31.193909Z"}, "problem_hash": "ff0b1e", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 35440, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 345, "completion_tokens": 3885}, "timestamp": "2026-02-08T23:58:12.946Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "MOBIUS_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_DIFF": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "ad0507", "alias": "nt_lcm_compute_v1_1978505735_980", "problem": "Let $A$ be the number of positive integers $n$ with $1 \\leq n \\leq 26773$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $B$ be the number of positive integers $n_1$ with $1 \\leq n_1 \\leq 8405$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{3}$. Compute the remainder when $77841 - \\text{lcm}(A, B)$ is divided by 79710.", "answer": 38358, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77841),\n \"_n\": Const(79710),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(26773)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(8405)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:43:30.374607Z", "verification": {"verified": true, "answer": 38358, "timestamp": "2026-02-08T15:43:30.376937Z"}, "problem_hash": "d7ae4b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 605}, "timestamp": "2026-02-12T09:07:25.968Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "V1": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b8bff2", "alias": "geo_count_lattice_triangle_v1_2051736721_1758", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 8100$. Define $a = 100 \\cdot \\min\\{x + y \\mid (x, y) \\in S\\}$. Let $b = 169 \\cdot (-7)$. Define $A = |a + b|$. Define $B_1 = \\gcd(100, 7)$, $B_2 = \\gcd(69, 173)$, and let $T$ be the set of all integers $t$ such that $24 \\le t \\le 430$ and there exist integers $a, b$ with $1 \\le a \\le 5$, $1 \\le b \\le 36$, and $t = 14a + 10b$. Let $n_T$ be the number of elements in $T$, and define $B_3 = \\gcd(169, n_T)$. Let $B = B_1 + B_2 + B_3$. Compute $\\frac{A + 2 - B}{2}$. Determine the value of this result.", "answer": 8408, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(180),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=8100)))), expr=Sum(Var(name='x'), Var(name='y'))))), Mul(Const(value=169), Sub(left=Const(value=0), right=Const(value=7))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=7))), GCD(a=Abs(arg=Sub(left=Const(value=169), right=Const(value=100))), b=Abs(arg=Sub(left=Ref(name='_m'), right=Const(value=7)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=36)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=430)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T16:12:14.335906Z", "verification": {"verified": true, "answer": 8408, "timestamp": "2026-02-08T16:12:14.352337Z"}, "problem_hash": "c14d49", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 357, "completion_tokens": 654}, "timestamp": "2026-02-12T10:06:24.307Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5523d2", "alias": "nt_count_divisible_and_v1_1742523217_84", "problem": "Let $d$ be the greatest common divisor of $8$ and $15$. Compute $\\sum_{k=s}^{8} \\phi(k) \\left\\lfloor \\frac{8}{k} \\right\\rfloor$, where $s = \\sum_{d' \\mid d} \\mu(d')$, $\\phi$ is Euler's totient function, and $\\mu$ is the M\\\"obius function. Let $n$ denote this sum. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = n$. Define $d_2$ to be the minimum value of $x + y$ as $(x,y)$ ranges over $S$. Compute the number of positive integers $m$ with $1 \\leq m \\leq 130680$ such that $m$ is divisible by both $10$ and $d_2$.", "answer": 2178, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(8), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(8), Var(\"k\"))))),\n \"upper\": Const(130680),\n \"d1\": Const(10),\n \"d2\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "K2/B3"], "recipe_id": "eebb7e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 4.388, "created_at": "2026-02-08T02:52:15.562246Z", "verification": {"verified": true, "answer": 2178, "timestamp": "2026-02-08T02:52:19.950462Z"}, "problem_hash": "e554e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2178, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 749}, "timestamp": "2026-02-09T13:40:36.970Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2178, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 986}, "timestamp": "2026-02-08T22:40:09.434Z"}], "solution_status": 2, "lemma_applicability": {"K2": "ok", "MOBIUS_COPRIME": "ok", "B3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "K17": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "9aa8e4", "alias": "sequence_lucas_compute_v1_784195855_171", "problem": "Let $a$ and $b$ be positive integers such that $\\gcd(a, b) = 1$. Define $m = 2$ and $n = 21$. Let $S$ be the set of all integers $k$ such that $2^k \\leq 494092386630$. Define $T$ to be the set of all integers $n$ such that $n$ is at least the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(11, 13)$, at most the maximum element of $S$, and $\\gcd(n, 21) = 1$. Let $c = |T|$. Define $L_c$ to be the $c$-th Lucas number. Compute the Fibonacci entry point modulo $|L_c| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|L_c| + 2$. Find the value of this Fibonacci entry point.", "answer": 4895, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(21),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_m\"), Var(\"k\")), Const(494092386630))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/C4", "MOBIUS_COPRIME"], "recipe_id": "1285cf", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_VAL", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:00:34.971890Z", "verification": {"verified": true, "answer": 4895, "timestamp": "2026-02-08T03:00:34.974672Z"}, "problem_hash": "6b6339", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_COPRIME": "ok", "C4": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K15": "no", "V3": "no", "V5": "no", "V7": "no"}, "split": "test"} +{"id": "06407d", "alias": "antilemma_cartesian_v1_1874849503_1148", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 18$ and $1 \\leq b \\leq 31$. Compute the value of\n$$\nx + \\varphi(|x| + 0!) + \\tau(|x| + \\binom{1}{0}).\n$$\nHere, $\\varphi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 1066, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(31)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Binom(n=Const(1), k=Const(0))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0", "ONE_BINOM_0"], "recipe_id": "122c03", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0", "ONE_FACTORIAL_0"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:38:52.660481Z", "verification": {"verified": true, "answer": 1066, "timestamp": "2026-02-08T13:38:52.662307Z"}, "problem_hash": "3c89e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1066, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 218, "completion_tokens": 549}, "timestamp": "2026-02-10T01:42:43.369Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1118, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 380}, "timestamp": "2026-02-11T21:12:18.322Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "3fdf10", "alias": "modular_product_range_v1_784195855_8099", "problem": "Let $d_0$ be the smallest integer $d \\ge 2$ that divides $5676989$. Compute the remainder when the product\n$$\n\\prod_{i=d_0}^{543} i\n$$\nis divided by $10273$.", "answer": 7302, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(5676989))))), end=Const(543)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10273)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T10:48:25.010402Z", "verification": {"verified": true, "answer": 7302, "timestamp": "2026-02-08T10:48:25.013480Z"}, "problem_hash": "5d9d6a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 355}, "timestamp": "2026-02-12T09:24:00.200Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "763c6f", "alias": "nt_sum_over_divisible_v1_124444284_500", "problem": "Let $u = 81406$ and $d = 97$. Compute the sum of all positive multiples of $97$ that are at most $u$. Let this sum be $s$. Find the remainder when\n$$\n353702 \\cdot (|s| \\bmod 97) + 329703 \\cdot (|s|^2 + 1 \\bmod 101) + 215534 \\cdot (|s| + 49 \\bmod 103)\n$$\nis divided by $1009091$, and then find the remainder when that result is divided by $96830$.", "answer": 68677, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(81406),\n \"divisor\": Const(97),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(49)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(96830)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/LIOUVILLE_MINUS_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "3cf1f5", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 2.902, "created_at": "2026-02-08T03:20:06.051754Z", "verification": {"verified": true, "answer": 68677, "timestamp": "2026-02-08T03:20:08.953436Z"}, "problem_hash": "5681f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20832, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 1101}, "timestamp": "2026-02-09T18:26:59.727Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 68677, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1910}, "timestamp": "2026-02-09T02:43:36.478Z"}, {"id": 8, "model": "mathstral", "answer": 14563, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 945}, "timestamp": "2026-02-12T12:48:39.394Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 607}, "timestamp": "2026-02-11T20:39:54.486Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "EULER_TOTIENT_SUM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "6b696b", "alias": "comb_sum_binomial_mod_v1_1526740231_69", "problem": "Let $n = 398$. Let $S$ be the set of all positive divisors $d$ of $45494993$ such that $d \\geq 2$. Define $k_{\\text{max}}$ to be the minimum element of $S$. Compute the remainder when $$\\sum_{k=49}^{k_{\\text{max}}} \\binom{n}{k}$$ is divided by $11503$. Multiply this remainder by $44121$, and compute the remainder when the result is divided by $69812$. Find the value of this final remainder.", "answer": 7894, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(398),\n \"sum\": Summation(var=\"k\", start=Const(49), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(45494993))))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11503)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(69812)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.028, "created_at": "2026-02-08T11:20:30.564346Z", "verification": {"verified": true, "answer": 7894, "timestamp": "2026-02-08T11:20:30.592468Z"}, "problem_hash": "0af217", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 8192}, "timestamp": "2026-02-14T11:58:21.743Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 444}, "timestamp": "2026-02-12T03:49:55.271Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "6bfd76", "alias": "sequence_count_fib_divisible_v1_865884756_4058", "problem": "Compute the number of positive integers $n$ at most $691$ such that $15$ divides the $n$th Fibonacci number.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(691),\n \"d\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COMB1/COMB1", "B3"], "recipe_id": "07dce9", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.175, "created_at": "2026-02-08T17:43:36.824789Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T17:43:37.000034Z"}, "problem_hash": "e16e3f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 671}, "timestamp": "2026-02-12T23:01:52.289Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COMB1": "ok", "K13": "no", "K14": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7c4d45", "alias": "sequence_lucas_compute_v1_898971024_364", "problem": "Let $n$ be the number of positive integers $k$ from 1 to 140, inclusive, such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}$. Compute the $n$-th Lucas number.", "answer": 15127, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(140),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:23:30.713333Z", "verification": {"verified": true, "answer": 15127, "timestamp": "2026-02-08T15:23:30.715213Z"}, "problem_hash": "797caf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 599}, "timestamp": "2026-02-12T08:25:16.542Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f428a6", "alias": "nt_count_divisible_v1_677425708_3640", "problem": "Let $p$ be the largest integer $k$ such that $7^k$ divides $231!$. Let $q$ be the smallest integer $d \\ge 2$ that divides $7014007$. Define $n_1 = p^2 \\cdot (q + \\phi(1))$, where $\\phi$ is Euler's totient function. Let $v = \\mu(n_1)^2$, where $\\mu$ is the Möbius function, and let $n = 1 + v$. Let $c$ be the number of distinct prime factors of $n$. Compute the number of positive integers $n$ at most $70000 + c$ that are divisible by $22$.", "answer": 3181, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MaxKDivides(target=Factorial(Const(231)), base=Const(7)),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7014007))))),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), EulerPhi(n=Const(1)))),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Sum(Const(1), Ref(\"v\")),\n \"c\": SmallOmega(n=Ref(name='n')),\n \"upper\": Sum(Const(70000), Ref(\"c\")),\n \"divisor\": Const(22),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "V1/MOBIUS_SQUAREFREE", "OMEGA_ZERO", "ONE_PHI_1"], "recipe_id": "2e6021", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE", "OMEGA_ZERO", "ONE_PHI_1", "V1"], "num_lemmas": 5, "generation_time": 2.235, "created_at": "2026-02-08T05:51:53.912813Z", "verification": {"verified": true, "answer": 3181, "timestamp": "2026-02-08T05:51:56.147947Z"}, "problem_hash": "ee5d2a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "OMEGA_ZERO": "ok", "ONE_PHI_1": "ok", "V1": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K15": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "816aec", "alias": "nt_lcm_compute_v1_898971024_1112", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 4590$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $b = 509$. Compute the least common multiple of $a$ and $b$, and then find the remainder when $84749$ times this least common multiple is divided by $92732$.", "answer": 17834, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4590),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"b\": Const(509),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(84749),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92732)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:55:59.307026Z", "verification": {"verified": true, "answer": 17834, "timestamp": "2026-02-08T15:55:59.308992Z"}, "problem_hash": "96f8d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 599}, "timestamp": "2026-02-12T09:31:02.105Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7a9f14", "alias": "modular_inverse_v1_1918700295_1611", "problem": "Let $m = 24$. Let $a$ be the smallest integer greater than or equal to 2 that divides 356731201315457. Let $S$ be the set of all positive integers $n$ such that $2 \\leq n \\leq 16860$ and $m$ divides the $n$-th Fibonacci number. Let $p$ be the largest prime number in $S$. Compute the smallest positive integer $x$ such that $1 \\leq x \\leq 1398$ and $a x \\equiv 1 \\pmod{p}$.", "answer": 383, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24),\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(356731201315457))))),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16860)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n'))))))), IsPrime(Var(\"n\"))))),\n \"upper\": Const(1398),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "484389", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.059, "created_at": "2026-02-08T05:54:43.814371Z", "verification": {"verified": true, "answer": 383, "timestamp": "2026-02-08T05:54:43.873840Z"}, "problem_hash": "5a0a85", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1398, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 7392}, "timestamp": "2026-02-12T17:16:26.146Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 482}, "timestamp": "2026-02-11T23:22:47.351Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "dd039f", "alias": "nt_count_coprime_v1_458359167_242", "problem": "Let $m = 2$ and $n = 7$. Define $n_1$ to be the largest prime number $p$ such that $m \\leq p \\leq n$. Let $t = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ denotes Euler's totient function. Let $n = 60$ and define $w = \\sum_{d \\mid 60} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $k$ be the number of integers $t$ in the range $7 \\leq t \\leq 42$ for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 6$, such that $t = 4a + 3b$. Let $\\text{result}$ be the number of positive integers $n$ not exceeding 11881 such that $\\gcd(n, k) = 1$. Compute\n$$\n\\text{result} + \\phi\\left(|\\text{result}| + 1 + t + w\\right) + \\tau\\left(|\\text{result}| + 1\\right),\n$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 4441, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(7),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(60),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(11881),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=42)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1), Ref(\"t\"), Ref(\"w\"))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/EULER_TOTIENT_SUM", "MOBIUS_SUM", "LIN_FORM"], "recipe_id": "93b52f", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 3.02, "created_at": "2026-02-08T03:05:34.275732Z", "verification": {"verified": true, "answer": 4441, "timestamp": "2026-02-08T03:05:37.296097Z"}, "problem_hash": "8a177c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "EULER_TOTIENT_SUM": "ok_later", "K13": "no", "K15": "no", "K16": "no", "MOD_ADD": "no", "V1": "no"}, "split": "test"} +{"id": "039ae0", "alias": "nt_count_coprime_and_v1_655260480_4223", "problem": "Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq 53566$, $\\gcd(n, 5) = 1$, and $\\gcd(n, 9) = 1$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 8978$. Find the remainder when $r^2 + 37r + s$ is divided by $86210$.", "answer": 64713, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(53566),\n \"k1\": Const(5),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(37), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(8978)))))), modulus=Const(86210)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "0a3d6e", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 6.197, "created_at": "2026-02-08T17:48:33.274660Z", "verification": {"verified": true, "answer": 64713, "timestamp": "2026-02-08T17:48:39.471280Z"}, "problem_hash": "6d823d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 796}, "timestamp": "2026-02-12T23:14:14.337Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_PRIMES": "no", "K14": "no", "K18": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ed0d90", "alias": "sequence_count_fib_divisible_v1_1248542787_969", "problem": "Let $d = 16$ and $U = 193$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 193$ such that $d$ divides the $n$-th Fibonacci number.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(193),\n \"d\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3B", "K13"], "recipe_id": "3f8110", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K13", "L3B", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.261, "created_at": "2026-02-08T03:31:02.454644Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T03:31:02.715636Z"}, "problem_hash": "672142", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 4556}, "timestamp": "2026-02-09T10:41:21.128Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 1544}, "timestamp": "2026-02-09T23:43:44.640Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 114, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:59:02.677Z"}, {"id": 8, "model": "mathstral", "answer": 12, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 806}, "timestamp": "2026-02-12T17:16:54.893Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 843}, "timestamp": "2026-02-11T20:55:43.985Z"}], "solution_status": 1, "lemma_applicability": {"K13": "ok", "LIN_FORM": "ok", "L3B": "ok_later", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -6.84, "mid": -2.81, "hi": 1.35}, "split": "test"} +{"id": "499162", "alias": "comb_binomial_compute_v1_1918700295_3726", "problem": "Let $c$ be the number of positive integers $j$ such that $1 \\leq j \\leq \\sum_{d \\mid 4097} \\phi(d)$ and $j^2 \\leq 16785409$, where $\\phi$ denotes Euler's totient function. Let $r = \\binom{16}{8}$. Compute the remainder when $c \\cdot r$ is divided by 76069.", "answer": 12573, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4097),\n \"_n\": Const(76069),\n \"n\": Const(16),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d')))), Leq(Pow(Var(\"j\"), Const(2)), Const(16785409))), domain='positive_integers')),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/C3"], "recipe_id": "2afc0f", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "K3"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:50:12.797110Z", "verification": {"verified": true, "answer": 12573, "timestamp": "2026-02-08T08:50:12.799103Z"}, "problem_hash": "27deb6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 12573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 1897}, "timestamp": "2026-02-13T21:46:42.538Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 491}, "timestamp": "2026-02-12T02:14:07.658Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "C3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "95e82b", "alias": "antilemma_count_primes_v1_151522320_316", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 7^{1567}$ and $n$ divides $7^{1567}$. Let $B = 23225$. Compute the remainder when $B \\cdot x$ is divided by $61331$.", "answer": 32792, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Pow(Const(7), Const(1567)), base=Ref(\"_m\"))), IsPrime(Var(\"n\"))))),\n \"_c\": Const(23225),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(61331)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "e9d94c", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "K14"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:09:22.367671Z", "verification": {"verified": true, "answer": 32792, "timestamp": "2026-02-08T03:09:22.368951Z"}, "problem_hash": "38c3ab", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 23225, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 585}, "timestamp": "2026-02-09T01:25:56.405Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "K14": "ok", "C2": "no", "DS2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "test"} +{"id": "c3dbd8", "alias": "modular_inverse_v1_865884756_461", "problem": "Let $m = 641$ and $a = 402$. Define $\\text{upper}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 1493$ and $\\gcd(n, 14) = 1$. Let $\\text{result}$ be the smallest positive integer $x$ such that $1 \\leq x \\leq \\text{upper}$ and $402x \\equiv 1 \\pmod{641}$. Compute the value of\n\\[\nQ = \\left( 353702 \\cdot (|\\text{result}| \\bmod 97) + 329703 \\cdot (|\\text{result}|^2 \\bmod 101) + 215534 \\cdot \\left(|\\text{result}| \\bmod 6\\right) \\right) \\bmod 1009091\n\\]\nmodulo $81663$. Give the final result as an integer between $0$ and $81662$.", "answer": 4333, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1493),\n \"_n\": Const(81663),\n \"a\": Const(402),\n \"m\": Const(641),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"_c\": Const(6),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(105)), IsPrime(Var(\"n1\")))))))), modulus=Const(1009091)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "C4"], "recipe_id": "2c1622", "seed_template_id": "modular_inverse_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.031, "created_at": "2026-02-08T15:25:27.694869Z", "verification": {"verified": true, "answer": 4333, "timestamp": "2026-02-08T15:25:27.726321Z"}, "problem_hash": "43ebd8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 338, "completion_tokens": 422}, "timestamp": "2026-02-12T08:27:04.355Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "25be61", "alias": "nt_count_coprime_and_v1_1116507919_188", "problem": "Let $k_1 = 9$ and let $k_2$ be the smallest divisor of $537251$ that is at least $2$. Determine the number of positive integers $n$ such that $1 \\le n \\le 12219$, $\\gcd(n, 9) = 1$, and $\\gcd(n, k_2) = 1$. Let this number be $r$. Compute the remainder when $58222r$ is divided by $50613$.", "answer": 19985, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(12219),\n \"k1\": Const(9),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": Const(58222),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50613)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.145, "created_at": "2026-02-08T02:27:20.976199Z", "verification": {"verified": true, "answer": 19985, "timestamp": "2026-02-08T02:27:22.120707Z"}, "problem_hash": "60c723", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 19985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 3645}, "timestamp": "2026-02-08T19:11:28.955Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 19985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 2410}, "timestamp": "2026-02-09T14:12:28.905Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:13:56.397Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 19985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 4858}, "timestamp": "2026-02-10T12:58:05.343Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 1268}, "timestamp": "2026-02-09T17:02:14.458Z"}, {"id": 8, "model": "mathstral", "answer": 4972, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 759}, "timestamp": "2026-02-11T00:48:36.433Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 31998, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 490}, "timestamp": "2026-02-11T19:32:51.680Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K17": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "48d5ae", "alias": "nt_count_divisible_and_v1_151522320_230", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 194700$, $n$ is divisible by $10$, and $n$ is divisible by $12$. Let $r$ be the number of elements in $A$. Let $B$ be the set of all positive integers $j$ such that $1 \\leq j \\leq 14$ and $j^k \\leq 38416$, where $k$ is the largest integer such that $11^k$ divides $44!$. Let $s$ be the number of elements in $B$. Compute the value of $r + \\left(2^{r \\bmod s} \\bmod 85111\\right)$.", "answer": 5293, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(194700),\n \"d1\": Const(10),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(14)), Leq(Pow(Var(\"j\"), MaxKDivides(target=Factorial(Const(44)), base=Const(11))), Const(38416))), domain='positive_integers')))), modulus=Const(85111))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/C3"], "recipe_id": "c6cf16", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "V1"], "num_lemmas": 2, "generation_time": 6.828, "created_at": "2026-02-08T03:05:06.962640Z", "verification": {"verified": true, "answer": 5293, "timestamp": "2026-02-08T03:05:13.790347Z"}, "problem_hash": "4eb180", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 5293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 877}, "timestamp": "2026-02-09T00:35:23.860Z"}], "solution_status": 2, "lemma_applicability": {"V1": "ok", "C3": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "49f59c", "alias": "comb_count_surjections_v1_784195855_10251", "problem": "Let $m = 6$. Consider the set of all ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 5$, $1 \\leq j \\leq 5$, and $i + j = m$. Let $n'$ be the number of elements in this set.\n\nDefine $n$ to be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 3$.\n\nLet $k$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 3$, $1 \\leq j \\leq 4$, and $i + j = n$.\n\nCompute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind.\n", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "2b449a", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.036, "created_at": "2026-02-08T17:31:54.312288Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T17:31:54.348644Z"}, "problem_hash": "237f12", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 120, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 448}, "timestamp": "2026-02-12T22:41:34.212Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6d1e8b", "alias": "algebra_quadratic_discriminant_v1_124444284_1", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 3000$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = 9$, $b = 4$, and $c = -5$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = n$. Define $P$ to be the maximum value of $xy$ over all elements of $S$. Compute $b^m - a \\cdot c \\cdot P$.", "answer": 196, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=3000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(9),\n \"b\": Const(4),\n \"c\": Const(-5),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS", "COPRIME_PAIRS/B1"], "recipe_id": "f1402c", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "LTE_DIFF"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T02:52:53.698287Z", "verification": {"verified": true, "answer": 196, "timestamp": "2026-02-08T02:52:53.716400Z"}, "problem_hash": "67d72b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 1888}, "timestamp": "2026-02-08T19:56:54.994Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 1754}, "timestamp": "2026-02-08T21:07:46.038Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 7445}, "timestamp": "2026-02-12T00:34:01.725Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 604, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 494}, "timestamp": "2026-02-10T16:36:33.706Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 2259}, "timestamp": "2026-02-10T20:21:01.132Z"}, {"id": 8, "model": "mathstral", "answer": 16842016, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 299}, "timestamp": "2026-02-11T08:16:28.489Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 501}, "timestamp": "2026-02-11T19:57:39.285Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "B1": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K15": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -7.96, "mid": -5.66, "hi": -3.26}, "split": "test"} +{"id": "7a9c15", "alias": "diophantine_product_count_v1_784195855_345", "problem": "Let $m = 16129$ and $n = 2$. Let $k$ be the smallest positive integer such that $5^{103}$ divides $k!$. Let $s$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = m$. Determine the number of positive integers $x$ satisfying $\\phi(n) \\leq x \\leq s$, $x$ divides $k$, and $\\frac{k}{x} \\leq s$. Compute this number.", "answer": 22, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16129),\n \"_n\": Const(2),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(5)), Const(103)), domain='Z_{>0}')),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["ONE_PHI_2", "B3", "V5"], "recipe_id": "bf43b0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "V5", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.058, "created_at": "2026-02-08T03:06:52.824703Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T03:06:52.882528Z"}, "problem_hash": "c7e8b2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "V5": "ok", "K13": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "d4bf74", "alias": "nt_lcm_compute_v1_717093673_1733", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1392400$. Define $a$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 2308$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 37$, $1 \\leq b \\leq 179$, and $t = 14a + 10b$. Define $b$ to be the number of elements in $T$. Let $\\text{result} = \\text{LCM}(a, b)$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $70115$.", "answer": 25675, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70115),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1392400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=37)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=179)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=2308)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:17:17.321816Z", "verification": {"verified": true, "answer": 25675, "timestamp": "2026-02-08T16:17:17.325003Z"}, "problem_hash": "11972c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 584}, "timestamp": "2026-02-12T10:20:50.237Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "23eaeb", "alias": "antilemma_sum_primes_v1_1520064083_3056", "problem": "Let $d = 2$ and $c = 59137$. Let $p_{\\max}$ be the largest prime number less than or equal to 1061. Let $q_{\\max}$ be the largest prime number less than or equal to $p_{\\max}$. Let $n$ be the number of prime numbers in the interval $[d, q_{\\max}]$. Let $x$ be the sum of all prime numbers in the interval $[2, n]$. Compute the remainder when $29649 \\cdot x$ is divided by $59137$.", "answer": 41524, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_c\": Const(59137),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_d\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1061)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(29649), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/COUNT_PRIMES/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "96da0c", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T05:25:59.867900Z", "verification": {"verified": true, "answer": 41524, "timestamp": "2026-02-08T05:25:59.875926Z"}, "problem_hash": "24d18b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_PRIMES": "ok", "COUNT_PRIMES": "ok_later", "K15": "no", "K16": "no", "K5": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "871207", "alias": "antilemma_k2_v1_1520064083_883", "problem": "Let $n = 376$. Define\n$$\nx = \\sum_{k=1}^{\\sum_{d \\mid n} \\varphi(d)} \\varphi(k) \\left\\lfloor \\frac{376}{k} \\right\\rfloor,\n$$\nwhere $\\varphi$ denotes Euler's totient function. Let $c = \\sum_{d \\mid 2020} \\varphi(d)$. Compute the value of $5^{|x|} \\bmod 99991 + c$.", "answer": 83716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(376),\n \"x\": Summation(var=\"k\", start=Const(1), end=SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(376), Var(\"k\"))))),\n \"_c\": SumOverDivisors(n=Const(value=2020), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "K3/K2", "K2"], "recipe_id": "b04bc0", "seed_template_id": "antilemma_k2_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:38:57.124716Z", "verification": {"verified": true, "answer": 83716, "timestamp": "2026-02-08T03:38:57.126116Z"}, "problem_hash": "794da3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:16:36.284Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:01:22.646Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2021, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 1991}, "timestamp": "2026-02-11T15:18:02.906Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 1089}, "timestamp": "2026-02-12T20:24:27.139Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 474}, "timestamp": "2026-02-11T21:04:38.306Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "K3": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "1c01ae", "alias": "sequence_lucas_compute_v1_124444284_4048", "problem": "Let $m = n = 53504$. Let $A$ be the number of nonnegative integers $j \\le n$ such that $\\binom{m}{j}$ is odd. Let $B$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 360$ and $\\gcd(p, q) = 1$. Define $n = A + B$. Compute the $n$-th Lucas number.", "answer": 15127, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(53504),\n \"_n\": Const(53504),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=360)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:43:51.044584Z", "verification": {"verified": true, "answer": 15127, "timestamp": "2026-02-08T05:43:51.048352Z"}, "problem_hash": "52217e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15127, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 2321}, "timestamp": "2026-02-12T14:20:50.319Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 822}, "timestamp": "2026-02-11T23:06:55.858Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "948faa", "alias": "antilemma_sum_factor_cartesian_v1_1440796553_95", "problem": "Let $x$ be the sum of all products $ij$ over ordered pairs $(i,j)$ of integers with $1 \\le i \\le 20$ and $1 \\le j \\le 7$.\n\nLet $m$ be the smallest positive integer $n$ such that $2^{15}$ divides $n!$.\n\nLet $c=2$, and let $N=101$.\n\nLet $A$ be the remainder when $|x|$ is divided by\n\\[\n\\max\\{n : 2 \\le n \\le d_0,\\ n \\text{ is prime}\\},\n\\]\nwhere $d_0$ is the smallest integer $d \\ge c$ such that $d$ divides $950309$, and the maximum is taken over all integers $n$ with $2 \\le n \\le d_0$ that are prime.\n\nLet $B$ be the remainder when $|x|^2 + 1$ is divided by $N$.\n\nLet $C$ be the remainder when $|x| + m$ is divided by $103$.\n\nDefine\n\\[\nQ_0 = 353702A + 329703B + 215534C,\n\\]\nand let $Q_1$ be the remainder when $Q_0$ is divided by $1009091$.\n\nFinally, let $Q$ be the remainder when $Q_1$ is divided by $86550$.\n\nCompute $Q$. ", "answer": 52639, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(15)), domain='Z_{>0}')),\n \"_n\": Const(101),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(950309)))))), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_m\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(86550)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "V5/MIN_PRIME_FACTOR", "SUM_FACTOR_CARTESIAN"], "recipe_id": "dd21cf", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_FACTOR_CARTESIAN", "V5"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T11:34:48.746184Z", "verification": {"verified": true, "answer": 52639, "timestamp": "2026-02-08T11:34:48.753772Z"}, "problem_hash": "c13b7f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_FACTOR_CARTESIAN": "ok", "V5": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K18": "no", "L3b": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "514cc4", "alias": "algebra_quadratic_discriminant_v1_48377204_1700", "problem": "Let $c = 7$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $n = \\sum_{k=1}^{c} k$. Define $a = 1$, $b = -4$, and $c = -8$. Let $r$ be the number of integers $n'$ with $1 \\leq n' \\leq n$ such that $n' \\equiv \\left\\lfloor \\frac{n'}{2} \\right\\rfloor \\pmod{7}$. Compute the value of $r$.\n\nNow compute the value of $(-4)^m - r \\cdot 1 \\cdot (-8)$. Let $s$ be the absolute value of this result, increased by 2. Find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $s$. Compute $k$.", "answer": 75, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(7),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\")),\n \"a\": Const(1),\n \"b\": Const(-4),\n \"c\": Const(-8),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC", "SUM_ARITHMETIC/L3C"], "recipe_id": "f7efbc", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3C", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.051, "created_at": "2026-02-08T16:19:26.725641Z", "verification": {"verified": true, "answer": 75, "timestamp": "2026-02-08T16:19:26.776348Z"}, "problem_hash": "e19fef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 527}, "timestamp": "2026-02-12T10:22:02.868Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "L3C": "ok_later", "K17": "no", "K5": "no", "L3b": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "82fee7", "alias": "nt_euler_phi_compute_v1_1125832087_1352", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 10318$ such that the sum of the decimal digits of $n$ is even.\n\nLet $a=203$. Let $b$ be the number of positive integers $k$ such that $1\\le k\\le N$ and $77$ divides $k$.\n\nLet\n\\[\nv=\\sum_{d\\mid \\gcd(a,b)} \\mu(d),\n\\]\nwhere $\\mu$ is the Möbius function. Let $n_1=85$ and\n\\[\nw=\\sum_{d\\mid n_1} \\varphi(d) - n_1,\n\\]\nwhere $\\varphi$ is Euler's totient function.\n\nLet $n=38809$ and let $r=\\varphi(n)$. Define\n\\[\nQ\\equiv (44121v+w)\\,r \\pmod{51529},\n\\]\nwith $0\\le Q<51529$.\n\nFind the value of $Q$.", "answer": 51312, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(51529),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10318)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"a\": Const(203),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(77), dividend=Var(\"k\"))), domain='positive_integers')),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(85),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(38809),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Mul(Const(44121), Ref(\"v\")), Ref(\"w\")), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C2/MOBIUS_COPRIME", "EULER_TOTIENT_SUM"], "recipe_id": "63aa3f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["C2", "EULER_TOTIENT_SUM", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:41:33.452942Z", "verification": {"verified": true, "answer": 51312, "timestamp": "2026-02-08T03:41:33.459753Z"}, "problem_hash": "9d8026", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "L3B": "ok", "C2": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V3": "no"}, "split": "test"} +{"id": "8edca0", "alias": "modular_mod_compute_v1_1978505735_1483", "problem": "Compute the remainder when $-45369$ is divided by $59536$. Let $c$ be the smallest integer greater than or equal to $2$ that divides $8671171$. Find the remainder when $c$ minus the previously computed remainder is divided by $93890$.", "answer": 79770, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-45369),\n \"m\": Const(59536),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(8671171))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(93890)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:10:13.050171Z", "verification": {"verified": true, "answer": 79770, "timestamp": "2026-02-08T16:10:13.051740Z"}, "problem_hash": "fe0110", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 376}, "timestamp": "2026-02-12T10:03:14.173Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "172fc3", "alias": "modular_modexp_compute_v1_458359167_5224", "problem": "Let $a = 17$. Define $e$ to be the number of integers $n$ with $1 \\leq n \\leq 14812$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $m = 10878$. Compute $a^e \\bmod m$.", "answer": 5485, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(17),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14812)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"m\": Const(10878),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:20:54.623943Z", "verification": {"verified": true, "answer": 5485, "timestamp": "2026-02-08T12:20:54.625484Z"}, "problem_hash": "86a8ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 603}, "timestamp": "2026-02-12T05:10:48.220Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "16144b", "alias": "comb_count_permutations_fixed_v1_865884756_6813", "problem": "Let $n$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $\\gcd(p, q) = 1$, and $pq = 1500$. Define $n = \\sum_{k_1=1}^{n} k_1$. Let $k = 5$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!(n - k)$ denotes the number of derangements of $n - k$ elements.", "answer": 11088, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=1500)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": Summation(var=\"k1\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k1\")),\n \"k\": Const(5),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T19:24:30.069271Z", "verification": {"verified": true, "answer": 11088, "timestamp": "2026-02-08T19:24:30.071356Z"}, "problem_hash": "e8d757", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 363}, "timestamp": "2026-02-13T00:59:37.104Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "K13": "no", "K15": "no", "K18": "no", "LTE_DIFF": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "136dc9", "alias": "sequence_fibonacci_compute_v1_2051736721_5521", "problem": "Let $d_0$ be the smallest prime divisor of 667. Let $F$ be the $d_0$-th Fibonacci number. Find the remainder when $10201 - F$ is divided by 84106.", "answer": 65650, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(667),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(Const(10201), Ref(\"result\")), modulus=Const(84106)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:37:58.224667Z", "verification": {"verified": true, "answer": 65650, "timestamp": "2026-02-08T18:37:58.225636Z"}, "problem_hash": "c08a0b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 83361, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 387}, "timestamp": "2026-02-13T00:20:51.715Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "662ed1", "alias": "nt_gcd_compute_v1_677425708_2010", "problem": "Let $p$ be the largest prime number less than or equal to $15$. Define $v = \\Omega(p)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $A$ be the set of all positive integers $t$ such that $5 \\leq t \\leq 881$ and there exist positive integers $a \\leq 313$ and $b \\leq 85$ with $t = 2a + 3b$. Let $b_1$ be the number of elements in $A$. Let $a_1 = 36$, and let $g = \\gcd(a_1, b_1)$. Define $h = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $a = 414112h$ and $b = 776460v$. Let $r = \\gcd(a, b)$. Compute the remainder when $88514r$ is divided by $90921$.", "answer": 56743, "graph": "graphs = [\n Graph(\n let={\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(15)), IsPrime(Var(\"n\"))))),\n \"v\": BigOmega(n=Ref(name='p')),\n \"a1\": Const(36),\n \"b1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=313)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=85)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=881)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Mul(Const(414112), Ref(\"h\")),\n \"b\": Mul(Const(776460), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(88514), Ref(\"result\")), modulus=Const(90921)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/BIG_OMEGA_ONE", "LIN_FORM/MOBIUS_COPRIME"], "recipe_id": "269a84", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T04:42:42.940005Z", "verification": {"verified": true, "answer": 56743, "timestamp": "2026-02-08T04:42:42.946586Z"}, "problem_hash": "02e3d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32856, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 6582}, "timestamp": "2026-02-10T04:30:55.543Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "BIG_OMEGA_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K18": "no", "LTE_SUM": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "b3bf6a", "alias": "antilemma_v1_legendre_168721529_1697", "problem": "Let $d_0=65757$, $m=429$, and $n=33775$. Define $A$ to be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\begin{itemize}\n \\item $1\\le a\\le 254$,\n \\item $1\\le b\\le 97$,\n \\item $20\\le t\\le 4138$,\n \\item $t=14a+6b$.\n\\end{itemize}\nLet\n$$B=7^{2048}-5^{A}.$$ \nLet $C$ be the largest integer $k$ such that $2^k$ divides $B$. Let $D$ be the largest integer $e$ such that $C^e$ divides $m!$. Define $E$ to be the smallest integer $d\\ge2$ such that $d$ divides $D$. Let $x$ be the largest integer $f$ such that $E^f$ divides $n!$.\n\nLet $c_0=22916$, and define $Q$ to be the remainder when $c_0x$ is divided by $d_0$, with $0\\le Q p$ such that $pq = 3273984864150$ and $\\gcd(p, q) = 1$. Let $r = 11^e \\bmod 71289$. Let $c = 58^2$. Compute the remainder when $c - r$ is divided by $60945$.", "answer": 24435, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60945),\n \"a\": Const(11),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=3273984864150)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"m\": Const(71289),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(58)), right=IntegerRange(start=Const(1), end=Const(58)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COPRIME_PAIRS"], "recipe_id": "0e484a", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:59:14.672125Z", "verification": {"verified": true, "answer": 24435, "timestamp": "2026-02-08T02:59:14.674072Z"}, "problem_hash": "ab5b94", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:23:12.501Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 24435, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 7731}, "timestamp": "2026-02-10T12:29:06.743Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3363, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 7548}, "timestamp": "2026-02-10T23:54:19.416Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 990}, "timestamp": "2026-02-11T10:27:51.029Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 361}, "timestamp": "2026-02-11T20:03:01.613Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "test"} +{"id": "d4f8e7", "alias": "modular_mod_compute_v1_898971024_2910", "problem": "Let $a$ be the smallest integer $d \\geq 2$ that divides $10051$. Let $m = 14161$. Define $\\text{result} = a \\bmod m$. Let $\\_n = 91670$. Compute $44121 \\cdot \\text{result} \\bmod \\_n$.", "answer": 13269, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(91670),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10051))))),\n \"m\": Const(14161),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:03:07.931833Z", "verification": {"verified": true, "answer": 13269, "timestamp": "2026-02-08T17:03:07.933862Z"}, "problem_hash": "c9b032", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 61111, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 278}, "timestamp": "2026-02-12T21:46:24.490Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K14": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c4eead", "alias": "geo_count_lattice_triangle_v1_865884756_3788", "problem": "Let $S$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = 121$. Let $P$ be the sum $x_1 + y_1$ for each such pair. Define $s$ to be the minimum value of $P$ over all elements of $S$.\n\nNow, let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s$. Define $A$ to be twice the sum of $xy$ over all such pairs in $T$, increased by 111, and then decreased by $8 \\times 64$. That is,\n\n$$\nA = 2 \\left( \\sum_{\\substack{x,y > 0 \\\\ x+y=s}} xy \\right) + 111 - 512.\n$$\n\nLet $B$ be the sum of the greatest common divisors of the absolute values of the following three pairs:\n- $121$ and $64$,\n- $8 - 121$ and $111 - 64$,\n- $0 - 8$ and $0 - 111$.\n\nDefine $R$ by\n$$\nR = \\frac{A + 2 - B}{2}.\n$$\n\nCompute the sum of the number of positive divisors of all integers from 1 to $|R|$ inclusive. That is, compute\n$$\n\\sum_{n=1}^{|R|} \\tau(n),\n$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 57652, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": Const(64),\n \"area_2x\": Abs(arg=Sum(Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='y1')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(left=Mul(Var(name='x1'), Var(name='y1')), right=Const(value=121)))), expr=Sum(Var(name='x1'), Var(name='y1'))))))), expr=Mul(Var(name='x'), Var(name='y')))), Const(value=111)), Mul(Ref(name='_m'), Sub(left=Const(value=0), right=Const(value=64))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=Const(value=8), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=64)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=8))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=111))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "B3/B1"], "recipe_id": "7c6036", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T17:34:43.166119Z", "verification": {"verified": true, "answer": 57652, "timestamp": "2026-02-08T17:34:43.182529Z"}, "problem_hash": "87a147", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 461, "completion_tokens": 566}, "timestamp": "2026-02-12T22:46:39.287Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok", "B1": "ok_later", "DS2": "no", "K13": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a7c345", "alias": "nt_euler_phi_compute_v1_1742523217_2886", "problem": "Let $n_2 = 2$ and define $v = \\lambda(n_2) + 1$, where $\\lambda$ is the Liouville function. Let $p$ be the smallest integer $d \\geq 2$ that divides 273829, and let $q = 19$. Define $n_1 = (p q)^2$. Let $t$ be the remainder when the number of positive divisors of $n_1$ is divided by $d_{\\min} + v$, where $d_{\\min}$ is the smallest integer $d \\geq 2$ that divides 18. Define $n = 41616 \\cdot t$. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 13056, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(2),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(273829))))),\n \"q\": Const(19),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(18))))), Ref(\"v\"))),\n \"n\": Mul(Const(41616), Ref(\"t\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE/DIVISOR_PARITY", "MIN_PRIME_FACTOR/DIVISOR_PARITY"], "recipe_id": "9d84e8", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:25:53.706177Z", "verification": {"verified": true, "answer": 13056, "timestamp": "2026-02-08T05:25:53.711453Z"}, "problem_hash": "903108", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "K5": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "e02381", "alias": "nt_count_coprime_v1_153355830_928", "problem": "Let $k = 20$ and $N = 50176$. Define $r$ to be the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n, k) = 1$. Let $S$ be the set of positive integers $k$ such that $1 \\leq k \\leq 3203385$ and $465$ divides $k$. Let $c$ be the sum of $\\varphi(d)$ over all positive divisors $d$ of $|S|$, where $\\varphi$ is Euler's totient function.\n\nCompute the remainder when\n$$\nr^2 + 29r + c\n$$\nis divided by $50982$.", "answer": 24235, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(50176),\n \"k\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='k'), condition=And(Geq(left=Var(name='k'), right=Const(value=1)), Leq(left=Var(name='k'), right=Const(value=3203385)), Divides(divisor=Const(value=465), dividend=Var(name='k'))))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(29), Ref(\"result\")), Ref(\"_c\")), modulus=Const(50982)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/K3"], "recipe_id": "ceafda", "seed_template_id": "nt_count_coprime_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "K3"], "num_lemmas": 2, "generation_time": 4.092, "created_at": "2026-02-08T04:15:25.232127Z", "verification": {"verified": true, "answer": 24235, "timestamp": "2026-02-08T04:15:29.323666Z"}, "problem_hash": "2894ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 24235, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2300}, "timestamp": "2026-02-10T16:08:26.574Z"}, {"id": 8, "model": "mathstral", "answer": 37498, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 1384}, "timestamp": "2026-02-13T12:39:46.038Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 651}, "timestamp": "2026-02-11T20:39:03.734Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "K3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "650919", "alias": "geo_count_lattice_triangle_v1_2051736721_144", "problem": "Let $S$ be the set of all integers $t$ such that $12\\le t\\le105$ and there exist integers $a$ and $b$ with $1\\le a\\le10$, $1\\le b\\le7$, and\n$$t=7a+5b.$$\nLet $|S|$ denote the number of elements of $S$.\n\nDefine\n$$A=|169\\cdot169+153\\bigl(0-|S|\\bigr)|.$$ \n\nLet $T$ be the set of all ordered pairs $(i,j)$ of integers such that $\\gcd(i,j)=1$, and let $|T|$ denote the number of elements of $T$. Define\n\\[\nB=\\gcd\\bigl(|169|,|70|\\bigr)+\\gcd\\bigl(|153-169|,|169-70|\\bigr)+\\gcd\\bigl(|0-153|,|0-|T||\\bigr).\n\\]\n\nFinally, define\n$$Q=\\frac{A+2-B}{2}.$$\n\nCompute $Q$. ", "answer": 8925, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(169),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=169), Const(value=169)), Mul(Const(value=153), Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=105)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=70))), GCD(a=Abs(arg=Sub(left=Const(value=153), right=Ref(name='_n'))), b=Abs(arg=Sub(left=Const(value=169), right=Const(value=70)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=153))), b=Abs(arg=Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='i'), Var(name='j')]), condition=Eq(left=GCD(a=Var(name='i'), b=Var(name='j')), right=Const(value=1)))))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Ref(\"_m\"), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T15:13:34.194483Z", "verification": {"verified": true, "answer": 8925, "timestamp": "2026-02-08T15:13:34.207809Z"}, "problem_hash": "a45957", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 346, "completion_tokens": 591}, "timestamp": "2026-02-12T08:04:32.588Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "C2": "no", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a4e830", "alias": "modular_sum_quadratic_residues_v1_349078426_1036", "problem": "Let $p$ be the number of positive integers $n$ with $1 \\le n \\le 1709$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Compute the remainder when $\\sum_{n=1}^{\\text{result}} \\phi(n)$ is divided by $92013$, where $\\phi(n)$ denotes Euler's totient function.", "answer": 43822, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92013),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1709)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 4.12, "created_at": "2026-02-08T13:22:30.996407Z", "verification": {"verified": true, "answer": 43822, "timestamp": "2026-02-08T13:22:35.116394Z"}, "problem_hash": "9c85ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 586}, "timestamp": "2026-02-12T06:43:20.623Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K15": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "150c8d", "alias": "antilemma_cartesian_v1_1125832087_130", "problem": "Let $N=5$. Let $K$ be the number of ordered triples $(x_1,x_2,x_3)$ of positive integers such that each of $x_1,x_2,x_3$ is odd and\n$$x_1+x_2+x_3=N.$$\nLet\n$$L=\\binom{K}{3}.$$ \n\nLet $X$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le35$ and $1\\le j\\le35$. Define\n$$Q=\\sum_{n=L}^{|X|} d(n),$$\nwhere $d(n)$ denotes the number of positive divisors of $n$. Compute $Q$.", "answer": 8915, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(35)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\"), Var(\"x3\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='x3')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), IsOdd(arg=Var(name='x3')), Eq(Sum(Var(\"x1\"), Var(\"x2\"), Var(\"x3\")), Ref(\"_n\"))))), k=Const(3)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_N", "COUNT_CARTESIAN"], "recipe_id": "ea3b29", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ONE_BINOM_N"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:52:42.132442Z", "verification": {"verified": true, "answer": 8915, "timestamp": "2026-02-08T02:52:42.133786Z"}, "problem_hash": "7629f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8915, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 2726}, "timestamp": "2026-02-10T11:47:02.341Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8915, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 2926}, "timestamp": "2026-02-10T12:24:40.199Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:55:23.131Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 3138, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 549}, "timestamp": "2026-02-10T15:14:49.294Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8915, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 2356}, "timestamp": "2026-02-10T15:31:36.659Z"}, {"id": 8, "model": "mathstral", "answer": 3676, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 865}, "timestamp": "2026-02-11T06:27:34.552Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 457}, "timestamp": "2026-02-11T19:51:34.589Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ONE_BINOM_N": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "70d478", "alias": "nt_count_divisors_in_range_v1_655260480_3790", "problem": "Let $n = 45360$, $a = 19$, and $b = 1621$. Let $\\text{result}$ be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers satisfying $x + y = 72$. Compute $c - \\text{result}$.", "answer": 1230, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72),\n \"n\": Const(45360),\n \"a\": Const(19),\n \"b\": Const(1621),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T17:33:26.519918Z", "verification": {"verified": true, "answer": 1230, "timestamp": "2026-02-08T17:33:26.541328Z"}, "problem_hash": "16d82b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 504}, "timestamp": "2026-02-12T22:46:53.836Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LTE_DIFF": "no", "MOD_MUL": "no", "V3": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6bbff9", "alias": "diophantine_fbi2_min_v1_1918700295_869", "problem": "Let $n = 73$ and define $m = \\left( \\sum_{d \\mid n} \\phi(d) \\right) - n$, where $\\phi$ denotes Euler's totient function. Let $p$ be the smallest divisor of $367517$ that is at least $2$. Define $e$ as the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $k = 32$ and let $d_{\\text{min}}$ be the smallest integer $d$ such that $5 \\leq d \\leq 42$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Compute the remainder when $ (94283 + m) \\cdot d_{\\text{min}} $ is divided by $84888 + e$.", "answer": 75160, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n\": Const(73),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(367517))))),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"k\": Const(32),\n \"upper\": Const(42),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Mod(value=Mul(Sum(Const(94283), Ref(\"m\")), Ref(\"result\")), modulus=Sum(Const(84888), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "EULER_TOTIENT_SUM", "COPRIME_PAIRS"], "recipe_id": "fc592e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "EULER_TOTIENT_SUM", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T05:22:53.300235Z", "verification": {"verified": true, "answer": 75160, "timestamp": "2026-02-08T05:22:53.312204Z"}, "problem_hash": "3b27ca", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "EULER_TOTIENT_SUM": "ok", "MIN_PRIME_FACTOR": "ok", "WILSON": "ok_later", "DS2": "no", "K16": "no", "K18": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "3f0649", "alias": "nt_count_gcd_equals_v1_1915831931_2997", "problem": "Let $m = 72629$ and $u = 39204$. Let $k$ be the number of integers $t$ with $19 \\le t \\le 273$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 15$, $1 \\le b \\le 40$, and $t = 7a + 4b + 8$. Let $d$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 6$ and $1 \\le j \\le 62$ such that $\\gcd(i,j) = 1$. Let $r$ be the number of positive integers $n$ with $1 \\le n \\le u$ such that $\\gcd(n, k) = d$. Compute the remainder when $m \\cdot r$ is divided by $82887$.", "answer": 48057, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72629),\n \"upper\": Const(39204),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=40)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=273)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=8)))))))),\n \"d\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(62))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(82887)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 3.16, "created_at": "2026-02-08T17:17:07.892081Z", "verification": {"verified": true, "answer": 48057, "timestamp": "2026-02-08T17:17:11.051601Z"}, "problem_hash": "f1146f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 590}, "timestamp": "2026-02-12T22:20:01.962Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "K14": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e03c82", "alias": "comb_sum_binomial_row_v1_1978505735_6010", "problem": "Let $n$ be the smallest divisor of $65007371$ that is greater than or equal to $2$. Compute $2^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(65007371))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T19:22:07.544872Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T19:22:07.546415Z"}, "problem_hash": "b437c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 202}, "timestamp": "2026-02-13T00:57:37.051Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a84135", "alias": "algebra_quadratic_discriminant_v1_1520064083_3350", "problem": "Let $a = 2$, $b = -12$, and $c = -32$. Let $N$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 27000$, $\\gcd(p, q) = 1$, and $p < q$. Define the discriminant $D = b^2 - 4aNc$. Let $r = 2 \\cdot [D > 0] + [D = 0]$, where $[\\cdot]$ denotes the Iverson bracket (1 if true, 0 otherwise). Let $C$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 48984$ and $\\binom{48984}{j} \\equiv 1 \\pmod{2}$. Compute $C - r$.", "answer": 1022, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"a\": Const(2),\n \"b\": Const(-12),\n \"c\": Const(-32),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=27000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_n\"), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(48984)), Eq(Mod(value=Binom(n=Const(48984), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["V8", "COPRIME_PAIRS"], "recipe_id": "0baed0", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T05:36:06.035548Z", "verification": {"verified": true, "answer": 1022, "timestamp": "2026-02-08T05:36:06.049039Z"}, "problem_hash": "c6ea19", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1022, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 3129}, "timestamp": "2026-02-12T10:52:42.823Z"}, {"id": 8, "model": "mathstral", "answer": 48982, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 600}, "timestamp": "2026-02-14T20:01:19.503Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 484}, "timestamp": "2026-02-11T22:49:22.502Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok", "COUNT_INTEGER_RANGE": "no", "K14": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "3584d5", "alias": "comb_factorial_compute_v1_124444284_9635", "problem": "Let $d_0$ be the smallest divisor of $3773$ that is at least $2$. Let $r = d_0!$. Compute the remainder when $44121 \\cdot r$ is divided by $61132$.", "answer": 32756, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61132),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3773))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:36:36.599413Z", "verification": {"verified": true, "answer": 32756, "timestamp": "2026-02-08T12:36:36.602316Z"}, "problem_hash": "f2ae50", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 400}, "timestamp": "2026-02-12T05:23:35.562Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5c6924", "alias": "geo_visible_lattice_v1_1915831931_1444", "problem": "Let $ n = 111 $. Let $ r $ be the number of lattice points $ (x, y) $ with $ 1 \\leq x, y \\leq n $ such that $ \\gcd(x, y) = 1 $. Compute the remainder when $ \\sum_{n_1 = 44^{97 \\cdot (98 \\bmod 98)}}^{ |r| } \\phi(n_1) $ is divided by $ 58036 $.", "answer": 32772, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(111),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Pow(Const(44), Mul(Const(97), Mod(value=Const(98), modulus=Const(98)))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))), modulus=Const(58036)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_POW_ZERO", "lemma_paths": ["IDENTITY_POW_ZERO", "IDENTITY_MUL_ZERO", "IDENTITY_MOD_SELF"], "recipe_id": "82c41e", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_MOD_SELF", "IDENTITY_MUL_ZERO", "IDENTITY_POW_ZERO"], "num_lemmas": 3, "generation_time": 1.147, "created_at": "2026-02-08T16:08:51.931795Z", "verification": {"verified": true, "answer": 32772, "timestamp": "2026-02-08T16:08:53.078952Z"}, "problem_hash": "8cd9a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 576}, "timestamp": "2026-02-12T09:58:36.973Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_MOD_SELF": "ok", "IDENTITY_MUL_ZERO": "ok", "IDENTITY_POW_ZERO": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "315ccd", "alias": "modular_min_linear_v1_1915831931_3650", "problem": "Let $n$ be an integer such that $1 \\leq n \\leq 70025$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $a$ be the number of such integers $n$. Let $m = 13102$. Determine the value of the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and\n$$\n11037x \\equiv a \\pmod{13102}.\n$$", "answer": 10561, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70025),\n \"a\": Const(11037),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"m\": Const(13102),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.544, "created_at": "2026-02-08T17:47:50.251509Z", "verification": {"verified": true, "answer": 10561, "timestamp": "2026-02-08T17:47:50.796003Z"}, "problem_hash": "c79414", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 579}, "timestamp": "2026-02-12T23:10:47.340Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "caa253", "alias": "comb_count_permutations_fixed_v1_717093673_3431", "problem": "Let $n$ be the smallest divisor of $1859$ that is at least $2$. Let $k = 8$. Define $r = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Compute $44521 - r$.", "answer": 44191, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1859))))),\n \"k\": Const(8),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Sub(Const(44521), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T17:37:05.529839Z", "verification": {"verified": true, "answer": 44191, "timestamp": "2026-02-08T17:37:05.533304Z"}, "problem_hash": "9e3229", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 423}, "timestamp": "2026-02-12T22:52:59.145Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "679de0", "alias": "antilemma_product_of_sums_v1_1520064083_4650", "problem": "Let $x = \\left( \\sum_{k=1}^{11} k \\right) \\cdot \\sum_{i=1}^{7} \\sum_{j=1}^{8} ij$. Let $c$ be the number of positive integers $n \\leq 177$ for which the sum of the decimal digits of $n$ is even. Compute\n$$\n\\sum_{i=0}^{d-1} d_i (i+1)^2 + c,\n$$\nwhere $d$ is the number of decimal digits of $|x|$, and $d_i$ is the $i$-th decimal digit of $|x|$ (with $d_0$ being the units digit).", "answer": 395, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(177),\n \"_n\": Const(11),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "PRODUCT_OF_SUMS"], "recipe_id": "efc317", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:22:12.291144Z", "verification": {"verified": true, "answer": 395, "timestamp": "2026-02-08T06:22:12.293590Z"}, "problem_hash": "a07099", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V5": "no", "V8": "no"}, "split": "test"} +{"id": "2d2927", "alias": "antilemma_sum_primes_v1_1116507919_162", "problem": "Let $c = 2$, and let $m$ be the largest integer such that $3^m$ divides $6!$. Let $n$ be the smallest integer $d$ such that $d \\geq m$ and $d$ divides $57599$. Compute the sum of all prime numbers $p$ satisfying $c \\leq p \\leq n$.", "answer": 5589, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MaxKDivides(target=Factorial(Const(6)), base=Const(3)),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(57599))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MIN_PRIME_FACTOR/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "9dea27", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "SUM_PRIMES", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:27:03.371145Z", "verification": {"verified": true, "answer": 5589, "timestamp": "2026-02-08T02:27:03.372786Z"}, "problem_hash": "d0ba4d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5589, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 5708}, "timestamp": "2026-02-08T19:09:04.701Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5589, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 3766}, "timestamp": "2026-02-09T13:59:22.633Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:39:56.283Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5589, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 1731}, "timestamp": "2026-02-09T16:32:36.163Z"}], "solution_status": 1, "lemma_applicability": {"SUM_PRIMES": "ok", "V1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "test"} +{"id": "c27248", "alias": "antilemma_cartesian_v1_677425708_51", "problem": "Let $m=22$. Let $n_0$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n\\[x_1+x_2=m.\n\\]\nLet $x$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 24$ and $1\\le v\\le 24$.\n\nLet $S$ be the set of all integers $t$ such that $5\\le t\\le 17$ and there exist integers $a$ and $b$ with $1\\le a\\le 3$ and $1\\le b\\le 4$ satisfying\n\\[t=3a+2b.\n\\]\nLet $L$ be the number of elements in $S$, and let\n\\[A=\\binom{L}{n_0}.\n\\]\nDefine\n\\[Q=\\sum_{n=A}^{|x|} d(n),\\]\nwhere $d(n)$ denotes the number of positive divisors of $n$.\n\nFind the value of $Q$.", "answer": 3764, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), k=Ref(\"_n\")), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/LIN_FORM/ONE_BINOM_N", "COUNT_CARTESIAN"], "recipe_id": "95fabe", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:01:32.555970Z", "verification": {"verified": true, "answer": 3764, "timestamp": "2026-02-08T03:01:32.558081Z"}, "problem_hash": "5debd3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3764, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 341, "completion_tokens": 1970}, "timestamp": "2026-02-08T20:16:42.401Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3764, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 337, "completion_tokens": 2023}, "timestamp": "2026-02-09T22:16:45.699Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:53:09.876Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 120969, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 545}, "timestamp": "2026-02-12T00:46:01.959Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3764, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 2178}, "timestamp": "2026-02-10T03:20:40.320Z"}, {"id": 8, "model": "mathstral", "answer": 1080, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 622}, "timestamp": "2026-02-11T12:45:24.626Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 585}, "timestamp": "2026-02-11T20:10:07.852Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok_later", "ONE_BINOM_N": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "4b4845", "alias": "nt_count_intersection_v1_1915831931_1900", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\le n \\le k$, where $k$ is the number of positive integers $n_1$ with $1 \\le n_1 \\le 163$ and even digit sum, and such that $3$ divides $n$ and $\\gcd(n, 10) = 1$.\n\nLet $b = \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor$.\n\nLet $Q$ be the Bell number $B_m$, where $m$ is the remainder when the absolute value of the number of positive integers $n_2$ with $1 \\le n_2 \\le 50000$, divisible by $a$, and satisfying $\\gcd(n_2, b) = 1$, is divided by $11$.\n\nCompute $Q$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(4),\n \"N\": Const(50000),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(163)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Const(2)), Const(0)))))), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n2\")), Eq(GCD(a=Var(\"n2\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C5", "K2"], "recipe_id": "114a61", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "K2", "L3B"], "num_lemmas": 3, "generation_time": 2.731, "created_at": "2026-02-08T16:29:45.083690Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T16:29:47.815057Z"}, "problem_hash": "f886cf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 648}, "timestamp": "2026-02-12T10:47:40.015Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "L3B": "ok", "C5": "ok_later", "C2": "no", "K16": "no", "LTE_SUM": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ff0a33", "alias": "nt_sum_divisors_mod_v1_151522320_964", "problem": "Let $n = 5040$ and $M = 11069$. Define $\\sigma$ to be the sum of all positive divisors of $n$. Let $c = 40401$ and let $r$ be the remainder when $\\sigma$ is divided by $M$. Compute $c - r$.", "answer": 32126, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5040),\n \"M\": Const(11069),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": Const(40401),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/V5", "LIN_FORM/V5"], "recipe_id": "dd0f7b", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "V5"], "num_lemmas": 3, "generation_time": 0.033, "created_at": "2026-02-08T03:41:18.093279Z", "verification": {"verified": true, "answer": 32126, "timestamp": "2026-02-08T03:41:18.126699Z"}, "problem_hash": "15988a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32126, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 535}, "timestamp": "2026-02-10T15:30:04.803Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 32126, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 587}, "timestamp": "2026-02-10T14:14:10.141Z"}, {"id": 8, "model": "mathstral", "answer": 37579, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 369}, "timestamp": "2026-02-12T22:39:25.249Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 31742, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 352}, "timestamp": "2026-02-11T20:07:13.594Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "V5": "ok_later", "DS2": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "a415aa", "alias": "modular_product_range_v1_1116507919_354", "problem": "Let $d_0$ be the smallest integer $d \\ge 2$ such that $d$ divides $6137$. Define $P = \\prod_{i=d_0}^{458} i$. Find the remainder when $P$ is divided by $11783$.", "answer": 8164, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11783),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6137))))), end=Const(458)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T02:32:03.032661Z", "verification": {"verified": true, "answer": 8164, "timestamp": "2026-02-08T02:32:03.035272Z"}, "problem_hash": "1eb3ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:25:34.374Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:24:31.626Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 123, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:14:24.646Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 11713, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 115, "completion_tokens": 404}, "timestamp": "2026-02-10T13:21:27.127Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 104, "completion_tokens": 7243}, "timestamp": "2026-02-09T20:01:44.216Z"}, {"id": 8, "model": "mathstral", "answer": 457, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 120, "completion_tokens": 702}, "timestamp": "2026-02-11T02:04:56.293Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 486}, "timestamp": "2026-02-11T19:36:19.546Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "K18": "no", "K5": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "52cb62", "alias": "comb_factorial_compute_v1_1520064083_7665", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $637637$. Compute the remainder when $77769$ times $d!$ is divided by $71141$.", "answer": 39991, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(637637))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(77769), Ref(\"result\")), modulus=Const(71141)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:14:01.918260Z", "verification": {"verified": true, "answer": 39991, "timestamp": "2026-02-08T09:14:01.919480Z"}, "problem_hash": "4ae0c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39991, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 89, "completion_tokens": 1419}, "timestamp": "2026-02-14T01:40:00.209Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 432}, "timestamp": "2026-02-12T02:40:16.451Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c77465", "alias": "comb_binomial_compute_v1_655260480_5863", "problem": "Let $n$ be the smallest divisor of $221$ that is at least $2$. Let $k = 5$ and let $\\binom{n}{k}$ denote the binomial coefficient. Let $m = \\left| \\binom{n}{k} \\right| + 2$. The Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. The Fibonacci entry point modulo $m$ is the smallest positive integer $t$ such that $m$ divides $F_t$. Compute the Fibonacci entry point modulo $m$.", "answer": 322, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(221))))),\n \"k\": Const(5),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:41:20.665791Z", "verification": {"verified": true, "answer": 322, "timestamp": "2026-02-08T18:41:20.667890Z"}, "problem_hash": "13b6f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1289, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 382}, "timestamp": "2026-02-13T00:22:05.252Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7ce07d", "alias": "modular_count_residue_v1_168721529_1504", "problem": "Let $n_0$ be the largest integer $k$ such that $5^k$ divides $14551915228366851806640625 \\times 5$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of prime numbers $n$ such that $n \\geq |S|$ and $n \\leq n_0$. Let $r = 1$ and let $T$ be the set of all positive integers $n$ such that $n \\leq 55225$ and $n \\equiv r \\pmod{m}$. Compute the number of elements in $T$.", "answer": 4603, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Mul(Const(14551915228366851806640625), Const(5)), base=Const(5)),\n \"upper\": Const(55225),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"r\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "4ace2a", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "K13"], "num_lemmas": 3, "generation_time": 3.256, "created_at": "2026-02-08T13:44:29.609224Z", "verification": {"verified": true, "answer": 4603, "timestamp": "2026-02-08T13:44:32.865051Z"}, "problem_hash": "7b1221", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:17:47.385Z"}], "solution_status": 0, "lemma_applicability": {"K13": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "2c9bf2", "alias": "diophantine_product_count_v1_1520064083_3783", "problem": "Let $k = 840$ and let $U = 50$. Define $A$ to be the set of all positive integers $x$ such that $1 \\leq x \\leq U$, $x$ divides $k$, and $\\frac{k}{x} \\leq U$. Let $r$ be the number of elements in $A$. Let $B$ be the set of all positive integers $t$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 176$, $1 \\leq b \\leq 99$, $11 \\leq t \\leq 1397$, and $t = 4a + 7b$. Let $s$ be the number of positive integers $j$ such that $1 \\leq j \\leq |B|$ and $j^2 \\leq 1874161$. Compute the value of $r^2 + 9r + s$.", "answer": 1505, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(2),\n \"k\": Const(840),\n \"upper\": Const(50),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Ref(\"_m\"), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=176)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=99)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=1397)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), Leq(Pow(Var(\"j\"), Const(2)), Const(1874161))), domain='positive_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C3"], "recipe_id": "a4ae7d", "seed_template_id": "diophantine_product_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T05:51:58.065150Z", "verification": {"verified": true, "answer": 1505, "timestamp": "2026-02-08T05:51:58.072983Z"}, "problem_hash": "775703", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1505, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 5651}, "timestamp": "2026-02-12T16:26:26.235Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 668}, "timestamp": "2026-02-11T23:17:44.942Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "C3": "ok_later", "C2": "no", "K15": "no", "K16": "no", "K18": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3e7192", "alias": "nt_count_intersection_v1_655260480_3950", "problem": "Let $N$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 6250000$. Let $a = 5$. Let $b$ be the number of integers $t$ with $7 \\leq t \\leq 34$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 6$, $1 \\leq b \\leq 4$, and $t = 3a + 4b$. Compute the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$. Let $Q$ be the remainder when $22425$ times this number is divided by $86186$. Find the value of $Q$.", "answer": 33427, "graph": "graphs = [\n Graph(\n let={\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(5),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=34)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(22425), Ref(\"result\")), modulus=Const(86186)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "LTE_DIFF"], "num_lemmas": 3, "generation_time": 3.769, "created_at": "2026-02-08T17:38:20.842175Z", "verification": {"verified": true, "answer": 33427, "timestamp": "2026-02-08T17:38:24.610686Z"}, "problem_hash": "07ec9d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 518}, "timestamp": "2026-02-12T22:52:25.505Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K15": "no", "K18": "no", "K5": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "38c851", "alias": "sequence_fibonacci_compute_v1_1742523217_2547", "problem": "Let $n = 21$ and let $F_n$ denote the $n$th Fibonacci number. Let $d_1$ be the greatest common divisor of $32867273$ and $32890189$. Let $Q$ be the remainder when $d_1 \\cdot F_n$ is divided by $58290$. Compute $Q$.", "answer": 47884, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5729),\n \"n\": Const(21),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(32867273)))))), Divides(divisor=Var(\"d\"), dividend=Const(32890189))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(58290)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_DIVISOR"], "recipe_id": "20b6ea", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T04:50:07.708939Z", "verification": {"verified": true, "answer": 47884, "timestamp": "2026-02-08T04:50:07.711067Z"}, "problem_hash": "9b3881", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 47884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 1186}, "timestamp": "2026-02-11T22:06:23.190Z"}, {"id": 8, "model": "mathstral", "answer": 44, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 422}, "timestamp": "2026-02-14T01:06:11.450Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10946, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 930}, "timestamp": "2026-02-11T21:53:06.083Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "2ec73b", "alias": "diophantine_fbi2_min_v1_865884756_6459", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 900$. Let $S$ be the set of all ordered pairs $(i, j)$ where $i$ is an integer from 1 to 4, $j$ is an integer from 1 to 26, and $\\gcd(i, j) = 1$. Let $u$ be the number of elements in $S$. Define $d$ to be a positive integer satisfying the following conditions:\n\n- $2 \\leq d \\leq u$,\n- $d$ divides $k$,\n- $\\frac{k}{d} \\geq 5$.\n\nLet $r$ be the smallest such $d$. Compute $12236 \\times r$.", "answer": 24472, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(900)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(26))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"_c\": Const(12236),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T19:13:22.038409Z", "verification": {"verified": true, "answer": 24472, "timestamp": "2026-02-08T19:13:22.045305Z"}, "problem_hash": "03e812", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 584}, "timestamp": "2026-02-13T00:52:10.046Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_CARTESIAN": "no", "K16": "no", "K17": "no", "L3b": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a7acd1", "alias": "modular_mod_compute_v1_865884756_8", "problem": "Let $c = 15367$ and $m = 22$. Let $P$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $a$ be the largest positive divisor of $c$ that does not exceed $P$. Let $T$ be the number of integers $t$ with $21 \\leq t \\leq 1706$ for which there exist positive integers $a$ and $b$, with $1 \\leq a \\leq 462$ and $1 \\leq b \\leq 110$, such that $t = 2a + 7b + 12$. Compute the remainder when $a$ is divided by $T$.", "answer": 121, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(15367),\n \"_m\": Const(22),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_c\"))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=462)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=110)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=1706)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=12)))))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_DIVISOR", "LIN_FORM"], "recipe_id": "51c285", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T15:06:45.153440Z", "verification": {"verified": true, "answer": 121, "timestamp": "2026-02-08T15:06:45.158949Z"}, "problem_hash": "a21951", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:40:46.251Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 121, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 5919}, "timestamp": "2026-02-11T11:02:55.515Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 405}, "timestamp": "2026-02-12T07:49:57.239Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "283c4a", "alias": "nt_min_coprime_above_v1_238844314_645", "problem": "Let $d$ be the smallest divisor of $902938087147$ that is at least $2$. Determine the value of the smallest integer $n$ such that $28900 < n \\le 29151$ and $\\gcd(n, d) = 1$.", "answer": 28901, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(28900),\n \"upper\": Const(29151),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(902938087147))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T13:27:34.701823Z", "verification": {"verified": true, "answer": 28901, "timestamp": "2026-02-08T13:27:34.727694Z"}, "problem_hash": "ce939a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 339}, "timestamp": "2026-02-12T07:02:23.316Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "73811f", "alias": "comb_factorial_compute_v1_1918700295_4300", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 847. Define $n = d$ and let $r = n!$. Let $c = 86069$. Compute the remainder when $c \\cdot r$ is divided by 89906.", "answer": 81216, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(86069),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(89906)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:17:14.957241Z", "verification": {"verified": true, "answer": 81216, "timestamp": "2026-02-08T09:17:14.959359Z"}, "problem_hash": "324d38", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 106, "completion_tokens": 8192}, "timestamp": "2026-02-14T02:25:14.663Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 89902, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 429}, "timestamp": "2026-02-12T02:44:07.286Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "L3c": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "2c46e1", "alias": "modular_count_residue_v1_2051736721_5642", "problem": "Let $u = 81796$ and let $r = 10$. Define $m$ to be the smallest divisor of $5909761$ that is at least $2$. Consider the set of all positive integers $n$ such that $1 \\le n \\le u$ and $n \\equiv r \\pmod{m}$. Compute the number of elements in this set.", "answer": 7436, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(81796),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5909761))))),\n \"r\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.544, "created_at": "2026-02-08T18:42:19.629697Z", "verification": {"verified": true, "answer": 7436, "timestamp": "2026-02-08T18:42:22.173383Z"}, "problem_hash": "d7c79d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 321}, "timestamp": "2026-02-13T00:28:47.419Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "58054c", "alias": "modular_sum_quadratic_residues_v1_865884756_6043", "problem": "Let $p$ be the smallest integer greater than or equal to 2 that divides 58765536377. Compute the value of $\\frac{p(p-1)}{4}$. Find the value of this expression.", "answer": 4658, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(58765536377))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:56:10.782177Z", "verification": {"verified": true, "answer": 4658, "timestamp": "2026-02-08T18:56:10.783470Z"}, "problem_hash": "432e2e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 86, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 271}, "timestamp": "2026-02-13T00:42:04.665Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f868c3", "alias": "modular_sum_quadratic_residues_v1_1125832087_1803", "problem": "Let $m$ be the number of integers $j$ with $0 \\leq j \\leq 130$ for which $\\binom{130}{j}$ is odd. Let $n = 2$. Consider the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 39204$. Let $s$ be the sum $x + y$ for each such pair. Let $m'$ be the minimum value of $s$ over all such pairs. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq m'$. Define $r = \\frac{p(p-1)}{m}$. Let $c = 31249$. Find the remainder when $c \\cdot r$ is divided by 79430.", "answer": 59597, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(130)), Eq(Mod(value=Binom(n=Const(130), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(39204)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_m\")),\n \"_c\": Const(31249),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(79430)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "V8/B3"], "recipe_id": "fc13ce", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T03:57:20.034164Z", "verification": {"verified": true, "answer": 59597, "timestamp": "2026-02-08T03:57:20.043690Z"}, "problem_hash": "9cc20f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 59597, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 4156}, "timestamp": "2026-02-10T16:23:01.558Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 59597, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 2057}, "timestamp": "2026-02-10T14:52:05.507Z"}, {"id": 8, "model": "mathstral", "answer": 56, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 286}, "timestamp": "2026-02-13T03:43:23.177Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 617}, "timestamp": "2026-02-11T20:17:34.012Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "V8": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K17": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "1f2c87", "alias": "diophantine_product_count_v1_48377204_839", "problem": "Let $k$ be the number of positive integers $n$ from 1 to 4620, inclusive, such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $\\text{result}$ be the number of positive integers $x$ from 1 to 177, inclusive, such that $x$ divides $k$ and $\\frac{k}{x} \\leq 177$. Compute the Bell number $B_r$, where $r$ is the remainder when $|\\text{result}|$ is divided by 11.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4620)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"upper\": Const(177),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T15:43:04.291331Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T15:43:04.307774Z"}, "problem_hash": "790c8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 749}, "timestamp": "2026-02-12T08:57:14.214Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8d6c89", "alias": "antilemma_k3_v1_1248542787_841", "problem": "Let $n=13412$, and let\n$$x=\\sum_{d\\mid n} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Define\n$$Q=x+\\varphi(|x|+1)+\\tau(|x|+1),$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$.\n\nCompute $Q$.", "answer": 21804, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13412),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/IDENTITY_POW_ZERO", "K3"], "recipe_id": "7b83f8", "seed_template_id": "antilemma_k3_v1", "ending_id": "arith_invariants", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "K13", "K3", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:27:35.211880Z", "verification": {"verified": true, "answer": 21804, "timestamp": "2026-02-08T03:27:35.216450Z"}, "problem_hash": "096857", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 1029}, "timestamp": "2026-02-09T08:57:41.304Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 21804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 1182}, "timestamp": "2026-02-09T21:43:50.531Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 21804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 8181}, "timestamp": "2026-02-09T21:40:01.637Z"}, {"id": 8, "model": "mathstral", "answer": 46428, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 1771}, "timestamp": "2026-02-12T15:18:31.734Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 365}, "timestamp": "2026-02-11T19:26:05.331Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "IDENTITY_POW_ZERO": "ok_later", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -9.22, "mid": -6.39, "hi": -3.05}, "split": "test"} +{"id": "edada2", "alias": "antilemma_v7_kummer_677425708_4097", "problem": "Let $m = 847$. Let $n$ be the number of positive integers at most $2583$ that are divisible by $3$ and relatively prime to $10$. Let $d_{\\min}$ be the smallest divisor of $m$ that is at least $2$. Compute the largest integer $k$ such that $d_{\\min}^k$ divides $\\binom{n}{138}$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(847),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2583)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(138)), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C5/MIN_PRIME_FACTOR/V7", "V7"], "recipe_id": "14ad82", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "lemma_set": ["C3", "C5", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T06:25:53.896264Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T06:25:53.906065Z"}, "problem_hash": "fb82f4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "V7": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K18": "no", "L3b": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "d46f27", "alias": "modular_modexp_compute_v1_1439011603_1012", "problem": "Let $n = 65231$. Let $a$ be the smallest divisor of $n$ that is at least $2$. Let $e = 2304$ and $m = 73984$. Define $r$ to be the remainder when $a^e$ is divided by $m$. Let $c = 5299$. Compute the remainder when $c \\cdot r$ is divided by $81927$.", "answer": 45060, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65231),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"e\": Const(2304),\n \"m\": Const(73984),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(5299),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(81927)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:52:04.361604Z", "verification": {"verified": true, "answer": 45060, "timestamp": "2026-02-08T15:52:04.363641Z"}, "problem_hash": "1b4d8f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 414}, "timestamp": "2026-02-12T09:21:20.834Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "K17": "no", "K18": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7992a8", "alias": "nt_count_intersection_v1_1248542787_324", "problem": "Let $N$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 25000000$. Let $a = 3$, and let\n$$\nb = \\sum_{k=1}^{4} \\varphi(k) \\left\\lfloor \\frac{M}{k} \\right\\rfloor,\n$$\nwhere $M$ is the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 4$. Determine the number of positive integers $n \\leq N$ such that $n$ is divisible by $a$ and $\\gcd(n, b) = 1$.", "answer": 1334, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(4),\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(3),\n \"b\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=17), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["MOBIUS_COPRIME", "B1/K2", "B3"], "recipe_id": "d848d9", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "K2", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 1.529, "created_at": "2026-02-08T03:03:37.603766Z", "verification": {"verified": true, "answer": 1334, "timestamp": "2026-02-08T03:03:39.132332Z"}, "problem_hash": "24d11a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1334, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 3863}, "timestamp": "2026-02-09T02:54:39.080Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1334, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 2189}, "timestamp": "2026-02-09T15:14:01.124Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1334, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 215, "completion_tokens": 7984}, "timestamp": "2026-02-09T13:44:32.336Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "B3": "ok", "MOBIUS_COPRIME": "ok", "K2": "ok_later", "C2": "no", "K17": "no", "V1": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "f95bc2", "alias": "nt_sum_gcd_range_mod_v1_1520064083_7147", "problem": "Let $N$ be the number of integers $t$ such that $27 \\le t \\le 6108$ and there exist positive integers $a \\le 808$ and $b \\le 60$ for which $t = 6a + 21b$. Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 7056$. Define $S = \\sum_{n=1}^{N} \\gcd(n, k)$. Find the remainder when $S$ is divided by $10009$.", "answer": 5608, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7056),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=808)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=60)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=6108)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(10009),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.233, "created_at": "2026-02-08T08:47:47.524867Z", "verification": {"verified": true, "answer": 5608, "timestamp": "2026-02-08T08:47:47.757538Z"}, "problem_hash": "58c9c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5626, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 4426}, "timestamp": "2026-02-13T21:37:13.525Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 558}, "timestamp": "2026-02-12T02:12:49.267Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "5635a3", "alias": "nt_sum_divisors_range_v1_2051736721_160", "problem": "Let $d$ be the smallest divisor of $140472316697$ that is at least $2$. Compute the sum of the number of positive divisors of $n$ for all integers $n$ from $1$ to $d$, inclusive.", "answer": 45194, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(140472316697))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.183, "created_at": "2026-02-08T15:15:47.150678Z", "verification": {"verified": true, "answer": 45194, "timestamp": "2026-02-08T15:15:47.334077Z"}, "problem_hash": "f156aa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 270}, "timestamp": "2026-02-12T08:04:36.172Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9405b7", "alias": "diophantine_fbi2_count_v1_548369836_109", "problem": "Let $k = 1260$. Determine the number of positive integers $d$ such that $6 \\leq d \\leq 69$, $d$ divides $k$, $\\frac{k}{d} \\geq 4$, and $\\frac{k}{d} \\leq m$, where $m$ is the minimum positive integer $d' \\geq 2$ that divides $4757$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4757),\n \"k\": Const(1260),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(69)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T02:45:45.731500Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T02:45:45.738452Z"}, "problem_hash": "b6e655", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 3622}, "timestamp": "2026-02-08T19:53:38.072Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 2594}, "timestamp": "2026-02-09T19:47:17.983Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:47:34.613Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 17, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 423}, "timestamp": "2026-02-09T02:27:03.790Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 2520}, "timestamp": "2026-02-09T08:47:35.366Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 822}, "timestamp": "2026-02-11T03:17:20.056Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 43, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 402}, "timestamp": "2026-02-11T19:41:33.488Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "0ce764", "alias": "comb_sum_binomial_mod_v1_655260480_5016", "problem": "Let $S$ be the sum $\\sum_{k=91}^{d_{\\text{min}}} \\binom{280}{k}$, where $d_{\\text{min}}$ is the smallest divisor of $1975708417$ that is at least $2$. Let $R$ be the remainder when $S$ is divided by $11069$. Compute the remainder when $44121 \\cdot R$ is divided by $50221$.", "answer": 19297, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(91),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1975708417))))), expr=Binom(n=Const(280), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11069)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(50221)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T18:14:58.056074Z", "verification": {"verified": true, "answer": 19297, "timestamp": "2026-02-08T18:14:58.068401Z"}, "problem_hash": "b42eb9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 582}, "timestamp": "2026-02-12T23:55:02.383Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "K17": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "00c9a5", "alias": "nt_count_divisible_and_v1_1353956133_158", "problem": "Let $A$ be the set of all nonnegative integers $j$ such that $\\sum_{k=0}^{3} (-1)^k \\binom{3}{k} \\leq j \\leq 32800$ and $\\binom{32800}{j}$ is odd. Let $d_1$ be the number of elements in $A$. Let $B$ be the set of all integers $t$ such that $5 \\leq t \\leq 12$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 2$, and $t = 2a + 3b$. Let $d_2$ be the number of elements in $B$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 23964$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 1997, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(23964),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Summation(var=\"k\", start=Const(0), end=Const(3), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(3), k=Var(\"k\"))))), Leq(Var(\"j\"), Const(32800)), Eq(Mod(value=Binom(n=Const(32800), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=12)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "LIN_FORM", "V8"], "recipe_id": "202a61", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "LIN_FORM", "V8"], "num_lemmas": 3, "generation_time": 2.688, "created_at": "2026-02-08T11:19:54.365813Z", "verification": {"verified": true, "answer": 1997, "timestamp": "2026-02-08T11:19:57.053478Z"}, "problem_hash": "1fedc0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1198, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 2972}, "timestamp": "2026-02-14T11:46:56.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 815}, "timestamp": "2026-02-12T03:48:45.832Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "LIN_FORM": "ok", "V8": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "4b02ff", "alias": "comb_count_partitions_v1_153355830_1145", "problem": "Let $p(n)$ denote the number of integer partitions of $n$. Define $a = p(41)$. Let $d_i$ be the $i$-th decimal digit of $|a|$, with $i = 0$ corresponding to the units digit. Let $s = \\sum_{d=1}^{\\gcd(3,5)} \\mu(d)$, where $\\mu$ is the Möbius function. Compute the value of $$ \\sum_{i=0}^{\\text{number of digits of } |a| - 1} d_i \\cdot (i + s)^2 + 29241. $$", "answer": 29485, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(41),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(29241),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(EulerPhi(n=Const(2)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), EulerPhi(n=Const(2))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=Const(value=3), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ZERO_PHI_PRIME", "ONE_PHI_2"], "recipe_id": "8e23da", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_2", "ZERO_PHI_PRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:25:13.649683Z", "verification": {"verified": true, "answer": 29485, "timestamp": "2026-02-08T04:25:13.653293Z"}, "problem_hash": "0d40eb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "ZERO_PHI_PRIME": "ok", "K15": "no", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "8d2710", "alias": "nt_count_coprime_v1_2051736721_522", "problem": "Let $k$ be the smallest integer greater than or equal to $2$ that divides $42439$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq 20301$ and $\\gcd(n, k) = 1$. Compute the remainder when $25649r$ is divided by $56013$.", "answer": 32955, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56013),\n \"upper\": Const(20301),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(42439))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(25649), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.342, "created_at": "2026-02-08T15:29:22.822021Z", "verification": {"verified": true, "answer": 32955, "timestamp": "2026-02-08T15:29:27.164475Z"}, "problem_hash": "1966e7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4177, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 427}, "timestamp": "2026-02-12T08:29:50.558Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e61e10", "alias": "modular_count_residue_v1_124444284_4647", "problem": "Let $m$ be the smallest integer at least $2$ that divides $10051$. Compute the number of positive integers $n$ with $1 \\le n \\le 36864$ such that $n \\equiv 3 \\pmod{m}$.", "answer": 1941, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(36864),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(10051))))),\n \"r\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.196, "created_at": "2026-02-08T06:08:22.455115Z", "verification": {"verified": true, "answer": 1941, "timestamp": "2026-02-08T06:08:25.651017Z"}, "problem_hash": "5cff32", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1941, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 1049}, "timestamp": "2026-02-12T20:38:55.551Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 364, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 302}, "timestamp": "2026-02-11T23:41:29.881Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "e2b5e2", "alias": "nt_sum_gcd_range_mod_v1_1353956133_643", "problem": "Let $N$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 92$. Let $k = 240$ and $M = 10607$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when $\\text{sum}$ is divided by $M$. Let $c$ be the number of integers $n$ such that $1 \\leq n \\leq 763$, $7$ divides $n$, and $\\gcd(n, 10) = 1$. Compute the remainder when $c - r$ is divided by $72071$.", "answer": 63808, "graph": "graphs = [\n Graph(\n let={\n \"N\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(92)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(240),\n \"M\": Const(10607),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(763)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72071)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "B1"], "recipe_id": "b107bc", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C5"], "num_lemmas": 2, "generation_time": 0.127, "created_at": "2026-02-08T11:45:21.967853Z", "verification": {"verified": true, "answer": 63808, "timestamp": "2026-02-08T11:45:22.095288Z"}, "problem_hash": "78677a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63808, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 2668}, "timestamp": "2026-02-14T18:52:18.904Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 607}, "timestamp": "2026-02-12T04:35:29.375Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C5": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "MOD_ADD": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "dcaf1b", "alias": "nt_count_with_divisor_count_v1_784195855_3579", "problem": "Let $N = 18769$. Determine the number of positive integers $n \\leq N$ such that $n$ has exactly $15$ positive divisors. Let $d$ be the largest positive divisor of $2773$ that is at most $47$. Find the remainder when $10728931727086675850268616877803980267876643168899581139272153269444753650038480825665453097600906855957402354063$ raised to the $67$th power is divided by $d^k$, where $k$ is maximal such that $d^k$ divides this number. Subtract the count from this $k$ and find the result.", "answer": 4470, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(18769),\n \"div_count\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sub(MaxKDivides(target=Pow(Const(10728931727086675850268616877803980267876643168899581139272153269444753650038480825665453097600906855957402354063), Const(67)), base=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(47)), Divides(divisor=Var(\"d\"), dividend=Const(2773)))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/K14"], "recipe_id": "83a14c", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.781, "created_at": "2026-02-08T06:30:15.773177Z", "verification": {"verified": true, "answer": 4470, "timestamp": "2026-02-08T06:30:16.554504Z"}, "problem_hash": "f5d51c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "ok_later", "K13": "no", "K15": "no", "L3c": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "daa048", "alias": "nt_count_intersection_v1_124444284_8305", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 6250000$. Define $N$ to be the minimum value of $x + y$ over all pairs $(x, y) \\in S$. Let $a$ be the number of integers $t$ with $15 \\leq t \\leq 51$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, and $t = 9a + 6b$. Let $b = 10$. Determine the value of the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$. Let this count be $r$. Compute the remainder when $41939 \\cdot r$ is divided by $63254$.", "answer": 42418, "graph": "graphs = [\n Graph(\n let={\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=51)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"b\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(41939),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63254)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.162, "created_at": "2026-02-08T09:37:39.267634Z", "verification": {"verified": true, "answer": 42418, "timestamp": "2026-02-08T09:37:39.429221Z"}, "problem_hash": "c5c3bb", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42418, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 2678}, "timestamp": "2026-02-14T05:31:32.407Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 579}, "timestamp": "2026-02-12T03:05:21.552Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "LTE_DIFF": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "dd9142", "alias": "diophantine_fbi2_count_v1_1431428450_965", "problem": "Let $m = 2$ and $n = 5$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 8100$. Let $T$ be the set of all integers $d$ with $m \\leq d \\leq 303$ such that $d$ divides $k$, and $\\frac{k}{d} \\geq n$, and $\\frac{k}{d} \\leq 84$. Suppose that the upper bound $303$ is the largest value of $t$ expressible as $12a + 15b$ for positive integers $a \\leq 9$ and $b \\leq 13$. Compute the number of elements in $T$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(5),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(8100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=303)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=15), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(84))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.054, "created_at": "2026-02-08T13:48:45.661145Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T13:48:45.715402Z"}, "problem_hash": "59763d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 507}, "timestamp": "2026-02-12T07:22:36.217Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "aac589", "alias": "modular_sum_quadratic_residues_v1_898971024_2522", "problem": "Let $p$ be the smallest prime divisor of $2516357726711$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 21389, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2516357726711))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:47:50.680346Z", "verification": {"verified": true, "answer": 21389, "timestamp": "2026-02-08T16:47:50.682372Z"}, "problem_hash": "005cbc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 147, "completion_tokens": 189}, "timestamp": "2026-02-12T21:10:04.548Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "K5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "96af6d", "alias": "modular_min_linear_v1_1978505735_1665", "problem": "Let $a = 32621$. Let $B$ be the number of positive integers $n$ with $1 \\leq n \\leq 30119$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $m = 45010$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $ax \\equiv B \\pmod{m}$.", "answer": 37173, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(32621),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(30119)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"m\": Const(45010),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.081, "created_at": "2026-02-08T16:19:28.821077Z", "verification": {"verified": true, "answer": 37173, "timestamp": "2026-02-08T16:19:30.901734Z"}, "problem_hash": "2da9b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 677}, "timestamp": "2026-02-12T10:22:49.074Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "55af45", "alias": "sequence_lucas_compute_v1_784195855_4489", "problem": "Let $m = 21$. Let $\\mathcal{A}$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 4552$, $4$ divides $n$, and $\\gcd(n, m) = 1$. Let $d$ be a positive divisor of the number of elements in $\\mathcal{A}$, with $1 \\leq d \\leq 21$. Let $n$ be the largest such $d$. Define $\\text{result} = L_n$, where $L_n$ denotes the $n$th Lucas number, defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$. Compute $\\text{result}$.", "answer": 24476, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21),\n \"_n\": Const(21),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4552)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_DIVISOR"], "recipe_id": "454bdd", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:08:29.983896Z", "verification": {"verified": true, "answer": 24476, "timestamp": "2026-02-08T07:08:29.985456Z"}, "problem_hash": "211ea3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24476, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 1231}, "timestamp": "2026-02-13T08:13:34.581Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 642}, "timestamp": "2026-02-12T00:51:33.135Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "MAX_DIVISOR": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "K5": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "fa3f18", "alias": "antilemma_cartesian_v1_153355830_1368", "problem": "Let $N=65704$. Let $X$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 25$ and $1\\le j\\le 32$.\n\nLet $S$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 1006$, $1\\le b\\le 285$, $16\\le t\\le 8886$, and\n$$t=6a+10b.$$\nLet $C$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=S.$$\nLet $Q$ be the remainder when $CX$ is divided by $N$.\nFind the value of $Q$. ", "answer": 31448, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65704),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1006)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=285)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=8886)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))))))))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1", "COMB1/COMB1", "COUNT_CARTESIAN"], "recipe_id": "1d3ac4", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:21:18.038357Z", "verification": {"verified": true, "answer": 31448, "timestamp": "2026-02-08T06:21:18.041665Z"}, "problem_hash": "648841", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64496, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 4617}, "timestamp": "2026-02-12T23:06:01.171Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 503}, "timestamp": "2026-02-11T23:57:04.228Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "fb8559", "alias": "algebra_poly_eval_v1_48377204_2951", "problem": "Let $n = 143$. Let $a$ be the smallest divisor of $n$ that is at least $2$. Compute $2a^2 + 8a + 7$.", "answer": 337, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(143),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Sum(Mul(Const(2), Pow(Ref(\"a\"), Const(2))), Mul(Const(8), Ref(\"a\")), Const(7)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:05:06.803597Z", "verification": {"verified": true, "answer": 337, "timestamp": "2026-02-08T17:05:06.805282Z"}, "problem_hash": "5f87c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 337, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 218}, "timestamp": "2026-02-12T21:47:47.713Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "cef448", "alias": "sequence_lucas_compute_v1_124444284_9926", "problem": "Let $n$ be the smallest prime divisor of $19343$. Define $L_n$ to be the $n$-th Lucas number, where the Lucas sequence is defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$.\n\nCompute the remainder when $76496 \\cdot L_n$ is divided by $54965$.", "answer": 8484, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19343),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(76496), Ref(\"result\")), modulus=Const(54965)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:43:40.392289Z", "verification": {"verified": true, "answer": 8484, "timestamp": "2026-02-08T12:43:40.393869Z"}, "problem_hash": "e6cde7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 556}, "timestamp": "2026-02-12T05:34:07.256Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3b": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1fbf42", "alias": "antilemma_cartesian_v1_865884756_1197", "problem": "Let $d=2$ and $m=101$.\n\nLet $n$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 97$, $1\\le j\\le 97$, and\n$$i+j=98.$$\n\nLet $x$ be the number of ordered pairs $(a,b)$ of integers such that $1\\le a\\le 47$ and $1\\le b\\le 49$.\n\nLet $c$ be the number of ordered pairs $(u,v)$ of positive odd integers such that\n$$u+v = T,$$\nwhere $T$ is the number of ordered pairs $(s,t)$ of positive odd integers such that\n$$s+t = 116.$$\n\nDefine $Q$ by\n$$Q \\equiv 353702\\cdot (|x| \\bmod n) + 329703\\cdot \\bigl((|x|^d+1) \\bmod m\\bigr) + 215534\\cdot \\bigl((|x|+c) \\bmod 103\\bigr) \\pmod{1009091},$$\nwhere $r \\bmod k$ denotes the remainder when $r$ is divided by $k$, taken to be an integer between $0$ and $k-1$ inclusive. Then $Q$ is further reduced modulo $76027$; that is, we replace $Q$ by the unique integer between $0$ and $76026$ inclusive that is congruent to $Q$ modulo $76027$.\n\nFind the value of $Q$. ", "answer": 53113, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(101),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(98)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(97))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(47)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x11\"), Var(\"x21\")]), condition=And(IsPositive(arg=Var(name='x11')), IsPositive(arg=Var(name='x21')), IsOdd(arg=Var(name='x11')), IsOdd(arg=Var(name='x21')), Eq(Sum(Var(\"x11\"), Var(\"x21\")), Const(116))))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_d\")), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(76027)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1", "COMB1/COMB1", "COUNT_CARTESIAN"], "recipe_id": "da4e08", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T15:50:02.463606Z", "verification": {"verified": true, "answer": 53113, "timestamp": "2026-02-08T15:50:02.470650Z"}, "problem_hash": "f05e1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 471, "completion_tokens": 715}, "timestamp": "2026-02-12T09:14:28.322Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "607dc9", "alias": "comb_binomial_compute_v1_1915831931_1852", "problem": "Let $m = 84$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1382976$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all nonnegative integers $j$ such that $0 \\le j \\le s$ and the binomial coefficient $\\binom{N}{j}$ is odd, where $N$ is the sum of all positive integers $n_1$ such that $1 \\le n_1 \\le 588$ and $n_1$ is divisible by $m$. Let $n$ be the number of elements in $T$. Compute $\\binom{n}{8}$.", "answer": 12870, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(84),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1382976)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(588)), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"_m\")), Const(0))))), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/V8", "B3/V8"], "recipe_id": "af8dbe", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "V8"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T16:29:14.985184Z", "verification": {"verified": true, "answer": 12870, "timestamp": "2026-02-08T16:29:14.988869Z"}, "problem_hash": "cf6988", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 614}, "timestamp": "2026-02-12T10:47:17.888Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "SUM_DIVISIBLE": "ok", "V8": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "785511", "alias": "diophantine_fbi2_count_v1_2051736721_6064", "problem": "Let $k = 720$. Let $S$ be the set of positive integers $n$ such that $1 \\leq n \\leq 257$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $T$ be the set of divisors $d$ of $k$ such that $6 \\leq d \\leq |S|$ and $6 \\leq \\frac{k}{d} \\leq 85$. Compute the number of elements in $T$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(257)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(85))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T18:55:24.665573Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T18:55:24.679363Z"}, "problem_hash": "c7f46e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 579}, "timestamp": "2026-02-13T00:42:55.654Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "no", "K18": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3a1f2b", "alias": "diophantine_product_count_v1_1520064083_8986", "problem": "Let $n = 44100$. Define $k$ to be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = n$.\n\nLet $S$ be the set of all integers $t$ with $9 \\leq t \\leq 423$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 75$, $1 \\leq b \\leq 12$, and $t = 5a + 4b$. Let $\\text{upper}$ be the number of elements in $S$.\n\nNow consider the set of all positive integers $x$ such that $1 \\leq x \\leq \\text{upper}$, $x$ divides $k$, and $\\frac{k}{x} \\leq \\text{upper}$. Let $r$ be the number of such integers $x$.\n\nCompute $$\\sum_{n=1}^{r} \\phi(n),$$ where $\\phi(n)$ denotes Euler's totient function.\n", "answer": 150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44100),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=75)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=12)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=423)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.04, "created_at": "2026-02-08T10:28:06.805489Z", "verification": {"verified": true, "answer": 150, "timestamp": "2026-02-08T10:28:06.845732Z"}, "problem_hash": "ff7ea5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 150, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 259, "completion_tokens": 5062}, "timestamp": "2026-02-14T07:34:46.719Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 331, "completion_tokens": 700}, "timestamp": "2026-02-12T03:19:01.724Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "94181b", "alias": "diophantine_product_count_v1_1470522791_1698", "problem": "Let $k = 1260$. Determine the number of positive integers $x$ such that $1 \\le x \\le 340$, $x$ divides $k$, and $\\frac{k}{x} \\le 340$. Compute this number.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(340),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.242, "created_at": "2026-02-08T13:52:27.698214Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T13:52:27.940001Z"}, "problem_hash": "b66a9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 425}, "timestamp": "2026-02-12T07:27:41.276Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_SUM": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "78181c", "alias": "nt_min_phi_inverse_v1_151522320_1742", "problem": "Let $n$ be a positive integer. Define $k = \\phi(1)$, where $\\phi$ is Euler's totient function. Let $S$ be the set of all integers $x$ such that \n$$\nx^2 - 10x - 10584 = \\sum_{d \\mid 46} \\mu(d),\n$$\nwhere $\\mu$ denotes the M\\\"obius function. Let $u$ be the sum of all elements in $S$. Determine the smallest positive integer $n$ such that $1 \\leq n \\leq u$ and $\\phi(n) = k$. Compute this value of $n$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-10), Var(\"x\")), Const(-10584)), SumOverDivisors(n=Const(value=46), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"k\": EulerPhi(n=Const(1)),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MOBIUS_SUM", "VIETA_SUM", "ONE_PHI_1"], "recipe_id": "e10e9c", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_SUM", "ONE_PHI_1", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.072, "created_at": "2026-02-08T04:20:38.327995Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T04:20:38.400419Z"}, "problem_hash": "b0f623", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "VIETA_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "MOD_MUL": "no", "V1": "no", "V5": "no"}, "split": "test"} +{"id": "afc5ec", "alias": "nt_num_divisors_compute_v1_1125832087_1120", "problem": "Let $n_2 = 1$ and define $f = \\omega(n_2)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $n_1$ be the number of positive integers $n \\leq 1083$ such that the $n$-th Fibonacci number is even. Define $h = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $n = (11 + f) \\cdot h$. Compute the number of positive divisors of $n$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"n2\": Const(1),\n \"f\": SmallOmega(n=Ref(name='n2')),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1083)), Divides(divisor=Const(2), dividend=Fibonacci(arg=Var(name='n')))))),\n \"h\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Sum(Ref(\"_n\"), Ref(\"f\")), Ref(\"h\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/LIOUVILLE_ONE", "OMEGA_ZERO"], "recipe_id": "291f90", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:32:58.616316Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:32:58.618419Z"}, "problem_hash": "1291fc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "OMEGA_ZERO": "ok", "LIOUVILLE_ONE": "ok_later", "K16": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no", "V3": "no"}, "split": "test"} +{"id": "ae44ca", "alias": "nt_count_divisors_in_range_v1_784195855_951", "problem": "Let $ n = 166320 + \\sum_{d \\mid \\gcd(3 \\cdot 14, 3 \\cdot 14)} \\mu(d) $, where $ \\mu $ denotes the M\\\"obius function. Let $ a = 14 \\cdot \\mu(23)^2 $. Let $ b $ be the minimum value of $ x + y $ over all ordered pairs $ (x, y) $ of positive integers such that $ xy = 356409 $. Determine the value of the number of positive divisors $ d $ of $ n $ such that $ a \\leq d \\leq b $.", "answer": 95, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"n2\": Const(23),\n \"w\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"g\": Const(3),\n \"m\": Const(14),\n \"n1\": Const(14),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(166320), Ref(\"v\")),\n \"a\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(356409)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_COPRIME", "B3"], "recipe_id": "1d7f21", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "COUNT_SUM_EQUALS", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.152, "created_at": "2026-02-08T04:43:19.603719Z", "verification": {"verified": true, "answer": 95, "timestamp": "2026-02-08T04:43:19.755620Z"}, "problem_hash": "7e6b72", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SQUAREFREE": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "a9c6cf", "alias": "nt_sum_phi_v1_865884756_3017", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 50$. Define $T$ to be the set of all values $xy$ where $(x, y) \\in S$. Let $M$ be the maximum value in $T$. Now, let $\\phi(n)$ denote Euler's totient function. Define $R$ to be the sum of $\\phi(n)$ over all positive integers $n$ from $1$ to $M$, inclusive. Let $C$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18050$. Compute $R^2 + 2R + C$, and find the remainder when this value is divided by $80402$. Determine the value of this remainder.", "answer": 13883, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(80402),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(50)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(18050))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "B1"], "recipe_id": "615804", "seed_template_id": "nt_sum_phi_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COMB1"], "num_lemmas": 2, "generation_time": 0.057, "created_at": "2026-02-08T17:06:05.650548Z", "verification": {"verified": true, "answer": 13883, "timestamp": "2026-02-08T17:06:05.707643Z"}, "problem_hash": "325b4d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 497}, "timestamp": "2026-02-12T21:52:58.825Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COMB1": "ok", "DS2": "no", "K18": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b5d222", "alias": "comb_bell_compute_v1_1978505735_5666", "problem": "Let $n = 8$. The Bell number $B_n$ counts the number of partitions of a set of $n$ elements. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 64$. Let $Q$ be the remainder when $c - B_8$ is divided by 66092. Compute $Q$.", "answer": 62976, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64),\n \"n\": Const(8),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66092)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_bell_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T19:09:08.284749Z", "verification": {"verified": true, "answer": 62976, "timestamp": "2026-02-08T19:09:08.286886Z"}, "problem_hash": "8f1ece", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 65686, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 276}, "timestamp": "2026-02-13T00:50:36.454Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "97dc89", "alias": "nt_count_intersection_v1_1918700295_3980", "problem": "Let $N$ be the number of positive integers $n \\leq 20001$ such that the sum of the digits of $n$ is even. Let $S$ be the set of positive divisors $d$ of $543165$ that are at least $1$ and at most $735$. Define $a$ to be the smallest integer $d \\geq 2$ that divides the maximum element of $S$. Let $b = 16$. Compute the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$.", "answer": 1667, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20001)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(735)), Divides(divisor=Var(\"d\"), dividend=Const(543165))))))))),\n \"b\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MIN_PRIME_FACTOR", "L3B"], "recipe_id": "0680cd", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.916, "created_at": "2026-02-08T09:04:20.797607Z", "verification": {"verified": true, "answer": 1667, "timestamp": "2026-02-08T09:04:21.713214Z"}, "problem_hash": "577be9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1667, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 2219}, "timestamp": "2026-02-14T00:02:25.814Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 559}, "timestamp": "2026-02-12T02:29:49.381Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a92375", "alias": "comb_count_surjections_v1_1125832087_2356", "problem": "Let $k = 2$ and $n = 7$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Let $c$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 131$, $1 \\leq i \\leq 129$, and $1 \\leq j \\leq 129$. Let $d$ be the number of digits in $|r|$. Compute $$\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |r| \\right) \\cdot (i+1)^2 + c.$$", "answer": 151, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(7),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(131)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(129)), right=IntegerRange(start=Const(1), end=Const(129))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS"], "recipe_id": "194ba3", "seed_template_id": "comb_count_surjections_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T04:34:29.929666Z", "verification": {"verified": true, "answer": 151, "timestamp": "2026-02-08T04:34:29.932998Z"}, "problem_hash": "a78659", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 191, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 1866}, "timestamp": "2026-02-11T09:28:46.305Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 191, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 1474}, "timestamp": "2026-02-10T17:06:14.582Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 151, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 980}, "timestamp": "2026-02-12T01:21:59.668Z"}, {"id": 8, "model": "mathstral", "answer": 149, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 631}, "timestamp": "2026-02-13T18:57:13.287Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 480}, "timestamp": "2026-02-11T21:34:37.135Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "test"} +{"id": "2994a5", "alias": "nt_count_divisors_in_range_v1_397696148_728", "problem": "Let $a$ be the number of integers $t$ with $24 \\leq t \\leq 240$ for which there exist positive integers $a \\leq 4$ and $b \\leq 20$ such that $t = 15a + 9b$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 6365529$. Compute the number of positive divisors $d$ of 498960 such that $a \\leq d \\leq b$.", "answer": 119, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(498960),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=20)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=240)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6365529)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.065, "created_at": "2026-02-08T11:42:53.809551Z", "verification": {"verified": true, "answer": 119, "timestamp": "2026-02-08T11:42:53.874642Z"}, "problem_hash": "84bdb3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 118, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 6268}, "timestamp": "2026-02-14T17:29:19.981Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 416}, "timestamp": "2026-02-12T04:26:07.110Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "6193e4", "alias": "antilemma_count_primes_v1_1520064083_3622", "problem": "Let $n$ be an integer. Define $x$ to be the number of prime numbers $n$ such that $2 \\leq n \\leq 3052$. Let $p_{\\max}$ be the largest prime number $n$ such that $2 \\leq n \\leq 293$. Compute the remainder when $$ x + 3001 \\cdot (x \\bmod 337) $$ is divided by $83454$. Determine the value of this expression.", "answer": 49882, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3052)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"_c\": Const(3001),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(293)), IsPrime(Var(\"n\")))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(337)))), modulus=Const(83454)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "9b0698", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:46:51.225460Z", "verification": {"verified": true, "answer": 49882, "timestamp": "2026-02-08T05:46:51.227745Z"}, "problem_hash": "b5aff4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "K14": "no", "K15": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "e2259b", "alias": "comb_catalan_compute_v1_865884756_963", "problem": "Let $n = 11$, and let $C_n$ denote the $n$th Catalan number. Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 36$. Let $k$ be the number of elements in $T$. Compute the remainder when $$C_n + \\phi\\left(|C_n| + 1\\right) + \\tau\\left(|C_n| + \\binom{k}{18}\\right)$$ is divided by $71481$, where $\\phi$ is Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 46093, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71481),\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(36))))), k=Const(18))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_N"], "recipe_id": "bf9b96", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "arith_invariants", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "ONE_BINOM_N"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T15:42:04.193198Z", "verification": {"verified": true, "answer": 46093, "timestamp": "2026-02-08T15:42:04.197322Z"}, "problem_hash": "cb1eaa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 697}, "timestamp": "2026-02-12T09:01:27.640Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "ONE_BINOM_N": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ba2e7f", "alias": "diophantine_fbi2_min_v1_124444284_4646", "problem": "Let $k = 21$. Define $u$ as the number of positive integers $n$ with $1 \\le n \\le 351$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Determine the value of the smallest integer $d$ such that $6 \\le d \\le u$, $d$ divides $k$, and $\\frac{k}{d} \\ge 3$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(21),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(351)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "L3C"], "num_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T06:08:22.431371Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T06:08:22.448345Z"}, "problem_hash": "7b0322", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 704}, "timestamp": "2026-02-11T23:41:27.640Z"}], "solution_status": 2, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "43a8ee", "alias": "nt_count_gcd_equals_v1_1440796553_327", "problem": "Let $d_0 = \\sum_{d\\mid \\gcd(4,9)} \\mu(d)$, where $\\mu$ is the Möbius function. Let $D$ be the set of all positive integers $d \\ge 2$ that divide $2674471$. Define $d_{\\min}$ to be the minimum element of $D$. Let $d$ be the number of positive integers $k$ such that $d_0 \\le k \\le 14060$ and $d_{\\min} \\mid k$. Compute the number of positive integers $n$ such that $1 \\le n \\le 10201$ and $\\gcd(n, 380) = d$.", "answer": 26, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(10201),\n \"k\": Const(380),\n \"d\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"k\"), Const(14060)), Divides(divisor=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2674471))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C2", "MOBIUS_COPRIME"], "recipe_id": "3b6b19", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 1.08, "created_at": "2026-02-08T11:44:25.890303Z", "verification": {"verified": true, "answer": 26, "timestamp": "2026-02-08T11:44:26.970748Z"}, "problem_hash": "2062e3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "C2": "ok_later", "K16": "no", "K5": "no", "LTE_SUM": "no", "V3": "no", "V7": "no"}, "split": "test"} +{"id": "8fd0ac", "alias": "nt_count_digit_sum_v1_1520064083_8883", "problem": "Let $U$ be the number of positive integers $n$ such that $n \\leq 109999$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the number of positive integers $n$ such that $n \\leq U$ and the sum of the digits of $n$ is $14$.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(109999)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"target_sum\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.769, "created_at": "2026-02-08T10:25:40.873274Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T10:25:41.642184Z"}, "problem_hash": "61d323", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 540, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 2010}, "timestamp": "2026-02-14T07:23:50.866Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 530}, "timestamp": "2026-02-12T03:17:51.615Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "C2": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "427dac", "alias": "modular_sum_quadratic_residues_v1_1915831931_335", "problem": "Let $p = 349$ and define $\\text{result} = \\frac{p(p-1)}{4}$. Let $e_k = \\phi(k) \\cdot \\left\\lfloor \\frac{d_{\\min}}{k} \\right\\rfloor$, where $d_{\\min}$ is the smallest integer $d \\geq 2$ that divides $245$, and $\\phi$ is Euler's totient function. Compute $E = \\sum_{k=1}^{5} e_k$. Let $r = 2^{\\text{result} \\bmod E} \\bmod 53636$. Find the value of $\\text{result} + r$.", "answer": 30371, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(53636),\n \"p\": Const(349),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(245))))), Var(\"k\"))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K2"], "recipe_id": "e8d548", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:22:02.685436Z", "verification": {"verified": true, "answer": 30371, "timestamp": "2026-02-08T15:22:02.690034Z"}, "problem_hash": "35341f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30293, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 605}, "timestamp": "2026-02-12T08:19:21.993Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "L3b": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8c7253", "alias": "nt_num_divisors_compute_v1_1742523217_3503", "problem": "Let $ n = 5625 $. Compute the number of positive divisors of $ n $.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5625),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3B/MOBIUS_SQUAREFREE"], "recipe_id": "b18377", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.028, "created_at": "2026-02-08T05:54:11.106402Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T05:54:11.134179Z"}, "problem_hash": "6e4d6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 76, "completion_tokens": 438}, "timestamp": "2026-02-11T23:21:48.963Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 199}, "timestamp": "2026-02-11T23:19:01.507Z"}], "solution_status": 2, "lemma_applicability": {"L3B": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "2e1399", "alias": "modular_sum_quadratic_residues_v1_458359167_3519", "problem": "Let $p$ be the smallest divisor of $44734631$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 31064, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(44734631))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T08:23:48.772084Z", "verification": {"verified": true, "answer": 31064, "timestamp": "2026-02-08T08:23:48.775908Z"}, "problem_hash": "f56d40", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31064, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 78, "completion_tokens": 3056}, "timestamp": "2026-02-13T18:40:00.430Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 159}, "timestamp": "2026-02-12T01:54:28.725Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c54d78", "alias": "nt_count_divisible_v1_655260480_4855", "problem": "Let $A$ be the set of all positive integers $k \\leq 3825$ that are divisible by 17. Let $m = |A|$, the number of elements in $A$. Now consider all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $S$ be the set of all positive integers $n \\leq 70225$ that are divisible by $s$. Let $r = |S|$, the number of elements in $S$. Compute the remainder when $44121 \\cdot r$ is divided by 94757.", "answer": 52767, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(70225),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(3825)), Divides(divisor=Const(17), dividend=Var(\"k\"))), domain='positive_integers'))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(94757)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "7c8509", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 5.899, "created_at": "2026-02-08T18:09:14.224065Z", "verification": {"verified": true, "answer": 52767, "timestamp": "2026-02-08T18:09:20.123548Z"}, "problem_hash": "f546f1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 390}, "timestamp": "2026-02-12T23:52:03.390Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "DS2": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3ea7d6", "alias": "algebra_poly_eval_v1_124444284_3020", "problem": "Let $z = 21$. Compute the value of\n$$\n\\frac{50 \\cdot z^d - 235 z^2 + 156 z + 57}{86},\n$$\nwhere $d$ is the smallest divisor of $3675$ that is at least $2$.", "answer": 4218, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50),\n \"z\": Const(21),\n \"result\": Div(Sum(Mul(Ref(\"_n\"), Pow(Ref(\"z\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3675))))))), Mul(Const(-235), Pow(Ref(\"z\"), Const(2))), Mul(Const(156), Ref(\"z\")), Const(57)), Const(86)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:08:42.316154Z", "verification": {"verified": true, "answer": 4218, "timestamp": "2026-02-08T05:08:42.318040Z"}, "problem_hash": "5115c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4218, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 1031}, "timestamp": "2026-02-11T23:05:57.447Z"}, {"id": 8, "model": "mathstral", "answer": 4203, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 765}, "timestamp": "2026-02-14T08:42:58.962Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 282}, "timestamp": "2026-02-11T22:20:58.911Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "K18": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.83, "hi": 1.59}, "split": "test"} +{"id": "bd0f55", "alias": "modular_min_linear_v1_655260480_5874", "problem": "Let $a$ be the number of integers $t$ such that $24 \\leq t \\leq 504$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 26$, $1 \\leq b \\leq 14$, and $t = 14a + 10b$.\n\nLet $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 10989225$.\n\nLet $r$ be the smallest integer $x_1$ such that $1 \\leq x_1 \\leq m$ and $a x_1 \\equiv 289 \\pmod{m}$.\n\nCompute $15376 - r$.", "answer": 10089, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15376),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=26)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=504)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"b\": Const(289),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(10989225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x1\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 4.188, "created_at": "2026-02-08T18:41:44.956321Z", "verification": {"verified": true, "answer": 10089, "timestamp": "2026-02-08T18:41:49.144025Z"}, "problem_hash": "079ad1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 381}, "timestamp": "2026-02-13T00:26:40.819Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "929172", "alias": "nt_count_divisors_in_range_v1_397696148_401", "problem": "Let $b$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 10891$. Let $n = 110880$ and $a = 16$. Let $S$ be the set of all positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $N = |S|$. Let $D$ be the number of digits in $N$, and for $0 \\leq i < D$, let $d_i$ be the $i$-th digit of $N$ (with $d_0$ the units digit). Compute\n$$\n\\sum_{i=0}^{D-1} d_i (i+1)^2 + 18769.\n$$", "answer": 18805, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(110880),\n \"a\": Const(16),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(10891)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": Const(18769),\n \"Q\": Sum(Summation(var=\"i\", start=Summation(var=\"k\", start=Const(0), end=Const(3), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(3), k=Var(\"k\")))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "COUNT_PRIMES"], "recipe_id": "b09029", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.034, "created_at": "2026-02-08T11:28:05.809282Z", "verification": {"verified": true, "answer": 18805, "timestamp": "2026-02-08T11:28:05.843017Z"}, "problem_hash": "bd3352", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18806, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 7789}, "timestamp": "2026-02-14T14:24:01.874Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 371}, "timestamp": "2026-02-12T04:05:38.243Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_PRIMES": "ok", "COUNT_SUM_EQUALS": "no", "DS2": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "62a554", "alias": "modular_count_residue_v1_971394319_1003", "problem": "Let $N$ be the number of positive integers $n \\leq 76729$ such that $n \\equiv 12 \\pmod{27}$. Let $d$ be the smallest prime divisor of 1739999. Find the remainder when $d - N$ is divided by 54018.", "answer": 51207, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(76729),\n \"m\": Const(27),\n \"r\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1739999))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(54018)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.64, "created_at": "2026-02-08T13:26:30.294966Z", "verification": {"verified": true, "answer": 51207, "timestamp": "2026-02-08T13:26:32.935113Z"}, "problem_hash": "68cdc2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 371}, "timestamp": "2026-02-12T06:51:45.921Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K16": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3a476c", "alias": "nt_euler_phi_compute_v1_1742523217_140", "problem": "Let $p = 89$. Define $v$ to be the number of prime factors of $p$ counted with multiplicity. Let $a = 10v$. Let $b$ be the smallest divisor $d$ of $2695$ such that $d \\geq 2$. Define $n_1 = (a \\cdot b)^2$. Let $u$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$, and define $k$ to be the number of such integers $p$. Compute the remainder when $\\tau(n_1)$ is divided by $k$, and call this value $u$. Let $n = 41209 \\cdot u$. Determine the value of $\\phi(n)$.", "answer": 34104, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"p\": Const(89),\n \"v\": BigOmega(n=Ref(name='p')),\n \"a\": Mul(Const(10), Ref(\"v\")),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2695))))),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Ref(\"_m\")),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Mul(Const(41209), Ref(\"u\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "COPRIME_PAIRS/DIVISOR_PARITY", "BIG_OMEGA_ONE"], "recipe_id": "1e1eb3", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COPRIME_PAIRS", "DIVISOR_PARITY", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T02:53:24.393333Z", "verification": {"verified": true, "answer": 34104, "timestamp": "2026-02-08T02:53:24.397427Z"}, "problem_hash": "433cd3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34104, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 2177}, "timestamp": "2026-02-09T14:03:56.386Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34104, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 2084}, "timestamp": "2026-02-08T23:33:30.420Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "80dba8", "alias": "nt_count_divisors_in_range_v1_655260480_3610", "problem": "Let $n = 166320$. Let $b$ be the number of positive integers $n_1 \\leq 34679$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $D$ be the set of all positive divisors $d$ of $n$ such that $1 \\leq d \\leq b$. Let $r$ be the number of elements in $D$. Compute the remainder when $44121 \\cdot r$ is divided by $89975$.", "answer": 12786, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(89975),\n \"n\": Const(166320),\n \"a\": Const(1),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(34679)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.072, "created_at": "2026-02-08T17:27:59.471384Z", "verification": {"verified": true, "answer": 12786, "timestamp": "2026-02-08T17:27:59.543195Z"}, "problem_hash": "cac3bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 396}, "timestamp": "2026-02-12T22:37:00.869Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "L3b": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "99c0d3", "alias": "nt_sum_totient_over_divisors_v1_397696148_950", "problem": "Let $n$ be the number of positive integers $n \\leq 39704$ such that $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.$$\n\nCompute the value of $$\\sum_{d \\mid n} \\phi(d),$$ where $\\phi$ denotes Euler's totient function.", "answer": 5672, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(39704),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T11:57:51.169320Z", "verification": {"verified": true, "answer": 5672, "timestamp": "2026-02-08T11:57:51.174019Z"}, "problem_hash": "2e091b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5672, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 787}, "timestamp": "2026-02-12T04:50:06.187Z"}], "solution_status": 2, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K18": "no", "LTE_DIFF": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "7b2cca", "alias": "comb_count_permutations_fixed_v1_124444284_7916", "problem": "Let $n = 9$ and let $k$ be the smallest divisor of $175$ that is at least $2$. Compute the value of $\\binom{n}{k} \\cdot ! (n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Then, find the remainder when $67498$ times this value is divided by $70707$.", "answer": 37758, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(175),\n \"n\": Const(9),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(67498), Ref(\"result\")), modulus=Const(70707)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:26:57.019274Z", "verification": {"verified": true, "answer": 37758, "timestamp": "2026-02-08T09:26:57.020813Z"}, "problem_hash": "80ec4b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37758, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 1165}, "timestamp": "2026-02-14T04:14:39.163Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49900, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 390}, "timestamp": "2026-02-12T02:56:43.464Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K17": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "e2e4c6", "alias": "nt_sum_over_divisible_v1_238844314_661", "problem": "Let $S$ be the set of all positive integers $n \\leq 7056$ that are divisible by $42$. Let $P_{\\max}$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 180$. Compute the remainder when $P_{\\max} - \\sum S$ is divided by $59923$.", "answer": 11098, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(7056),\n \"divisor\": Const(42),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(180)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(59923)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.227, "created_at": "2026-02-08T13:29:32.399681Z", "verification": {"verified": true, "answer": 11098, "timestamp": "2026-02-08T13:29:32.626821Z"}, "problem_hash": "17b338", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 591}, "timestamp": "2026-02-12T07:02:29.180Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5c2c1b", "alias": "antilemma_product_of_sums_v1_1742523217_2627", "problem": "Let $n = 15$. Define $A$ as the number of integers $j$ with $0 \\leq j \\leq 15$ such that $\\binom{15}{j}$ is odd. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 9$. Define $B$ as the sum of $x + y$ over all elements of $S$. Compute $A$ multiplied by the sum of all integers $k$ from $\\phi(2)$ to $\\min(B)$, inclusive. Find the value of this product.", "answer": 2520, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))), Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\"))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "611ebe", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T04:53:00.989790Z", "verification": {"verified": true, "answer": 2520, "timestamp": "2026-02-08T04:53:00.993058Z"}, "problem_hash": "f38170", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "K5": "no", "V3": "no", "V8": "no"}, "split": "test"} +{"id": "4d0cf0", "alias": "comb_sum_binomial_row_v1_1520064083_988", "problem": "Let $$m = \\sum_{k=1}^{6} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor,$$ where $\\phi$ denotes Euler's totient function. Let $S$ be the set of positive integers $n$ such that $1 \\leq n \\leq 25$ and $\\gcd(n, m) = 1$. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq |S|$. Compute $2^p$.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(25),\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(6), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/C4/MAX_PRIME_BELOW"], "recipe_id": "e8d2c3", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:42:01.268914Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T03:42:01.277425Z"}, "problem_hash": "01b234", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8192, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 1160}, "timestamp": "2026-02-10T15:35:41.440Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8192, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 947}, "timestamp": "2026-02-10T14:17:51.571Z"}, {"id": 8, "model": "mathstral", "answer": 8796093022208, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 604}, "timestamp": "2026-02-12T22:49:56.941Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 459}, "timestamp": "2026-02-11T20:08:45.882Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "C4": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K18": "no", "L3c": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "46e476", "alias": "comb_count_permutations_fixed_v1_124444284_3087", "problem": "Let $n = 8$. Let $k$ be the smallest integer greater than or equal to $2$ that divides $245$. Compute the remainder when $21009 \\cdot \\binom{n}{k} \\cdot !(n - k)$ is divided by $97592$, where $!m$ denotes the number of derangements of $m$ elements (that is, permutations of $m$ elements with no fixed points).", "answer": 10800, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(8),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(245))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(21009), Ref(\"result\")), modulus=Const(97592)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:14:05.890935Z", "verification": {"verified": true, "answer": 10800, "timestamp": "2026-02-08T05:14:05.892308Z"}, "problem_hash": "340bd1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 10800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1047}, "timestamp": "2026-02-11T23:07:38.082Z"}, {"id": 8, "model": "mathstral", "answer": 160, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 1050}, "timestamp": "2026-02-14T09:52:05.103Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 40928, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 357}, "timestamp": "2026-02-11T22:21:35.968Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.83, "hi": 1.59}, "split": "test"} +{"id": "cc5676", "alias": "antilemma_sum_primes_v1_458359167_1090", "problem": "Let $m = 2$ and $n = 11689$. Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $\\gcd(p, q) = 1$, and $pq = 108$. Let $A$ be the number of elements in $S$. Let $T$ be the set of all positive integers $k$ such that $2^k \\leq 21998027053817$. Let $B$ be the maximum element of $T$. Let $P$ be the set of all prime numbers $n$ such that $A \\leq n \\leq B$. Let $x$ be the number of elements in $P$. Compute the remainder when $n \\cdot x$ is divided by $54408$.", "answer": 20129, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(11689),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_m\"), Var(\"k\")), Const(21998027053817))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"x\")), modulus=Const(54408)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_PRIMES", "MAX_VAL/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "eebbd3", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_VAL", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:16:44.545392Z", "verification": {"verified": true, "answer": 20129, "timestamp": "2026-02-08T04:16:44.547277Z"}, "problem_hash": "b97770", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_VAL": "ok", "SUM_PRIMES": "ok", "K16": "same_pattern_wrong", "C2": "no", "V1": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "b32475", "alias": "antilemma_coprime_grid_v1_1918700295_220", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 104$ such that $\\gcd(i,j) = 1$. Let $c$ be the number of nonnegative integers $j$ with $0 \\leq j \\leq 69065$ such that $\\binom{69065}{j} \\equiv 1 \\pmod{2}$. Compute the value of $7^{|x|} + c$ modulo $99991$. Give the remainder as the final answer.", "answer": 99933, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(104))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(69065)), Eq(Mod(value=Binom(n=Const(69065), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "COUNT_COPRIME_GRID"], "recipe_id": "231fc1", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V8"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:06:16.844060Z", "verification": {"verified": true, "answer": 99933, "timestamp": "2026-02-08T03:06:16.846929Z"}, "problem_hash": "f24cba", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V8": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "a0ce42", "alias": "comb_sum_binomial_mod_v1_1915831931_3904", "problem": "Let $n = 70$. Let $p$ be the smallest divisor of $157757$ that is at least $2$. Compute the sum\n$$\n\\sum_{k=p}^{70} \\binom{80}{k},\n$$\nand let $s$ be the remainder when this sum is divided by $10939$. Now compute the remainder when $75981 \\cdot s$ is divided by $96215$. Report the result as a single integer.", "answer": 12539, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70),\n \"sum\": Summation(var=\"k\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(157757))))), end=Ref(\"_n\"), expr=Binom(n=Const(80), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10939)),\n \"_c\": Const(75981),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(96215)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T18:01:03.731162Z", "verification": {"verified": true, "answer": 12539, "timestamp": "2026-02-08T18:01:03.741575Z"}, "problem_hash": "a280e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 532}, "timestamp": "2026-02-12T23:33:57.489Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ca244b", "alias": "nt_count_intersection_v1_1978505735_729", "problem": "Let $N = 100000$, $a = 11$, and $b = 15$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Let $r$ be the number of elements in this set. Compute the remainder when $729 - r$ is divided by $77128$.", "answer": 73009, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(100000),\n \"a\": Const(11),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Sub(Const(729), Ref(\"result\")), modulus=Const(77128)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_intersection_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 3.941, "created_at": "2026-02-08T15:34:36.494221Z", "verification": {"verified": true, "answer": 73009, "timestamp": "2026-02-08T15:34:40.434942Z"}, "problem_hash": "336c04", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 637}, "timestamp": "2026-02-12T08:39:22.463Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "K14": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "287dcc", "alias": "nt_min_with_divisor_count_v1_1874849503_706", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 75025$ and the number of positive divisors of $n$ is exactly 3. Determine the value of the smallest such $n$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(75025),\n \"div_count\": Const(3),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["MOBIUS_COPRIME", "COPRIME_PAIRS", "B3", "K2"], "recipe_id": "916f0d", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "COPRIME_PAIRS", "K2", "MOBIUS_COPRIME"], "num_lemmas": 5, "generation_time": 6.332, "created_at": "2026-02-08T13:15:22.622838Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T13:15:28.954918Z"}, "problem_hash": "c2d3b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 628}, "timestamp": "2026-02-09T20:02:03.007Z"}, {"id": 8, "model": "mathstral", "answer": 76729, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 105, "completion_tokens": 416}, "timestamp": "2026-02-11T21:12:02.455Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 278}, "timestamp": "2026-02-11T21:09:02.657Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "K2": "ok", "MOBIUS_COPRIME": "ok", "C2": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "305bec", "alias": "diophantine_fbi2_min_v1_124444284_6540", "problem": "Let $k = 60$ and let the upper bound be $70$. Consider the set of all integers $d$ such that $6 \\leq d \\leq 70$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$. Let $d_{\\text{min}}$ be the smallest element of this set. Compute the remainder when $65713 \\cdot d_{\\text{min}}$ is divided by $55585$.", "answer": 5183, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"upper\": Const(70),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Mod(value=Mul(Const(65713), Ref(\"result\")), modulus=Const(55585)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T08:30:56.262209Z", "verification": {"verified": true, "answer": 5183, "timestamp": "2026-02-08T08:30:56.267401Z"}, "problem_hash": "2c3c22", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5183, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 647}, "timestamp": "2026-02-13T19:15:10.549Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6133, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 321}, "timestamp": "2026-02-12T01:57:48.308Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K5": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "16ca5d", "alias": "modular_sum_quadratic_residues_v1_865884756_6598", "problem": "Let $n = 2$. Let $p$ be the smallest divisor of $210677$ that is at least $n$. Compute $\\frac{p(p-1)}{4}$.", "answer": 52098, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(210677))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T19:18:23.770305Z", "verification": {"verified": true, "answer": 52098, "timestamp": "2026-02-08T19:18:23.771498Z"}, "problem_hash": "7b0a90", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 205}, "timestamp": "2026-02-13T00:54:37.440Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a22651", "alias": "comb_count_partitions_v1_1439011603_1015", "problem": "Let $A$ be the set of all integers $n_1$ with $1 \\leq n_1 \\leq 209$ such that $$n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}.$$\nLet $n$ be the number of elements in $A$. Find the number of integer partitions of $n$.", "answer": 44583, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(209),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:52:11.518345Z", "verification": {"verified": true, "answer": 44583, "timestamp": "2026-02-08T15:52:11.520063Z"}, "problem_hash": "f8cc1c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 748}, "timestamp": "2026-02-12T09:21:26.205Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "K15": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8e9e50", "alias": "comb_factorial_compute_v1_1978505735_5769", "problem": "Let $n = 5929$. Let $d$ be the smallest divisor of $n$ such that $d \\geq 2$. Define $r = d!$. Find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $r + 2$.", "answer": 60, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5929),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T19:12:53.593613Z", "verification": {"verified": true, "answer": 60, "timestamp": "2026-02-08T19:12:53.594863Z"}, "problem_hash": "94349a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 450}, "timestamp": "2026-02-13T00:52:41.120Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K17": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b308ee", "alias": "comb_factorial_compute_v1_1742523217_164", "problem": "Let $n$ be the smallest positive integer $d$ such that $d \\geq 2$ and $d$ divides $7007$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7007))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:54:34.516571Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T02:54:34.517745Z"}, "problem_hash": "062a66", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 470}, "timestamp": "2026-02-09T14:15:53.997Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 445}, "timestamp": "2026-02-09T00:01:06.714Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 96, "completion_tokens": 4644}, "timestamp": "2026-02-10T14:34:30.579Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 93, "completion_tokens": 293}, "timestamp": "2026-02-10T15:05:04.769Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 82, "completion_tokens": 656}, "timestamp": "2026-02-10T14:56:58.416Z"}, {"id": 8, "model": "mathstral", "answer": 6227020800, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 93, "completion_tokens": 574}, "timestamp": "2026-02-11T06:20:48.479Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 172}, "timestamp": "2026-02-11T19:50:54.703Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "test"} +{"id": "5d6ac2", "alias": "modular_sum_quadratic_residues_v1_865884756_5330", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $1391821$. Define $r = \\frac{p(p-1)}{4}$. Let $Q = B_k$, where $B_k$ is the $k$-th Bell number and $k = |r| \\mod 11$. Compute $Q$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1391821))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:32:52.040830Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T18:32:52.042228Z"}, "problem_hash": "cd6c59", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 321}, "timestamp": "2026-02-13T00:15:20.418Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6e4e3d", "alias": "nt_count_coprime_and_v1_784195855_2562", "problem": "Let $p = 31$ and $q = 29$, and define $n_1 = p \\cdot q$. Let $v = \\mu(n_1)^2$, where $\\mu$ is the Möbius function. Let $s = \\sum_{d \\mid 1} \\mu(d)$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 17539344$. Let $\\sigma = \\min\\{x + y : (x, y) \\in S\\}$, and define $\\text{upper} = \\sigma \\cdot s$. Let $k_1 = 7$ and $k_2 = \\max\\{n : 2 \\leq n \\leq 11 \\text{ and } n \\text{ is prime}\\}$. Let $\\text{result}$ be the number of integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the remainder when $17070 \\cdot \\text{result}$ is divided by $85133 \\cdot v$.", "answer": 61926, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(31),\n \"q\": Const(29),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"n\": Const(1),\n \"s\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(17539344)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"s\")),\n \"k1\": Const(7),\n \"k2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": Const(17070),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(85133), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_SUM", "MOBIUS_SQUAREFREE", "MAX_PRIME_BELOW"], "recipe_id": "5219e0", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 1.784, "created_at": "2026-02-08T05:52:30.254882Z", "verification": {"verified": true, "answer": 61926, "timestamp": "2026-02-08T05:52:32.038972Z"}, "problem_hash": "aaa55d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K5": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "51bcce", "alias": "sequence_fibonacci_compute_v1_717093673_1287", "problem": "Let $n$ be the smallest divisor of 19343 that is at least 2. Compute the $n$th Fibonacci number.", "answer": 28657, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(19343))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:59:10.651267Z", "verification": {"verified": true, "answer": 28657, "timestamp": "2026-02-08T15:59:10.652716Z"}, "problem_hash": "f17296", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 144, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 134, "completion_tokens": 279}, "timestamp": "2026-02-12T09:38:41.742Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "190291", "alias": "sequence_count_fib_divisible_v1_124444284_5541", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 1925. Let $u = 222$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $d$ divides the $n$-th Fibonacci number. Compute the remainder when $63231$ times the number of such integers $n$ is divided by $80770$.", "answer": 35984, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(222),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1925))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(63231), Ref(\"result\")), modulus=Const(80770)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.043, "created_at": "2026-02-08T06:40:33.517218Z", "verification": {"verified": true, "answer": 35984, "timestamp": "2026-02-08T06:40:33.560475Z"}, "problem_hash": "1a86c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 133, "completion_tokens": 8192}, "timestamp": "2026-02-13T03:39:10.008Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 417}, "timestamp": "2026-02-12T00:24:11.554Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "LTE_DIFF": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "93f06d", "alias": "nt_lcm_compute_v1_1820931509_683", "problem": "Let $a = 1155$ and let $n = 2$. Let $b$ be the smallest integer $d \\geq n$ such that $d$ divides $1085283181$. Define $r = \\operatorname{lcm}(a, b)$. Compute the remainder when \n$$\nr + \\phi(|r| + 1) + \\tau(|r| + 1)\n$$ \nis divided by $56483$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nFind the value of this remainder.", "answer": 14400, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(1155),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1085283181))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))), modulus=Const(56483)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:49:29.326532Z", "verification": {"verified": true, "answer": 14400, "timestamp": "2026-02-08T11:49:29.328301Z"}, "problem_hash": "f558f3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42268, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 7582}, "timestamp": "2026-02-14T19:30:06.785Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 531}, "timestamp": "2026-02-12T04:39:13.659Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K5": "no", "L3b": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "7b925f", "alias": "modular_mod_compute_v1_124444284_9792", "problem": "Let $a$ be the smallest divisor of $459572063$ that is at least $2$. Let $m = 49729$. Define $\\text{result} = a \\mod m$, and let $Q = (90431 \\cdot \\text{result}) \\mod 97915$. Find the value of $Q$.", "answer": 39912, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97915),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(459572063))))),\n \"m\": Const(49729),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(90431), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:40:49.712569Z", "verification": {"verified": true, "answer": 39912, "timestamp": "2026-02-08T12:40:49.715203Z"}, "problem_hash": "02ab42", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 327}, "timestamp": "2026-02-12T05:28:31.336Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "L3c": "no", "LTE_SUM": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "19d4d3", "alias": "nt_count_divisible_v1_784195855_6510", "problem": "Let $A$ be the number of positive integers $n$ with $1 \\leq n \\leq 34225$ that are divisible by $24$. Let $B$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $2329$. Let $C$ be the number of positive integers $n$ with $1 \\leq n \\leq B$ such that $\\gcd(n, 14) = 1$. Compute the remainder when $C - A$ is divided by $94428$.", "answer": 94001, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94428),\n \"upper\": Const(34225),\n \"divisor\": Const(24),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverDivisors(n=Const(value=2329), var='d', expr=EulerPhi(n=Var(name='d')))), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/C4"], "recipe_id": "62e25d", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "K3"], "num_lemmas": 2, "generation_time": 1.097, "created_at": "2026-02-08T08:42:29.777559Z", "verification": {"verified": true, "answer": 94001, "timestamp": "2026-02-08T08:42:30.874995Z"}, "problem_hash": "fd47e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 94001, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 856}, "timestamp": "2026-02-13T20:37:05.600Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 93008, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 582}, "timestamp": "2026-02-12T02:05:55.744Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "C4": "ok_later", "DS2": "no", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9539af", "alias": "comb_count_surjections_v1_1116507919_234", "problem": "Let $n = 6$ and $k = 2$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ is the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Compute the Bell number $B_{|r| \\bmod 11}$, where $B_m$ is the number of partitions of a set with $m$ elements.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1", "LIN_FORM"], "recipe_id": "df5015", "seed_template_id": "comb_count_surjections_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.031, "created_at": "2026-02-08T02:29:26.266921Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T02:29:26.297935Z"}, "problem_hash": "e187b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 843}, "timestamp": "2026-02-08T19:16:27.825Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 439}, "timestamp": "2026-02-09T14:38:08.436Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 7412}, "timestamp": "2026-02-09T18:05:46.402Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 427}, "timestamp": "2026-02-10T13:06:00.656Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 1479}, "timestamp": "2026-02-09T17:59:46.548Z"}, {"id": 8, "model": "mathstral", "answer": 285, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 590}, "timestamp": "2026-02-11T01:11:35.141Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 380}, "timestamp": "2026-02-11T19:33:20.416Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "test"} +{"id": "c1befd", "alias": "diophantine_fbi2_min_v1_655260480_6055", "problem": "Let $k = 27$ and $u = 37$. Let $d_{\\min}$ be the smallest divisor of $847$ that is at least $2$. Find the smallest integer $d$ such that $d_{\\min} \\leq d \\leq 37$, $d$ divides $27$, and $\\frac{27}{d} \\geq 2$. Let this value be $r$. Find the remainder when $73121 \\times r$ is divided by $61932$.", "answer": 38769, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73121),\n \"k\": Const(27),\n \"upper\": Const(37),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(847)))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(61932)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T18:47:41.035483Z", "verification": {"verified": true, "answer": 38769, "timestamp": "2026-02-08T18:47:41.043261Z"}, "problem_hash": "3dc643", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 38757, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 394}, "timestamp": "2026-02-13T00:31:45.952Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "674764", "alias": "nt_count_intersection_v1_124444284_8101", "problem": "Let $ N = 50000 $. Let $ a $ be the smallest integer greater than or equal to 2 that divides 77. Let $ b = 15 $. Determine the number of positive integers $ n \\leq N $ such that $ a $ divides $ n $ and $ \\gcd(n, b) = 1 $. ", "answer": 3810, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.91, "created_at": "2026-02-08T09:33:54.325530Z", "verification": {"verified": true, "answer": 3810, "timestamp": "2026-02-08T09:33:56.235335Z"}, "problem_hash": "90feb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3810, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 1035}, "timestamp": "2026-02-14T04:47:52.113Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6666, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 679}, "timestamp": "2026-02-12T03:00:47.937Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K18": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a8ab2a", "alias": "antilemma_product_of_sums_v1_1520064083_375", "problem": "Let $M = 54894$. Let $N$ be the number of integers $t$ such that $16 \\le t \\le 60$ and there exist integers $a$ and $b$ with $1 \\le a \\le 5$, $1 \\le b \\le 3$, and\n$$t = 6a + 10b.$$\n\nConsider all ordered pairs $(k,j)$ of integers with $1 \\le k \\le 15$ and $1 \\le j \\le 2$. Let $S_1$ be the sum of all values of $k$ over these ordered pairs, and let\n$$S_2 = \\sum_{k=1}^{25} k.$$\nDefine $x = S_1 S_2$.\n\nLet $P$ be the number of positive integers $p$ for which there exists an integer $q$ such that\n$$pq = 18, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nDefine\n$$Q = x + \\left(x^P \\bmod N\\right) \\bmod M,$$\nwhere $r \\bmod m$ denotes the remainder when $r$ is divided by $m$.\n\nFind the value of $Q$.", "answer": 78001, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(54894),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=60)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Const(25), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Mod(value=Ref(\"x\"), modulus=Ref(\"_n\"))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS", "PRODUCT_OF_SUMS"], "recipe_id": "72bd02", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "LTE_SUM", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "generation_time": 0.039, "created_at": "2026-02-08T03:19:12.298656Z", "verification": {"verified": true, "answer": 78001, "timestamp": "2026-02-08T03:19:12.337535Z"}, "problem_hash": "d9ce45", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "COPRIME_PAIRS": "ok_later", "DS2": "no", "K13": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "eb6acf", "alias": "nt_count_coprime_v1_1978505735_5376", "problem": "Let $k$ be the smallest divisor of $2021$ that is at least $2$. Determine the number of positive integers $n$ at most $71289$ such that $\\gcd(n, k) = 1$.", "answer": 69632, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2021),\n \"upper\": Const(71289),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.146, "created_at": "2026-02-08T18:57:42.403325Z", "verification": {"verified": true, "answer": 69632, "timestamp": "2026-02-08T18:57:47.549175Z"}, "problem_hash": "029ed0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 391}, "timestamp": "2026-02-13T00:43:58.673Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cd5cd9", "alias": "nt_count_with_divisor_count_v1_677425708_1956", "problem": "Let $m = 13$ and let $n$ be the largest integer $k$ such that $43^k$ divides $929293739471222707^m$. Let $S$ be the set of all positive integers $n$ not exceeding $63504$ that have exactly four positive divisors. Let $d$ be the smallest divisor of $n$ that is at least $2$. Compute the Bell number $B_r$, where $r$ is the absolute value of the number of elements in $S$, modulo $d$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": MaxKDivides(target=Pow(Const(929293739471222707), Ref(\"_m\")), base=Const(43)),\n \"upper\": Const(63504),\n \"div_count\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MIN_PRIME_FACTOR"], "recipe_id": "a8be8d", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.905, "created_at": "2026-02-08T04:40:17.696040Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T04:40:21.601457Z"}, "problem_hash": "dbba08", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 223, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:39:29.443Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "cddee7", "alias": "modular_sum_quadratic_residues_v1_458359167_5128", "problem": "Let $p$ be the smallest prime divisor of $87974586981431$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 93789, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(87974586981431))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:17:13.827907Z", "verification": {"verified": true, "answer": 93789, "timestamp": "2026-02-08T12:17:13.829286Z"}, "problem_hash": "74f0ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 198}, "timestamp": "2026-02-12T05:06:32.292Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3b": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e584a2", "alias": "modular_inverse_v1_898971024_1568", "problem": "Let $m$ be the smallest divisor of $430327$ that is at least $2$. Let $a = 307$.\n\nLet $S$ be the set of all integers $x$ such that $1 \\leq x \\leq 652$ and\n$$\n307x \\equiv 1 \\pmod{m}.\n$$\nLet $r$ be the smallest element of $S$.\n\nCompute the remainder when $44121 \\cdot r$ is divided by $58484$.", "answer": 31555, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(307),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(430327))))),\n \"upper\": Const(652),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(58484)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.059, "created_at": "2026-02-08T16:12:03.690936Z", "verification": {"verified": true, "answer": 31555, "timestamp": "2026-02-08T16:12:03.750342Z"}, "problem_hash": "531a3a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 486}, "timestamp": "2026-02-12T10:04:56.016Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K15": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "93e4e3", "alias": "diophantine_fbi2_min_v1_898971024_2951", "problem": "Let $d$ be an integer such that $d \\geq 6$, $d \\leq 250$, $d$ divides 240, and $\\frac{240}{d} \\geq 2$. Determine the value of the smallest such $d$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"k\": Const(240),\n \"upper\": Const(250),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.029, "created_at": "2026-02-08T17:05:07.849587Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T17:05:07.878871Z"}, "problem_hash": "6919c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 120, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 272}, "timestamp": "2026-02-12T21:46:50.392Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4afcd7", "alias": "nt_count_divisors_in_range_v1_151522320_392", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 70$ and $1 \\leq b \\leq 72$. Let $a = 21$ and let $b$ be the largest integer $k$ such that $23^k$ divides $12167^{337}$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 40, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(70)), right=IntegerRange(start=Const(1), end=Const(72)))),\n \"a\": Const(21),\n \"b\": MaxKDivides(target=Pow(Const(12167), Const(337)), base=Ref(\"_n\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "K14"], "recipe_id": "f5f663", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K14"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T03:13:44.830980Z", "verification": {"verified": true, "answer": 40, "timestamp": "2026-02-08T03:13:44.848762Z"}, "problem_hash": "aaab5e", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 40, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 2284}, "timestamp": "2026-02-09T02:08:25.538Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K14": "ok", "DS2": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "0fd9e4", "alias": "nt_count_coprime_v1_1742523217_3742", "problem": "Let $k$ be the number of positive integers $n \\leq 87$ for which the sum of the digits of $n$ is odd. Let $r$ be the number of positive integers $n \\leq 13456$ such that $\\gcd(n, k) = 1$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $p \\cdot q = 330750$ and $\\gcd(p, q) = 1$. Compute the remainder when $3^{|r|} + c$ is divided by 99991.", "answer": 11835, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87),\n \"upper\": Const(13456),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=330750)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "L3B"], "recipe_id": "0708fe", "seed_template_id": "nt_count_coprime_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B"], "num_lemmas": 2, "generation_time": 1.039, "created_at": "2026-02-08T06:04:58.092087Z", "verification": {"verified": true, "answer": 11835, "timestamp": "2026-02-08T06:04:59.131475Z"}, "problem_hash": "59acd5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 50310, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 5141}, "timestamp": "2026-02-12T19:21:54.409Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 766}, "timestamp": "2026-02-11T23:34:23.878Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok", "K14": "no", "K16": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "7b4449", "alias": "modular_product_range_v1_898971024_1092", "problem": "Let $P$ be the product $\\prod_{i=2}^{363} i$. Define $r$ as the remainder when $P$ is divided by $11701$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 110$, and let $c$ be the maximum value of $xy$ over all such pairs. Define $Q$ as the remainder when $c - r$ is divided by $99754$. Compute $Q$.", "answer": 91090, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(363),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(2), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11701)),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(110)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(99754)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "modular_product_range_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T15:55:25.871777Z", "verification": {"verified": true, "answer": 91090, "timestamp": "2026-02-08T15:55:25.877441Z"}, "problem_hash": "90c901", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 409}, "timestamp": "2026-02-12T09:30:49.196Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d2a92b", "alias": "nt_gcd_compute_v1_151522320_54", "problem": "Let $P$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers satisfying\n\\[x + y = 42.\n\\]\nLet $N$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers satisfying\n\\[xy = P.\n\\]\n\nLet $C=15$ and $M=2$. Let $K$ be the number of integers $n$ with $1\\le n\\le N$ such that\n\\[\\text{the sum of the base-2 digits of }n\\equiv 1 \\pmod{M}.\n\\]\nDefine\n\\[n_1 = \\sum_{d\\mid \\gcd(C,K)} \\mu(d),\n\\]\nwhere $\\mu$ is the Möbius function. Then define\n\\[w = \\sum_{d\\mid n_1} \\mu(d).\n\\]\n\nLet $n=1$, and let $\\omega(n)$ denote the number of distinct prime factors of $n$. Define\n\\[m = \\omega(n),\\quad a = 145245 + m,\\quad b = 319539\\,w.\n\\]\nLet\n\\[\\text{result} = \\gcd(a,b).\n\\]\n\nFind the value of $\\text{result}$.", "answer": 29049, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(15),\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(42)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n1\": SumOverDivisors(n=GCD(a=Ref(name='_c'), b=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Ref(name='_m')), right=Const(value=1)))))), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"m\": SmallOmega(n=Ref(name='n')),\n \"a\": Sum(Const(145245), Ref(\"m\")),\n \"b\": Mul(Const(319539), Ref(\"w\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/L3B/MOBIUS_COPRIME/MOBIUS_SUM", "OMEGA_ZERO"], "recipe_id": "a59eff", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "B3", "L3B", "MOBIUS_COPRIME", "MOBIUS_SUM", "OMEGA_ZERO"], "num_lemmas": 6, "generation_time": 0.007, "created_at": "2026-02-08T02:56:18.326944Z", "verification": {"verified": true, "answer": 29049, "timestamp": "2026-02-08T02:56:18.333916Z"}, "problem_hash": "0cf2cf", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 29049, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 385, "completion_tokens": 2019}, "timestamp": "2026-02-08T22:15:18.524Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "OMEGA_ZERO": "ok", "B3": "ok_later", "L3B": "ok_later", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "775de6", "alias": "diophantine_product_count_v1_677425708_286", "problem": "Let $c$ be the sum of $\\phi(d)$ over all positive divisors $d$ of 16, minus 16. Let $v$ be the sum of $\\mu(d)$ over all positive divisors $d$ of 1. Define $k$ to be the number of positive integers $n$, where $1 \\leq n \\leq 2520$, such that the sum of the decimal digits of $n$ is even. Let $t$ be a positive integer, and define $T$ to be the set of all integers $t$ such that $30 \\leq t \\leq 658$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 54$, $1 \\leq b \\leq 35$, satisfying $t = 8a + 6b + 16$. Let $u = |T| \\cdot v$. Define $S$ to be the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Let $r = |S|$. Find the remainder when $74419 \\cdot r$ is divided by $62261 + c$.", "answer": 29119, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62261),\n \"n1\": Const(16),\n \"c\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"v\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2520)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"upper\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=54)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=35)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=658)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=16)))))))), Ref(\"v\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(74419),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Ref(\"_n\"), Ref(\"c\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SUM", "EULER_TOTIENT_SUM", "L3B"], "recipe_id": "a2d2d1", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3B", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T03:12:49.207437Z", "verification": {"verified": true, "answer": 29119, "timestamp": "2026-02-08T03:12:49.221985Z"}, "problem_hash": "54889b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 386, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:26:50.782Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 382, "completion_tokens": 6216}, "timestamp": "2026-02-10T01:40:26.666Z"}], "solution_status": 0, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "L3B": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "5fa306", "alias": "modular_product_range_v1_458359167_2720", "problem": "Let $c = 3023$. Define $m$ to be the number of positive integers $n \\leq c$ such that $\\gcd\\left(n, \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = 49\\}\\right) = 1$. Let $a = \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = 121\\}$ and $b = \\min\\{x + y \\mid x, y \\in \\mathbb{Z}^+,\\ xy = m\\}$. Compute the remainder when the product $\\prod_{i=a}^{b} i$ is divided by $10937$.", "answer": 6180, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3023),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Eq(GCD(a=Var(\"n\"), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(1))))),\n \"_n\": Const(121),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10937)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C4/B3"], "recipe_id": "345345", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:45:01.446286Z", "verification": {"verified": true, "answer": 6180, "timestamp": "2026-02-08T06:45:01.451123Z"}, "problem_hash": "d8fe9a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 5145}, "timestamp": "2026-02-13T04:04:14.339Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 739}, "timestamp": "2026-02-12T00:26:31.536Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C4": "ok_later", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "08eb6a", "alias": "nt_count_with_divisor_count_v1_1915831931_3371", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 1573. Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le 60000$ and the number of positive divisors of $n$ is equal to $d$. Compute $26947 \\cdot N$.", "answer": 53894, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60000),\n \"div_count\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1573))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": Const(26947),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.579, "created_at": "2026-02-08T17:35:22.729943Z", "verification": {"verified": true, "answer": 53894, "timestamp": "2026-02-08T17:35:25.308493Z"}, "problem_hash": "a33b43", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 495}, "timestamp": "2026-02-12T22:49:47.866Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "db0f20", "alias": "nt_count_phi_equals_v1_2051736721_4209", "problem": "Let $T$ be the set of all integers $t$ such that $10 \\leq t \\leq 3621$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 206$, $1 \\leq b \\leq 429$, and $t = 3a + 7b$. Let $U$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 9$ such that $\\gcd(i, j) = 1$. Let $k$ be the number of elements in $U$. Let $R$ be the number of positive integers $n$ with $1 \\leq n \\leq |T|$ such that $\\varphi(n) = k$. Find the remainder when $91699 \\cdot R$ is divided by 61064.", "answer": 30841, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(91699),\n \"_n\": Const(61064),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=206)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=429)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=3621)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.576, "created_at": "2026-02-08T17:48:41.747569Z", "verification": {"verified": true, "answer": 30841, "timestamp": "2026-02-08T17:48:42.323308Z"}, "problem_hash": "f2a895", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 403}, "timestamp": "2026-02-12T23:13:18.430Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "K13": "no", "K15": "no", "K18": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d7f2a3", "alias": "nt_sum_totient_over_divisors_v1_48377204_328", "problem": "Let $p$ be a positive integer. Consider the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of prime numbers between the smallest such $p$ and $70999$, inclusive. Define $Q$ to be the remainder when $46654$ times the sum of $\\phi(d)$ over all positive divisors $d$ of $n$ is divided by $83005$. Compute $Q$.", "answer": 81822, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70999),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\"))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(46654), Ref(\"result\")), modulus=Const(83005)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T15:20:40.913670Z", "verification": {"verified": true, "answer": 81822, "timestamp": "2026-02-08T15:20:40.927515Z"}, "problem_hash": "941ea3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 551}, "timestamp": "2026-02-12T08:23:51.531Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K18": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dfe67e", "alias": "comb_count_permutations_fixed_v1_124444284_4742", "problem": "Let $n$ be the number of integers $t$ such that $10 \\leq t \\leq 28$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 2$, and $t = 4a + 6b$. Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 4$. Compute $\\binom{n}{k} \\cdot !(n - k)$.", "answer": 630, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:13:01.952875Z", "verification": {"verified": true, "answer": 630, "timestamp": "2026-02-08T06:13:01.955579Z"}, "problem_hash": "8cf951", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 630, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 1028}, "timestamp": "2026-02-12T21:12:39.022Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 336, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 579}, "timestamp": "2026-02-11T23:44:36.679Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4b4769", "alias": "comb_count_derangements_v1_798873815_89", "problem": "Let $n$ be the smallest divisor of $847$ that is greater than or equal to $2$. Compute the number of derangements of $n$ elements. ", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(847),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:26:06.291834Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T02:26:06.294930Z"}, "problem_hash": "2302a4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 899}, "timestamp": "2026-02-08T18:59:08.082Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 930}, "timestamp": "2026-02-09T13:30:34.440Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 96, "completion_tokens": 6394}, "timestamp": "2026-02-08T20:47:41.973Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 93, "completion_tokens": 710}, "timestamp": "2026-02-08T20:27:26.310Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 82, "completion_tokens": 1282}, "timestamp": "2026-02-08T23:25:16.146Z"}, {"id": 8, "model": "mathstral", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 93, "completion_tokens": 704}, "timestamp": "2026-02-10T20:19:26.480Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 305}, "timestamp": "2026-02-11T19:22:17.600Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.6, "hi": -6.14}, "split": "test"} +{"id": "dc1335", "alias": "nt_lcm_compute_v1_655260480_5966", "problem": "Let $n = 93260$ and $a = 565$. Let $b$ be the smallest divisor of $7892461363$ that is at least $2$. Let $\\ell = \\mathrm{lcm}(a, b)$. Let $c = 13453$. Compute the remainder when $c \\cdot \\ell$ is divided by $n$.", "answer": 87015, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93260),\n \"a\": Const(565),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7892461363))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(13453),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:45:56.531376Z", "verification": {"verified": true, "answer": 87015, "timestamp": "2026-02-08T18:45:56.533516Z"}, "problem_hash": "f7bb65", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 285}, "timestamp": "2026-02-13T00:27:48.624Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bf9cab", "alias": "antilemma_sum_equals_v1_784195855_1805", "problem": "Let $d = 346$. Define $c$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = d$. Define $m$ to be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 171$, $1 \\leq j \\leq 171$, and $i + j = c$. Define $n$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $x$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 85$, $1 \\leq j \\leq 85$, and $i + j = n$. Compute $x$.", "answer": 84, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(346),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_d\"))))),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(171)), right=IntegerRange(start=Const(1), end=Const(171))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(85)), right=IntegerRange(start=Const(1), end=Const(85))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/COUNT_SUM_EQUALS", "COMB1/COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "ae8666", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.139, "created_at": "2026-02-08T05:19:12.184605Z", "verification": {"verified": true, "answer": 84, "timestamp": "2026-02-08T05:19:12.323441Z"}, "problem_hash": "e567d0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 84, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 1396}, "timestamp": "2026-02-12T06:48:26.011Z"}, {"id": 8, "model": "mathstral", "answer": 86, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 531}, "timestamp": "2026-02-14T12:37:32.630Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 553}, "timestamp": "2026-02-11T22:28:32.757Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "4b1063", "alias": "comb_count_partitions_v1_1742523217_575", "problem": "Let $n$ be the number of positive integers $n$ with $1 \\leq n \\leq 266$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $P$ be the number of integer partitions of $n$. Compute the remainder when $65855 \\cdot P$ is divided by $57313$.", "answer": 17629, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57313),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(266)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(65855),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:07:39.609495Z", "verification": {"verified": true, "answer": 17629, "timestamp": "2026-02-08T03:07:39.610456Z"}, "problem_hash": "71042b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17629, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 2943}, "timestamp": "2026-02-09T19:40:30.684Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17629, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 2896}, "timestamp": "2026-02-09T04:38:06.619Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 150, "completion_tokens": 538}, "timestamp": "2026-02-11T14:55:38.515Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 780}, "timestamp": "2026-02-11T20:20:32.184Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "C2": "no", "L3b": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "ded2c4", "alias": "diophantine_fbi2_min_v1_168721529_1866", "problem": "Let $a$ be the sum of the values of the M\\\"obius function over the positive divisors of $\\gcd(8, 15)$. Let $B$ be the number of integers $t$ with $19 \\leq t \\leq 344$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 17$, $1 \\leq b \\leq 88$, and $t = 4a + 3b + 12$. Let $k$ be the number of integers $n$ satisfying $a \\leq n \\leq B$, $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $d$ be the smallest integer $d$ such that $6 \\leq d \\leq 74$, $d$ divides $k$, and $\\frac{k}{d} \\geq 4$. Compute $33124 - d$.", "answer": 33116, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=88)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=344)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=12))))))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"upper\": Const(74),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n \"_c\": Const(33124),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3C", "MOBIUS_COPRIME"], "recipe_id": "4f7998", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.033, "created_at": "2026-02-08T13:58:00.992899Z", "verification": {"verified": true, "answer": 33116, "timestamp": "2026-02-08T13:58:01.026332Z"}, "problem_hash": "09305e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33116, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 327, "completion_tokens": 1847}, "timestamp": "2026-02-09T22:47:38.122Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "L3C": "ok_later", "C2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "7b35e4", "alias": "diophantine_fbi2_min_v1_717093673_2394", "problem": "Let $k = 21$ and $n = 2$. Let $d_{\\min}$ be the smallest divisor of $35557$ that is at least $2$. Determine the smallest divisor $d_1$ of $k$ such that $5 \\leq d_1 \\leq d_{\\min}$ and $\\frac{k}{d_1} \\geq n$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(21),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35557))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(5)), Leq(Var(\"d1\"), Ref(\"upper\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.325, "created_at": "2026-02-08T16:47:38.472593Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T16:47:38.797407Z"}, "problem_hash": "cb68de", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 353}, "timestamp": "2026-02-12T21:06:32.248Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "2b89c2", "alias": "antilemma_sum_primes_v1_548369836_272", "problem": "Let $D$ be the set of all integers $d$ with $2\\le d$ such that $d$ divides $6615$, and let $u$ be the minimum element of $D$. Let $P$ be the set of all prime numbers $n$ with $2\\le n\\le u$, and let $p_{\\max}$ be the maximum element of $P$.\n\nLet $T$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=72,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 6$ and $\\gcd(p, q) = 1$. Compute the value of $$ \\sum_{i=0}^{k-1} \\left( \\text{the } i\\text{-th digit of } |F| \\right) \\cdot (i+1)^d + m, $$ where $k$ is the number of decimal digits of $|F|$.", "answer": 9685, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4702)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=9419)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"n\": Const(22),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS"], "recipe_id": "2d4c9a", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T14:00:20.719856Z", "verification": {"verified": true, "answer": 9685, "timestamp": "2026-02-08T14:00:20.730703Z"}, "problem_hash": "8bede5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 611}, "timestamp": "2026-02-12T07:40:04.908Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "COPRIME_PAIRS": "ok_later", "C2": "no", "DS2": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d0f519", "alias": "comb_count_permutations_fixed_v1_124444284_9907", "problem": "Let $N = 735$. Let $d$ be the smallest divisor of $N$ that is at least $2$. Compute $\\binom{7}{d} \\cdot !(7 - d)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 315, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(735),\n \"n\": Const(7),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T12:43:28.459752Z", "verification": {"verified": true, "answer": 315, "timestamp": "2026-02-08T12:43:28.463862Z"}, "problem_hash": "8f505a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 280, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 398}, "timestamp": "2026-02-12T05:33:55.489Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K18": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a3c5e4", "alias": "geo_count_lattice_triangle_v1_717093673_2628", "problem": "Let $A$ be twice the area of the triangle with vertices at $(128, 144)$, $(23, 233)$, and $(0, 0)$, computed as $$\n|128 \\cdot 233 - 23 \\cdot 144|.\n$$ Let $B$ be the sum $$\n\\gcd(128, 233) + \\gcd(|23 - 128|, |144 - 233|) + \\gcd(23, 144).\n$$ Compute the value of $$\n\\frac{A + 2 - B}{2}.\n$$", "answer": 6536, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(128),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), Const(value=144)), Mul(Const(value=23), Sub(left=Const(value=0), right=Const(value=233))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Ref(name='_n')), b=Abs(arg=Const(value=233))), GCD(a=Abs(arg=Sub(left=Const(value=23), right=Const(value=128))), b=Abs(arg=Sub(left=Const(value=144), right=Const(value=233)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=23))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=144))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T17:00:58.699198Z", "verification": {"verified": true, "answer": 6536, "timestamp": "2026-02-08T17:00:58.705688Z"}, "problem_hash": "3d2904", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 13256, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 756}, "timestamp": "2026-02-12T21:36:39.827Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "986290", "alias": "sequence_count_fib_divisible_v1_124444284_530", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_0$ be the number of elements in $S$. Let $T$ be the set of all positive integers $d$ such that $d \\geq d_0$ and $d$ divides $24089849237$. Let $d_{\\min}$ be the smallest element of $T$. Compute the number of positive integers $n$ such that $\\sum_{d \\mid \\gcd(3,5)} \\mu(d) \\leq n \\leq d_{\\min}$ and $17$ divides $F_n$, where $F_n$ denotes the $n$th Fibonacci number.\n\nFind the value of this number.", "answer": 43, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(24089849237))))),\n \"d\": Const(17),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=3), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "recipe_id": "31db12", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.325, "created_at": "2026-02-08T03:20:52.685298Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T03:20:53.010449Z"}, "problem_hash": "b9f54d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 294, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:53:54.648Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 298, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:01:54.776Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_COPRIME": "ok", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "K17": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "ff417d", "alias": "modular_sum_quadratic_residues_v1_1520064083_7027", "problem": "Let $p$ be the smallest divisor of $84208541$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 46764, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(84208541))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T08:43:09.042652Z", "verification": {"verified": true, "answer": 46764, "timestamp": "2026-02-08T08:43:09.044358Z"}, "problem_hash": "9e795e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1772650505667035, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 78, "completion_tokens": 7343}, "timestamp": "2026-02-13T20:58:55.958Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 151}, "timestamp": "2026-02-12T02:07:47.347Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K16": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "9a9496", "alias": "comb_count_permutations_fixed_v1_124444284_5069", "problem": "Let $n = 9$ and let $k$ be the smallest divisor of $11011$ that is greater than or equal to $2$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.\\n\\nFind the value of $\\binom{n}{k} \\cdot !(n - k)$.", "answer": 36, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11011),\n \"n\": Const(9),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:22:48.816910Z", "verification": {"verified": true, "answer": 36, "timestamp": "2026-02-08T06:22:48.818107Z"}, "problem_hash": "2969c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 1122}, "timestamp": "2026-02-12T23:16:30.666Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 250}, "timestamp": "2026-02-11T23:58:13.073Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "e81417", "alias": "comb_bell_compute_v1_717093673_2701", "problem": "Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $a$ be the number of elements in $A$. Let $B$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 16402$ and $\\binom{16402}{j} \\equiv 1 \\pmod{a}$. Let $b$ be the number of elements in $B$. Let $b_b$ denote the $b$-th Bell number. Compute the remainder when $44121 \\cdot b_b$ is divided by $54913$.", "answer": 20302, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(16402)), Eq(Mod(value=Binom(n=Const(16402), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(54913)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.032, "created_at": "2026-02-08T17:06:21.195219Z", "verification": {"verified": true, "answer": 20302, "timestamp": "2026-02-08T17:06:21.227288Z"}, "problem_hash": "b150d5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 525}, "timestamp": "2026-02-12T21:53:59.134Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7b7e22", "alias": "nt_lcm_compute_v1_397696148_510", "problem": "Let $A$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 1900$. Let $d_{\\max}$ be the largest positive integer $d$ that divides 3602323 and satisfies $1 \\leq d \\leq \\max A$. Let $a = d_{\\max}$ and $b = 589$. Compute the remainder when $22 - \\mathrm{lcm}(a, b)$ is divided by 56645.", "answer": 20301, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56645),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1900)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Const(3602323))))),\n \"b\": Const(589),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(22),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_DIVISOR"], "recipe_id": "c8e97a", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T11:31:48.776678Z", "verification": {"verified": true, "answer": 20301, "timestamp": "2026-02-08T11:31:48.780137Z"}, "problem_hash": "cbd23c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 8192}, "timestamp": "2026-02-14T15:22:02.399Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 290}, "timestamp": "2026-02-12T04:13:12.285Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K14": "no", "K18": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "129852", "alias": "comb_sum_binomial_row_v1_1116507919_66", "problem": "Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 1000$ and $100$ divides $k$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $r$ be the number of elements in $S$. Define $\\text{result} = r^n$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $56531$.", "answer": 11635, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(56531),\n \"_n\": Const(44121),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1000)), Divides(divisor=Const(100), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "C2"], "recipe_id": "50a402", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:24:12.666627Z", "verification": {"verified": true, "answer": 11635, "timestamp": "2026-02-08T02:24:12.668195Z"}, "problem_hash": "eb1266", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 8192}, "timestamp": "2026-02-08T18:59:14.712Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 11635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 1804}, "timestamp": "2026-02-09T12:40:10.340Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 11635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 7840}, "timestamp": "2026-02-09T14:56:32.399Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 11635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 4650}, "timestamp": "2026-02-10T12:34:29.520Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 1711}, "timestamp": "2026-02-09T14:56:48.759Z"}, {"id": 8, "model": "mathstral", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 918}, "timestamp": "2026-02-10T19:59:20.587Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 487}, "timestamp": "2026-02-11T19:30:43.867Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -6.09, "mid": -4.08, "hi": -1.82}, "split": "test"} +{"id": "f3d9f6", "alias": "modular_mod_compute_v1_2051736721_5901", "problem": "Let $a = -67081$ and let $m$ be the smallest integer greater than or equal to 2 that divides $1296207281$. Let $r$ be the remainder when $a$ is divided by $m$. Compute $19600 - r$.", "answer": 19287, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-67081),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1296207281))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": Const(19600),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:51:34.418621Z", "verification": {"verified": true, "answer": 19287, "timestamp": "2026-02-08T18:51:34.420861Z"}, "problem_hash": "10db82", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 230}, "timestamp": "2026-02-13T00:35:45.734Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K17": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "68ea29", "alias": "sequence_count_fib_divisible_v1_1978505735_7198", "problem": "Let $u$ be the number of integers $n$ with $1 \\leq n \\leq 2561$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Determine the value of the number of integers $n_1$ with $1 \\leq n_1 \\leq u$ such that $20$ divides the $n_1$-th Fibonacci number.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2561)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"d\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.036, "created_at": "2026-02-08T20:06:47.130352Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T20:06:47.166207Z"}, "problem_hash": "2aeb27", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 646}, "timestamp": "2026-02-13T01:16:54.110Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K14": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9fd742", "alias": "diophantine_fbi2_count_v1_124444284_4980", "problem": "Let $k = 180$. Consider all positive integers $d$ such that $4 \\leq d \\leq 74$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$. Additionally, require that $\\frac{k}{d}$ is at most the number of positive integers $n$ with $1 \\leq n \\leq 504$ satisfying $$\n n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.\n$$\nCompute the number of such integers $d$.", "answer": 13, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(74)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(504)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.023, "created_at": "2026-02-08T06:19:39.135495Z", "verification": {"verified": true, "answer": 13, "timestamp": "2026-02-08T06:19:39.158452Z"}, "problem_hash": "a11185", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 2869}, "timestamp": "2026-02-12T23:12:59.786Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 582}, "timestamp": "2026-02-11T23:57:23.697Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "K14": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b0e471", "alias": "sequence_count_fib_divisible_v1_655260480_1598", "problem": "Let $ A $ be the set of all positive integers $ n $ such that $ n \\leq 1337 $ and $ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3} $. Let $ m $ be the number of elements in $ A $. Let $ B $ be the set of all positive integers $ n_1 \\leq m $ such that the $ n_1 $-th Fibonacci number is divisible by $ 20 $. Let $ r $ be the number of elements in $ B $. Compute $ r + \\phi(r+1) + \\tau(r+1) $, where $ \\phi $ denotes Euler's totient function and $ \\tau $ denotes the number of positive divisors function.", "answer": 26, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1337),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"d\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.097, "created_at": "2026-02-08T16:14:46.230909Z", "verification": {"verified": true, "answer": 26, "timestamp": "2026-02-08T16:14:46.327968Z"}, "problem_hash": "9f440e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 642}, "timestamp": "2026-02-12T10:14:53.931Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K5": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ee7b21", "alias": "antilemma_cartesian_v1_865884756_2008", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 21$ and $1 \\le b \\le 38$. Let $Q$ be the remainder when the product of $x$ and the number of ordered pairs $(x_1, x_2)$ of positive odd integers satisfying $x_1 + x_2 = 15026$ is divided by $57726$. Find the value of $Q$.", "answer": 49596, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15026),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(38)))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"x\")), modulus=Const(57726)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_CARTESIAN"], "recipe_id": "5e0ad8", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "affine_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:26:40.426932Z", "verification": {"verified": true, "answer": 49596, "timestamp": "2026-02-08T16:26:40.428644Z"}, "problem_hash": "e118f8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 261}, "timestamp": "2026-02-12T10:39:54.362Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6bbe33", "alias": "nt_min_coprime_above_v1_677425708_2565", "problem": "Let $S$ be the set of all integers $t$ such that $18 \\leq t \\leq 224$ and $t = 10a + 8b$ for some integers $a, b$ with $1 \\leq a \\leq 12$ and $1 \\leq b \\leq 13$. Let $m$ be the number of elements in $S$. Find the smallest integer $n$ such that $42436 < n \\leq 42538$ and $\\gcd(n, m) = 1$. Let $k$ be the number of positive integers at most 5 that are relatively prime to 12. Compute the sum of this $n$ and the remainder when $k$ raised to the power of $n \\bmod 16$ is divided by 93098.", "answer": 42469, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(42436),\n \"upper\": Const(42538),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=224)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))), Mod(value=Ref(\"result\"), modulus=Const(16))), modulus=Const(93098))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "LIN_FORM"], "recipe_id": "8bf5f0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.066, "created_at": "2026-02-08T05:07:28.074122Z", "verification": {"verified": true, "answer": 42469, "timestamp": "2026-02-08T05:07:28.140077Z"}, "problem_hash": "e61793", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 42469, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 5891}, "timestamp": "2026-02-11T22:57:51.827Z"}, {"id": 8, "model": "mathstral", "answer": 44684, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 921}, "timestamp": "2026-02-14T07:43:44.264Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 512}, "timestamp": "2026-02-11T22:16:57.773Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "9e5833", "alias": "antilemma_product_of_sums_v1_1918700295_2808", "problem": "Let $S_1 = \\sum_{k=1}^{7} k$. Let $S_2$ be the sum of all products $i \\cdot j$ where $i$ and $j$ are integers satisfying $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 9$. Let $x = S_1 \\cdot S_2$. Let $c$ be the number of positive integers $k$ such that $1 \\leq k \\leq 165000$ and $33$ divides $k$. Compute the sum of $c$ and the sum over all digits of $|x|$, where the $i$-th digit (starting from the units place as position 0) is multiplied by $(i+1)^2$.", "answer": 5321, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(33),\n \"S1\": Summation(var=\"k\", start=Const(1), end=Const(7), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(165000)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2", "PRODUCT_OF_SUMS"], "recipe_id": "25bf8b", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:13:13.579577Z", "verification": {"verified": true, "answer": 5321, "timestamp": "2026-02-08T08:13:13.581857Z"}, "problem_hash": "c87259", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_INTEGER_RANGE": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "2e508a", "alias": "geo_count_lattice_triangle_v1_784195855_7110", "problem": "Let $n = 131$. Define $A = \\left| 144n - 3100 \\right|$, and let $B$ be the sum of the greatest common divisors of the absolute differences of the following pairs: $(|n|, 100)$, $(|31 - 131|, |144 - 100|)$, and $(|0 - 31|, |0 - 144|)$. Let $R = \\frac{A + 2 - B}{2}$. Compute the remainder when $11231 \\cdot R$ is divided by $67338$.", "answer": 18148, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(131),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_n'), Const(value=144)), Mul(Const(value=31), Sub(left=Const(value=0), right=Const(value=100))))),\n \"boundary\": Sum(GCD(a=Abs(arg=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=346753987)))))), b=Abs(arg=Const(value=100))), GCD(a=Abs(arg=Sub(left=Const(value=31), right=Const(value=131))), b=Abs(arg=Sub(left=Const(value=144), right=Const(value=100)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=31))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=144))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"_c\": Const(11231),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(67338)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T09:05:40.256394Z", "verification": {"verified": true, "answer": 18148, "timestamp": "2026-02-08T09:05:40.261336Z"}, "problem_hash": "c30167", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18148, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 1429}, "timestamp": "2026-02-14T00:13:17.385Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49288, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 498}, "timestamp": "2026-02-12T02:30:52.704Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c5a163", "alias": "geo_count_lattice_triangle_v1_1439011603_1314", "problem": "Let $n$ be the sum of all real solutions $x$ to the equation $x^2 - 111x + 2150 = 0$. Define $A = |2 \\cdot 233n - 169 \\cdot 64|$. Define $B$ as the sum of the greatest common divisors of the absolute values of the following pairs: $(111, 64)$, $(169 - 111, 233 - 64)$, and $(0 - 169, 0 - 233)$. Compute $\\frac{A + 2 - B}{2}$.", "answer": 7523, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-111), Var(\"x\")), Const(2150)), Const(0)))),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_n'), Const(value=233)), Mul(Const(value=169), Sub(left=Const(value=0), right=Const(value=64))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=111)), b=Abs(arg=Const(value=64))), GCD(a=Abs(arg=Sub(left=Const(value=169), right=Const(value=111))), b=Abs(arg=Sub(left=Const(value=233), right=Const(value=64)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=233))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/COPRIME_PAIRS"], "recipe_id": "86ce03", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T16:01:53.050545Z", "verification": {"verified": true, "answer": 7523, "timestamp": "2026-02-08T16:01:53.068682Z"}, "problem_hash": "920ea3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 433}, "timestamp": "2026-02-12T09:41:56.565Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "COPRIME_PAIRS": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0e4cc6", "alias": "sequence_count_fib_divisible_v1_1520064083_9238", "problem": "Let $d$ be the smallest divisor of $236410337$ that is at least $2$. Let $r$ be the number of positive integers $n \\leq d$ such that $4$ divides the $n$th Fibonacci number. Compute the smallest positive integer $k$ for which the $k$th Fibonacci number is divisible by $r + 2$.", "answer": 42, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(236410337))))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.054, "created_at": "2026-02-08T10:38:23.379963Z", "verification": {"verified": true, "answer": 42, "timestamp": "2026-02-08T10:38:23.434388Z"}, "problem_hash": "99fb98", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 8192}, "timestamp": "2026-02-14T07:58:36.730Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 588}, "timestamp": "2026-02-12T03:22:05.698Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "26a54c", "alias": "nt_sum_phi_v1_48377204_368", "problem": "Let $\\mathcal{S}$ be the set of all integers $n$ such that $1 \\leq n \\leq 2420$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $u$ be the number of elements in $\\mathcal{S}$. Compute the sum of $\\phi(n)$ over all integers $n$ from $1$ to $u$, where $\\phi$ denotes Euler's totient function.", "answer": 71276, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2420),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n1\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.136, "created_at": "2026-02-08T15:22:02.654585Z", "verification": {"verified": true, "answer": 71276, "timestamp": "2026-02-08T15:22:02.790787Z"}, "problem_hash": "02552c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 720}, "timestamp": "2026-02-12T08:24:17.172Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6ea5e3", "alias": "nt_min_with_divisor_count_v1_1874849503_1159", "problem": "Let $A$ be the set of all positive integers $n$ such that $n \\leq 72361$ and $n$ has exactly 8 positive divisors. Let $a$ be the smallest element of $A$.\\\\\n\nLet $B$ be the set of all positive integers $x$ and $y$ such that $xy = 3600$. Define $s = x + y$ for each such pair. Let $m$ be the minimum value of $s$ over all such pairs.\\\\\n\nLet $C$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 720$ and $n$ is divisible by $m$. Let $c$ be the sum of all elements in $C$.\\\\\n\nCompute $c - a$.", "answer": 2496, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(72361),\n \"div_count\": Const(8),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(720)), Eq(Mod(value=Var(\"n\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(3600)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(0))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_DIVISIBLE"], "recipe_id": "0d839b", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 3.141, "created_at": "2026-02-08T13:39:11.596120Z", "verification": {"verified": true, "answer": 2496, "timestamp": "2026-02-08T13:39:14.736747Z"}, "problem_hash": "44e580", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2496, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 1731}, "timestamp": "2026-02-10T01:47:52.906Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1094, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 440}, "timestamp": "2026-02-11T21:12:21.706Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "SUM_DIVISIBLE": "ok_later", "DS2": "no", "K15": "no", "K17": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "b77b8c", "alias": "antilemma_count_primes_v1_677425708_2209", "problem": "Let $s$ be the number of prime factors of $1$, counted with multiplicity. Let $p = 29$ and $n = p^3$. Define $v = \\lambda(n) + 1 + s$, where $\\lambda(n) = (-1)^{\\Omega(n)}$ and $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Let $N = 821 + v$. Let $x$ be the number of prime numbers between $2$ and $N$, inclusive. Compute the remainder when $44121x$ is divided by $61147$.", "answer": 28188, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"p\": Const(29),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"s\")),\n \"_n\": Sum(Const(821), Ref(\"v\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(61147)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "550719", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:51:05.778606Z", "verification": {"verified": true, "answer": 28188, "timestamp": "2026-02-08T04:51:05.779479Z"}, "problem_hash": "9612c2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "LIOUVILLE_MINUS_ONE": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "8ba1f6", "alias": "sequence_lucas_compute_v1_1439011603_2757", "problem": "Let $ n $ be the smallest integer greater than or equal to 2 that divides 437. Define $ L_n $ to be the $ n $-th Lucas number, where the Lucas numbers are defined by $ L_1 = 1 $, $ L_2 = 3 $, and $ L_k = L_{k-1} + L_{k-2} $ for $ k \\geq 3 $. Let $ Q = 54289 - L_n $. Compute the value of $ Q $.", "answer": 44940, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54289),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(437))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:56:03.143255Z", "verification": {"verified": true, "answer": 44940, "timestamp": "2026-02-08T16:56:03.144919Z"}, "problem_hash": "4d70fc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 422}, "timestamp": "2026-02-12T21:32:31.416Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "MOD_FACTORIAL": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1bdf8b", "alias": "nt_count_coprime_and_v1_124444284_5748", "problem": "Let $n = 57133$ and $u = 68484$. Let $k_1 = 8$ and $k_2 = 9$. Define $A$ as the set of all integers $n$ such that $1 \\leq n \\leq u$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Let $r$ be the number of elements in $A$. Let $B$ be the set of all integers $d \\geq 2$ such that $d$ divides $5000567$. Let $m$ be the minimum element of $B$. Compute the remainder when $m - r$ is divided by $n$.", "answer": 34316, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57133),\n \"upper\": Const(68484),\n \"k1\": Const(8),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5000567))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 9.503, "created_at": "2026-02-08T06:48:19.949574Z", "verification": {"verified": true, "answer": 34316, "timestamp": "2026-02-08T06:48:29.452297Z"}, "problem_hash": "ca1035", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 1362}, "timestamp": "2026-02-13T05:05:15.963Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 502}, "timestamp": "2026-02-12T00:32:58.352Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K13": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "381bd7", "alias": "algebra_poly_eval_v1_898971024_2683", "problem": "Let $t$ be the smallest divisor of 3246473 that is at least 2. Define $r = 10t^2 + 8t + 5$. Compute the remainder when $44121 \\cdot r$ is divided by 70703.", "answer": 31378, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"t\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3246473))))),\n \"result\": Sum(Mul(Const(10), Pow(Ref(\"t\"), Const(2))), Mul(Const(8), Ref(\"t\")), Ref(\"_n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(70703)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:54:32.765777Z", "verification": {"verified": true, "answer": 31378, "timestamp": "2026-02-08T16:54:32.767605Z"}, "problem_hash": "2c62b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 306}, "timestamp": "2026-02-12T21:17:47.232Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "L3b": "no", "L3c": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f656d4", "alias": "comb_factorial_compute_v1_151522320_2050", "problem": "Let $c = 389$. Let $n_1$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 389$. Let $S$ be the set of prime numbers from $2$ to $8$, and let $M$ be the largest element of $S$. Let $n$ be the largest positive divisor of $n_1$ that is at most $M$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(389),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_DIVISOR", "COUNT_PRIMES/MAX_DIVISOR"], "recipe_id": "74b71e", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:33:44.580358Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T04:33:44.583063Z"}, "problem_hash": "f6b883", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 3306}, "timestamp": "2026-02-10T17:10:04.702Z"}, {"id": 8, "model": "mathstral", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 662}, "timestamp": "2026-02-11T20:59:03.726Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 353}, "timestamp": "2026-02-11T20:58:09.525Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "MAX_DIVISOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_SUM": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "8da0e7", "alias": "modular_min_linear_v1_349078426_831", "problem": "Let $A$ be the number of integers $t$ such that $24 \\leq t \\leq 5313$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 202$, $1 \\leq b \\leq 233$, and $t = 9a + 15b$. \n\nLet $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1304164$. Let $m$ be the minimum value of $x + y$ over all such pairs. \n\nLet $r$ be the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $219x \\equiv A \\pmod{m}$. \n\nCompute the remainder when $44121 \\cdot r$ is divided by $88598$.", "answer": 86990, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a\": Const(219),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=202)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=233)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=5313)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1304164)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(88598)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.15, "created_at": "2026-02-08T13:18:15.425977Z", "verification": {"verified": true, "answer": 86990, "timestamp": "2026-02-08T13:18:15.575639Z"}, "problem_hash": "1dc2e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 405}, "timestamp": "2026-02-12T06:30:31.967Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "884de7", "alias": "nt_num_divisors_compute_v1_1431428450_98", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $12673$. Compute the number of positive divisors of this integer $d$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(12673))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T13:12:20.558925Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T13:12:20.575874Z"}, "problem_hash": "700db4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 130}, "timestamp": "2026-02-12T06:22:17.095Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "K5": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "834ec5", "alias": "algebra_poly_eval_v1_784195855_4630", "problem": "Let $a = 8$. Define $d$ to be an integer such that $d \\geq 2$ and $d$ divides the number of integers $t$ in the range $10 \\leq t \\leq 2706$ for which there exist positive integers $a$ and $b$ satisfying $1 \\leq a \\leq 458$, $1 \\leq b \\leq 595$, and $t = 2a + 3b + 5$. Let $m$ be the smallest such $d$. Compute\n\\[\n9a^4 - 6a^3 m^2 + \\left(\\sum_{k=1}^{3} k\\right) a + 7.\n\\]Then find the absolute value of this result.", "answer": 34167, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"a\": Const(8),\n \"result\": Sum(Mul(Const(9), Pow(Ref(\"a\"), Const(4))), Mul(Const(-6), Pow(Ref(\"a\"), Const(3))), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=458)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=595)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=2706)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=5)))))))))))), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Ref(\"_c\"), expr=Var(\"k\")), Ref(\"a\")), Const(7)),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR", "SUM_ARITHMETIC", "ONE_PHI_1"], "recipe_id": "38b21d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.037, "created_at": "2026-02-08T07:13:32.623064Z", "verification": {"verified": true, "answer": 34167, "timestamp": "2026-02-08T07:13:32.660221Z"}, "problem_hash": "0b2c45", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok", "MIN_PRIME_FACTOR": "ok_later", "L3b": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V5": "no", "V7": "no"}, "split": "test"} +{"id": "52bf8a", "alias": "nt_count_divisors_in_range_v1_458359167_5759", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 396900$. Let $a = 2$. Let $b$ be the number of integers $t$ such that $11 \\leq t \\leq 287$ and there exist positive integers $a'$, $b'$ with $1 \\leq a' \\leq 9$, $1 \\leq b' \\leq 56$, and $t = 7a' + 4b'$. Let $D$ be the set of all positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute $\\sum_{k=1}^{|D|} \\phi(k)$, where $\\phi$ denotes Euler's totient function.", "answer": 308, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(396900)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(2),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=56)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=287)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.104, "created_at": "2026-02-08T12:40:58.178270Z", "verification": {"verified": true, "answer": 308, "timestamp": "2026-02-08T12:40:58.282215Z"}, "problem_hash": "994d75", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 650}, "timestamp": "2026-02-12T05:30:07.285Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "K14": "no", "K18": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0e12eb", "alias": "antilemma_v1_legendre_1116507919_74", "problem": "Let $c = 2$. Let $m$ be the smallest integer $d \\geq c$ that divides 2205. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 2064969$. Define $n$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Determine the largest integer $k$ such that $m^k$ divides $n!$.", "answer": 1433, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(2205))))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2064969)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/B3/V1", "V1"], "recipe_id": "384316", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:24:14.996390Z", "verification": {"verified": true, "answer": 1433, "timestamp": "2026-02-08T02:24:14.997725Z"}, "problem_hash": "98cc5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1433, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 5994}, "timestamp": "2026-02-08T19:00:39.135Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1433, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 1297}, "timestamp": "2026-02-09T12:55:28.111Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:02:27.326Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1433, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 3389}, "timestamp": "2026-02-09T15:02:46.533Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "B3": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "test"} +{"id": "9c5005", "alias": "nt_count_gcd_equals_v1_50713871_22", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 5$, $1 \\leq j \\leq 44$, and $\\gcd(i,j) = 1$. Let $a = 176$ and $b = 176$. Define $w = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $v = \\sum_{d \\mid 18} \\phi(d) - 18$, where $\\phi$ is Euler's totient function. Let $u$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x,y)$ such that $x + y = n$. Let $k = 157 + v$ and $d = 1 + w$. Compute the number of positive integers $m$ such that $1 \\leq m \\leq u$ and $\\gcd(m,k) = d$. Determine the value of this number.", "answer": 5892, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(44))))),\n \"a\": Const(176),\n \"b\": Const(176),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(18),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": Sum(Const(157), Ref(\"v\")),\n \"d\": Sum(Const(1), Ref(\"w\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/B1", "EULER_TOTIENT_SUM", "MOBIUS_COPRIME"], "recipe_id": "b734b4", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "EULER_TOTIENT_SUM", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.429, "created_at": "2026-02-08T02:43:35.323033Z", "verification": {"verified": true, "answer": 5892, "timestamp": "2026-02-08T02:43:35.752503Z"}, "problem_hash": "a17d51", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5892, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 332, "completion_tokens": 1895}, "timestamp": "2026-02-08T19:45:09.027Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5892, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 328, "completion_tokens": 1771}, "timestamp": "2026-02-09T19:03:34.489Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:18:49.281Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5892, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 1291}, "timestamp": "2026-02-09T22:56:58.140Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "EULER_TOTIENT_SUM": "ok", "MOBIUS_COPRIME": "ok", "B1": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "test"} +{"id": "905b90", "alias": "nt_count_squarefree_v1_1520064083_1984", "problem": "Let $m = 28$ and let $k$ be the number of positive integers $n$ with $1 \\leq n \\leq 28$ such that the sum of the digits of $n$ is odd. Let $s$ be the sum of all values of $x + y$ where $x$ and $y$ are positive integers satisfying $xy = 16$. Let $g = \\gcd(s, k)$. Compute the number of positive integers $n$ such that $n$ lies between $\\sum_{d\\mid g} \\mu(d)$ and $80000$, inclusive, and $\\mu(n)^2 = 1$. ", "answer": 48627, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(28),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"upper\": Const(80000),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=16)))), expr=Sum(Var(name='x'), Var(name='y')))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B3/MOBIUS_COPRIME"], "recipe_id": "a90977", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 11.571, "created_at": "2026-02-08T04:26:39.601097Z", "verification": {"verified": true, "answer": 48627, "timestamp": "2026-02-08T04:26:51.172480Z"}, "problem_hash": "cda27e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "B3": "ok_later", "MOBIUS_COPRIME": "ok_later", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "V5": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "a83030", "alias": "modular_min_modexp_v1_784195855_8886", "problem": "Let $a = 2$, $b = 321$, and let $m$ be the smallest divisor of $275483864251$ that is at least $2$. Let $\\text{result}$ be the smallest positive integer $x$ such that $x \\leq 359$ and\n$$\n2^x \\equiv 321 \\pmod{m}.\n$$\nLet $Q$ be the remainder when $44121 \\cdot \\text{result}$ is divided by $83317$. Compute $Q$.", "answer": 7781, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": Const(321),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(275483864251))))),\n \"upper\": Const(359),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(83317)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.018, "created_at": "2026-02-08T16:24:12.575310Z", "verification": {"verified": true, "answer": 7781, "timestamp": "2026-02-08T16:24:12.593080Z"}, "problem_hash": "3d5ec3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 647}, "timestamp": "2026-02-12T10:32:54.018Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "057bca", "alias": "modular_product_range_v1_153355830_367", "problem": "Let $c=11$ and $m=194$, and let\n$$n=\\sum_{k=1}^{c} k.$$\nConsider all ordered pairs $(x,y)$ of positive integers such that $x+y=m$. Let $P$ be the maximum value of $xy$ over all such pairs $(x,y)$. Among all ordered pairs $(x,y)$ of positive integers satisfying $xy=P$, consider the set of all values of $x+y$, and let $L$ be the minimum element of this set.\n\nDefine\n$$\\Pi=\\prod_{i=n}^{L} i.$$\nLet $R$ be the remainder when $\\Pi$ is divided by $11783$, with $0\\le R<11783$.\n\nFind the value of $R$.", "answer": 8527, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11),\n \"_m\": Const(194),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\")),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11783)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/B3", "B1/B3"], "recipe_id": "8bc728", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:03:28.060462Z", "verification": {"verified": true, "answer": 8527, "timestamp": "2026-02-08T03:03:28.064742Z"}, "problem_hash": "0bcbcd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:39:24.419Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:37:17.301Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 8192}, "timestamp": "2026-02-12T01:59:56.727Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 510}, "timestamp": "2026-02-12T01:02:53.307Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 3156}, "timestamp": "2026-02-11T06:46:55.386Z"}, {"id": 8, "model": "mathstral", "answer": 4206, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 398}, "timestamp": "2026-02-11T13:42:56.309Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 564}, "timestamp": "2026-02-11T20:14:10.994Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "5ee590", "alias": "antilemma_sum_primes_v1_1918700295_1698", "problem": "Let $n$ be an integer. Define $x$ to be the sum of all integers $n$ such that $2 \\leq n \\leq 3$ and $n$ is prime. Let $d$ be a positive divisor of $\\gcd(18, 16)$. Define\n$$\na = \\sum_{d \\mid \\gcd(18, 16)} \\mu(d),\n$$\nwhere $\\mu$ denotes the M\\\"obius function. Let $b = \\lfloor \\log_{10} |x| \\rfloor$. Compute\n$$\n\\sum_{i=a}^{b} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + \\max\\{ xy \\mid x \\text{ and } y \\text{ are positive integers such that } x + y = 174 \\}.\n$$", "answer": 7574, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=SumOverDivisors(n=GCD(a=Const(value=18), b=Const(value=16)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(174)))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MOBIUS_COPRIME", "SUM_PRIMES"], "recipe_id": "0a4085", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:58:12.743112Z", "verification": {"verified": true, "answer": 7574, "timestamp": "2026-02-08T05:58:12.748192Z"}, "problem_hash": "e6c6be", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "SUM_PRIMES": "ok", "K13": "no", "K15": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "split": "test"} +{"id": "6b9314", "alias": "nt_min_coprime_above_v1_458359167_940", "problem": "Let $m = 539$, $n = 7$, $a = 73441$, $b = 73690$, and $p = 239$. Let $r$ be the smallest integer $k$ such that $a < k \\leq b$ and $\\gcd(k, p) = 1$. Let $d_0$ be the smallest divisor of $m$ that is at least $2$. Define $c$ to be the largest integer $t$ such that $d_0^t$ divides $$2 \\cdot (20408220680249893625799726576194971048799450530004821110847676560511414111795721005161730453148223871893499923856648897841552948218794724352102808021181948362147519106428774602593513681573900387900695107645987527556862596774563564386782267210991782167426524566852441823743908616082521997282336286716164877352137087447203909872304971829391176760635933261765679581448018679178366122518695393898771591037905764759181774116629727392384838488164100491150409397043313853882213043585558397757678064455061999521596768101861025535102558255683433527809533863633225192520748812510114705591127319927654120009501920547684194839926289676823999867916026777411036292668554790457141394408763309502994351640271150284487401581741898433930326199702179682105318491836179181133234835122143106391584529422146496836601942588463437049589103825291065724687890402649512192291168631853638596073822233012367108230154527083609055515669339954165303714319334262128724865315616246909387433849997157107582789462542172623348083042508339930634197724258820034945879985821304478402316962690037709974267624050495989328496873349010454787196817505086183422781084185945946797635621648950985413903811151424142480085763083689923703110406422627386747178217249782576905800762127116096523205102496079037660882930748528071774036807001876801).$$ Compute the value of $(r^2 + 7r + c) \\bmod 53679$.", "answer": 40512, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(539),\n \"_n\": Const(7),\n \"start\": Const(73441),\n \"upper\": Const(73690),\n \"modulus\": Const(239),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": MaxKDivides(target=Mul(Const(20408220680249893625799726576194971048799450530004821110847676560511414111795721005161730453148223871893499923856648897841552948218794724352102808021181948362147519106428774602593513681573900387900695107645987527556862596774563564386782267210991782167426524566852441823743908616082521997282336286716164877352137087447203909872304971829391176760635933261765679581448018679178366122518695393898771591037905764759181774116629727392384838488164100491150409397043313853882213043585558397757678064455061999521596768101861025535102558255683433527809533863633225192520748812510114705591127319927654120009501920547684194839926289676823999867916026777411036292668554790457141394408763309502994351640271150284487401581741898433930326199702179682105318491836179181133234835122143106391584529422146496836601942588463437049589103825291065724687890402649512192291168631853638596073822233012367108230154527083609055515669339954165303714319334262128724865315616246909387433849997157107582789462542172623348083042508339930634197724258820034945879985821304478402316962690037709974267624050495989328496873349010454787196817505086183422781084185945946797635621648950985413903811151424142480085763083689923703110406422627386747178217249782576905800762127116096523205102496079037660882930748528071774036807001876801), Const(27741979301473932120663792499714461086663516456864497663125559752145442541096912815605794123743220482315077971796629261555887682637568576556483381768920282166894734537366799078418256586630431871501601)), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(53679)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K13"], "recipe_id": "c99018", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K13", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T04:11:35.465416Z", "verification": {"verified": true, "answer": 40512, "timestamp": "2026-02-08T04:11:35.508785Z"}, "problem_hash": "462084", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "4f1e3f", "alias": "nt_count_divisible_and_v1_1125832087_378", "problem": "Let $N$ be the number of integers $n$ with $1 \\le n \\le 36972$ such that $n$ is divisible by both $9$ and $12$.\n\nLet\n$$Q \\equiv 180 - N \\pmod{57596}, \\quad 0 \\le Q < 57596.$$\n\nCompute $Q$.", "answer": 56749, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(36972),\n \"d1\": Const(9),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Sub(Const(180), Ref(\"result\")), modulus=Const(57596)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/C3/B3"], "recipe_id": "3e275c", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "B3", "C3"], "num_lemmas": 3, "generation_time": 1.396, "created_at": "2026-02-08T03:02:38.857294Z", "verification": {"verified": true, "answer": 56749, "timestamp": "2026-02-08T03:02:40.253102Z"}, "problem_hash": "72e70a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 413}, "timestamp": "2026-02-10T12:33:56.632Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 428}, "timestamp": "2026-02-10T12:34:24.834Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 5545}, "timestamp": "2026-02-12T01:41:47.710Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 317}, "timestamp": "2026-02-12T00:53:32.382Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 666}, "timestamp": "2026-02-11T04:37:07.884Z"}, {"id": 8, "model": "mathstral", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 451}, "timestamp": "2026-02-11T12:57:43.654Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 56749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 374}, "timestamp": "2026-02-11T19:23:32.797Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "C3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "test"} +{"id": "bb5be4", "alias": "antilemma_sum_primes_v1_168721529_1787", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le 93$. Let $S$ be the set of all integers $t$ such that $9 \\le t \\le 119$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 19$, $1 \\le b \\le 6$, and $t = 5a + 4b$. Define $Q$ to be the sum\n\\[\n\\sum_{i=0}^{d-1} d_i (i+1)^2 + |S|,\n\\]\nwhere $d_i$ is the $i$-th decimal digit of $|x|$ (starting from the units place as $i=0$), and $d$ is the number of digits of $|x|$. Find the value of $Q$.", "answer": 207, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(93)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=119)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "SUM_PRIMES"], "recipe_id": "7bca66", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:54:55.523017Z", "verification": {"verified": true, "answer": 207, "timestamp": "2026-02-08T13:54:55.526619Z"}, "problem_hash": "50d730", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 207, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 7629}, "timestamp": "2026-02-09T21:39:57.583Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "abb276", "alias": "nt_sum_phi_v1_677425708_3754", "problem": "Let $A$ be the set of positive integers $n$ such that $2 \\leq n \\leq 29$ and $n$ is prime. Define $s = \\sum_{k=1}^{29} \\phi(k) \\left\\lfloor \\frac{\\max(A)}{k} \\right\\rfloor$. Let $B$ be the set of positive integers $j$ such that $1 \\leq j \\leq s$ and $j^2 \\leq 189225$. Compute the sum of $\\phi(n)$ over all $n \\in B$, where $\\phi$ denotes Euler's totient function.", "answer": 57620, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Summation(var=\"k\", start=Const(1), end=Const(29), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\"))))), Var(\"k\")))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(189225))), domain='positive_integers')),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2/C3"], "recipe_id": "f7b960", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.029, "created_at": "2026-02-08T05:55:21.150338Z", "verification": {"verified": true, "answer": 57620, "timestamp": "2026-02-08T05:55:21.178935Z"}, "problem_hash": "311e37", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63570, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 3275}, "timestamp": "2026-02-12T16:48:02.106Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 402}, "timestamp": "2026-02-11T23:20:49.389Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C3": "ok_later", "K2": "ok_later", "C2": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "420d9e", "alias": "comb_sum_binomial_mod_v1_1470522791_284", "problem": "Let $s$ be the number of positive integers $n$ such that $1 \\leq n \\leq 242$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute $$\\sum_{k=s}^{55} \\binom{66}{k} \\bmod 11827.$$", "answer": 4330, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55),\n \"sum\": Summation(var=\"k\", start=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(242)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), end=Ref(\"_n\"), expr=Binom(n=Const(66), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11827)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.039, "created_at": "2026-02-08T12:56:05.831849Z", "verification": {"verified": true, "answer": 4330, "timestamp": "2026-02-08T12:56:05.871261Z"}, "problem_hash": "f36f25", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 830}, "timestamp": "2026-02-12T05:54:13.443Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "DS2": "no", "L3b": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0f680b", "alias": "nt_min_with_divisor_count_v1_238844314_235", "problem": "Let $d$ be the number of integers $n$ with $1 \\leq n \\leq 11$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Compute the smallest positive integer $n$ such that $1 \\leq n \\leq 20000$ and the number of positive divisors of $n$ is equal to $d$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(20000),\n \"div_count\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(11)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.799, "created_at": "2026-02-08T13:12:10.761565Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T13:12:11.560500Z"}, "problem_hash": "98fda1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 808}, "timestamp": "2026-02-12T06:22:40.820Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K14": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "333dd3", "alias": "algebra_quadratic_discriminant_v1_865884756_5366", "problem": "Let $a = 4$, $b = -6$, and $c = 10$. Define $\\Delta = b^2 - 4ac$. Let $r$ be the remainder when $|\\Delta|$ is divided by $11$. Compute the $r$-th Bell number, denoted $B_r$, which counts the number of partitions of a set of $r$ elements.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(4),\n \"b\": Const(-6),\n \"c\": Const(10),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "96b91a", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "bell_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.05, "created_at": "2026-02-08T18:34:45.023506Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T18:34:45.073176Z"}, "problem_hash": "d9ffce", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 213}, "timestamp": "2026-02-13T00:15:37.150Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "K13": "no", "K15": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "6c4bb8", "alias": "modular_product_range_v1_1915831931_2633", "problem": "Let $d$ be a positive integer. Define $p$ to be the smallest divisor of $58585817053$ that is at least $2$. Compute the remainder when the product of all integers from $8$ to $p$, inclusive, is divided by $10061$.", "answer": 262, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10061),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(8), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(58585817053)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T17:00:42.391493Z", "verification": {"verified": true, "answer": 262, "timestamp": "2026-02-08T17:00:42.402708Z"}, "problem_hash": "6a13b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 190}, "timestamp": "2026-02-12T21:37:32.722Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K18": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c6898a", "alias": "algebra_poly_eval_v1_1874849503_807", "problem": "Let $n$ be the number of positive integers $k$ such that $k$ divides $144$ and $k \\leq e$, where $e$ is the largest integer for which $17^e$ divides $23069!$. Define\n$$\n\\text{result} = \\frac{4n^5 + 78n^4 + 40n^{e'} + 46n^2 + 153n + 19}{29},\n$$\nwhere $e'$ is the largest integer for which $7^{e'}$ divides $\\binom{485}{194}$. Compute the multiplicative order of $2$ modulo $2|\\text{result}| + 3$.", "answer": 3900, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(485),\n \"_m\": Const(2),\n \"_n\": Const(7),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), MaxKDivides(target=Factorial(Const(23069)), base=Const(17))), Divides(divisor=Const(144), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": Div(Sum(Mul(Const(4), Pow(Ref(\"n\"), Const(5))), Mul(Const(78), Pow(Ref(\"n\"), Const(4))), Mul(Const(40), Pow(Ref(\"n\"), MaxKDivides(target=Binom(n=Ref(\"_c\"), k=Const(194)), base=Ref(\"_n\")))), Mul(Const(46), Pow(Ref(\"n\"), Ref(\"_m\"))), Mul(Const(153), Ref(\"n\")), Const(19)), Const(29)),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/C2", "V7"], "recipe_id": "f4db2d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "V1", "V7"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T13:18:55.702906Z", "verification": {"verified": true, "answer": 3900, "timestamp": "2026-02-08T13:18:55.714214Z"}, "problem_hash": "4fdae4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:10:08.315Z"}], "solution_status": 0, "lemma_applicability": {"V1": "ok", "V7": "ok", "C2": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "f549ca", "alias": "nt_count_coprime_and_v1_124444284_881", "problem": "Let $m=11$. Let $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=144$.\n\nLet $k_1$ be the number of integers $t$ with $1\\le t\\le n$ such that $21$ divides the $t$-th Fibonacci number $F_t$. Let $k_2$ be the largest prime number $t$ with $2\\le t\\le m$.\n\nLet $R$ be the number of integers $u$ with $1\\le u\\le 49396$ such that $\\gcd(u,k_1)=1$ and $\\gcd(u,k_2)=1$.\n\nDefine $Q$ to be the unique integer with $0\\le Q<97094$ such that\n$$Q\\equiv 78745\\,R\\pmod{97094}.$$\n\nFind the value of $Q$.", "answer": 43839, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(144))))),\n \"upper\": Const(49396),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(21), dividend=Fibonacci(arg=Var(name='n')))))),\n \"k2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(78745), Ref(\"result\")), modulus=Const(97094)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW/COUNT_FIB_DIVISIBLE"], "recipe_id": "7c1cc9", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 5.48, "created_at": "2026-02-08T03:33:44.940211Z", "verification": {"verified": true, "answer": 43839, "timestamp": "2026-02-08T03:33:50.420415Z"}, "problem_hash": "768120", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34839, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 4524}, "timestamp": "2026-02-09T23:22:37.968Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 43839, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 2467}, "timestamp": "2026-02-09T07:04:01.485Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 8192}, "timestamp": "2026-02-12T02:45:35.816Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 658}, "timestamp": "2026-02-12T01:47:35.882Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 43839, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 2952}, "timestamp": "2026-02-12T00:08:31.023Z"}, {"id": 8, "model": "mathstral", "answer": 36, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 528}, "timestamp": "2026-02-12T03:52:59.392Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 637}, "timestamp": "2026-02-11T21:01:19.497Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K14": "no", "L3b": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.6}, "split": "test"} +{"id": "750a0d", "alias": "modular_inverse_v1_1742523217_1806", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 899$ and $\\gcd(n, 20) = 1$. Let $S$ be the set of all such $n$ that are prime. Define $a$ to be the largest element of $S$. Let $m = 509$ and $\\text{upper} = 508$. Let $T$ be the set of all integers $x$ such that $1 \\leq x \\leq \\text{upper}$ and\n$$\nax \\equiv \\sum_{d \\mid \\gcd(17,19)} \\mu(d) \\pmod{m}.\n$$\nLet $\\text{result}$ be the smallest element of $T$. Compute the remainder when $54686 \\cdot \\text{result}$ is divided by $60341$.", "answer": 42079, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60341),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(899)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"m\": Const(509),\n \"upper\": Const(508),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), SumOverDivisors(n=GCD(a=Const(value=17), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Mul(Const(54686), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "recipe_id": "368f51", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T04:15:29.659209Z", "verification": {"verified": true, "answer": 42079, "timestamp": "2026-02-08T04:15:29.685498Z"}, "problem_hash": "b9ab6b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "MOBIUS_COPRIME": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "K16": "no", "K18": "no", "L3c": "no", "LTE_SUM": "no"}, "split": "test"} +{"id": "3b50e8", "alias": "nt_count_divisors_in_range_v1_124444284_7807", "problem": "Let $n = 55440$, $a = 20$, and let $b$ be the number of positive integers $k$ such that $1 \\leq k \\leq 8822$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{11}$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 69, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8822),\n \"n\": Const(55440),\n \"a\": Const(20),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T09:22:59.098867Z", "verification": {"verified": true, "answer": 69, "timestamp": "2026-02-08T09:22:59.112477Z"}, "problem_hash": "2cb304", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 69, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 3018}, "timestamp": "2026-02-14T03:37:01.963Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 889}, "timestamp": "2026-02-12T02:52:17.846Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "d44e23", "alias": "modular_product_range_v1_397696148_123", "problem": "Let $m = 4$ and let $n$ be the smallest divisor of $9797$ that is at least $2$. Define\n$$\nP = \\prod_{i=10}^{243} i.\n$$\nLet $r$ be the remainder when $P$ is divided by $11783$.\n\nNow compute the following three values:\n\n- $a = 353702 \\cdot |r| \\bmod n$\n- $b = 329703 \\cdot \\left(|r|^2 + 1\\right) \\bmod 101$\n- $c = 215534 \\cdot \\left(\\sum_{j=1}^{103} |r|\\right) \\bmod k$, where $k$ is the number of positive integers $j$ such that $1 \\leq j \\leq 103$ and $j^4 \\leq 112550881$\n\nLet $s = (a + b + c) \\bmod 1009091$. Compute the remainder when $s$ is divided by $52817$.", "answer": 44262, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9797))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(10), end=Const(243)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11783)),\n \"_c\": Const(4),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(103)), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(112550881))), domain='positive_integers'))))), modulus=Const(1009091)), modulus=Const(52817)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C3"], "recipe_id": "6dcc31", "seed_template_id": "modular_product_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T11:17:33.986820Z", "verification": {"verified": true, "answer": 44262, "timestamp": "2026-02-08T11:17:33.993146Z"}, "problem_hash": "96c23d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 8192}, "timestamp": "2026-02-14T12:21:42.193Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 360, "completion_tokens": 721}, "timestamp": "2026-02-12T03:52:39.118Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "DS2": "no", "K13": "no", "K15": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f38ac9", "alias": "antilemma_cartesian_v1_153355830_1797", "problem": "Let $A$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 24$ and $1 \\leq j \\leq 30$. Let $B$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 27$ and $1 \\leq j \\leq 151$. Compute the remainder when $B \\cdot A$ is divided by $61010$.", "answer": 6960, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61010),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Mod(value=Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(27)), right=IntegerRange(start=Const(1), end=Const(151)))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "48cdc6", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "affine_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:37:40.117066Z", "verification": {"verified": true, "answer": 6960, "timestamp": "2026-02-08T06:37:40.117761Z"}, "problem_hash": "30fc2f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6960, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 1918}, "timestamp": "2026-02-13T02:32:55.167Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 238}, "timestamp": "2026-02-12T00:18:05.460Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "42e26d", "alias": "nt_count_divisible_and_v1_1520064083_2111", "problem": "Let $n = 12$. Let $A$ be the set of all positive integers $n'$ such that $1 \\leq n' \\leq 611$ and $\\gcd(n', n) = 1$. Let $c$ be the number of elements in $A$. Let $d_2$ be the largest positive integer $d$ such that $1 \\leq d \\leq 12$ and $d$ divides $c$. Let $U = 142020$ and $d_1 = 10$. Let $B$ be the set of all positive integers $n''$ such that $1 \\leq n'' \\leq U$, $n''$ is divisible by $d_1$, and $n''$ is divisible by $d_2$. Let $r$ be the number of elements in $B$. Compute the remainder when $56029 \\cdot r$ is divided by $50744$.", "answer": 26571, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"upper\": Const(142020),\n \"d1\": Const(10),\n \"d2\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(12)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(611)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(56029), Ref(\"result\")), modulus=Const(50744)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MAX_DIVISOR"], "recipe_id": "747897", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 6.374, "created_at": "2026-02-08T04:30:54.289712Z", "verification": {"verified": true, "answer": 26571, "timestamp": "2026-02-08T04:31:00.664047Z"}, "problem_hash": "0af21b", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 26571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 310, "completion_tokens": 1597}, "timestamp": "2026-02-10T16:56:54.234Z"}, {"id": 8, "model": "mathstral", "answer": 1998, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 574}, "timestamp": "2026-02-13T18:04:58.633Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30906, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 311, "completion_tokens": 482}, "timestamp": "2026-02-11T20:54:00.667Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "MAX_DIVISOR": "ok_later", "K13": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "60c311", "alias": "comb_sum_binomial_mod_v1_48377204_2218", "problem": "Let $d_{\\text{min}}$ be the smallest divisor of $41989$ that is at least $2$. Compute\n$$\n\\text{result} = \\left( \\sum_{k=12}^{189} \\binom{d_{\\text{min}}}{k} \\right) \\mod 10529.\n$$\nFind the value of $\\text{result}$.", "answer": 6930, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"sum\": Summation(var=\"k\", start=Const(12), end=Const(189), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(41989))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10529)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T16:39:55.164796Z", "verification": {"verified": true, "answer": 6930, "timestamp": "2026-02-08T16:39:55.178079Z"}, "problem_hash": "a3d7b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 433}, "timestamp": "2026-02-12T11:12:32.093Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "L3b": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f37315", "alias": "nt_count_divisible_v1_1520064083_9185", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $175$. Let $\\text{result}$ be the number of positive integers $n$ with $1 \\leq n \\leq 84666$ such that $n$ is divisible by $d$. Let $Q = 88888 - \\text{result}$. Find the value of $Q$.", "answer": 71955, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(84666),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(175))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(88888),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.963, "created_at": "2026-02-08T10:35:27.785360Z", "verification": {"verified": true, "answer": 71955, "timestamp": "2026-02-08T10:35:30.748691Z"}, "problem_hash": "abbdc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71955, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 392}, "timestamp": "2026-02-14T07:49:23.862Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 226}, "timestamp": "2026-02-12T03:21:15.349Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "57df3f", "alias": "nt_sum_gcd_range_mod_v1_898971024_2508", "problem": "Let $N$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 20$ and $1 \\leq j \\leq 87$ such that $\\gcd(i,j) = 1$. Let $k$ be the number of positive integers $t$ with $9 \\leq t \\leq 554$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 20$, $1 \\leq b \\leq 207$, and $t = 7a + 2b$. Define\n$$\n\\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $M = 11057$. Compute the remainder when the sum is divided by $M$.", "answer": 653, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(87))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=207)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=554)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"M\": Const(11057),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.961, "created_at": "2026-02-08T16:47:37.882230Z", "verification": {"verified": true, "answer": 653, "timestamp": "2026-02-08T16:47:38.843391Z"}, "problem_hash": "9f8a38", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 822}, "timestamp": "2026-02-12T21:09:57.971Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f3949d", "alias": "nt_count_squarefree_v1_124444284_1523", "problem": "Let $n_0 = 2$. Let $K$ be the largest integer $k$ such that $n_0^k$ divides\n$$7^{1048576} - 5^{1048576}.$$\nLet\n$$g = \\gcd\\bigl(15, K\\bigr).$$\nDefine\n$$H = \\sum_{d \\mid g} \\mu(d),$$\nwhere $\\mu$ is the M\\\"obius function.\n\nLet $C$ be the number of integers $n$ with $1 \\le n \\le 40401$ such that\n$$\\mu(n)^2 = \\varphi(H),$$\nwhere $\\varphi$ is Euler's totient function.\n\nCompute $C$.", "answer": 24555, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(40401),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), EulerPhi(n=SumOverDivisors(n=GCD(a=Const(value=15), b=MaxKDivides(target=Sub(left=Pow(base=Const(value=7), exp=Const(value=1048576)), right=Pow(base=Const(value=5), exp=Const(value=1048576))), base=Ref(name='_n'))), var='d', expr=MoebiusMu(n=Var(name='d')))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MOBIUS_COPRIME/ONE_PHI_1"], "recipe_id": "bdb694", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 6.99, "created_at": "2026-02-08T03:58:30.749637Z", "verification": {"verified": true, "answer": 24555, "timestamp": "2026-02-08T03:58:37.739832Z"}, "problem_hash": "00b5ca", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF_P2": "ok", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "595bb7", "alias": "nt_count_coprime_and_v1_458359167_542", "problem": "Let $N = 23293$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 18$, and let $M = \\max P$. Let $c = \\sum_{d \\mid \\gcd(13,M)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n,10) = c$. Let $u$ be the number of elements in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq u$, $\\gcd(n,8) = 1$, and $\\gcd(n,9) = 1$. Let $r$ be the number of elements in $T$. Compute the remainder when $20896r$ is divided by $80505$.", "answer": 15946, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23293),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), SumOverDivisors(n=GCD(a=Const(value=13), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=18)), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"k1\": Const(8),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(20896), Ref(\"result\")), modulus=Const(80505)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME/C4"], "recipe_id": "5b6799", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.904, "created_at": "2026-02-08T03:24:13.459637Z", "verification": {"verified": true, "answer": 15946, "timestamp": "2026-02-08T03:24:14.363829Z"}, "problem_hash": "1c6eff", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C4": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "edb608", "alias": "algebra_poly_eval_v1_655260480_3003", "problem": "Let $y = 12$. Define $A$ to be the value of the expression\n$$\n32y^5 - 4y^4 - 889y^3 - 399y^2 + 1484y + 190.\n$$\nLet $B$ be the number of positive integers $n$ such that $1 \\le n \\le 32499$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Define $r = \\frac{A}{B}$. Compute the remainder when $44121 \\cdot r$ is divided by $56761$.", "answer": 56337, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"y\": Const(12),\n \"result\": Div(Sum(Mul(Const(32), Pow(Ref(\"y\"), Const(5))), Mul(Const(-4), Pow(Ref(\"y\"), Const(4))), Mul(Const(-889), Pow(Ref(\"y\"), Const(3))), Mul(Const(-399), Pow(Ref(\"y\"), Const(2))), Mul(Const(1484), Ref(\"y\")), Const(190)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(32499)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(56761)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T17:07:18.559784Z", "verification": {"verified": true, "answer": 56337, "timestamp": "2026-02-08T17:07:18.566281Z"}, "problem_hash": "43ed10", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 401}, "timestamp": "2026-02-12T21:52:14.094Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0d128d", "alias": "nt_euler_phi_compute_v1_1978505735_266", "problem": "Let $n = 40320$. Let $\\varphi(n)$ denote Euler's totient function. Let $r = \\varphi(n)$, and let $s = |r| \\bmod 11$. Compute the value of the Bell number $B_s$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(40320),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["COUNT_COPRIME_GRID/EULER_TOTIENT_SUM"], "recipe_id": "c942cc", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C4", "COUNT_COPRIME_GRID", "EULER_TOTIENT_SUM"], "num_lemmas": 3, "generation_time": 0.036, "created_at": "2026-02-08T15:15:30.266577Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T15:15:30.302355Z"}, "problem_hash": "22249f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 413}, "timestamp": "2026-02-12T08:02:49.375Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "EULER_TOTIENT_SUM": "ok_later", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "997898", "alias": "modular_product_range_v1_2051736721_2696", "problem": "Let $c=2025$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=c$. For each such pair, compute $x+y$, and let $m$ be the minimum of all these values.\n\nLet $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=12$, $\\gcd(p,q)=1$, and $p c_k$. Compute the sum $\\sum_{k=n}^{193} \\binom{c_k}{k}$, and let $r$ be the remainder when this sum is divided by $11161$. Find the value of $r$.", "answer": 6943, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=Const(193), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1079)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11161)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T17:23:06.468769Z", "verification": {"verified": true, "answer": 6943, "timestamp": "2026-02-08T17:23:06.494472Z"}, "problem_hash": "db8d33", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 367}, "timestamp": "2026-02-12T22:28:45.946Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "252436", "alias": "sequence_lucas_compute_v1_1915831931_3749", "problem": "Let $n$ be the smallest divisor of $10051$ that is greater than or equal to $2$. Let $L_n$ denote the $n$th Lucas number. Compute $50721 - L_n$.", "answer": 41372, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10051),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": Const(50721),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:52:32.857614Z", "verification": {"verified": true, "answer": 41372, "timestamp": "2026-02-08T17:52:32.860006Z"}, "problem_hash": "ab17c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 50200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 451}, "timestamp": "2026-02-12T23:18:33.420Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "85d165", "alias": "comb_sum_binomial_row_v1_124444284_1818", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 216$, $\\gcd(p, q) = 1$, and $p < q$. Define $r = n^{14}$. Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 15$ such that $\\gcd(i, j) = 1$. Compute the remainder when $|S| - r$ is divided by $98630$.", "answer": 82269, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": Const(14),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(15))))), Ref(\"result\")), modulus=Const(98630)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "COPRIME_PAIRS/COUNT_COPRIME_GRID"], "recipe_id": "abcdb0", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:09:53.898882Z", "verification": {"verified": true, "answer": 82269, "timestamp": "2026-02-08T04:09:53.900776Z"}, "problem_hash": "c5ebb3", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 82269, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 1041}, "timestamp": "2026-02-10T15:34:04.593Z"}, {"id": 8, "model": "mathstral", "answer": 71, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 855}, "timestamp": "2026-02-13T08:49:37.990Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 552}, "timestamp": "2026-02-11T20:29:27.238Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "16cdc9", "alias": "algebra_quadratic_discriminant_v1_784195855_5767", "problem": "Let $m = 74203$. Define $n$ to be the number of positive integers at most 4 that are divisible by 4. Let $a = 3$, $b = 0$, and $c = 2$. Let $D = b^k - n \\cdot a \\cdot c$, where $k$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\alpha = 2$ if $D > 0$, and $\\alpha = 1$ if $D = 0$. Compute $m \\cdot \\alpha$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74203),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4)), Eq(Mod(value=Var(\"n\"), modulus=Const(4)), Const(0))))),\n \"a\": Const(3),\n \"b\": Const(0),\n \"c\": Const(2),\n \"D\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Mul(Ref(\"_m\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/COPRIME_PAIRS"], "recipe_id": "67559a", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T08:06:46.149314Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T08:06:46.155896Z"}, "problem_hash": "0ee525", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 74203, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 1065}, "timestamp": "2026-02-13T14:31:13.645Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 74203, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 338}, "timestamp": "2026-02-12T01:31:08.134Z"}], "solution_status": 0, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "5349ea", "alias": "nt_count_divisible_v1_784195855_8319", "problem": "Let $d$ be the smallest divisor of $143$ that is greater than or equal to $2$. Compute the number of positive integers $n$ such that $n \\leq 37249$ and $n$ is divisible by $d$.", "answer": 3386, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(143),\n \"upper\": Const(37249),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.316, "created_at": "2026-02-08T16:00:42.508254Z", "verification": {"verified": true, "answer": 3386, "timestamp": "2026-02-08T16:00:43.824746Z"}, "problem_hash": "cd032b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3386, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 202}, "timestamp": "2026-02-12T09:40:00.128Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K5": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "575735", "alias": "comb_count_derangements_v1_124444284_7880", "problem": "Let $n = 7$ and let $D$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 82$. Define $P$ to be the maximum value of $xy$ over all such pairs. Let $R = !n$, the number of derangements of $n$ elements. Compute the remainder when $P - R$ is divided by $59704$.", "answer": 59531, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(82)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(59704)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_count_derangements_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:24:40.332622Z", "verification": {"verified": true, "answer": 59531, "timestamp": "2026-02-08T09:24:40.333758Z"}, "problem_hash": "bd3a45", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 59531, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 902}, "timestamp": "2026-02-14T04:11:52.507Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 354}, "timestamp": "2026-02-12T02:56:19.378Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3dbd70", "alias": "nt_num_divisors_compute_v1_48377204_1853", "problem": "Let $n$ be the smallest divisor of $62197$ that is at least $2$. Compute the number of positive divisors of $n$, and multiply this number by $20577$. Find the value of this product.", "answer": 41154, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(62197))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(20577),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:27:31.424115Z", "verification": {"verified": true, "answer": 41154, "timestamp": "2026-02-08T16:27:31.427067Z"}, "problem_hash": "6320d2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 41154, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 177}, "timestamp": "2026-02-12T10:46:04.687Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "9c89da", "alias": "nt_sum_gcd_range_mod_v1_124444284_3623", "problem": "Let $N$ be the number of positive integers $n$ with $1 \\leq n \\leq 66000$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $k = 240$ and let $s = \\sum_{n=1}^{N} \\gcd(n, k)$. Compute the remainder when $s$ is divided by $10321$.", "answer": 2395, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66000),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"k\": Const(240),\n \"M\": Const(10321),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.516, "created_at": "2026-02-08T05:30:29.697310Z", "verification": {"verified": true, "answer": 2395, "timestamp": "2026-02-08T05:30:30.213085Z"}, "problem_hash": "0488ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2395, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 2715}, "timestamp": "2026-02-12T09:40:14.734Z"}, {"id": 8, "model": "mathstral", "answer": 4074, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 558}, "timestamp": "2026-02-14T19:09:20.529Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 568}, "timestamp": "2026-02-11T22:43:46.928Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "C2": "no", "DS2": "no", "L3c": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "6af188", "alias": "antilemma_v1_legendre_1918700295_971", "problem": "Let $x$ be the largest integer such that $13^x$ divides $24830!$. Let $C$ be the number of integers $t$ with $18 \\le t \\le 11138$ for which there exist positive integers $a \\le 415$ and $b \\le 677$ such that $t = 4a + 14b$. Compute the remainder when\n$$\nx^2 + (\\text{the largest prime } p \\le 12) \\cdot x + C\n$$\nis divided by $97465$.", "answer": 12321, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24830),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=415)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=677)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=11138)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))), Ref(\"x\")), Ref(\"_c\")), modulus=Const(97465)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM", "V1"], "recipe_id": "4b5297", "seed_template_id": "antilemma_v1_legendre", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:25:20.895751Z", "verification": {"verified": true, "answer": 12321, "timestamp": "2026-02-08T05:25:20.899800Z"}, "problem_hash": "782139", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "7d81b7", "alias": "nt_count_digit_sum_v1_655260480_2034", "problem": "Let $s$ be the number of nonnegative integers $j$ such that $j \\leq 16908$ and $\\binom{16908}{j}$ is odd. Define $T$ to be the number of positive integers $n \\leq 58081$ such that the sum of the decimal digits of $n$ is equal to $s$. Compute $T$.", "answer": 2996, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16908),\n \"upper\": Const(58081),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Summation(var=\"k\", start=Sub(Binom(n=Const(20), k=Const(20)), Const(1)), end=Const(5), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(5), k=Var(\"k\"))))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(16908), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_N", "V8"], "recipe_id": "c1c391", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "V8", "ZERO_BINOM_N"], "num_lemmas": 3, "generation_time": 3.053, "created_at": "2026-02-08T16:32:30.980473Z", "verification": {"verified": true, "answer": 2996, "timestamp": "2026-02-08T16:32:34.033347Z"}, "problem_hash": "2e25f4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 478}, "timestamp": "2026-02-12T10:54:03.169Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "V8": "ok", "ZERO_BINOM_N": "ok", "C2": "no", "K13": "no", "K17": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1471d0", "alias": "antilemma_k3_v1_784195855_6401", "problem": "Let $n = 65538$, and let $x = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $c = 32041$. Compute $$\n\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + c,\n$$ where $d$ is the number of decimal digits of $|x|$.", "answer": 32336, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65538),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(32041),\n \"Q\": Sum(Summation(var=\"i\", start=Mod(value=Const(75), modulus=Const(75)), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "IDENTITY_MOD_SELF", "lemma_paths": ["IDENTITY_MOD_SELF", "K3"], "recipe_id": "0006fa", "seed_template_id": "antilemma_k3_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_MOD_SELF", "K3"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:39:02.095110Z", "verification": {"verified": true, "answer": 32336, "timestamp": "2026-02-08T08:39:02.098150Z"}, "problem_hash": "8d4965", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32336, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 151, "completion_tokens": 913}, "timestamp": "2026-02-13T20:04:00.427Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 366}, "timestamp": "2026-02-12T02:02:30.399Z"}], "solution_status": 1, "lemma_applicability": {"IDENTITY_MOD_SELF": "ok", "K3": "ok", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "87a0e3", "alias": "modular_count_residue_v1_784195855_9960", "problem": "Let $m$ be the smallest divisor of $6137$ that is at least $2$. Let $r = 11$ and let $U = 43681$. Consider the set of all integers $n$ such that $1 \\leq n \\leq U$ and $n \\equiv r \\pmod{m}$. Let $C$ be the number of elements in this set. Compute the remainder when $49591 \\cdot C$ is divided by $53714$.", "answer": 43385, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53714),\n \"upper\": Const(43681),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6137))))),\n \"r\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mul(Const(49591), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.199, "created_at": "2026-02-08T17:20:38.129326Z", "verification": {"verified": true, "answer": 43385, "timestamp": "2026-02-08T17:20:42.328258Z"}, "problem_hash": "3a2388", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 23090, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 542}, "timestamp": "2026-02-12T22:24:10.529Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "40c3e5", "alias": "comb_count_partitions_v1_1978505735_7663", "problem": "Let $n = 44$. Let $p$ be the number of integer partitions of $n$. Let $d_{\\text{min}}$ be the smallest divisor of $3563023$ that is at least $2$. Compute the remainder when $d_{\\text{min}} - p$ is divided by $81982$.", "answer": 6848, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(44),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3563023))))), Ref(\"result\")), modulus=Const(81982)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "comb_count_partitions_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T20:22:53.620263Z", "verification": {"verified": true, "answer": 6848, "timestamp": "2026-02-08T20:22:53.623129Z"}, "problem_hash": "97dd97", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 236}, "timestamp": "2026-02-13T01:21:44.999Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c0f62d", "alias": "algebra_poly_eval_v1_1978505735_877", "problem": "Let $m = 40$. Define $n$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 600$, $\\gcd(p, q) = 1$, and $p < q$. Let $b = \\sum_{k=1}^{3} k$. Define\n\\[\n\\text{result} = \\frac{1}{60} \\left( m \\cdot b^5 - 172 \\cdot b^n + 200 \\cdot b^3 - 136 \\cdot b^2 - 16 \\cdot b + 84 \\right).\n\\]\nLet $c = 36100$. Compute $Q = c - \\text{result}$.", "answer": 33993, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(40),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=600)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"result\": Div(Sum(Mul(Ref(\"_m\"), Pow(Ref(\"b\"), Const(5))), Mul(Const(-172), Pow(Ref(\"b\"), Ref(\"_n\"))), Mul(Const(200), Pow(Ref(\"b\"), Const(3))), Mul(Const(-136), Pow(Ref(\"b\"), Const(2))), Mul(Const(-16), Ref(\"b\")), Const(84)), Const(60)),\n \"_c\": Const(36100),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T15:39:21.306295Z", "verification": {"verified": true, "answer": 33993, "timestamp": "2026-02-08T15:39:21.313737Z"}, "problem_hash": "bcb473", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 412}, "timestamp": "2026-02-12T08:58:27.372Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "L3b": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8c7cda", "alias": "modular_sum_quadratic_residues_v1_124444284_6727", "problem": "Let $n = 2$. Let $p$ be the smallest divisor of $152066843603$ that is greater than or equal to $n$. Compute $\\frac{p(p-1)}{4}$.", "answer": 95018, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(152066843603))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:36:09.003370Z", "verification": {"verified": true, "answer": 95018, "timestamp": "2026-02-08T08:36:09.004502Z"}, "problem_hash": "bb187d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3810376848, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 89, "completion_tokens": 5276}, "timestamp": "2026-02-13T19:50:39.274Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 304}, "timestamp": "2026-02-12T02:00:30.043Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "278d81", "alias": "comb_sum_binomial_mod_v1_1978505735_7259", "problem": "Let $m = 2116$. Consider all pairs of positive integers $(x, y)$ such that $xy = m$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $T$ be the number of integers $t$ such that $22 \\leq t \\leq 224$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 12$, $1 \\leq b \\leq 7$, satisfying $$\nt = 14a + 8b.\n$$ Define $$\nA = \\sum_{k=19}^{T} \\binom{s}{k}.\n$$ Let $B = A \\bmod 10463$. Compute $$\n\\sum_{n=1}^{|B|} \\tau(n),\n$$ where $\\tau(n)$ denotes the number of positive divisors of $n$. Determine the value of this sum.", "answer": 1942, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2116),\n \"_n\": Const(10463),\n \"sum\": Summation(var=\"k\", start=Const(19), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=224)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), expr=Binom(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T20:08:51.035646Z", "verification": {"verified": true, "answer": 1942, "timestamp": "2026-02-08T20:08:51.044701Z"}, "problem_hash": "2bf543", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 572}, "timestamp": "2026-02-13T01:17:31.820Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "K13": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f2958e", "alias": "nt_sum_totient_over_divisors_v1_1520064083_3638", "problem": "Let $a = 45$ and $b$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 529$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ is the M\\\"obius function. Let $f = \\Omega(13)$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Define $n = 85728 \\cdot c \\cdot f$. Compute the sum of $\\varphi(d)$ over all positive divisors $d$ of $n$, where $\\varphi$ is Euler's totient function.\n\nFind the value of this sum.", "answer": 85728, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(529),\n \"a\": Const(45),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(13),\n \"f\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Const(85728), Ref(\"c\"), Ref(\"f\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "BIG_OMEGA_ONE"], "recipe_id": "2c760e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T05:47:04.256661Z", "verification": {"verified": true, "answer": 85728, "timestamp": "2026-02-08T05:47:04.264126Z"}, "problem_hash": "917a0e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_SUB": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "4ceca8", "alias": "nt_euler_phi_compute_v1_1520064083_6508", "problem": "Let $n = 56280$. Define $r = \\phi(n)$, where $\\phi$ is Euler's totient function. Let $c$ be the smallest divisor of 107113 that is at least 2. Compute the remainder when $c - r$ is divided by 90354.", "answer": 77725, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90354),\n \"n\": Const(56280),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(107113))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:08:11.393188Z", "verification": {"verified": true, "answer": 77725, "timestamp": "2026-02-08T08:08:11.394050Z"}, "problem_hash": "a1800e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 77725, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 1651}, "timestamp": "2026-02-13T15:09:01.990Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 87913, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 487}, "timestamp": "2026-02-12T01:34:34.511Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "MOD_MUL": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "aac140", "alias": "comb_count_permutations_fixed_v1_1520064083_7725", "problem": "Let $d$ be the smallest divisor of $2695$ that is at least $2$. Let $n$ be this value of $d$. Compute the number of derangements of $n-1$ elements, multiplied by $\\binom{n}{1}$. Let this result be $R$. Find the remainder when $32965 \\cdot R$ is divided by $69822$.", "answer": 17163, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32965),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2695))))),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(69822)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T09:16:25.086085Z", "verification": {"verified": true, "answer": 17163, "timestamp": "2026-02-08T09:16:25.089729Z"}, "problem_hash": "ee59ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17163, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 1178}, "timestamp": "2026-02-14T02:12:34.754Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29993, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 502}, "timestamp": "2026-02-12T02:43:00.944Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "V1": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a449b6", "alias": "nt_min_phi_inverse_v1_784195855_246", "problem": "Let $m = 3$ and $n = 17$. Let $u$ be the largest integer $k$ such that $3^k$ divides $63!$. Let $k_0 = \\sum_{i=1}^4 i$. Let $r$ be the smallest positive integer $n \\leq u$ such that $\\phi(n) = k_0$, where $\\phi$ denotes Euler's totient function. Let $A$ be the sum over $i$ from $0$ to $\\text{number of digits of } r - 1$ of $\\text{digit}_i(r) \\cdot (i+1)^2$, where $\\text{digit}_i(x)$ denotes the $i$-th decimal digit of $x$ (starting from the units place at $i=0$). Compute the value of $A + n$.", "answer": 22, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(17),\n \"upper\": MaxKDivides(target=Factorial(Const(63)), base=Ref(\"_m\")),\n \"k\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "V1"], "recipe_id": "bdd6f4", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "V1"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:03:23.800414Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T03:03:23.807020Z"}, "problem_hash": "8fa297", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "split": "test"} +{"id": "8db223", "alias": "modular_modexp_compute_v1_124444284_382", "problem": "Let $a = 47$. Let $e$ be the number of positive integers $n$ such that $1 \\leq n \\leq 10999$ and $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.$$ Compute the remainder when $a^e$ is divided by $58564$.", "answer": 55543, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(47),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10999)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"m\": Const(58564),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:14:43.187564Z", "verification": {"verified": true, "answer": 55543, "timestamp": "2026-02-08T03:14:43.189431Z"}, "problem_hash": "b21e7a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:51:31.827Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 55543, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 8176}, "timestamp": "2026-02-09T01:32:14.962Z"}, {"id": 8, "model": "mathstral", "answer": 2308, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 142, "completion_tokens": 994}, "timestamp": "2026-02-12T12:05:31.634Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 682}, "timestamp": "2026-02-11T20:34:13.299Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K16": "no", "K18": "no", "L3b": "no", "V5": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "9b51dc", "alias": "comb_count_permutations_fixed_v1_655260480_5883", "problem": "Let $k$ be the smallest integer $d \\geq 2$ that divides $2695$.\n\nCompute $\\binom{8}{k} \\cdot !(8 - k)$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 112, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(8),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2695))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T18:41:55.610930Z", "verification": {"verified": true, "answer": 112, "timestamp": "2026-02-08T18:41:55.626723Z"}, "problem_hash": "f29746", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 534}, "timestamp": "2026-02-13T00:26:45.162Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "K5": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "783126", "alias": "nt_sum_gcd_range_mod_v1_1915831931_2635", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 25392$ and\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}.\n$$\nLet $k = 540$ and $M = 11903$. Compute the remainder when\n$$\n\\sum_{n_1=1}^{N} \\gcd(n_1, k)\n$$\nis divided by $M$.", "answer": 7859, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25392),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"k\": Const(540),\n \"M\": Const(11903),\n \"sum\": Summation(var=\"n1\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n1\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.458, "created_at": "2026-02-08T17:00:50.317411Z", "verification": {"verified": true, "answer": 7859, "timestamp": "2026-02-08T17:00:50.775610Z"}, "problem_hash": "3000da", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 676}, "timestamp": "2026-02-12T21:37:38.223Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "L3b": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d12c6c", "alias": "geo_count_lattice_rect_v1_1978505735_2894", "problem": "Let $ a = 90 $ and $ b = 27 $. Compute the number of lattice points $ (x, y) $ such that $ 0 \\le x \\le a $ and $ 0 \\le y \\le b $.", "answer": 2548, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(90),\n \"b\": Const(27),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T17:14:29.677310Z", "verification": {"verified": true, "answer": 2548, "timestamp": "2026-02-08T17:14:29.678796Z"}, "problem_hash": "1f0733", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2430, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 229}, "timestamp": "2026-02-12T22:13:55.826Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f6c29e", "alias": "antilemma_count_primes_v1_1248542787_417", "problem": "Let $m = 2$. Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 32$ and $1 \\leq j \\leq 53$ such that $\\gcd(i, j) = 1$. Let $x$ be the number of prime numbers $n$ satisfying $m \\leq n \\leq |S|$. Determine the value of $x$.", "answer": 180, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(32)), right=IntegerRange(start=Const(1), end=Const(53))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Ref(\"x\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "ca60f0", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:07:13.437903Z", "verification": {"verified": true, "answer": 180, "timestamp": "2026-02-08T03:07:13.439053Z"}, "problem_hash": "3eaee1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:54:22.016Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 180, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 209, "completion_tokens": 4516}, "timestamp": "2026-02-09T16:20:23.168Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:50:10.609Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "ok", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K17": "no", "K18": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "8613c7", "alias": "modular_sum_quadratic_residues_v1_1116507919_422", "problem": "Let $c = 1386$ and $m = 4$. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq k$, where $k$ is the largest integer for which $7^k$ divides $1386!$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 4$. Compute $\\frac{p(p-1)}{s}$.", "answer": 13053, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(1386),\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Ref(\"_c\")), base=Const(7))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW", "B3"], "recipe_id": "029b5c", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:34:11.367096Z", "verification": {"verified": true, "answer": 13053, "timestamp": "2026-02-08T02:34:11.370441Z"}, "problem_hash": "e6cd3b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1095}, "timestamp": "2026-02-08T19:32:39.039Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 917}, "timestamp": "2026-02-09T17:29:26.599Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 6085}, "timestamp": "2026-02-09T21:18:07.324Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 728}, "timestamp": "2026-02-09T21:04:42.489Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "f2f9de", "alias": "modular_sum_quadratic_residues_v1_349078426_531", "problem": "Let $p$ be the smallest prime divisor of $5386980889123$. Define $r = \\frac{p(p-1)}{4}$. Compute the remainder when $66151 \\cdot r$ is divided by $61899$.", "answer": 44061, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66151),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5386980889123))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(61899)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:07:01.306510Z", "verification": {"verified": true, "answer": 44061, "timestamp": "2026-02-08T13:07:01.307961Z"}, "problem_hash": "db1abb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 268}, "timestamp": "2026-02-12T06:10:03.787Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f9acb8", "alias": "modular_inverse_v1_898971024_2015", "problem": "Let $a$ be the smallest divisor of $188018903167$ that is greater than $1$. Let $m = 991$. Determine the smallest positive integer $x$ such that $1 \\le x \\le 990$ and $ax \\equiv 1 \\pmod{m}$. Let $\\text{inv}$ be this value of $x$. Compute the remainder when $44121 \\cdot \\text{inv}$ is divided by $50906$.", "answer": 18350, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(188018903167))))),\n \"m\": Const(991),\n \"upper\": Const(990),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(50906)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.152, "created_at": "2026-02-08T16:29:43.603596Z", "verification": {"verified": true, "answer": 18350, "timestamp": "2026-02-08T16:29:43.755445Z"}, "problem_hash": "e22fb0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 402}, "timestamp": "2026-02-12T10:44:44.441Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K18": "no", "LTE_DIFF": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "51dd85", "alias": "modular_count_residue_v1_717093673_3494", "problem": "Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq 61504$ and $n \\equiv 14 \\pmod{29}$. Let $T$ be the set of all integers $d \\geq 2$ that divide $1517$, and let $c$ be the smallest element of $T$. Compute the remainder when $c - \\text{result}$ is divided by $66813$.", "answer": 64729, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(61504),\n \"m\": Const(29),\n \"r\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1517))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66813)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.449, "created_at": "2026-02-08T17:38:31.548480Z", "verification": {"verified": true, "answer": 64729, "timestamp": "2026-02-08T17:38:33.997054Z"}, "problem_hash": "8410c8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 64693, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 617}, "timestamp": "2026-02-12T22:53:36.484Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ad7724", "alias": "modular_sum_quadratic_residues_v1_458359167_4891", "problem": "Let $n = 2$. Define $p$ as the smallest integer $d \\geq n$ that divides $144919536581$. Let $r = \\frac{p(p-1)}{4}$. Compute the remainder when $\\sum_{k=1}^{|r|} \\phi(k)$ is divided by $60600$.", "answer": 17470, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(144919536581))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(60600)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.301, "created_at": "2026-02-08T12:07:12.505795Z", "verification": {"verified": true, "answer": 17470, "timestamp": "2026-02-08T12:07:17.806607Z"}, "problem_hash": "1862a2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 114, "completion_tokens": 5709}, "timestamp": "2026-02-14T22:21:30.984Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 333}, "timestamp": "2026-02-12T04:56:51.742Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "LTE_SUM": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "ff3628", "alias": "nt_gcd_compute_v1_784195855_101", "problem": "Let $n_0$ be the greatest prime number $n$ such that $2\\le n\\le3$.\nLet $u$ be the number of distinct prime factors of $1$, and let\n$$g = n_0 + u.$$\nLet $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=370440, \\quad \\gcd(p,q)=1, \\quad p p$ such that $pq = 18$ and $\\gcd(p, q) = 1$. Compute the remainder when\n$$\nR^c + 6R + 2\n$$\nis divided by 69111.", "answer": 51293, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"upper\": Const(50400),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1430616167))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"result\")), Const(2)), modulus=Const(69111)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "recipe_id": "15297e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.403, "created_at": "2026-02-08T07:47:35.661767Z", "verification": {"verified": true, "answer": 51293, "timestamp": "2026-02-08T07:47:38.064608Z"}, "problem_hash": "8971d3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15383, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 2767}, "timestamp": "2026-02-13T12:30:32.009Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 357}, "timestamp": "2026-02-12T01:18:44.295Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K16": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "826d70", "alias": "modular_inverse_v1_1470522791_520", "problem": "Let $m$ be the smallest divisor of $2108167203617$ that is at least $2$. Determine the value of $x$, where $x$ is the smallest positive integer at most $1192$ such that $1052x \\equiv 1 \\pmod{m}$.", "answer": 1083, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(1052),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2108167203617))))),\n \"upper\": Const(1192),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.05, "created_at": "2026-02-08T13:04:11.592331Z", "verification": {"verified": true, "answer": 1083, "timestamp": "2026-02-08T13:04:11.642629Z"}, "problem_hash": "818f6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 460}, "timestamp": "2026-02-12T06:04:51.672Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K17": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7c5c6e", "alias": "nt_count_coprime_and_v1_784195855_1459", "problem": "Let $k_1$ be the number of integers $n$ with $1 \\le n \\le 16$ such that the sum of the decimal digits of $n$ is odd. Let $k_2 = 11$. Compute the number of positive integers $n$ with $1 \\le n \\le 49166$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$.", "answer": 29798, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(49166),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), EulerPhi(n=Const(1)))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["ONE_PHI_2", "ONE_PHI_1", "L3B"], "recipe_id": "def516", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 5.455, "created_at": "2026-02-08T05:01:53.284305Z", "verification": {"verified": true, "answer": 29798, "timestamp": "2026-02-08T05:01:58.739465Z"}, "problem_hash": "9b3690", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "K13": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8": "no"}, "split": "test"} +{"id": "e8afb6", "alias": "diophantine_product_count_v1_1439011603_1320", "problem": "Let $N = 57600$. Define $k$ to be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = N$. Let $\\text{upper}$ be the number of integers $t$ with $10 \\le t \\le 296$ that can be expressed as $t = 3a + 7b$ for some positive integers $a \\le 38$ and $b \\le 26$. Define $\\text{result}$ to be the number of positive integers $x_1$ such that $1 \\le x_1 \\le \\text{upper}$, $x_1$ divides $k$, and $\\frac{k}{x_1} \\le \\text{upper}$. Compute $\\sum_{n=1}^{\\left|\\text{result}\\right|} \\phi(n)$, where $\\phi$ is Euler's totient function. ", "answer": 150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57600),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=38)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=26)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=296)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Divides(divisor=Var(\"x1\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x1\")), Ref(\"upper\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.043, "created_at": "2026-02-08T16:01:59.477691Z", "verification": {"verified": true, "answer": 150, "timestamp": "2026-02-08T16:01:59.520472Z"}, "problem_hash": "b5e8f7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 596}, "timestamp": "2026-02-12T09:41:57.762Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d9c1c2", "alias": "nt_min_with_divisor_count_v1_1978505735_1577", "problem": "Let $m = 2$. Define $\\mathcal{S}$ as the set of all nonnegative integers $j$ such that\n\\[\n\\binom{2}{0} - \\binom{2}{1} + \\binom{2}{2} \\leq j \\leq 40040\n\\]\nand\n\\[\n\\binom{40040}{j} \\equiv 1 \\pmod{2}.\n\\]\nLet $n$ be the number of elements in $\\mathcal{S}$. Let $\\text{upper}$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = n$. Let $\\text{div\\_count} = 9$. Define $\\text{result}$ to be the smallest positive integer $n$ such that $1 \\leq n \\leq \\text{upper}$ and the number of positive divisors of $n$ is exactly $\\text{div\\_count}$. Find the value of $\\text{result}$.", "answer": 36, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Summation(var=\"k\", start=Const(0), end=Const(2), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(2), k=Var(\"k\"))))), Leq(Var(\"j\"), Const(40040)), Eq(Mod(value=Binom(n=Const(40040), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"div_count\": Const(9),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["BINOMIAL_ALTERNATING", "V8/B1"], "recipe_id": "b0c91e", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "BINOMIAL_ALTERNATING", "MOBIUS_COPRIME", "V8"], "num_lemmas": 4, "generation_time": 4.517, "created_at": "2026-02-08T16:15:23.291047Z", "verification": {"verified": true, "answer": 36, "timestamp": "2026-02-08T16:15:27.808415Z"}, "problem_hash": "74323d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 569}, "timestamp": "2026-02-12T10:13:23.818Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "V8": "ok", "B1": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d38085", "alias": "modular_sum_quadratic_residues_v1_655260480_6202", "problem": "Let $p$ be the smallest prime divisor of $34730837$. Define\n$$\n\\text{result} = \\frac{p(p-1)}{4}.\n$$\nLet $Q$ be the remainder when $44121 \\cdot \\text{result}$ is divided by $97978$. Compute $Q$.", "answer": 24297, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97978),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(34730837))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:54:54.820700Z", "verification": {"verified": true, "answer": 24297, "timestamp": "2026-02-08T18:54:54.822090Z"}, "problem_hash": "c30be6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 299}, "timestamp": "2026-02-13T00:40:43.087Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "be5956", "alias": "nt_count_with_divisor_count_v1_898971024_1855", "problem": "Let $A$ be the number of positive integers $n \\leq 16384$ such that $n$ has exactly $9$ positive divisors. Let $B$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 178$. Compute $B - A$.", "answer": 7882, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(16384),\n \"div_count\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(178)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.671, "created_at": "2026-02-08T16:23:26.511749Z", "verification": {"verified": true, "answer": 7882, "timestamp": "2026-02-08T16:23:27.183066Z"}, "problem_hash": "c32d61", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7890, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 376}, "timestamp": "2026-02-12T10:35:12.603Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "K13": "no", "K15": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "379af5", "alias": "nt_count_divisors_in_range_v1_124444284_10180", "problem": "Let $n = 221760$, $a = 60$, and let $b$ be the smallest integer at least $2$ that divides $1619764905978689$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Multiply this count by $42222$, and find the remainder when the result is divided by $92641$.", "answer": 54592, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(221760),\n \"a\": Const(60),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1619764905978689))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": Const(42222),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92641)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.117, "created_at": "2026-02-08T12:51:49.497443Z", "verification": {"verified": true, "answer": 54592, "timestamp": "2026-02-08T12:51:49.614415Z"}, "problem_hash": "b02cd2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 464}, "timestamp": "2026-02-12T05:46:09.385Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5326d7", "alias": "modular_sum_quadratic_residues_v1_1978505735_771", "problem": "Let $p$ be the smallest divisor of $61927633$ that is greater than or equal to $2$. Compute\n$$\n\\frac{p(p - 1)}{4}.\n$$", "answer": 37733, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(61927633))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:35:20.795545Z", "verification": {"verified": true, "answer": 37733, "timestamp": "2026-02-08T15:35:20.796811Z"}, "problem_hash": "a273d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 150, "completion_tokens": 167}, "timestamp": "2026-02-12T08:47:09.892Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d954e4", "alias": "algebra_vieta_sum_v1_1470522791_1166", "problem": "Let $S$ be the set of all positive integers $x$ such that $$\n x^d - 27x^2 + 242x - 720 = 0,\n$$ where $d$ is the smallest divisor of 1575 that is at least 2. Compute the product of all elements in $S$.", "answer": 720, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=Const(value=1575)))))), Mul(Const(value=-27), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=242), Var(name='x')), Const(value=-720)), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T13:28:59.442329Z", "verification": {"verified": true, "answer": 720, "timestamp": "2026-02-08T13:28:59.452393Z"}, "problem_hash": "ccd4c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 720, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 265}, "timestamp": "2026-02-12T06:51:18.405Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K13": "no", "K15": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "2d3c41", "alias": "algebra_quadratic_discriminant_v1_1470522791_766", "problem": "Let $ m = 3 $. Let $ n $ be the number of positive integers $ p $ for which there exists a positive integer $ q $ such that $ p < q $, $ \\gcd(p, q) = 1 $, and $ pq = 3000 $. Let $ a = 3 $, $ b = 4 $, and $ c = \\sum_{k=1}^{m} k $. Compute the sum of the number of positive divisors of each integer from 1 to $ |b^2 - n a c| $.", "answer": 239, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=3000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(3),\n \"b\": Const(4),\n \"c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:13:39.746315Z", "verification": {"verified": true, "answer": 239, "timestamp": "2026-02-08T13:13:39.750579Z"}, "problem_hash": "d27568", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 606}, "timestamp": "2026-02-12T06:27:00.264Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "K13": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8194c0", "alias": "algebra_poly_eval_v1_865884756_976", "problem": "Let $t$ be the largest integer such that $2^t$ divides $5^{131072} - 3^{131072}$. Let $m$ be the maximum value of $xy$ where $x$ and $y$ are positive integers such that $x + y = 62$. Let $s$ be the largest integer such that $31^s$ divides $m^2$. Compute the value of $t^3 + 3 \\cdot t^2 + s \\cdot t + 7$.", "answer": 9287, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"t\": MaxKDivides(target=Sub(Pow(Ref(\"_c\"), Const(131072)), Pow(Ref(\"_n\"), Const(131072))), base=Const(2)),\n \"result\": Sum(Pow(Ref(\"t\"), Const(3)), Mul(Const(3), Pow(Ref(\"t\"), Ref(\"_m\"))), Mul(MaxKDivides(target=Pow(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(62)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Const(2)), base=Const(31)), Ref(\"t\")), Const(7)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2", "B1/K14"], "recipe_id": "7c06ef", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "K14", "LTE_DIFF_P2"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T15:42:20.264747Z", "verification": {"verified": true, "answer": 9287, "timestamp": "2026-02-08T15:42:20.270991Z"}, "problem_hash": "159653", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "LTE_DIFF_P2": "ok", "K14": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "15ca9c", "alias": "comb_count_partitions_v1_809748730_908", "problem": "Let $n$ be the smallest integer $d \\geq 2$ that divides $82861$. Compute the number of ways to write $n$ as a sum of positive integers, disregarding order.", "answer": 44583, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(82861))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:49:33.137329Z", "verification": {"verified": true, "answer": 44583, "timestamp": "2026-02-08T11:49:33.138605Z"}, "problem_hash": "b0d74e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44583, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 89, "completion_tokens": 1349}, "timestamp": "2026-02-14T19:09:14.158Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 147, "completion_tokens": 183}, "timestamp": "2026-02-12T04:37:18.286Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "faff73", "alias": "comb_factorial_compute_v1_1439011603_2145", "problem": "Let $n_0 = 81080$. Let $d_{\\text{min}}$ be the smallest divisor of $7014007$ that is at least $2$. Define $n = d_{\\text{min}}$, and let $r = n!$. Multiply $r$ by $44121$, and let $Q$ be the remainder when this product is divided by $n_0$. Find the value of $Q$.", "answer": 48480, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81080),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7014007))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:33:26.625496Z", "verification": {"verified": true, "answer": 48480, "timestamp": "2026-02-08T16:33:26.626879Z"}, "problem_hash": "575d2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 333}, "timestamp": "2026-02-12T10:53:39.232Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "MOD_ADD": "no", "V1": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "65b6ea", "alias": "comb_count_permutations_fixed_v1_655260480_437", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 1001. Compute the value of $\\binom{n}{1} \\cdot !(n - 1)$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 1855, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:23:22.196667Z", "verification": {"verified": true, "answer": 1855, "timestamp": "2026-02-08T15:23:22.199483Z"}, "problem_hash": "0e17b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 210, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 398}, "timestamp": "2026-02-12T08:21:41.059Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5e519e", "alias": "nt_sum_divisors_compute_v1_1116507919_291", "problem": "Let $n = 32768$. Define $\\sigma(n)$ to be the sum of all positive divisors of $n$. Compute $\\sigma(n)$.", "answer": 65535, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(32768),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "LTE_DIFF/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO"], "recipe_id": "c10ff0", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ZERO", "LTE_DIFF", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T02:30:31.688567Z", "verification": {"verified": true, "answer": 65535, "timestamp": "2026-02-08T02:30:31.694000Z"}, "problem_hash": "835628", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 266}, "timestamp": "2026-02-08T19:21:01.396Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 348}, "timestamp": "2026-02-09T15:22:15.342Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 93, "completion_tokens": 3281}, "timestamp": "2026-02-09T19:01:38.465Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 89, "completion_tokens": 753}, "timestamp": "2026-02-10T13:11:30.468Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 77, "completion_tokens": 370}, "timestamp": "2026-02-09T18:58:05.757Z"}, {"id": 8, "model": "mathstral", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 91, "completion_tokens": 539}, "timestamp": "2026-02-11T01:16:13.534Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 441}, "timestamp": "2026-02-11T19:22:21.829Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LTE_DIFF": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "test"} +{"id": "f290be", "alias": "nt_min_coprime_above_v1_784195855_8371", "problem": "Let $A$ be the set of all integers $n$ such that $31329 < n \\leq 31469$ and $\\gcd(n, 130) = 1$. Let $r$ be the minimum element of $A$. Now, consider the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 42$. Let $P$ be the set of all values of $xy$ for such pairs. Let $c$ be the maximum element of $P$. Compute the remainder when $c - r$ is divided by $99621$.", "answer": 68731, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(99621),\n \"start\": Const(31329),\n \"upper\": Const(31469),\n \"modulus\": Const(130),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(42)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T16:02:04.444057Z", "verification": {"verified": true, "answer": 68731, "timestamp": "2026-02-08T16:02:04.458945Z"}, "problem_hash": "f31fe2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 68731, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 467}, "timestamp": "2026-02-12T09:40:31.568Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "DS2": "no", "L3c": "no", "MOD_SUB": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "5e1a23", "alias": "comb_sum_binomial_row_v1_655260480_2784", "problem": "Let $n_2 = 9$ and define $s = \\sum_{k=0}^{9} (-1)^k \\binom{9}{k}$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 24$. Define $n_1 = c + s$. Let $m = \\sum_{k_1=0}^{n_1} (-1)^{k_1} \\binom{n_1}{k_1}$. Compute $2^m + 2^{n_1}$ raised to the $14$th power.", "answer": 16384, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(9),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(24))))), Ref(\"s\")),\n \"m\": Summation(var=\"k1\", start=Sub(Binom(n=Const(10), k=Const(0)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": Const(14),\n \"result\": Pow(Sum(Const(2), Ref(\"m\")), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING", "ZERO_BINOM_0"], "recipe_id": "2842f4", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ZERO_BINOM_0"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T17:01:07.851018Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T17:01:07.853866Z"}, "problem_hash": "1908d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 388}, "timestamp": "2026-02-12T21:35:14.414Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "ZERO_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a39a4d", "alias": "sequence_lucas_compute_v1_1116507919_269", "problem": "Let $c = 7$. Let $m$ be the largest integer such that $7^m$ divides $8^7 - 1$. Let $n$ be the smallest positive integer such that the highest power of $m$ dividing $n!$ is at least the number of integers $t$ in the range $31 \\leq t \\leq 73$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 9$, $1 \\leq b \\leq 2$, and $t = 4a + 10b + 17$. Let $L_n$ denote the $n$-th Lucas number. Compute the remainder when $44121 \\cdot L_n$ is divided by 67981.", "answer": 48890, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(7),\n \"_m\": MaxKDivides(target=Sub(Pow(Const(8), Ref(\"_c\")), Const(1)), base=Const(7)),\n \"_n\": Const(67981),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=31)), Leq(left=Var(name='t'), right=Const(value=73)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b')), Const(value=17))))))))), domain='Z_{>0}')),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/LIN_FORM/V5"], "recipe_id": "98d163", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF", "V5"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:30:12.829261Z", "verification": {"verified": true, "answer": 48890, "timestamp": "2026-02-08T02:30:12.831743Z"}, "problem_hash": "c343ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49090, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 2675}, "timestamp": "2026-02-08T19:20:18.451Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 48890, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 2498}, "timestamp": "2026-02-09T15:17:17.485Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:50:51.410Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48890, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 3165}, "timestamp": "2026-02-09T18:44:37.851Z"}], "solution_status": 1, "lemma_applicability": {"LTE_DIFF": "ok", "LIN_FORM": "ok_later", "V5": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "test"} +{"id": "0349d7", "alias": "nt_sum_divisors_mod_v1_1116507919_333", "problem": "Let $n_2 = 1$. Define $u$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_2$, where $\\mu$ is the Möbius function. Let $p = 11$ and $n_1 = p^3$. Define $w = \\lambda(n_1) + \\phi(2)$, where $\\lambda$ is the Liouville function and $\\phi$ is Euler's totient function. Let $n$ be $u$ multiplied by the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 8100$. Let $M = 10753 + w$. Let $\\sigma$ be the sum of all positive divisors of $n$. Compute the remainder when $\\sigma$ is divided by $M$.", "answer": 546, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(11),\n \"n1\": Pow(Ref(\"p\"), Const(3)),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), EulerPhi(n=Ref(\"_n\"))),\n \"n\": Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(8100)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"u\")),\n \"M\": Sum(Const(10753), Ref(\"w\")),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "B3/MOBIUS_SUM", "ONE_PHI_2"], "recipe_id": "9df423", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T02:31:38.192882Z", "verification": {"verified": true, "answer": 546, "timestamp": "2026-02-08T02:31:38.196173Z"}, "problem_hash": "46d827", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 2729}, "timestamp": "2026-02-08T19:23:16.974Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 580}, "timestamp": "2026-02-09T15:53:33.671Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 7025}, "timestamp": "2026-02-09T19:43:40.984Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 223, "completion_tokens": 1059}, "timestamp": "2026-02-09T19:31:43.262Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "LIOUVILLE_MINUS_ONE": "ok", "ONE_PHI_2": "ok", "MOBIUS_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "cdfa86", "alias": "nt_count_digit_sum_v1_1915831931_2374", "problem": "Let $S$ be the set of all integers $d \\geq 2$ such that $d$ divides $6137$. Let $t$ be the smallest element of $S$. Let $T$ be the set of all positive integers $n \\leq 60516$ such that the sum of the decimal digits of $n$ is equal to $t$. Compute the number of elements in $T$. Let this count be $c$, and let $Q$ be the remainder when $19741 \\cdot c$ is divided by $92914$. Find the value of $Q$.", "answer": 14696, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60516),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6137))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(19741),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92914)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.232, "created_at": "2026-02-08T16:45:39.624863Z", "verification": {"verified": true, "answer": 14696, "timestamp": "2026-02-08T16:45:41.857154Z"}, "problem_hash": "d1bc4f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 613}, "timestamp": "2026-02-12T21:04:58.492Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K16": "no", "K17": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a93677", "alias": "modular_product_range_v1_1742523217_611", "problem": "Let $n = 103$. Define $d_{\\text{min}}$ to be the smallest divisor of $51983$ that is at least $2$. Let $P$ be the product of all integers $i$ from $100$ to $d_{\\text{min}}$, inclusive. Let $r = P \\mod 11897$. Compute\n$$\n(353702 \\cdot (|r| \\mod 97) + 329703 \\cdot ((r^2 + 1) \\mod 101) + 215534 \\cdot (|r| + 40) \\mod n) \\mod 1009091,\n$$\nand then take the result modulo $78869$. Find the value of this final quantity.", "answer": 59207, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(100), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(51983)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11897)),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(40)), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(78869)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:09:07.084382Z", "verification": {"verified": true, "answer": 59207, "timestamp": "2026-02-08T03:09:07.087548Z"}, "problem_hash": "79534b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:17:07.358Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 10776, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 4781}, "timestamp": "2026-02-09T05:01:12.976Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58362, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 4248}, "timestamp": "2026-02-11T07:49:50.716Z"}, {"id": 8, "model": "mathstral", "answer": 2023, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 861}, "timestamp": "2026-02-11T14:58:52.599Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 622}, "timestamp": "2026-02-11T20:20:57.597Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "L3b": "no", "L3c": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "2439ea", "alias": "modular_min_modexp_v1_397696148_2232", "problem": "Let $a = 13$. Let $b$ be the minimum value of $x + y$ where $x$ and $y$ are positive integers such that $xy = 100489$. Let $m$ be the number of integers $t$ with $8 \\leq t \\leq 658$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 89$, $1 \\leq b \\leq 71$, and $t = 5a + 3b$. Let $S$ be the set of all integers $x$ with $1 \\leq x \\leq 642$ such that $a^x \\equiv b \\pmod{m}$. Compute the minimum element of $S$.", "answer": 627, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(13),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100489)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=89)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=71)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=658)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"upper\": Const(642),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.029, "created_at": "2026-02-08T13:01:15.412544Z", "verification": {"verified": true, "answer": 627, "timestamp": "2026-02-08T13:01:15.441428Z"}, "problem_hash": "3325c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 541}, "timestamp": "2026-02-12T06:07:55.457Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dd087f", "alias": "nt_num_divisors_compute_v1_1742523217_1392", "problem": "Let $c$ be the largest positive divisor of $3819728$ that does not exceed $1936$. Let $m$ be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = c$. Let $n'$ be the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = m$. Let $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = n'$. Compute the number of positive divisors of $n$, then multiply this number by $44121$. Find the remainder when this product is divided by $77219$.", "answer": 44092, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(44121),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1936)), Divides(divisor=Var(\"d\"), dividend=Const(3819728))))),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_d\"), Ref(\"result\")), modulus=Const(77219)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/B1/B3", "B3/B1/B3"], "recipe_id": "becd77", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:42:16.367865Z", "verification": {"verified": true, "answer": 44092, "timestamp": "2026-02-08T03:42:16.373537Z"}, "problem_hash": "fc0572", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 22046, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 4424}, "timestamp": "2026-02-10T16:26:29.093Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 44092, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 1711}, "timestamp": "2026-02-10T14:57:04.334Z"}, {"id": 8, "model": "mathstral", "answer": 3508, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 626}, "timestamp": "2026-02-13T04:07:50.303Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 475}, "timestamp": "2026-02-11T21:17:09.206Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_DIVISOR": "ok", "B1": "ok_later", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "eb9a09", "alias": "comb_factorial_compute_v1_2051736721_3686", "problem": "Let $d$ be the smallest divisor of $11011$ that is at least $2$. Let $c = 50417$. Compute the remainder when $c \\cdot d!$ is divided by $92046$.", "answer": 54720, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92046),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(50417),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:28:31.729451Z", "verification": {"verified": true, "answer": 54720, "timestamp": "2026-02-08T17:28:31.731060Z"}, "problem_hash": "088bdc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 359}, "timestamp": "2026-02-12T22:39:52.419Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e2220f", "alias": "modular_sum_quadratic_residues_v1_1915831931_4066", "problem": "Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides $378221$. Compute $\\frac{d_{\\min}(d_{\\min} - 1)}{4}$. Let $Q$ be the remainder when $13$ minus this value is divided by $84965$. Find the value of $Q$.", "answer": 76154, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84965),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(378221))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Sub(Const(13), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:06:01.667854Z", "verification": {"verified": true, "answer": 76154, "timestamp": "2026-02-08T18:06:01.669499Z"}, "problem_hash": "889492", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 285}, "timestamp": "2026-02-12T23:41:22.451Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K16": "no", "K17": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "82dcfe", "alias": "nt_count_squarefree_v1_1353956133_4", "problem": "Let $m = 101$ and $n = 99$. Define $u = 54289$. Let $S$ be the set of all positive integers $k$ such that $1 \\le k \\le u$ and $\\mu(k)^2 = 1$, where $\\mu$ denotes the Möbius function. Let $r = |S|$. Let $P$ be the set of all prime numbers $p$ such that $2 \\le p \\le n$. Define $a = \\max(P)$. Define\n\n$$\nQ = \\left(353702 \\cdot (r \\bmod a) + 329703 \\cdot \\left(r^{\\,\\#T} \\bmod m\\right) + 215534 \\cdot \\left(r \\bmod 29\\right)\\right) \\bmod 1009091,\n$$\n\nwhere $T$ is the set of all positive integers $t$ such that $1 \\le t \\le 14$ and $t \\equiv \\left\\lfloor \\frac{t}{2} \\right\\rfloor \\pmod{7}$. Compute $Q$.", "answer": 13382, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(99),\n \"upper\": Const(54289),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(29)), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "L3C"], "recipe_id": "0047b4", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 7.501, "created_at": "2026-02-08T11:15:23.941205Z", "verification": {"verified": true, "answer": 13382, "timestamp": "2026-02-08T11:15:31.442231Z"}, "problem_hash": "92f8ea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "8fbcb9", "alias": "algebra_poly_eval_v1_1742523217_1987", "problem": "Let $m = 3$. Define $n$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = 16$. Compute the value of $$7a^m - 3a^n + 2a - 9.$$\n\nLet $R$ be this value. Now let $S$ be the number of positive integers $j$ such that $1 \\leq j \\leq 444$ and $j^3 \\leq 87528384$. Find the remainder when $S - R$ is divided by $98990$.", "answer": 71507, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(16),\n \"result\": Sum(Mul(Const(7), Pow(Ref(\"a\"), Ref(\"_m\"))), Mul(Const(-3), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(Const(2), Ref(\"a\")), Const(-9)),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(444)), Leq(Pow(Var(\"j\"), Const(3)), Const(87528384))), domain='positive_integers')), Ref(\"result\")), modulus=Const(98990)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3", "COPRIME_PAIRS/C3"], "recipe_id": "6797cc", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T04:23:07.265350Z", "verification": {"verified": true, "answer": 71507, "timestamp": "2026-02-08T04:23:07.272013Z"}, "problem_hash": "af4c95", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 71507, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 1503}, "timestamp": "2026-02-10T16:25:16.396Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 438}, "timestamp": "2026-02-13T14:31:01.767Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 82027, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 519}, "timestamp": "2026-02-11T20:44:48.159Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K17": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "166165", "alias": "algebra_poly_eval_v1_1520064083_4413", "problem": "Let $m = 5$. Define $n$ to be the largest prime number $p$ such that $2 \\leq p \\leq m$. Let $t = 6$. Consider the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in this set. Compute $7t^2 + n t + c$.", "answer": 284, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"t\": Const(6),\n \"result\": Sum(Mul(Const(7), Pow(Ref(\"t\"), Const(2))), Mul(Ref(\"_n\"), Ref(\"t\")), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COPRIME_PAIRS"], "recipe_id": "7403df", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:15:45.095935Z", "verification": {"verified": true, "answer": 284, "timestamp": "2026-02-08T06:15:45.101371Z"}, "problem_hash": "724ad2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 284, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 1126}, "timestamp": "2026-02-12T22:07:09.002Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 287, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 443}, "timestamp": "2026-02-11T23:50:30.081Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "487510", "alias": "comb_count_surjections_v1_1440796553_879", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ with $i, j \\in \\{1, 2, 3\\}$ such that $i + j = 5$. Define $r = k! \\cdot S(5, k)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Compute the value of $$\n\ndivisors\\left(r + 1\\right) + \\phi\\left(|r| + 1\\right) + r,\n$$\nwhere $\\phi(n)$ denotes the number of positive integers less than or equal to $n$ that are relatively prime to $n$, and $\\text{divisors}(n)$ denotes the number of positive divisors of $n$.", "answer": 62, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n\": Const(5),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Binom(n=Const(9), k=Const(0))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "ec98de", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.053, "created_at": "2026-02-08T12:02:07.918676Z", "verification": {"verified": true, "answer": 62, "timestamp": "2026-02-08T12:02:07.971722Z"}, "problem_hash": "a2e578", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 490}, "timestamp": "2026-02-14T21:53:02.549Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 22, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 417}, "timestamp": "2026-02-12T04:53:47.703Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4286a3", "alias": "diophantine_fbi2_count_v1_458359167_2813", "problem": "Let $d_0 = 2$. Let $m$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 3$. Let $n$ be the largest prime number $p$ such that $m \\leq p \\leq 61$. Let $T$ be the set of all integers $t$ with $9 \\leq t \\leq 494$ for which there exist positive integers $a \\leq 38$ and $b \\leq 114$ such that $t = 7a + 2b$. Let $k = |T|$. Let $D$ be the set of all integers $d$ such that $d_0 \\leq d \\leq 61$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq n$. Let $r = |D|$. Compute the remainder when $58298 \\cdot r$ is divided by $90443$.", "answer": 66475, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(61)), IsPrime(Var(\"n\"))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=38)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=114)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=494)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_d\")), Leq(Var(\"d\"), Const(61)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"_c\": Const(58298),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(90443)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MAX_PRIME_BELOW/LIN_FORM"], "recipe_id": "8b749c", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.023, "created_at": "2026-02-08T06:47:53.321472Z", "verification": {"verified": true, "answer": 66475, "timestamp": "2026-02-08T06:47:53.344591Z"}, "problem_hash": "a92ec4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 66475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 5186}, "timestamp": "2026-02-13T04:47:06.398Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 527}, "timestamp": "2026-02-12T00:30:45.264Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K16": "no", "K18": "no", "L3b": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "dc952e", "alias": "sequence_count_fib_divisible_v1_865884756_7120", "problem": "Let $d_1$ be the smallest divisor of $443330920561$ that is at least $2$. Let $\\text{upper}$ be this value. Compute the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $5$ divides the $n$-th Fibonacci number.", "answer": 162, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(443330920561))))),\n \"d\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.397, "created_at": "2026-02-08T19:38:01.158562Z", "verification": {"verified": true, "answer": 162, "timestamp": "2026-02-08T19:38:01.555988Z"}, "problem_hash": "505f60", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 516}, "timestamp": "2026-02-13T01:06:23.727Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d1850d", "alias": "modular_inverse_v1_1440796553_909", "problem": "Let $x$ be the smallest positive integer such that $1 \\leq x \\leq 240$ and $187x \\equiv 1 \\pmod{241}$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 36$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $c$ be the number of positive integers $n \\leq 33708$ such that $s$ divides the $n$th Fibonacci number. Compute $c - x$.", "answer": 2751, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(187),\n \"m\": Const(241),\n \"upper\": Const(240),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(33708)), Divides(divisor=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36)))), expr=Sum(Var(\"x\"), Var(\"y\")))), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE"], "recipe_id": "82c8a4", "seed_template_id": "modular_inverse_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T12:02:18.259118Z", "verification": {"verified": true, "answer": 2751, "timestamp": "2026-02-08T12:02:18.273910Z"}, "problem_hash": "749cb6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2751, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 1187}, "timestamp": "2026-02-14T21:54:34.431Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 429}, "timestamp": "2026-02-12T04:54:01.299Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "DS2": "no", "K13": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "28b034", "alias": "antilemma_product_of_sums_v1_458359167_810", "problem": "Let $n=25$. Consider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 5$ and $1\\le j\\le 4$. Let\n\\[S_1=\\sum i j,\\]\nwhere the sum is taken over all such ordered pairs $(i,j)$.\n\nLet\n\\[S_2=\\sum_{k=1}^{n} k.\n\\]\nDefine $x=S_1S_2$.\n\nLet $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ such that\n\\[1\\le a\\le 62,\\quad 1\\le b\\le 87,\\quad 16\\le t\\le 1242,\\quad t=6a+10b.\n\\]\nLet $|T|$ denote the number of elements in $T$, and consider $|T|!$. Let $v_3(|T|!)$ be the largest integer $k$ such that $3^k$ divides $|T|!$.\n\nDefine\n\\[Q \\equiv 3^{|x|} + v_3(|T|!) \\pmod{99991},\\]\nwith $0\\le Q<99991$.\n\nFind the value of $Q$.", "answer": 93598, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=62)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=87)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=1242)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b')))))))))), base=Const(3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/V1", "PRODUCT_OF_SUMS"], "recipe_id": "9585fa", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "PRODUCT_OF_SUMS", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:33:26.747470Z", "verification": {"verified": true, "answer": 93598, "timestamp": "2026-02-08T03:33:26.750144Z"}, "problem_hash": "c53f58", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "V1": "ok_later", "DS2": "no", "K16": "no", "K17": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "6de61c", "alias": "modular_sum_quadratic_residues_v1_397696148_735", "problem": "Let $p$ be the smallest prime divisor of $3352351$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 5513, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3352351))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:43:00.762653Z", "verification": {"verified": true, "answer": 5513, "timestamp": "2026-02-08T11:43:00.763742Z"}, "problem_hash": "f12370", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5513, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 79, "completion_tokens": 1906}, "timestamp": "2026-02-14T17:26:24.171Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 137}, "timestamp": "2026-02-12T04:26:11.054Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "f47266", "alias": "sequence_count_fib_divisible_v1_124444284_5478", "problem": "Let $n$ be a positive integer such that $1 \\le n \\le d$, where $d$ is the smallest divisor of $3397349$ that is at least $2$. Define $d_0 = 19$. Let $S$ be the set of all such $n$ for which $d_0$ divides the $n$th Fibonacci number. Compute the number of elements in $S$. Let this number be $k$. Find the remainder when $29089 \\cdot k$ is divided by $99442$.", "answer": 33828, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29089),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3397349))))),\n \"d\": Const(19),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(99442)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.009, "created_at": "2026-02-08T06:37:37.023437Z", "verification": {"verified": true, "answer": 33828, "timestamp": "2026-02-08T06:37:37.032736Z"}, "problem_hash": "64302e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 33828, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 2414}, "timestamp": "2026-02-13T02:21:09.933Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 414}, "timestamp": "2026-02-12T00:17:08.305Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K18": "no", "L3c": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "cd428d", "alias": "antilemma_coprime_grid_v1_1125832087_233", "problem": "Let $M=81$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=M$. Let $S$ be the set of all values of $x+y$ over these pairs, and let $n$ be the minimum element of $S$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 63$ and $1\\le j\\le 73$ such that\n$$\\gcd(i,j)=\\varphi(1),$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $P$ be the largest prime less than or equal to $19$, and let\n$$L=\\varphi(P).$$\nLet $D$ be the number of decimal digits of $|x|$, and for each integer $i$ with\n$$L+n\\le i\\le D-1,$$\nlet $d_i$ denote the $i$-th decimal digit of $|x|$, where $d_0$ is the units digit, $d_1$ is the tens digit, and so on. Define\n$$T=\\sum_{i=L+n}^{D-1} d_i\\,(i+1)^2.$$\nFinally, let\n$$Q=T+13225.$$\n\nCompute $Q$.", "answer": 13354, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(81),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(1))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(63)), right=IntegerRange(start=Const(1), end=Const(73))))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(EulerPhi(n=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(19)), IsPrime(Var(\"n\")))))), Ref(\"_n\")), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(13225)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/ZERO_PHI_PRIME", "COUNT_COPRIME_GRID", "ONE_PHI_1"], "recipe_id": "6757f5", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "ONE_PHI_1", "ZERO_PHI_PRIME"], "num_lemmas": 5, "generation_time": 0.009, "created_at": "2026-02-08T02:58:30.662829Z", "verification": {"verified": true, "answer": 13354, "timestamp": "2026-02-08T02:58:30.671892Z"}, "problem_hash": "bf56a3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "ZERO_PHI_PRIME": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "L3b": "no", "V7": "no"}, "split": "test"} +{"id": "450f30", "alias": "nt_sum_over_divisible_v1_168721529_883", "problem": "Let $S$ be the set of all positive integers $n$ such that $n \\le 63504$ and $n$ is divisible by 43. Let $T$ be the sum of all elements in $S$. Compute the Bell number $B_r$, where $r$ is the remainder when $|T|$ is divided by 11.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(63504),\n \"divisor\": Const(43),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_2"], "recipe_id": "26ae4b", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 3.776, "created_at": "2026-02-08T13:20:06.419700Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T13:20:10.196136Z"}, "problem_hash": "28ef77", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 1130}, "timestamp": "2026-02-09T10:13:58.664Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 131, "completion_tokens": 2185}, "timestamp": "2026-02-09T22:46:17.690Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 396}, "timestamp": "2026-02-11T21:10:03.058Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "COUNT_INTEGER_RANGE": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.55, "hi": -4.26}, "split": "test"} +{"id": "3a53fd", "alias": "comb_binomial_compute_v1_784195855_2748", "problem": "Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 14$. Define $M$ to be the maximum value of $xy$ over all pairs in $P$. Now, let $Q$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = M$. Define $n$ to be the minimum value of $x + y$ over all pairs in $Q$. Let $k$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $7$. Compute $\\binom{n}{k}$.", "answer": 3432, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(14)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3", "K3"], "recipe_id": "036957", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "K3"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:57:35.530296Z", "verification": {"verified": true, "answer": 3432, "timestamp": "2026-02-08T05:57:35.533437Z"}, "problem_hash": "45a236", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3432, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 521}, "timestamp": "2026-02-12T17:08:48.362Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3003, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 407}, "timestamp": "2026-02-11T23:22:39.654Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "K3": "ok", "B3": "ok_later", "K16": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "ce1b65", "alias": "sequence_lucas_compute_v1_1520064083_4670", "problem": "Let $m = 21$. Let $k$ be the largest integer such that $11^k$ divides $10^{11} + 1$. Define $n$ to be the largest prime number $p$ such that $k \\leq p \\leq m$. Let $L_n$ denote the $n$-th Lucas number. Compute\n$$\nL_n + \\phi(|L_n| + 1) + \\tau(|L_n| + \\phi(1)),\n$$\nwhere $\\phi$ is Euler's totient function and $\\tau$ counts the number of positive divisors.", "answer": 12573, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21),\n \"_n\": MaxKDivides(target=Sum(Pow(Const(10), Const(11)), Const(1)), base=Const(11)),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=Const(1))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "2c1770", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:22:45.245338Z", "verification": {"verified": true, "answer": 12573, "timestamp": "2026-02-08T06:22:45.247877Z"}, "problem_hash": "16c0ea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "f167cd", "alias": "modular_mod_compute_v1_784195855_4666", "problem": "Let $m$ be the number of positive integers $j$ such that $1 \\leq j \\leq 37$ and $j^5 \\leq 69343957$. Let $a = 22801$, and let $n$ be the largest integer $k$ such that $m^k$ divides $$47740021153015257764013168846755972075392583568357957205530403372724894997738248957618790310235646426705259608649535784014972596345201607890233711130527642915079929980865711699919941823340764373240754491652109551304695906080082745803686794580160431222997251381960226608804408751095495905127045372371606030075046919843333804020817217761117495625881645129734546411717725008937275535936104019746410022313881622865734875450334960560649686062591053731940949336094736498410956667232160822649025306668708946883414842820876579377695988083223655908561740113352465729408442402825757686592355498593402015594494059053088175870518732170917420973411554682566563169068706542634922071577697120353742137433796070748303898520528951779608800875624259926848305812889533288784351694119766435398790643297072133928822466825749491852234991227608734476328404606063979679936714378563980594758567084003529740791194007879676093664110706348079665300618132702738467900745833108801454459155366363596616946773258335209631720426913351920629560192651917264336716130933942970454717215763767839808451414471071404212420811243484319133464669565583447022553454030581659511496334913500950718485856185392767919595212671445350742815574121123701825807072160887102250901519309650738783054286556192488833750917510716099628728526902515716512329393126911766646635377213006403893208592060889566238275422961684582276066480203719502575456683541319442587341683734614103561980681194546127758327711276801444566214211432228281599397228365709226719875600457092653096241740642622449049557783432001512285419744798172858710810410092889681595553287936854708003274271080112395373678499249101942239194126434709463136575115187609225190825427825211192663654120034520258519877464098440367668697495953544057957366905007260252853911341385494523054094479307143759806719056676174110512633624992783128259890911020411211649713437072539646789625848260083232154634246906297111546097064145327958129621565013349237791237194084436217821743630816515517555609057628167189028867755451561287592454035139647563626432053531462196284716591128970061534309827296754674782703599793024103286381546482628331595025775555715804433428396086850344709956911693987621066701570821860710260265405688551396179714227623549567962228118095557252673642663377079619655182794453048435173155024825513976103570237365172613610573406265370241386572823504630448242649041398802246698514861716547406586670111060216937301957397214358079572189791509869651672766151272021139250922802326631060851673426903921571194909109270393784339539695453812577671706157525327598048212097548317843904401528093343749620302166186942782315790819335833896496270968585182833938965911061593289404943052149555409889044582338293247736091364261942509359445819808277730436114556516559044619400429065879829553402746391354910995281855326910338662327362634355781016681031890540430357673286109652819114675933493420754489639761611579125980160374845676857972567516694073564898859309423173500241200078414593840382284656448568318068438115965263375625871734176714790220767739155880709386413265105703139454227422580946439981771650244061913625233455842399485445137998259957729790887898031092761716041581974506438836387409977535751498196152131270720742369141091799978381996020163496737908473961489402672631863513024134506012957915843777466175071237142143645055661915571280981107784504601048248667041).$$ Compute the remainder when $a$ is divided by $n$.", "answer": 1896, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(37)), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(69343957))), domain='positive_integers')),\n \"a\": Const(22801),\n \"m\": MaxKDivides(target=Mul(Const(47740021153015257764013168846755972075392583568357957205530403372724894997738248957618790310235646426705259608649535784014972596345201607890233711130527642915079929980865711699919941823340764373240754491652109551304695906080082745803686794580160431222997251381960226608804408751095495905127045372371606030075046919843333804020817217761117495625881645129734546411717725008937275535936104019746410022313881622865734875450334960560649686062591053731940949336094736498410956667232160822649025306668708946883414842820876579377695988083223655908561740113352465729408442402825757686592355498593402015594494059053088175870518732170917420973411554682566563169068706542634922071577697120353742137433796070748303898520528951779608800875624259926848305812889533288784351694119766435398790643297072133928822466825749491852234991227608734476328404606063979679936714378563980594758567084003529740791194007879676093664110706348079665300618132702738467900745833108801454459155366363596616946773258335209631720426913351920629560192651917264336716130933942970454717215763767839808451414471071404212420811243484319133464669565583447022553454030581659511496334913500950718485856185392767919595212671445350742815574121123701825807072160887102250901519309650738783054286556192488833750917510716099628728526902515716512329393126911766646635377213006403893208592060889566238275422961684582276066480203719502575456683541319442587341683734614103561980681194546127758327711276801444566214211432228281599397228365709226719875600457092653096241740642622449049557783432001512285419744798172858710810410092889681595553287936854708003274271080112395373678499249101942239194126434709463136575115187609225190825427825211192663654120034520258519877464098440367668697495953544057957366905007260252853911341385494523054094479307143759806719056676174110512633624992783128259890911020411211649713437072539646789625848260083232154634246906297111546097064145327958129621565013349237791237194084436217821743630816515517555609057628167189028867755451561287592454035139647563626432053531462196284716591128970061534309827296754674782703599793024103286381546482628331595025775555715804433428396086850344709956911693987621066701570821860710260265405688551396179714227623549567962228118095557252673642663377079619655182794453048435173155024825513976103570237365172613610573406265370241386572823504630448242649041398802246698514861716547406586670111060216937301957397214358079572189791509869651672766151272021139250922802326631060851673426903921571194909109270393784339539695453812577671706157525327598048212097548317843904401528093343749620302166186942782315790819335833896496270968585182833938965911061593289404943052149555409889044582338293247736091364261942509359445819808277730436114556516559044619400429065879829553402746391354910995281855326910338662327362634355781016681031890540430357673286109652819114675933493420754489639761611579125980160374845676857972567516694073564898859309423173500241200078414593840382284656448568318068438115965263375625871734176714790220767739155880709386413265105703139454227422580946439981771650244061913625233455842399485445137998259957729790887898031092761716041581974506438836387409977535751498196152131270720742369141091799978381996020163496737908473961489402672631863513024134506012957915843777466175071237142143645055661915571280981107784504601048248667041), Const(938697620561540695195295338428080653271227052110649421681079375185907979387219527758564820961150011332937504588656020266184274498734882699160689860587981194484722664915874426146873665925804274470884778808264012574073036793099593333220192396126419316654404674428782002862132129054352130546659705028945910440087662334166191033847267837009959005310906024037683154364284315013826707884337500102934665563381696461448986939347664442995219409236395325628648389575383707687061288519033210627195999214864676864055293889578076702034368994330699547946538240052555301299577888215688191339964235697297863583220931017969950172678579095928545616926272209980132804585826160655481220975701184746040210588932397206656070589078545702060302842287103876292564679178413384639645650497965162744919749670100623253265950052652030664836716072596776229780464274660201610382011521328237487831950256928568505869172378905479396561898696472408319765886515352859278133791012105724297013552473424968578240958140892004351009444879773987435141188209294584502651644928162667529115716172824715954332417926710593718883649662259249121824390479109322089908794458992804278919924771357707541920056732711224000104036057482482238089669967497442695415373603899148797862494331233481295170208413508926982135055536308607698011652405923093656738060347081692586711791977399212577396694298363121926223994726455892009670159114173720810775614408836626486725232331118860104136020446793575732872385360068098227524620655987953787165674404373581905758821036399885267262572906051953525453432885922943415395934890479662557174516293533588691773823416490026695234476863786757378929608909826042115705690529921395925705827571639649893347607988337623469472696676312167333103803677505704209197640762169658825665530780535187503736413584450203997527498487331884339269980723531585829662683180618784206112202847369885838532059289965222857930871716173981277382185513157914038557055971903290922958822621277812935210152163571261114362393102450913591564343450673729509028631123421349078345359727459251272132311888041584688617743053096868403988589893287460816520799038643054765120606445924094648004332415239100613364177385683326557815965493104924608267107503182665710734622393302924361860323338362023237165837566394198235613903734669170203344563243446165760074801986200293194671064934047274672698543375068083386557344647859781389631784107252450731578233859609392238464234057734007619282145972460939454400785001545263448229365756757997241007540512203150839852197617432019708680547357349288863607064714596036197842884047838990202247381854525557325588373071671700474601499302412996871084987697630480914367505802530969628128444118094110475303766500631598755523008194117967464888768122726263542250662124712078703535475467183934784880277173346679180410716287156918231337644934164860727554407388698423986325746328022470433202598061884305102520475404976084234334343293321901766098796105240306413013101402985548164624511526727126278545720605764437790101355665536453882393131589789763987833274001636090687798394373446414634497637057987892456199719512223532637129010825948918920926460174378481820845632878963449534823830929660403117504828294662785769262719494392556693929232571795708778519157)), base=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/K13"], "recipe_id": "e08e92", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "K13"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:15:54.696625Z", "verification": {"verified": true, "answer": 1896, "timestamp": "2026-02-08T07:15:54.698442Z"}, "problem_hash": "ffcbfa", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "K13": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "1e547c", "alias": "nt_count_gcd_equals_v1_717093673_3835", "problem": "Let $U = 20164$, $k = 124$, and $d = 31$. Define $r$ to be the number of positive integers $n \\leq U$ such that $\\gcd(n, k) = d$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 14000$. Define $Q$ to be the remainder when $r^2 + r + s$ is divided by 58760. Find the value of $Q$. ", "answer": 54190, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(20164),\n \"k\": Const(124),\n \"d\": Const(31),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(1), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(14000)))))), modulus=Const(58760)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "0a3d6e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 1.707, "created_at": "2026-02-08T17:53:50.979006Z", "verification": {"verified": true, "answer": 54190, "timestamp": "2026-02-08T17:53:52.685801Z"}, "problem_hash": "47609a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 866}, "timestamp": "2026-02-12T23:23:48.346Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "C2": "no", "K13": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cc2fc6", "alias": "comb_factorial_compute_v1_124444284_6420", "problem": "Let $n = 7$ and let $r = n!$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 70$. Compute the remainder when $c - r$ is divided by $92861$.", "answer": 89046, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(70)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92861)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:22:53.988907Z", "verification": {"verified": true, "answer": 89046, "timestamp": "2026-02-08T08:22:53.989991Z"}, "problem_hash": "01d98c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 89046, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 326}, "timestamp": "2026-02-12T01:49:17.690Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "712ff6", "alias": "sequence_fibonacci_compute_v1_784195855_1205", "problem": "Let $c = 2500$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = c$. Let $m$ be the largest positive divisor $d$ of 10700 such that $d \\leq s$. Let $t$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Determine the value of the $t$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$.", "answer": 6765, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2500),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(10700))))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_DIVISOR/B3"], "recipe_id": "69a416", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T04:54:11.926602Z", "verification": {"verified": true, "answer": 6765, "timestamp": "2026-02-08T04:54:11.930754Z"}, "problem_hash": "bc7926", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 377, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 380}, "timestamp": "2026-02-11T22:04:58.678Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6765, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 435}, "timestamp": "2026-02-11T22:04:39.550Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_DIVISOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "084c38", "alias": "comb_count_surjections_v1_1742523217_1842", "problem": "Let $ r = 5! \\cdot S(6,5) $, where $ S(n,k) $ denotes the Stirling number of the second kind. Let $ d_i $ denote the $ i $th decimal digit of $ |r| $ (starting from the units digit as $ i = 0 $). Define $ s = \\sum_{i=0}^{k-1} d_i \\cdot (i + \\binom{14}{14})^2 $, where $ k $ is the number of digits in $ |r| $. Let $ T $ be the set of all integers $ t $ such that $ 14 \\leq t \\leq 66 $ and there exist integers $ a \\in [1,5] $, $ b \\in [1,13] $ satisfying $ t = 4a + 3b + 7 $. Compute $ s + |T| $.", "answer": 135, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(6),\n \"k\": Const(5),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Binom(n=Const(14), k=Const(14))), Ref(\"_n\")))), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=66)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=7))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "ONE_BINOM_N"], "recipe_id": "5e3fa6", "seed_template_id": "comb_count_surjections_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:18:32.512885Z", "verification": {"verified": true, "answer": 135, "timestamp": "2026-02-08T04:18:32.515827Z"}, "problem_hash": "180ee9", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 135, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 5114}, "timestamp": "2026-02-10T16:09:54.301Z"}, {"id": 8, "model": "mathstral", "answer": 64, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 748}, "timestamp": "2026-02-13T12:44:39.086Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 389}, "timestamp": "2026-02-11T20:39:42.001Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "d4bc9d", "alias": "nt_count_divisible_and_v1_1520064083_1", "problem": "Let $A$ be the set of all integers $n$ with $1\\le n\\le 138$ such that the sum of the decimal digits of $n$ is odd. Let $N$ be the number of elements in $A$.\n\nLet $B$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x+y=N$. Let $n$ be the maximum value of $xy$ over all $(x,y)$ in $B$.\n\nLet $d(n)$ denote the number of positive divisors of $n$, and define\n\\[u\\equiv d(n)\\pmod{2},\\quad u\\in\\{0,1\\}.\n\\]\nLet $\\lambda(1)=1$ denote the Liouville function at $1$, and define\n\\[d_1=4,\\qquad d_2=6\\lambda(1)u.\n\\]\nLet $M$ be the number of integers $n$ with $1\\le n\\le 38904$ such that $n$ is divisible by both $d_1$ and $d_2$.\n\nCompute $M$.", "answer": 3242, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n1\": Const(1),\n \"f\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(138)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Const(38904),\n \"d1\": Const(4),\n \"d2\": Mul(Ref(\"_n\"), Ref(\"f\"), Ref(\"u\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B1/DIVISOR_PARITY", "LIOUVILLE_ONE"], "recipe_id": "fa232b", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "DIVISOR_PARITY", "L3B", "LIOUVILLE_ONE"], "num_lemmas": 4, "generation_time": 16.545, "created_at": "2026-02-08T02:55:32.625333Z", "verification": {"verified": true, "answer": 3242, "timestamp": "2026-02-08T02:55:49.170117Z"}, "problem_hash": "6a82c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 354, "completion_tokens": 3370}, "timestamp": "2026-02-08T21:30:30.795Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIOUVILLE_ONE": "ok", "B1": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "b32343", "alias": "modular_sum_quadratic_residues_v1_655260480_4695", "problem": "Let $p$ be the number of positive integers $n$ such that $1 \\le n \\le 869$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute the remainder when $44121 \\cdot \\frac{p(p-1)}{4}$ is divided by $82360$. ", "answer": 11519, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82360),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(869)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:03:43.378484Z", "verification": {"verified": true, "answer": 11519, "timestamp": "2026-02-08T18:03:43.380545Z"}, "problem_hash": "9a12c8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 649}, "timestamp": "2026-02-12T23:39:24.686Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c08baa", "alias": "comb_factorial_compute_v1_1080341949_257", "problem": "Let $n$ be the smallest integer at least $2$ that divides $3773$. Define $r = n!$. Compute $r + \\phi(|r| + 1) + \\tau(|r| + 1)$, where $\\phi$ denotes Euler's totient function and $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 10013, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3773))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:21:46.945808Z", "verification": {"verified": true, "answer": 10013, "timestamp": "2026-02-08T13:21:46.948285Z"}, "problem_hash": "a3e236", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 503}, "timestamp": "2026-02-12T06:45:06.891Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e97fe7", "alias": "comb_count_derangements_v1_349078426_1499", "problem": "Let $n$ be the smallest divisor of $1002001$ that is at least $2$. Compute the number of derangements of $n$ elements, denoted $!n$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1002001))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:40:52.812568Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T13:40:52.813606Z"}, "problem_hash": "350c1f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8720, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 630}, "timestamp": "2026-02-12T07:13:13.002Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K14": "no", "K18": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "88c52c", "alias": "antilemma_sum_factor_cartesian_v1_1742523217_2343", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 32$, $4$ divides $n$, and $\\gcd(n, 15) = 1$. For each such $n$, compute $\\sum_{d \\mid \\gcd(3, k)} \\mu(d)$, where $k$ is the number of such integers $n$, and $\\mu$ is the M\\\"obius function. Let $S$ be the set of all ordered pairs $(i, j)$ where $i$ is an integer from $1$ to $7$ and $j$ is an integer from $1$ to $9$, such that the value of the sum above is positive. Compute the sum of $i \\cdot j$ over all pairs $(i, j)$ in $S$.", "answer": 1260, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=Ref(name='_n'), b=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=32)), Divides(divisor=Const(value=4), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=15)), right=Const(value=1)))))), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MOBIUS_COPRIME/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "ebe6ed", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:42:53.911130Z", "verification": {"verified": true, "answer": 1260, "timestamp": "2026-02-08T04:42:53.913633Z"}, "problem_hash": "5384bf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok_later", "K15": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "424fa3", "alias": "nt_count_divisors_in_range_v1_1526740231_84", "problem": "Let $n = 332640$. Compute the number of positive divisors $d$ of $n$ such that $40 \\leq d \\leq 10395$. Let this number be $A$. Next, consider all ordered pairs of positive integers $(x, y)$ such that $x + y = 134$. Let $B$ be the maximum value of the product $xy$ over all such pairs. Compute $B - A$.", "answer": 4347, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(332640),\n \"a\": Const(40),\n \"b\": Const(10395),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(134)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.105, "created_at": "2026-02-08T11:20:43.358845Z", "verification": {"verified": true, "answer": 4347, "timestamp": "2026-02-08T11:20:43.463397Z"}, "problem_hash": "7e79de", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4346, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 2785}, "timestamp": "2026-02-14T11:57:20.502Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 479}, "timestamp": "2026-02-12T03:50:04.732Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "7ba9a4", "alias": "nt_count_intersection_v1_1520064083_5036", "problem": "Let $g = 19$, $m = 8$, and $n = 2$. Define $a_1 = g \\cdot m$ and $b_1 = g \\cdot n$. Let $u = \\sum_{d \\mid \\gcd(a_1,b_1)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p = 2$ and let $w = \\Omega(p)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Define $N = (20000 + u) \\cdot w$. Let $a = 9$, and let $b$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 9$ such that $\\gcd(i,j) = 1$. Determine the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$.", "answer": 952, "graph": "graphs = [\n Graph(\n let={\n \"g\": Const(19),\n \"m\": Const(8),\n \"n\": Const(2),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(2),\n \"w\": BigOmega(n=Ref(name='p')),\n \"N\": Mul(Sum(Const(20000), Ref(\"u\")), Ref(\"w\")),\n \"a\": Const(9),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "BIG_OMEGA_ONE"], "recipe_id": "1793a2", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_COPRIME_GRID", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 6.485, "created_at": "2026-02-08T06:34:31.614471Z", "verification": {"verified": true, "answer": 952, "timestamp": "2026-02-08T06:34:38.099170Z"}, "problem_hash": "3db38d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "519d8d", "alias": "nt_sum_totient_over_divisors_v1_865884756_332", "problem": "Let $h$ be the number of distinct prime factors of $29$.\n\nLet $a$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=676$.\n\nFor each integer $t$, consider whether there exist integers $u$ and $v$ such that $1\\le u\\le 125$, $1\\le v\\le 570$, $22\\le t\\le 6310$, and\n$$t=14u+8v.$$\nLet $N$ be the number of integers $t$ for which such integers $u$ and $v$ exist.\n\nLet $b$ be the smallest integer $d\\ge 2$ such that $d$ divides $N$.\n\nLet\n$$c=\\sum_{d\\mid\\gcd(a,b)} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function. Define\n$$n=93299\\cdot h\\cdot c.$$\n\nLet\n$$Q=\\sum_{d\\mid n} \\varphi(d),$$\nwhere $\\varphi$ is Euler's totient function. Compute $Q$.", "answer": 93299, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(93299),\n \"_n\": Const(2),\n \"p\": Const(29),\n \"n1\": Ref(\"p\"),\n \"h\": SmallOmega(n=Ref(name='n1')),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(676)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=125)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=570)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=6310)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))))))),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d1', expr=MoebiusMu(n=Var(name='d1'))),\n \"n\": Mul(Ref(\"_m\"), Ref(\"h\"), Ref(\"c\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d2', expr=EulerPhi(n=Var(name='d2'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/MOBIUS_COPRIME", "B3/MOBIUS_COPRIME", "OMEGA_ONE"], "recipe_id": "2c15c3", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 5, "generation_time": 0.011, "created_at": "2026-02-08T15:19:15.328630Z", "verification": {"verified": true, "answer": 93299, "timestamp": "2026-02-08T15:19:15.340055Z"}, "problem_hash": "50050d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "OMEGA_ONE": "ok", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3c": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "805380", "alias": "nt_lcm_compute_v1_1915831931_1882", "problem": "Let $S$ be the set of all integers $t$ with $16 \\leq t \\leq 5688$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 368$, $1 \\leq b \\leq 348$, and $t = 6a + 10b$. Let $a = |S|$. Let $D$ be the set of positive divisors of $8048533$ that are at most $2831$. Define $n$ to be the maximum element of $D$. Let $B$ be the number of integers $n$ with $1 \\leq n \\leq n$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Compute $\\mathrm{lcm}(a, B)$.", "answer": 2829, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2831),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(8048533))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=368)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=348)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=5688)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["MAX_DIVISOR/L3C", "LIN_FORM"], "recipe_id": "57c369", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "MAX_DIVISOR", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T16:29:42.903276Z", "verification": {"verified": true, "answer": 2829, "timestamp": "2026-02-08T16:29:42.909574Z"}, "problem_hash": "8bb470", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 622}, "timestamp": "2026-02-12T10:47:34.759Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6d28a6", "alias": "modular_mod_compute_v1_1742523217_5233", "problem": "Let $a = 90000$ and $m = 15876$. Let $r$ be the remainder when $a$ is divided by $m$. Let $D$ be the set of positive divisors of $589$ that are at most $19$. Let $c$ be the largest prime number that is at most $\\max(D)$. Compute the remainder when $c - r$ is divided by $60302$.", "answer": 49701, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19),\n \"a\": Const(90000),\n \"m\": Const(15876),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(589)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(60302)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_PRIME_BELOW"], "recipe_id": "d25c54", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T10:52:17.006726Z", "verification": {"verified": true, "answer": 49701, "timestamp": "2026-02-08T10:52:17.008424Z"}, "problem_hash": "5badb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 49701, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 738}, "timestamp": "2026-02-14T09:06:28.935Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 48851, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 304}, "timestamp": "2026-02-12T03:29:38.408Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K15": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "1f2d0b", "alias": "algebra_quadratic_discriminant_v1_1439011603_224", "problem": "Let $m = 2$ and $n = 4$. Let $a = -1$ and $b = -5$. Define $S$ to be the set of all positive integers $x$ and $y$ such that $xy = 20736$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $u$ be the minimum element of $T$. Consider the set of all positive integers $k$ such that $1 \\leq k \\leq u$, $n \\mid k$, and $\\gcd(k, 35) = 1$. Let $c$ be the number of elements in this set. Let $r = b^m - 4ac$. Let $Q$ be the remainder when $12 - r$ is divided by $90349$. Compute $Q$.", "answer": 90136, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"a\": Const(-1),\n \"b\": Const(-5),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(20736)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"_c\": Const(12),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(90349)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:22:11.472071Z", "verification": {"verified": true, "answer": 90136, "timestamp": "2026-02-08T15:22:11.477808Z"}, "problem_hash": "8a2f6b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 494}, "timestamp": "2026-02-12T08:20:24.799Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "38a724", "alias": "comb_count_permutations_fixed_v1_1520064083_8719", "problem": "Let $n$ be the smallest prime divisor of $41327$. Compute $\\binom{n}{8} \\cdot !(n - 8)$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 330, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41327),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(8),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T10:20:42.910752Z", "verification": {"verified": true, "answer": 330, "timestamp": "2026-02-08T10:20:42.912627Z"}, "problem_hash": "3653ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 330, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 94, "completion_tokens": 637}, "timestamp": "2026-02-14T07:07:16.386Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 269}, "timestamp": "2026-02-12T03:15:48.287Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "L3b": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "49f611", "alias": "nt_count_phi_equals_v1_1915831931_2988", "problem": "Let $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1026169$. Let $s$ be the minimum value of $x + y$ over all pairs $(x,y) \\in A$. Let $k$ be the number of positive integers $t$ with $39 \\le t \\le 4734$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 230$, $1 \\le b \\le 106$, and $t = 15a + 12b + 12$. Determine the number of positive integers $n$ with $1 \\le n \\le s$ such that $\\phi(n) = k$. Compute this number.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1026169)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=230)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=106)), Geq(left=Var(name='t'), right=Const(value=39)), Leq(left=Var(name='t'), right=Const(value=4734)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=12), Var(name='b')), Const(value=12)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.145, "created_at": "2026-02-08T17:16:47.035074Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T17:16:47.180000Z"}, "problem_hash": "4b0d27", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 541}, "timestamp": "2026-02-12T22:19:57.538Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "72830d", "alias": "nt_lcm_compute_v1_1520064083_1702", "problem": "Let $c = 614$. Let $m$ be the largest prime number less than or equal to 3468. Let $n = 63530$. Define $a = 568$ and $b$ as the largest prime number less than or equal to $c$. Compute $\\text{LCM}(a, b)$, and denote this value as $\\text{result}$. Let $S$ be the set of all integers $k$ such that $1 \\leq k \\leq m$ and $\\gcd(k, 6) = 1$. Compute the number of elements in $S$, subtract $\\text{result}$ from this count, and let $Q$ be the remainder when this difference is divided by $n$. Find the value of $Q$.", "answer": 34152, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(614),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3468)), IsPrime(Var(\"n\"))))),\n \"_n\": Const(63530),\n \"a\": Const(568),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/C4"], "recipe_id": "aa8658", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T04:13:55.004180Z", "verification": {"verified": true, "answer": 34152, "timestamp": "2026-02-08T04:13:55.011199Z"}, "problem_hash": "78830c", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 34152, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 1947}, "timestamp": "2026-02-10T15:49:32.622Z"}, {"id": 8, "model": "mathstral", "answer": 29710, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 520}, "timestamp": "2026-02-13T10:52:01.055Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 634}, "timestamp": "2026-02-11T20:33:25.558Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C4": "ok_later", "K13": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "07cd53", "alias": "nt_gcd_compute_v1_168721529_361", "problem": "Let $m=10051$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=72$, $\\gcd(p,q)=1$, and $p 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Let $C$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 16747$. Compute $C - r$. Find the value.", "answer": 1936, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(2),\n \"b\": Const(-5),\n \"c\": Const(7),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=120)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(16747)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "COPRIME_PAIRS/COPRIME_PAIRS"], "recipe_id": "7f6cc4", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T15:31:12.230306Z", "verification": {"verified": true, "answer": 1936, "timestamp": "2026-02-08T15:31:12.243651Z"}, "problem_hash": "155fc8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 608}, "timestamp": "2026-02-12T08:42:22.688Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "128983", "alias": "nt_num_divisors_compute_v1_1978505735_4385", "problem": "Let $n = 8633$. Define $d$ to be the smallest divisor of $n$ that is at least $2$. Compute the number of positive divisors of $d$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8633),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:12:27.919374Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T18:12:27.920706Z"}, "problem_hash": "29a10c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 163}, "timestamp": "2026-02-12T23:50:36.551Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "17ad48", "alias": "nt_min_coprime_above_v1_898971024_2681", "problem": "Let $M$ be the number of integers $n$ with $1 \\le n \\le 1218$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $r$ be the smallest integer greater than 1600 and at most 1784 that is relatively prime to $M$. Compute the remainder when $44121 \\cdot r$ is divided by 94214.", "answer": 71435, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94214),\n \"start\": Const(1600),\n \"upper\": Const(1784),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1218)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Gt(Var(\"n1\"), Ref(\"start\")), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.02, "created_at": "2026-02-08T16:54:32.700379Z", "verification": {"verified": true, "answer": 71435, "timestamp": "2026-02-08T16:54:32.719929Z"}, "problem_hash": "f84552", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 732}, "timestamp": "2026-02-12T21:17:49.385Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c0864f", "alias": "comb_count_derangements_v1_784195855_8286", "problem": "Let $d$ be the smallest divisor of $847$ that is at least $2$. Compute the subfactorial of $d$, and then find the remainder when $44121$ times this subfactorial is divided by $70610$.", "answer": 33954, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70610),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:59:49.554757Z", "verification": {"verified": true, "answer": 33954, "timestamp": "2026-02-08T15:59:49.556750Z"}, "problem_hash": "5d1d6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 26607, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 329}, "timestamp": "2026-02-12T09:32:50.724Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K15": "no", "LTE_SUM": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "644967", "alias": "modular_mod_compute_v1_784195855_3592", "problem": "Let $m$ be the largest prime number between 2 and 2142 inclusive. Compute the remainder when $-2019$ is divided by $m$, then multiply this remainder by 16687. Find the remainder when this product is divided by 95660.", "answer": 26954, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(42)), right=IntegerRange(start=Const(1), end=Const(51)))),\n \"a\": Const(-2019),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": Const(16687),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95660)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/MAX_PRIME_BELOW"], "recipe_id": "07a68e", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:31:08.453505Z", "verification": {"verified": true, "answer": 26954, "timestamp": "2026-02-08T06:31:08.457178Z"}, "problem_hash": "88d24d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26954, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 101, "completion_tokens": 1230}, "timestamp": "2026-02-13T01:47:57.125Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14646, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 354}, "timestamp": "2026-02-12T00:14:01.282Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K15": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b7645f", "alias": "antilemma_product_of_sums_v1_458359167_277", "problem": "Let $S$ be the set of positive integers $n$ such that $1 \\leq n \\leq 306$, $9$ divides $n$, and $\\gcd(n, 35) = 1$. Let $a$ be the number of elements in $S$. \n\nLet $T$ be the set of integers $j$ such that $0 \\leq j \\leq 15$ and $\\binom{m}{j}$ is odd, where $m$ is the largest integer $k$ for which $3^k \\leq 17965366$. Let $b$ be the sum of all elements in $T$. \n\nLet $x = a \\cdot b$ and $n = 32761$. Compute the remainder when $n - x$ is divided by $68623$.", "answer": 65384, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(32761),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(306)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))), expr=Var(\"k\")), SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_m\"), Var(\"k\")), Const(17965366)))), k=Var(\"j\")), modulus=Const(2)), Const(1)))))),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"x\")), modulus=Const(68623)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/SUM_ARITHMETIC", "PRODUCT_OF_SUMS", "MAX_VAL"], "recipe_id": "f71ae0", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MAX_VAL", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:09:46.116423Z", "verification": {"verified": true, "answer": 65384, "timestamp": "2026-02-08T03:09:46.119717Z"}, "problem_hash": "e6dbd3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "MAX_VAL": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "K16": "same_pattern_wrong", "K13": "no", "K14": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "30030d", "alias": "diophantine_fbi2_count_v1_1470522791_1498", "problem": "Let $n = 5$. Let $A$ be the set of all positive integers $n$ such that $1 \\le n \\le 3600$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $k$ be the number of elements in $A$. Let $B$ be the set of all integers $d$ such that $n \\le d \\le 74$, $d$ divides $k$, and $3 \\le \\frac{k}{d} \\le 72$. Let $r$ be the number of elements in $B$. Compute $44121 \\times r$ and find the remainder when this product is divided by $94891$. Determine the value of this remainder.", "answer": 48348, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(3600)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Const(74)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(72))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(94891)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T13:42:12.316877Z", "verification": {"verified": true, "answer": 48348, "timestamp": "2026-02-08T13:42:12.325121Z"}, "problem_hash": "fa6825", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 541}, "timestamp": "2026-02-12T07:19:01.568Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K13": "no", "K16": "no", "K17": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d6a05d", "alias": "diophantine_fbi2_count_v1_1918700295_4465", "problem": "Let $k = 840$ and $n = 107$. Consider the set of integers $d$ such that $2 \\leq d \\leq 106$, $d$ divides $k$, and $\\frac{k}{d}$ lies between $\\min\\left\\{ d' \\geq 2 : d' \\mid 15 \\right\\}$ and $n$, inclusive. Let $r$ be the number of such integers $d$. Compute the remainder when $17 - r$ is divided by $83819$.", "answer": 83818, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(107),\n \"k\": Const(840),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(106)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15)))))), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Sub(Const(17), Ref(\"result\")), modulus=Const(83819)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.024, "created_at": "2026-02-08T09:23:43.192575Z", "verification": {"verified": true, "answer": 83818, "timestamp": "2026-02-08T09:23:43.216904Z"}, "problem_hash": "320da2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 83818, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 1149}, "timestamp": "2026-02-14T04:02:54.315Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 575}, "timestamp": "2026-02-12T02:55:20.701Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "081d71", "alias": "antilemma_v7_kummer_677425708_1550", "problem": "Let $x$ be the largest integer $k$ such that $5^k$ divides $\\binom{130}{52}$. Let $c$ be the largest integer $k$ such that $3^k$ divides $3^{31}$. Compute $x^2 + 3x + c$.", "answer": 41, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(130),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(52)), base=Ref(\"_m\")),\n \"_c\": MaxKDivides(target=Pow(Const(3), Const(31)), base=Const(3)),\n \"Q\": Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(3), Ref(\"x\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14", "V7"], "recipe_id": "ca7d06", "seed_template_id": "antilemma_v7_kummer", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "V7"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:15:05.673886Z", "verification": {"verified": true, "answer": 41, "timestamp": "2026-02-08T04:15:05.674938Z"}, "problem_hash": "98a06a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 41, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 491}, "timestamp": "2026-02-09T21:22:43.862Z"}], "solution_status": 2, "lemma_applicability": {"K14": "ok", "V7": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "ff7f5d", "alias": "antilemma_sum_equals_v1_153355830_1357", "problem": "Let $N$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 7$, $1\\le b\\le 11$, $16\\le t\\le 136$, and\n$$t=10a+6b.$$\nLet $X$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 52$, $1\\le j\\le 52$, and\n$$i+j=N.$$\nLet $C$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 24$ and $1\\le v\\le 37$.\nLet\n$$Q\\equiv 11^{|X|}+C\\pmod{99991},$$\nwhere $0\\le Q<99991$.\nFind the value of $Q$. ", "answer": 60504, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=136)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(52)), right=IntegerRange(start=Const(1), end=Const(52))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_CARTESIAN/COUNT_SUM_EQUALS", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "0c98fd", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "two_stage_modexp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T06:20:45.453982Z", "verification": {"verified": true, "answer": 60504, "timestamp": "2026-02-08T06:20:45.464021Z"}, "problem_hash": "096847", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 43503, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 7079}, "timestamp": "2026-02-12T23:07:30.702Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 601}, "timestamp": "2026-02-11T23:57:00.284Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "86500a", "alias": "nt_sum_over_divisible_v1_784195855_8474", "problem": "Let $u$ be the number of positive integers $n \\leq 65339$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $S$ be the set of all positive integers $n \\leq u$ such that $n$ is divisible by $53$. Define $\\text{result}$ to be the sum of all elements in $S$, and let $Q$ be the remainder when $32215 \\cdot \\text{result}$ is divided by $88113$. Find $Q$.", "answer": 67613, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(65339)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"divisor\": Const(53),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(32215), Ref(\"result\")), modulus=Const(88113)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 1.447, "created_at": "2026-02-08T16:05:48.324173Z", "verification": {"verified": true, "answer": 67613, "timestamp": "2026-02-08T16:05:49.771347Z"}, "problem_hash": "5f9ad2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 398}, "timestamp": "2026-02-12T09:53:27.054Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K15": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9002a2", "alias": "nt_sum_divisors_range_v1_784195855_2823", "problem": "Let $T$ be the set of positive integers $n$ from $1$ to $10201$ inclusive. For each $n$, let $d(n)$ denote the number of positive divisors of $n$. Let $S$ be the sum of $d(n)$ over all $n$ in $T$. Compute the value of\n$$\n353702 \\cdot (S \\bmod 97) + 329703 \\cdot \\left(S^{\\max\\{d \\in \\{1,2\\} \\mid d \\mid 14\\}} \\bmod 101\\right) + 215534 \\cdot (S \\bmod 103),\n$$\ntaken modulo $1009091$, and then find the remainder when this result is divided by $57580$.", "answer": 57487, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"upper\": Const(10201),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(14)))))), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(24)), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(57580)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "2f6bc6", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.369, "created_at": "2026-02-08T06:04:11.396077Z", "verification": {"verified": true, "answer": 57487, "timestamp": "2026-02-08T06:04:11.764761Z"}, "problem_hash": "a2db0f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41803, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 4551}, "timestamp": "2026-02-12T18:55:55.184Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 627}, "timestamp": "2026-02-11T23:31:42.178Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K13": "no", "K5": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "19edbd", "alias": "modular_modexp_compute_v1_124444284_6899", "problem": "Let $a$ be the smallest divisor of $132023$ that is at least $2$. Let $e = 1600$ and $m = 12996$. Define $r$ to be the remainder when $a^e$ is divided by $m$. Compute $$ \\sum_{k=1}^{r} \\tau(k), $$ where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 96991, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(132023))))),\n \"e\": Const(1600),\n \"m\": Const(12996),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T08:42:36.910990Z", "verification": {"verified": true, "answer": 96991, "timestamp": "2026-02-08T08:42:36.912908Z"}, "problem_hash": "4b9184", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 99024, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 134, "completion_tokens": 5145}, "timestamp": "2026-02-13T20:50:08.094Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 371}, "timestamp": "2026-02-12T02:06:50.532Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "19259b", "alias": "nt_lcm_compute_v1_717093673_1227", "problem": "Let $a$ be the smallest divisor of $8792903270089$ that is at least $2$. Let $b = 1833$. Compute the least common multiple of $a$ and $b$. Find the remainder when $87515$ times this least common multiple is divided by $65211$.", "answer": 46923, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(8792903270089))))),\n \"b\": Const(1833),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(87515), Ref(\"result\")), modulus=Const(65211)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:57:08.114783Z", "verification": {"verified": true, "answer": 46923, "timestamp": "2026-02-08T15:57:08.116734Z"}, "problem_hash": "ebab19", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 248}, "timestamp": "2026-02-12T09:29:24.317Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7544ff", "alias": "comb_factorial_compute_v1_677425708_359", "problem": "Let $T$ be the set of all integers $t$ with $5 \\leq t \\leq 15$ for which there exist integers $a$ and $b$, each between $1$ and $3$ inclusive, such that $t = 2a + 3b$. Let $m = |T|$. Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i, j \\leq 8$ such that $i + j = m$. Let $u = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and $s = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Define $n = |S| \\cdot u \\cdot s$. Compute $n!$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=15)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"n2\": Const(0),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(8))))), Ref(\"u\"), Ref(\"s\")),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING"], "recipe_id": "0c7152", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T03:14:06.199230Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T03:14:06.215527Z"}, "problem_hash": "4c5048", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 40320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 298, "completion_tokens": 1006}, "timestamp": "2026-02-08T20:28:39.311Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 40320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 294, "completion_tokens": 803}, "timestamp": "2026-02-10T02:40:57.219Z"}, {"id": 8, "model": "mathstral", "answer": 362880, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 630}, "timestamp": "2026-02-12T17:42:28.241Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 410}, "timestamp": "2026-02-11T19:28:15.323Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "c819b3", "alias": "antilemma_sum_primes_v1_865884756_1108", "problem": "Let $d=11$ and $c=2$. Let $M$ be the number of integers $n$ such that $n\\ge c$, $n\\le L$, and $n$ is prime, where $L$ is the smallest integer greater than or equal to $2$ that divides $927147663858593$.\n\nLet $N$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=54$, $\\gcd(p,q)=1$, and $p 0, \\\\ 0 & \\text{otherwise} \\end{cases}$ and $\\beta = \\begin{cases} 1 & \\text{if } D = 0, \\\\ 0 & \\text{otherwise} \\end{cases}$. Compute the value of $44121 \\times (\\alpha + \\beta)$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(3),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(735))))),\n \"c\": Const(11),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Mul(Const(44121), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:21:21.971801Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T03:21:21.973668Z"}, "problem_hash": "a24a90", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 440}, "timestamp": "2026-02-09T19:02:23.361Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 469}, "timestamp": "2026-02-09T03:15:51.509Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 398}, "timestamp": "2026-02-11T19:01:20.941Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 298}, "timestamp": "2026-02-11T19:25:09.918Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "443e60", "alias": "nt_count_intersection_v1_865884756_5505", "problem": "Let $a$ be the smallest divisor of $105875$ that is greater than or equal to $2$. Let $N = 50000$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, 12) = 1$. Let $r$ be the number of elements in $S$. Compute $47089 - r$.", "answer": 43756, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(47089),\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(105875))))),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.81, "created_at": "2026-02-08T18:39:51.526046Z", "verification": {"verified": true, "answer": 43756, "timestamp": "2026-02-08T18:39:53.336507Z"}, "problem_hash": "c2d3ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 37922, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 415}, "timestamp": "2026-02-13T00:23:19.284Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "MOD_SUB": "no", "V5": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "10a9d7", "alias": "diophantine_fbi2_count_v1_124444284_8293", "problem": "Let $k = 480$. Define $S$ as the set of all integers $d$ such that $6 \\leq d \\leq 95$, $d$ divides $k$, and $$\n7 \\leq \\frac{k}{d} \\leq 92.\n$$ Additionally, require that $\\frac{k}{d}$ is at least the smallest integer greater than or equal to 2 that divides 315. Determine the number of elements in $S$, and let this number be $n$. Compute the remainder when $37205 \\cdot n$ is divided by 73026.", "answer": 9688, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73026),\n \"k\": Const(480),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(95)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(315)))))), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(92))))),\n \"Q\": Mod(value=Mul(Const(37205), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T09:37:37.778808Z", "verification": {"verified": true, "answer": 9688, "timestamp": "2026-02-08T09:37:37.786103Z"}, "problem_hash": "79f5ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 45509, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 1698}, "timestamp": "2026-02-14T05:28:38.045Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 404}, "timestamp": "2026-02-12T03:05:16.946Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K17": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "8ba5ac", "alias": "algebra_poly_eval_v1_1978505735_4515", "problem": "Let $n = 2$. Define $z$ to be the smallest integer $d \\ge n$ such that $d$ divides $18588623$. Let $\\text{result} = 9z^2 - z - 10$. Compute $\\text{result}$.", "answer": 4728, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"z\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(18588623))))),\n \"result\": Sum(Mul(Const(9), Pow(Ref(\"z\"), Const(2))), Mul(Const(-1), Ref(\"z\")), Const(-10)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:17:40.354088Z", "verification": {"verified": true, "answer": 4728, "timestamp": "2026-02-08T18:17:40.356002Z"}, "problem_hash": "92de0a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 194}, "timestamp": "2026-02-12T23:59:51.878Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6735dc", "alias": "modular_product_range_v1_238844314_1136", "problem": "Let $S$ be the set of all positive integers $n$ with $1 \\leq n \\leq 5191$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $P$ be the product of all integers from 22 to $|S|$, inclusive. Compute the remainder when $18681 \\cdot (P \\bmod 10957)$ is divided by 74378.", "answer": 21157, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(74378),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(22), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5191)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10957)),\n \"Q\": Mod(value=Mul(Const(18681), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:59:08.099154Z", "verification": {"verified": true, "answer": 21157, "timestamp": "2026-02-08T13:59:08.103298Z"}, "problem_hash": "07abb3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 582}, "timestamp": "2026-02-12T07:39:19.660Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K16": "no", "K18": "no", "K5": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b2798b", "alias": "algebra_quadratic_discriminant_v1_151522320_1188", "problem": "Let $m = 16$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the sum of all positive integers $k$ from 1 to $s$, where $s$ is the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $a = -1$ and $b = 0$. Compute $b^n - 4ac$.", "answer": 144, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(-1),\n \"b\": Const(0),\n \"c\": Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC", "B3/SUM_ARITHMETIC"], "recipe_id": "612825", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:50:00.730879Z", "verification": {"verified": true, "answer": 144, "timestamp": "2026-02-08T03:50:00.734204Z"}, "problem_hash": "ba0e07", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 144, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 983}, "timestamp": "2026-02-10T15:52:10.117Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 144, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1408}, "timestamp": "2026-02-10T14:30:44.023Z"}, {"id": 8, "model": "mathstral", "answer": 144, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 447}, "timestamp": "2026-02-13T00:53:40.802Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 491}, "timestamp": "2026-02-11T20:12:15.797Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "eded0f", "alias": "nt_count_divisible_v1_1125832087_1553", "problem": "Let $\\text{upper}=32400$ and $d=3$. Let $\\text{result}$ be the number of integers $n$ with $1\\le n\\le\\text{upper}$ such that\n$$n\\equiv0\\pmod d.$$\n\nLet\n$$Q\\equiv 11^{|\\text{result}|}+67600\\pmod{70697},$$\nwith $0\\le Q<70697$.\n\nFind the value of $Q$.", "answer": 59759, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(32400),\n \"divisor\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(67600),\n \"Q\": Mod(value=Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")), modulus=Const(70697)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/C3/MAX_DIVISOR/MIN_PRIME_FACTOR/SUM_ARITHMETIC"], "recipe_id": "7e83d8", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["C3", "COUNT_PRIMES", "MAX_DIVISOR", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 3.441, "created_at": "2026-02-08T03:47:30.144484Z", "verification": {"verified": true, "answer": 59759, "timestamp": "2026-02-08T03:47:33.585263Z"}, "problem_hash": "ee1d9b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:42:47.719Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 31872, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 5834}, "timestamp": "2026-02-10T14:22:13.967Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41893, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 3639}, "timestamp": "2026-02-11T18:27:31.459Z"}, {"id": 8, "model": "mathstral", "answer": 67601, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 896}, "timestamp": "2026-02-12T23:43:29.158Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 436}, "timestamp": "2026-02-11T21:09:09.633Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "C3": "ok_later", "MAX_DIVISOR": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "SUM_ARITHMETIC": "ok_later", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "05a82f", "alias": "nt_count_coprime_and_v1_1520064083_7549", "problem": "Let $k_1$ be the number of integers $t$ such that $5 \\leq t \\leq 14$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 2$, and $t = 2a + 3b$. Let $k_2 = 15$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 17636$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Let $r = |A|$, and let $e = \\sum_{k=1}^{5} \\varphi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$. Compute $|A| + \\left(2^r \\bmod 74040\\right)$.", "answer": 4959, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"upper\": Const(17636),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=14)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"k2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))))), modulus=Const(74040))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "LIN_FORM"], "recipe_id": "3a8b46", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.398, "created_at": "2026-02-08T09:08:06.471654Z", "verification": {"verified": true, "answer": 4959, "timestamp": "2026-02-08T09:08:08.870017Z"}, "problem_hash": "47199a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63871, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 3989}, "timestamp": "2026-02-14T01:05:24.956Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 914}, "timestamp": "2026-02-12T02:36:47.632Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "L3b": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "d76a31", "alias": "nt_count_primes_v1_717093673_2258", "problem": "Let $n_0 = 10$. Let $A$ be the set of all integers $n_1$ with $1 \\le n_1 \\le n_0$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $t$ be the number of elements in $A$. Let $S$ be the set of all prime numbers $n$ such that $n \\ge t$ and $n \\le 50176$. Compute the number of elements in $S$. Let this number be $r$. Find the value of $\\sum_{n_2=1}^{r} \\tau(n_2)$, where $\\tau(n_2)$ denotes the number of positive divisors of $n_2$.", "answer": 44853, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"upper\": Const(50176),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Summation(var=\"n2\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n2\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.494, "created_at": "2026-02-08T16:42:59.688153Z", "verification": {"verified": true, "answer": 44853, "timestamp": "2026-02-08T16:43:02.182020Z"}, "problem_hash": "c50ad0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 459}, "timestamp": "2026-02-12T20:51:05.039Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b6fd7a", "alias": "nt_sum_totient_over_divisors_v1_153355830_84", "problem": "Let $n_2 = 28561$. Define $s$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n_2$, minus $n_2$ itself. Let $n_1$ be the number of positive integers $n$ with $1 \\le n \\le 21$ such that the sum of the decimal digits of $n$ is odd, plus $s$. Let $m = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function. Let $n = 82990$, and let $R$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Let $C = 69847 \\cdot m$. Compute the remainder when $C \\cdot R$ is divided by 61015.\n\nFind the value of this remainder.", "answer": 55500, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(28561),\n \"s\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(21)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))), Ref(\"s\")),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(82990),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Mul(Const(69847), Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61015)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/EULER_TOTIENT_SUM/MOBIUS_SQUAREFREE"], "recipe_id": "5d0c8a", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3B", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:53:00.815238Z", "verification": {"verified": true, "answer": 55500, "timestamp": "2026-02-08T02:53:00.819659Z"}, "problem_hash": "f76a0a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 55500, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 1239}, "timestamp": "2026-02-08T22:45:43.288Z"}], "solution_status": 2, "lemma_applicability": {"L3B": "ok", "EULER_TOTIENT_SUM": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "ededdc", "alias": "algebra_poly_eval_v1_717093673_424", "problem": "Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $49049$. Define $r = 10d_{\\text{min}}^2 + 4d_{\\text{min}} - 1$. Compute the remainder when $44121 \\cdot r$ is divided by $79384$.", "answer": 27349, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(49049))))),\n \"result\": Sum(Mul(Const(10), Pow(Ref(\"n\"), Const(2))), Mul(Ref(\"_n\"), Ref(\"n\")), Const(-1)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(79384)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:25:29.576021Z", "verification": {"verified": true, "answer": 27349, "timestamp": "2026-02-08T15:25:29.578272Z"}, "problem_hash": "19fac2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 268}, "timestamp": "2026-02-12T08:26:47.229Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3c": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9a0a6c", "alias": "antilemma_v1_legendre_865884756_203", "problem": "Let $n_1 = 53$ and let $v = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function.\n\nLet $n = 7$ and let\n$$u = \\sum_{d \\mid n} \\varphi(d) - n,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $m$ be the maximum element of the set of all primes $n_2$ such that $2 \\le n_2 \\le 97$.\n\nLet $x$ be the largest integer $k$ such that $13^k$ divides $92430!$.\n\nDefine\n\\[\nQ \\equiv 353702 \\cdot (|x| \\bmod m) \n+ 329703 \\cdot \\bigl((|x|^2 + 1) \\bmod (101 + u)\\bigr)\n+ 215534 \\cdot \\bigl((|x| + 36) \\bmod (103 + v)\\bigr)\n\\pmod{1009091},\n\\]\nwhere for any integers $a$ and positive integer $b$, the expression $a \\bmod b$ denotes the unique remainder $r$ with $0 \\le r < b$ and $r \\equiv a \\pmod{b}$.\n\nFinally, let $Q$ be the remainder when this value is divided by $80771$.\n\nFind the value of $Q$. ", "answer": 17287, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(53),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Const(7),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_n\": Const(13),\n \"x\": MaxKDivides(target=Factorial(Const(92430)), base=Ref(\"_n\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Const(97)), IsPrime(Var(\"n2\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Sum(Const(101), Ref(\"u\")))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(36)), modulus=Sum(Const(103), Ref(\"v\"))))), modulus=Const(1009091)), modulus=Const(80771)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE/EULER_TOTIENT_SUM", "V1"], "recipe_id": "8ff36f", "seed_template_id": "antilemma_v1_legendre", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T15:15:51.983074Z", "verification": {"verified": true, "answer": 17287, "timestamp": "2026-02-08T15:15:51.986717Z"}, "problem_hash": "14aeda", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17287, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 420, "completion_tokens": 2083}, "timestamp": "2026-02-10T05:29:59.576Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "EULER_TOTIENT_SUM": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "K5": "same_pattern_wrong", "DS2": "no", "K14": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "5eec17", "alias": "nt_euler_phi_compute_v1_809748730_453", "problem": "Let $n=87025$, and let $\\varphi(n)$ denote the number of positive integers less than or equal to $n$ that are relatively prime to $n$. Define $r=\\varphi(n)$.\n\nLet $m=2$ and $k=97$. Consider the following quantities:\n\\begin{itemize}\n\\item The remainder when $|r|$ is divided by $k$.\n\\item The number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 4$, $1\\le b\\le 32$, $24\\le t\\le 348$, and\n$$t=15a+9b.$$ \nCall this number $T$.\n\\item The remainder when $|r|^m+1$ is divided by $T$.\n\\item The number of integers $u$ with $1\\le u\\le 18865$ such that $7$ divides $u$ and $\\gcd(u,6)=1$. Call this number $U$.\n\\item The set of integers $d$ such that $d\\ge 2$ and $d$ divides $U$, and the minimum element of this set. Call this minimum $D$.\n\\item The remainder when $|r|+D$ is divided by $103$.\n\\end{itemize}\n\nLet $S$ be the sum of the following three products:\n\\begin{itemize}\n\\item $353702$ times the remainder when $|r|$ is divided by $k$,\n\\item $329703$ times the remainder when $|r|^m+1$ is divided by $T$,\n\\item $215534$ times the remainder when $|r|+D$ is divided by $103$.\n\\end{itemize}\n\nFirst, let $S_1$ be the remainder when $S$ is divided by $1009091$. Then let $Q$ be the remainder when $S_1$ is divided by $83066$.\n\nFind the value of $Q$. ", "answer": 30766, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(97),\n \"n\": Const(87025),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_m\")), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=32)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=348)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(18865)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1)))))))))), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(83066)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MIN_PRIME_FACTOR", "LIN_FORM"], "recipe_id": "0eff05", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T11:31:00.143387Z", "verification": {"verified": true, "answer": 30766, "timestamp": "2026-02-08T11:31:00.154418Z"}, "problem_hash": "cdab8c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 30766, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 456, "completion_tokens": 3361}, "timestamp": "2026-02-14T15:34:33.473Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 568, "completion_tokens": 492}, "timestamp": "2026-02-12T04:14:56.543Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "L3b": "no", "MOD_ADD": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "6f7e15", "alias": "nt_count_coprime_v1_1978505735_2988", "problem": "Let $\\text{upper} = 13689$, and let $k$ be the smallest integer greater than or equal to 2 that divides $38152661$. Determine the number of positive integers $n$ such that $1 \\le n \\le \\text{upper}$ and $\\gcd(n, k) = 1$.", "answer": 13217, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(13689),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(38152661))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.345, "created_at": "2026-02-08T17:17:24.500928Z", "verification": {"verified": true, "answer": 13217, "timestamp": "2026-02-08T17:17:28.846358Z"}, "problem_hash": "4d9365", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 38152660, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 381}, "timestamp": "2026-02-12T22:14:38.046Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K17": "no", "L3b": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e5a8af", "alias": "nt_count_gcd_equals_v1_1440796553_920", "problem": "Let $m=2$, and let $n$ be the greatest prime integer with $m\\le n\\le 67$. Let $n_1=29$ and define\n\\[\nf=\\sum_{d\\mid n_1} \\varphi(d)-n_1,\n\\]\nwhere $\\varphi$ denotes Euler's totient function. Let\n\\[\np=n+f,\\qquad q=13,\\qquad N=pq.\n\\]\nLet $\\lambda(N)$ denote the Liouville function of $N$, and set\n\\[\nT=\\lambda(N),\\qquad U=10404\\,T.\n\\]\nConsider the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[\n1\\le a\\le 16,\\quad 1\\le b\\le 41,\\quad 11\\le t\\le 351,\\quad t=4a+7b.\n\\]\nLet $K$ be the number of such integers $t$. Let $d=1$, and let $R$ be the number of integers $n$ with $1\\le n\\le U$ and\n\\[\n\\gcd(n,K)=d.\n\\]\nCompute $R$.", "answer": 9277, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(67)), IsPrime(Var(\"n\"))))),\n \"n1\": Const(29),\n \"f\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"p\": Sum(Ref(\"_n\"), Ref(\"f\")),\n \"q\": Const(13),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"t\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Mul(Const(10404), Ref(\"t\")),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=41)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=351)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIN_FORM/EULER_TOTIENT_SUM/LIOUVILLE_ONE"], "recipe_id": "b226d6", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIN_FORM", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 3.028, "created_at": "2026-02-08T12:02:34.018403Z", "verification": {"verified": true, "answer": 9277, "timestamp": "2026-02-08T12:02:37.046065Z"}, "problem_hash": "5ac295", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "EULER_TOTIENT_SUM": "ok_later", "LIN_FORM": "ok_later", "LIOUVILLE_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "874997", "alias": "nt_count_with_divisor_count_v1_1978505735_3661", "problem": "Define $u$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 39609$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Find the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq u$ and $n_1$ has exactly $5$ positive divisors. Compute the remainder when $33007$ times this count is divided by $51009$.", "answer": 30010, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(39609)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"div_count\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n1\")), Ref(\"div_count\"))))),\n \"_c\": Const(33007),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51009)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.509, "created_at": "2026-02-08T17:46:58.384713Z", "verification": {"verified": true, "answer": 30010, "timestamp": "2026-02-08T17:46:58.893978Z"}, "problem_hash": "acde0b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 788}, "timestamp": "2026-02-12T23:12:15.181Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c5b0cb", "alias": "antilemma_count_primes_v1_1742523217_3785", "problem": "Let $ n_1 $ be the largest integer $ k $ such that $ 13^k $ divides $ 234! $. Let $ s = \\lambda(n_1) + \\phi(1) $, where $ \\lambda $ denotes the Liouville function and $ \\phi $ denotes Euler's totient function. Let $ n = 1 + s $. Let $ h = \\Omega(n) $, the number of prime factors of $ n $ counted with multiplicity. Let $ \\hat{n} = 2 + h $. Let $ x $ be the number of prime numbers $ p $ such that $ \\hat{n} \\leq p \\leq 881 $. Compute $ 37249 - x $.", "answer": 37097, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(37249),\n \"n1\": MaxKDivides(target=Factorial(Const(234)), base=Const(13)),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n1')), EulerPhi(n=Const(1))),\n \"n\": Sum(Const(1), Ref(\"s\")),\n \"h\": BigOmega(n=Ref(name='n')),\n \"_n\": Sum(Const(2), Ref(\"h\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(881)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(Ref(\"_m\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO", "COUNT_PRIMES", "ONE_PHI_1"], "recipe_id": "343a67", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "LIOUVILLE_MINUS_ONE", "ONE_PHI_1", "V1"], "num_lemmas": 5, "generation_time": 0.002, "created_at": "2026-02-08T06:05:30.757223Z", "verification": {"verified": true, "answer": 37097, "timestamp": "2026-02-08T06:05:30.759582Z"}, "problem_hash": "f3a7c6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "ONE_PHI_1": "ok", "V1": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K5": "same_pattern_wrong", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "04e824", "alias": "antilemma_k3_v1_1742523217_2787", "problem": "Let $n = 55467$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function. Let $x$ denote this sum. Now compute $\\sum_{i=0}^{m-1} d_i (i+1)^2$, where $d_i$ is the $i$-th decimal digit of $|x|$ (starting from the units digit as $i=0$), and $m$ is the number of decimal digits of $|x|$. Add $10201$ to this sum and report the final result.", "answer": 10473, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55467),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(10201),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "IDENTITY_MUL_ZERO", "lemma_paths": ["IDENTITY_MUL_ZERO", "K3"], "recipe_id": "483969", "seed_template_id": "antilemma_k3_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_MUL_ZERO", "K3"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:21:33.333802Z", "verification": {"verified": true, "answer": 10473, "timestamp": "2026-02-08T05:21:33.334968Z"}, "problem_hash": "d2e68c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10473, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 611}, "timestamp": "2026-02-12T08:18:33.714Z"}, {"id": 8, "model": "mathstral", "answer": 10457, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 703}, "timestamp": "2026-02-14T17:27:28.618Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 445}, "timestamp": "2026-02-11T22:36:11.122Z"}], "solution_status": 1, "lemma_applicability": {"IDENTITY_MUL_ZERO": "ok", "K3": "ok", "K17": "no", "MOD_SUB": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "a888be", "alias": "antilemma_product_of_sums_v1_677425708_4215", "problem": "Let $A$ be the set of all ordered pairs $(i,j)$ of integers such that $1 \\le i \\le 5$ and $1 \\le j \\le 4$. Let\n$$B = \\sum_{(i,j)\\in A} ij.$$\n\nLet $C$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy$ is equal to the number of positive integers $k$ with $1 \\le k \\le 1476$ and $41$ divides $k$. Let $D$ be the set of all values of $x+y$ as $(x,y)$ ranges over $C$, and assume $D$ is nonempty. Let $E$ be the minimum element of $D$.\n\nLet\n$$F = \\sum_{k=\\varphi(1)}^{E} k,$$\nwhere $\\varphi$ denotes Euler's totient function. Define\n$$x = B \\cdot F.$$\n\nLet $n = 58082$ and $c = 32163$. Let $Q$ be the remainder when $cx$ is divided by $n$.\n\nFind the value of $Q$. ", "answer": 51904, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(58082),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))), Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1476)), Divides(divisor=Const(41), dividend=Var(\"k\"))), domain='positive_integers'))))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\"))),\n \"_c\": Const(32163),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3/SUM_ARITHMETIC", "PRODUCT_OF_SUMS", "ONE_PHI_1"], "recipe_id": "7f2fc8", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "ONE_PHI_1", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T06:29:47.539906Z", "verification": {"verified": true, "answer": 51904, "timestamp": "2026-02-08T06:29:47.542660Z"}, "problem_hash": "1b343c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "ONE_PHI_1": "ok", "PRODUCT_OF_SUMS": "ok", "B3": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "V1": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "0ad0cc", "alias": "nt_count_gcd_equals_v1_1520064083_6031", "problem": "Let $m = 49284$ and $n = 61387$. Let $S$ be the set of all integers $t$ such that $24 \\le t \\le 15624$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 586$, $1 \\le b \\le 742$, and $t = 14a + 10b$. Let $u$ be the number of elements in $S$. \n\nLet $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $d = 4$.\n\nNow, let $T$ be the set of all integers $n$ such that $1 \\le n \\le u$ and $\\gcd(n, k) = d$. Compute the number of elements in $T$, and let $Q$ be the remainder when $98372$ times that number is divided by $n = 61387$.\n\nDetermine the value of $Q$.", "answer": 45352, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(49284),\n \"_n\": Const(61387),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=586)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=742)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=15624)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(98372), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.678, "created_at": "2026-02-08T07:49:07.694160Z", "verification": {"verified": true, "answer": 45352, "timestamp": "2026-02-08T07:49:08.371819Z"}, "problem_hash": "3926c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57935, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 4696}, "timestamp": "2026-02-13T12:54:34.121Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 348, "completion_tokens": 480}, "timestamp": "2026-02-12T01:21:15.042Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K14": "no", "K15": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "19af2a", "alias": "nt_count_coprime_v1_784195855_6696", "problem": "Let $n = 19343$ and let $k$ be the smallest divisor of $n$ that is at least $2$. Determine the number of positive integers $m$ at most $67600$ such that $\\gcd(m, k) = 1$.", "answer": 64661, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19343),\n \"upper\": Const(67600),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.73, "created_at": "2026-02-08T08:48:45.355898Z", "verification": {"verified": true, "answer": 64661, "timestamp": "2026-02-08T08:48:51.085514Z"}, "problem_hash": "b2ff02", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64661, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 102, "completion_tokens": 876}, "timestamp": "2026-02-13T21:52:30.547Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 33800, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 419}, "timestamp": "2026-02-12T02:14:53.354Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K16": "no", "K17": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3636da", "alias": "nt_count_divisors_in_range_v1_717093673_1184", "problem": "Let $n = 2520$ and $a = 11$. Define $b$ to be the number of integers $n_1$ such that $1 \\leq n_1 \\leq 2212$ and $$n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{7}.$$ Determine the value of the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 31, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(2520),\n \"a\": Const(11),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(2212)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.234, "created_at": "2026-02-08T15:55:53.086630Z", "verification": {"verified": true, "answer": 31, "timestamp": "2026-02-08T15:55:53.320807Z"}, "problem_hash": "a7dfa9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 561}, "timestamp": "2026-02-12T09:28:59.537Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K14": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "677d4f", "alias": "antilemma_sum_factor_cartesian_v1_865884756_968", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 9$. Define $x$ to be the sum of $i \\cdot j$ over all pairs $(i, j)$ in $S$.\n\nLet $e$ be the number of positive integers $n$ such that $1 \\leq n \\leq 14$ and $n$ is divisible by 14. Compute $2^x \\bmod 95129$, where the exponent is reduced modulo $e$, and define this remainder as $r$. That is, compute $r = 2^{(x \\bmod e)} \\bmod 95129$.\n\nDefine $Q = x + r$. Compute the value of $Q$.", "answer": 4523, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95129),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14)), Eq(Mod(value=Var(\"n\"), modulus=Const(14)), Const(0))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN"], "recipe_id": "356d9b", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T15:42:04.274050Z", "verification": {"verified": true, "answer": 4523, "timestamp": "2026-02-08T15:42:04.276282Z"}, "problem_hash": "bc59af", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "SUM_FACTOR_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V1": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "b11a2d", "alias": "modular_modexp_compute_v1_1978505735_3845", "problem": "Let $a = 41$ and $n = 2$. Let $e$ be the smallest divisor of $680621$ that is at least $n$. Compute the remainder when $41^e$ is divided by $14161$.", "answer": 5214, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(41),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(680621))))),\n \"m\": Const(14161),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:53:57.304343Z", "verification": {"verified": true, "answer": 5214, "timestamp": "2026-02-08T17:53:57.305409Z"}, "problem_hash": "852ef1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 397}, "timestamp": "2026-02-12T23:17:50.994Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K16": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d63042", "alias": "comb_count_permutations_fixed_v1_260342960_131", "problem": "Let $n$ be the smallest divisor of $35$ that is at least $2$. Compute $\\binom{n}{2} \\cdot !(n-2)$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.029, "created_at": "2026-02-08T11:16:34.859603Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T11:16:34.888787Z"}, "problem_hash": "cd337e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 429}, "timestamp": "2026-02-08T20:29:17.665Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 427}, "timestamp": "2026-02-10T02:11:34.251Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 112, "completion_tokens": 5933}, "timestamp": "2026-02-10T06:09:42.537Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 455}, "timestamp": "2026-02-09T07:41:20.723Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 98, "completion_tokens": 493}, "timestamp": "2026-02-09T17:22:42.386Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 273}, "timestamp": "2026-02-11T21:05:23.543Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.83, "hi": -5.04}, "split": "test"} +{"id": "f130dd", "alias": "nt_count_digit_sum_v1_865884756_6943", "problem": "Let $d_0$ be the smallest divisor of $38152661$ that is at least $2$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 303601$ and the sum of the decimal digits of $n$ equals $d_0$. Compute the remainder when $87859 \\cdot N$ is divided by $69579$.", "answer": 53652, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(303601),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(38152661))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Const(87859), Ref(\"result\")), modulus=Const(69579)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 10.136, "created_at": "2026-02-08T19:28:19.919258Z", "verification": {"verified": true, "answer": 53652, "timestamp": "2026-02-08T19:28:30.055635Z"}, "problem_hash": "db937e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 443}, "timestamp": "2026-02-13T01:04:26.432Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5cf41a", "alias": "antilemma_sum_factor_cartesian_v1_1520064083_4284", "problem": "Let $x$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ where $i$ is an integer from $1$ to $12$ and $j$ is an integer from $1$ to $13$.\n\nLet $c$ be the number of positive integers $n$ such that $1 \\leq n \\leq 12483$ and the sum of the decimal digits of $n$ is even.\n\nCompute the remainder when $x^2 + x + c$ is divided by $68106$.", "answer": 64609, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(13)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(12483)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(1), Ref(\"x\")), Ref(\"_c\")), modulus=Const(68106)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "SUM_FACTOR_CARTESIAN"], "recipe_id": "820bf0", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3B", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:11:10.280008Z", "verification": {"verified": true, "answer": 64609, "timestamp": "2026-02-08T06:11:10.282360Z"}, "problem_hash": "6e2fbf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "SUM_FACTOR_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "117cf8", "alias": "modular_sum_quadratic_residues_v1_397696148_1081", "problem": "Let $p$ be the smallest prime divisor of $138693847$. Compute $\\frac{p(p-1)}{4}$.", "answer": 64643, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(138693847))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:20:27.777855Z", "verification": {"verified": true, "answer": 64643, "timestamp": "2026-02-08T12:20:27.779753Z"}, "problem_hash": "2ee6f4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 85, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 242}, "timestamp": "2026-02-12T05:09:34.379Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7b8fee", "alias": "modular_product_range_v1_655260480_3911", "problem": "Let $ N = 11657 $. Let $ S $ be the set of all integers $ n $ such that $ 1 \\leq n \\leq 911 $ and $ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3} $. Let $ k $ be the number of elements in $ S $. Define $ P = \\prod_{i=81}^{k} i $. Let $ r $ be the remainder when $ P $ is divided by $ N $. Define $ Q = \\sum_{n_1=1}^{|r|} \\tau(n_1) $, where $ \\tau(n_1) $ denotes the number of positive divisors of $ n_1 $. Find the remainder when $ Q $ is divided by 92662.", "answer": 16403, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11657),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(81), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(911)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Const(92662)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T17:37:03.649298Z", "verification": {"verified": true, "answer": 16403, "timestamp": "2026-02-08T17:37:03.659960Z"}, "problem_hash": "7be0b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 460}, "timestamp": "2026-02-12T22:52:04.123Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "L3b": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "571013", "alias": "nt_min_crt_v1_865884756_1386", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y$ equals the number of integers $t$ with $9 \\leq t \\leq 44$ for which there exist integers $a'$ and $b'$ satisfying $1 \\leq a' \\leq 15$, $1 \\leq b' \\leq 2$, and $t = 2a' + 7b'$. Let $P$ be the set of all products $xy$ where $(x,y) \\in S$. Let $m$ be the smallest divisor of the maximum element of $P$ that is at least $2$. Find the smallest positive integer $n$ such that $1 \\leq n \\leq 15$, $n \\equiv 1 \\pmod{m}$, and $n \\equiv 4 \\pmod{5}$. Compute $19779$ times this value of $n$.", "answer": 79116, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19779),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))))), expr=Mul(Var(\"x\"), Var(\"y\")))))))),\n \"k\": Const(5),\n \"a\": Const(1),\n \"b\": Const(4),\n \"upper\": Const(15),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"Q\": Mul(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1/MIN_PRIME_FACTOR"], "recipe_id": "fbd179", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T16:00:04.495261Z", "verification": {"verified": true, "answer": 79116, "timestamp": "2026-02-08T16:00:04.507414Z"}, "problem_hash": "c5e5e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 544}, "timestamp": "2026-02-12T09:33:47.464Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B1": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "36e10a", "alias": "comb_count_permutations_fixed_v1_1439011603_1195", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 77. Let $k = 1$. Define $r = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Compute the remainder when $26440 \\cdot r$ is divided by 61419.", "answer": 33838, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(26440), Ref(\"result\")), modulus=Const(61419)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:58:04.718770Z", "verification": {"verified": true, "answer": 33838, "timestamp": "2026-02-08T15:58:04.720578Z"}, "problem_hash": "bb19bd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 461}, "timestamp": "2026-02-12T09:36:39.546Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "70a843", "alias": "modular_sum_quadratic_residues_v1_1820931509_801", "problem": "Let $p$ be the smallest prime divisor of $126593288351$. Define $r = \\frac{p(p-1)}{4}$. Find the remainder when $50735 \\cdot r$ is divided by $94671$.", "answer": 45397, "graph": "graphs = [\n Graph(\n let={\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(126593288351))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Const(50735),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(94671)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T11:53:26.942736Z", "verification": {"verified": true, "answer": 45397, "timestamp": "2026-02-08T11:53:26.945337Z"}, "problem_hash": "c2fbd8", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 94, "completion_tokens": 8192}, "timestamp": "2026-02-14T20:54:36.750Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 274}, "timestamp": "2026-02-12T04:48:23.778Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "542d20", "alias": "nt_num_divisors_compute_v1_548369836_170", "problem": "Let $n$ be the smallest positive integer such that $3^{165}$ divides $n!$. Let $c$ be the number of ordered pairs $(a,b)$ where $a$ and $b$ are integers from 1 to 33, inclusive. Compute $c - \\tau(n)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 1083, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_n\")), Const(165)), domain='Z_{>0}')),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(33)), right=IntegerRange(start=Const(1), end=Const(33)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "V5"], "recipe_id": "5bce9c", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "V5"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T02:47:43.596790Z", "verification": {"verified": true, "answer": 1083, "timestamp": "2026-02-08T02:47:43.598204Z"}, "problem_hash": "7a37e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1083, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 1386}, "timestamp": "2026-02-08T19:58:14.709Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1083, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 968}, "timestamp": "2026-02-09T20:35:21.316Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:52:05.792Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1083, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 462}, "timestamp": "2026-02-09T03:03:10.319Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1083, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 1515}, "timestamp": "2026-02-09T09:49:10.058Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "V5": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "MOD_MUL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -6.8, "mid": -4.25, "hi": -1.31}, "split": "test"} +{"id": "9244ef", "alias": "diophantine_fbi2_count_v1_1440796553_1460", "problem": "Let $k$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from $1$ to $24$ and $b$ is an integer from $1$ to $30$. Determine the number of positive integers $d$ such that $6 \\leq d \\leq 85$, $d$ divides $k$, and $3 \\leq k/d \\leq 82$. Let $r$ be this count. Let $m$ be the smallest divisor of $2431$ that is at least $2$. Compute the $m$-th Bell number evaluated at $r \\bmod m$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(85)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(82))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2431))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "COUNT_CARTESIAN"], "recipe_id": "a7f4bc", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T14:00:59.795510Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T14:00:59.814386Z"}, "problem_hash": "2068df", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 414}, "timestamp": "2026-02-12T07:40:16.643Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "no", "K5": "no", "LTE_DIFF_P2": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "86b6a7", "alias": "nt_count_squarefree_v1_151522320_103", "problem": "Let $d$ be the smallest integer with $d\\ge 2$ such that $d$ divides $539539$. Let\n\\[P = \\max p,\n\\]\nwhere the maximum is taken over all integers $p$ with $2\\le p\\le 8$ such that $p$ is prime. Let\n\\[E = \\max\\{e\\in \\mathbb{Z}_{\\ge 0} : P^e \\mid 8^{d} - 1^{7}\\}.\n\\]\n\nLet $R$ be the number of positive integers $n$ with $1\\le n\\le 58081$ such that\n\\[\\mu(n)^2 = \\varphi(E),\n\\]\nwhere $\\mu$ is the Möbius function and $\\varphi$ is Euler's totient function. Define $Q$ by\n\\[Q \\equiv 70008\\,R \\pmod{72473},\\quad 0\\le Q<72473.\n\\]\n\nFind the value of $Q$.", "answer": 70931, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(7),\n \"_m\": Const(8),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(539539))))),\n \"upper\": Const(58081),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), EulerPhi(n=MaxKDivides(target=Sub(Pow(Ref(\"_m\"), Ref(\"_n\")), Pow(Const(1), Ref(\"_c\"))), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))))))))),\n \"Q\": Mod(value=Mul(Const(70008), Ref(\"result\")), modulus=Const(72473)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LTE_DIFF/ONE_PHI_2", "MAX_PRIME_BELOW/LTE_DIFF/ONE_PHI_2"], "recipe_id": "0ada6a", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 10.835, "created_at": "2026-02-08T02:58:24.313878Z", "verification": {"verified": true, "answer": 70931, "timestamp": "2026-02-08T02:58:35.148795Z"}, "problem_hash": "710745", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 331, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:07:41.863Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "test"} +{"id": "79f834", "alias": "nt_sum_phi_v1_1520064083_6497", "problem": "Let $x$ and $y$ be positive integers such that $x + y = 42$. Let $u$ be the maximum value of $xy$ over all such pairs. For each positive integer $n$ from $1$ to $u$, compute $\\phi(n)$, the number of positive integers at most $n$ that are relatively prime to $n$. Let $r$ be the sum of all these $\\phi(n)$ values. \n\nNow, let $s$ be the number of integers $t$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 11$, $1 \\le b \\le 11$, $56 \\le t \\le 416$, and $t = 21a + 15b + 20$.\n\nCompute\n\\[\n353702 \\cdot (|r| \\bmod s) + 329703 \\cdot (r^2 + 1) \\bmod 101 + 215534 \\cdot (|r| + 23) \\bmod 103,\n\\]\nand let $Q$ be the remainder when this sum is divided by $1009091$, then taken modulo $50688$. Find $Q$.", "answer": 158, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(103),\n \"_n\": Const(42),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(23),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=56)), Leq(left=Var(name='t'), right=Const(value=416)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=20)))))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_m\")))), modulus=Const(1009091)), modulus=Const(50688)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B1"], "recipe_id": "58b83e", "seed_template_id": "nt_sum_phi_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.202, "created_at": "2026-02-08T08:07:00.985663Z", "verification": {"verified": true, "answer": 158, "timestamp": "2026-02-08T08:07:01.187529Z"}, "problem_hash": "b8ae24", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32854, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 6744}, "timestamp": "2026-02-13T15:13:43.388Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 391, "completion_tokens": 703}, "timestamp": "2026-02-12T01:34:32.728Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3c": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "087aa0", "alias": "sequence_fibonacci_compute_v1_784195855_2002", "problem": "Let $F_{24}$ denote the $24$th Fibonacci number. Let $r$ be the integer\n\\[r = \\sum_{d \\mid \\gcd(7,11)} \\mu(d),\\]\nwhere $\\mu$ is the Möbius function. Let $N$ be the number of positive integers $t$ for which there exist integers $a$ and $b$ with\n\\[1 \\le a \\le 18, \\quad 1 \\le b \\le 31, \\quad 22 \\le t \\le 500, \\quad t = 14a + 8b.\\]\nLet $m$ be the number of positive integers $k$ such that\n\\[r \\le k \\le 1758462 \\quad \\text{and} \\quad N \\mid k.\\]\nLet $Q$ be the remainder when $m - F_{24}$ is divided by $56600$. Find the value of $Q$.", "answer": 18153, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56600),\n \"n\": Const(24),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"k\"), Const(1758462)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=18)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=31)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=500)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2", "MOBIUS_COPRIME"], "recipe_id": "0c4724", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:25:27.750065Z", "verification": {"verified": true, "answer": 18153, "timestamp": "2026-02-08T05:25:27.754168Z"}, "problem_hash": "f5fcca", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "C2": "ok_later", "K16": "no", "LTE_DIFF_P2": "no", "V1": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "715993", "alias": "nt_sum_gcd_range_mod_v1_2051736721_5133", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 2458624$. Define $T$ to be the set of all values $x + y$ where $(x,y) \\in S$. Let $N$ be the minimum value in $T$.\n\nLet $k$ be the number of positive integers $t$ with $8 \\leq t \\leq 255$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 45$, $1 \\leq b \\leq 24$, and $t = 3a + 5b$.\n\nCompute the remainder when\n$$\n\\sum_{n=1}^{N} \\gcd(n, k)\n$$\nis divided by $10831$.", "answer": 6508, "graph": "graphs = [\n Graph(\n let={\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2458624)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=45)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=24)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=255)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"M\": Const(10831),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.152, "created_at": "2026-02-08T18:22:53.683049Z", "verification": {"verified": true, "answer": 6508, "timestamp": "2026-02-08T18:22:53.834670Z"}, "problem_hash": "20559c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 325}, "timestamp": "2026-02-13T00:05:07.221Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "L3b": "no", "MOD_MUL": "no", "V1": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "376fde", "alias": "nt_max_prime_below_v1_1440796553_210", "problem": "Let $m = \\Omega(79)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $h$ be the remainder when the number of positive divisors of $247009$ is divided by $2$. Let $r$ be the largest prime number not exceeding $65025$. Let $c$ be the largest prime number not exceeding $7008$. Compute the remainder when $r + c \\cdot (r \\bmod 499)$ is divided by $199 \\cdot m \\cdot h$, and then take the result modulo $96880$.", "answer": 18478, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(79),\n \"m\": BigOmega(n=Ref(name='p')),\n \"n\": Const(247009),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Const(65025),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(7008)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Mul(Mul(Const(199), Ref(\"m\")), Ref(\"h\"))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(499)))), modulus=Const(96880)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "DIVISOR_PARITY", "BIG_OMEGA_ONE"], "recipe_id": "78549a", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "DIVISOR_PARITY", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 1.673, "created_at": "2026-02-08T11:38:39.228822Z", "verification": {"verified": true, "answer": 18478, "timestamp": "2026-02-08T11:38:40.901598Z"}, "problem_hash": "7b2094", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "DIVISOR_PARITY": "ok", "MAX_PRIME_BELOW": "ok", "DS2": "no", "K13": "no", "MOD_ADD": "no", "V3": "no", "V7": "no"}, "split": "test"} +{"id": "72c904", "alias": "comb_count_partitions_v1_1915831931_2338", "problem": "Let $n$ be the number of positive integers $n_1$ with $1 \\leq n_1 \\leq 280$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{7}$. Let $p(n)$ denote the number of integer partitions of $n$. Compute $p(n)$. Then, find the remainder when $44121$ times $p(n)$ is divided by $79192$. Determine the value of this remainder.", "answer": 37914, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(280)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(79192)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:44:41.823529Z", "verification": {"verified": true, "answer": 37914, "timestamp": "2026-02-08T16:44:41.826051Z"}, "problem_hash": "7ff581", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 683}, "timestamp": "2026-02-12T21:04:36.890Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "79aac4", "alias": "antilemma_sum_equals_v1_458359167_2851", "problem": "Let $d = 17902$. Let $m$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = 81$, $1 \\le i \\le 79$, and $1 \\le j \\le 80$. Let $n$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = m$, $1 \\le i \\le 79$, and $1 \\le j \\le 79$. Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = n$, $1 \\le i \\le 77$, and $1 \\le j \\le 77$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = d$. Compute the remainder when $c \\cdot x$ is divided by $88328$.", "answer": 70931, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(17902),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(81)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(79)), right=IntegerRange(start=Const(1), end=Const(80))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(79)), right=IntegerRange(start=Const(1), end=Const(79))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(77)), right=IntegerRange(start=Const(1), end=Const(77))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_d\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(88328)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/COUNT_SUM_EQUALS", "COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "45fb03", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:48:13.121181Z", "verification": {"verified": true, "answer": 70931, "timestamp": "2026-02-08T06:48:13.132268Z"}, "problem_hash": "fe1c6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 70931, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 1504}, "timestamp": "2026-02-13T04:51:48.803Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 446}, "timestamp": "2026-02-12T00:31:08.881Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b39d7e", "alias": "comb_factorial_compute_v1_1431428450_1275", "problem": "Let $n$ be the smallest integer $d \\geq 2$ that divides 77. Compute $n!$, then multiply this result by 39134. Let $Q$ be the remainder when this product is divided by 76335. Determine the value of $Q$.", "answer": 62055, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(39134),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(76335)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:59:21.247174Z", "verification": {"verified": true, "answer": 62055, "timestamp": "2026-02-08T13:59:21.249013Z"}, "problem_hash": "b539d2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 246}, "timestamp": "2026-02-12T07:35:30.450Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K5": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ea4a98", "alias": "antilemma_v1_legendre_1918700295_136", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $m = 10$, and let $n = |S|$. Let $P$ be the set of all prime numbers $k$ such that $n \\leq k \\leq m$. Let $x$ be the largest integer such that the maximum element of $P$ raised to the power $x$ divides $14007!$. Compute the remainder when $61215 \\cdot x$ is divided by $76856$.", "answer": 47429, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(14007),\n \"_m\": Const(10),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_c\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))),\n \"Q\": Mod(value=Mul(Const(61215), Ref(\"x\")), modulus=Const(76856)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/V1", "COPRIME_PAIRS/MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "348ef9", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:01:02.474103Z", "verification": {"verified": true, "answer": 47429, "timestamp": "2026-02-08T03:01:02.476879Z"}, "problem_hash": "5eef6b", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 47429, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 1550}, "timestamp": "2026-02-08T23:05:53.164Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "K14": "no", "K16": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "239867", "alias": "nt_lcm_compute_v1_677425708_462", "problem": "Let $c$ be the value of\n$$\\sum_{d\\mid \\gcd(8,175)} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function. Let $v$ be the value of\n$$\\sum_{d\\mid 38} \\mu(d).$$\nLet $L$ be the least common multiple of $1752$ and $1637$.\n\nLet $N$ be the number of integers $t$ such that $9\\le t\\le 8212$ and there exist integers $a$ and $b$ with $1\\le a\\le 1543$, $1\\le b\\le 408$, and\n$$t=4a+5b.$$\nLet\n$$R = N + v.$$\nDefine\n$$Q \\equiv L^2 + 50cL + R \\pmod{93278},$$\nwith $0\\le Q<93278$.\n\nFind the value of $Q$.", "answer": 34838, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a1\": Const(8),\n \"b1\": Const(175),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(38),\n \"v\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(1752),\n \"b\": Const(1637),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1543)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=408)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=8212)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), Ref(\"v\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Mul(Const(50), Ref(\"c\")), Ref(\"result\")), Ref(\"_c\")), modulus=Const(93278)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SUM", "MOBIUS_COPRIME"], "recipe_id": "662a43", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:33:15.485028Z", "verification": {"verified": true, "answer": 34838, "timestamp": "2026-02-08T03:33:15.487401Z"}, "problem_hash": "cbdd69", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:36:36.657Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34844, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 320, "completion_tokens": 4677}, "timestamp": "2026-02-10T04:09:10.017Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "ea36b0", "alias": "nt_count_divisors_in_range_v1_1520064083_6509", "problem": "Let $a$ be the number of integers $t$ with $21 \\leq t \\leq 47$ for which there exist integers $a_1$, $b_1$ such that $1 \\leq a_1 \\leq 7$, $1 \\leq b_1 \\leq 3$, and $t = 3a_1 + 4b_1 + 14$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 28561$. Let $n = 10080$. Define $r$ to be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the remainder when $51104 \\cdot r$ is divided by 83625.", "answer": 51098, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(28561),\n \"n\": Const(10080),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=47)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=14)))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(51104), Ref(\"result\")), modulus=Const(83625)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T08:08:11.399554Z", "verification": {"verified": true, "answer": 51098, "timestamp": "2026-02-08T08:08:11.418828Z"}, "problem_hash": "5405af", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 51098, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 223, "completion_tokens": 3703}, "timestamp": "2026-02-13T15:09:48.519Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 629}, "timestamp": "2026-02-12T01:34:36.148Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "2dfbee", "alias": "nt_count_gcd_equals_v1_655260480_3890", "problem": "Let $d_1$ be the smallest divisor of $950152930109297$ that is at least $2$. Let $k = 257$ and $d = 1$. Define $r$ to be the number of positive integers $n$ such that $n \\leq d_1$ and $\\gcd(n, k) = d$. Compute the value of $$r + \\phi(|r| + 1) + \\tau(|r| + 1),$$ where $\\phi$ denotes Euler's totient function and $\\tau$ denotes the number of positive divisors function.", "answer": 8838, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(950152930109297))))),\n \"k\": Const(257),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.46, "created_at": "2026-02-08T17:36:31.515337Z", "verification": {"verified": true, "answer": 8838, "timestamp": "2026-02-08T17:36:31.975003Z"}, "problem_hash": "92c1c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 447}, "timestamp": "2026-02-12T22:51:54.673Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bafb67", "alias": "antilemma_v1_legendre_458359167_323", "problem": "Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1\\le a\\le 51$, $1\\le b\\le 91$, $7\\le t\\le 477$, and\n$$t = 4a + 3b.$$\nLet $N$ be the number of elements in $S$.\n\nLet $T$ be the set of all positive integers $k$ such that\n$$\\varphi(2) \\le k \\le 4284975 \\quad\\text{and}\\quad N \\mid k,$$\nwhere $\\varphi$ is Euler's totient function. Let $L$ be the number of elements in $T$.\n\nLet\n$$M = L!,$$\nand let\n$$n = \\max\\{e \\mid 3^e \\text{ divides } 2^{81} + 1\\}.$$ \nLet\n$$x = \\max\\{e \\mid n^e \\text{ divides } M\\}.$$\n\nLet $c = 40307$ and $m = 93408$. Define $Q$ to be the remainder when $cx$ is divided by $m$.\n\nFind the value of $Q$. ", "answer": 45364, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(93408),\n \"_n\": MaxKDivides(target=Sum(Pow(Const(2), Const(81)), Const(1)), base=Const(3)),\n \"x\": MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(2))), Leq(Var(\"k\"), Const(4284975)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=51)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=91)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=477)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), dividend=Var(\"k\"))), domain='positive_integers'))), base=Ref(\"_n\")),\n \"_c\": Const(40307),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2/V1", "LTE_SUM/V1", "ONE_PHI_2", "V1"], "recipe_id": "92e707", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM", "LTE_SUM", "ONE_PHI_2", "V1"], "num_lemmas": 5, "generation_time": 0.01, "created_at": "2026-02-08T03:11:49.873067Z", "verification": {"verified": true, "answer": 45364, "timestamp": "2026-02-08T03:11:49.883475Z"}, "problem_hash": "b73f92", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "LTE_SUM": "ok", "ONE_PHI_2": "ok", "V1": "ok", "C2": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "44e494", "alias": "nt_sum_divisors_range_v1_1439011603_1793", "problem": "Let $n = 81238$. Define $d_{\\text{min}}$ to be the smallest divisor of $950152930109297$ that is at least $2$. Let $S$ be the set of all positive integers $n$ such that $1 \\le n \\le d_{\\text{min}}$. Define $f(n)$ to be the number of positive divisors of $n$. Compute the sum of $f(n)$ over all $n$ in $S$. Multiply this sum by $58993$, and let $Q$ be the remainder when the result is divided by $n$. Find the value of $Q$.", "answer": 668, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81238),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(950152930109297))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": Const(58993),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.917, "created_at": "2026-02-08T16:17:05.806208Z", "verification": {"verified": true, "answer": 668, "timestamp": "2026-02-08T16:17:06.723534Z"}, "problem_hash": "db0ec3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 444}, "timestamp": "2026-02-12T10:20:02.847Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8e7b05", "alias": "comb_sum_binomial_mod_v1_898971024_3073", "problem": "Let $s$ be the sum\n$$\n\\sum_{k=5}^{d_{\\min}} \\binom{388}{k},\n$$\nwhere $d_{\\min}$ is the smallest divisor of $40577833$ that is at least $2$. Let $r$ be the remainder when $s$ is divided by $11579$. Compute the remainder when $44121 \\cdot r$ is divided by $90724$.", "answer": 72885, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"sum\": Summation(var=\"k\", start=Const(5), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(40577833))))), expr=Binom(n=Const(388), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11579)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(90724)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.054, "created_at": "2026-02-08T17:08:40.131563Z", "verification": {"verified": true, "answer": 72885, "timestamp": "2026-02-08T17:08:40.185898Z"}, "problem_hash": "fab71e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 484}, "timestamp": "2026-02-12T21:51:04.211Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7be7f4", "alias": "nt_count_digit_sum_v1_1125832087_1595", "problem": "Let $n = 88$ and $u = 152881$. Define $r$ to be the number of positive integers $k$ such that $1 \\leq k \\leq u$ and the sum of the decimal digits of $k$ is 27. Let $s$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 87917$. Define $c$ to be the largest positive divisor $d$ of $s$ such that $1 \\leq d \\leq n$. Compute the remainder when $c - r$ is divided by 75165.", "answer": 68250, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88),\n \"upper\": Const(152881),\n \"target_sum\": Const(27),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(87917)), IsPrime(Var(\"n\"))))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75165)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MAX_DIVISOR"], "recipe_id": "a91a68", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 5.447, "created_at": "2026-02-08T03:49:29.951825Z", "verification": {"verified": true, "answer": 68250, "timestamp": "2026-02-08T03:49:35.398956Z"}, "problem_hash": "66fafc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:58:38.055Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:35:18.650Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67747, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 5164}, "timestamp": "2026-02-11T19:44:32.953Z"}, {"id": 8, "model": "mathstral", "answer": 75115, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 436}, "timestamp": "2026-02-13T01:29:34.276Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 454}, "timestamp": "2026-02-11T21:12:37.322Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_DIVISOR": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "254b3c", "alias": "nt_count_primes_v1_1915831931_1642", "problem": "Let $r$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq 44944$. Let $a = r \\bmod 97$, let $b = (r^2 + 1) \\bmod p_{\\text{max}}$, where $p_{\\text{max}}$ is the largest prime number at most $102$, and let $c = \\left(\\sum_{k=1}^r 1\\right) \\bmod 11$. Let $t$ be the number of positive integers $n$ at most $307$ that are relatively prime to $12$. Compute the remainder when\n\\[\n353702 \\cdot a + 329703 \\cdot b + 215534 \\cdot (c \\bmod t)\n\\]\nis divided by $1009091$, and then take the result modulo $91942$. Enter your answer as an integer between $0$ and $91941$.", "answer": 63903, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97),\n \"_n\": Const(91942),\n \"upper\": Const(44944),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(11),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_m\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(102)), IsPrime(Var(\"n1\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(307)), Eq(GCD(a=Var(\"n2\"), b=Const(12)), Const(1)))))))), modulus=Const(1009091)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "C4"], "recipe_id": "1b5640", "seed_template_id": "nt_count_primes_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 1.209, "created_at": "2026-02-08T16:19:02.799375Z", "verification": {"verified": true, "answer": 63903, "timestamp": "2026-02-08T16:19:04.008373Z"}, "problem_hash": "3b00ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 501}, "timestamp": "2026-02-12T10:31:38.626Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "L3b": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8e881d", "alias": "comb_sum_binomial_row_v1_48377204_996", "problem": "Let $p$ and $q$ be positive integers such that $pq = 270$, $\\gcd(p, q) = 1$, and $p < q$. Determine the number of such ordered pairs $(p, q)$. Let this number be $n$. Compute $2^n$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=270)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), expr=Var(\"k\")),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.205, "created_at": "2026-02-08T15:51:32.972127Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T15:51:33.177026Z"}, "problem_hash": "321ae7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 256, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 274}, "timestamp": "2026-02-12T09:18:32.492Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "K17": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "530e99", "alias": "nt_sum_divisors_mod_v1_809748730_1066", "problem": "Let $n$ be the sum $\\sum_{k=1}^{15} k$. Let $\\sigma$ be the sum of all positive divisors of $n$. Let $M = 10663$ and let $r$ be the remainder when $\\sigma$ is divided by $M$. Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 12$. Compute the Bell number $B_s$, where $s$ is the remainder when $|r|$ is divided by $p$. Determine the value of $B_s$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Const(15), expr=Var(\"k\")),\n \"M\": Const(10663),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MAX_PRIME_BELOW/SUM_ARITHMETIC"], "recipe_id": "59d60e", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "bell_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.03, "created_at": "2026-02-08T12:01:47.494650Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T12:01:47.525035Z"}, "problem_hash": "825685", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 678}, "timestamp": "2026-02-14T22:42:04.104Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 484}, "timestamp": "2026-02-12T04:59:33.942Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "L3c": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "f9f2af", "alias": "comb_count_permutations_fixed_v1_865884756_5556", "problem": "Let $n$ be the smallest divisor of 35 that is at least 2. Compute the value of $\\binom{n}{2} \\cdot !(n-2)$, where $!k$ denotes the number of derangements of $k$ elements. Multiply this value by 44121 and compute the remainder when the product is divided by 81757.", "answer": 64850, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(81757)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:41:57.383236Z", "verification": {"verified": true, "answer": 64850, "timestamp": "2026-02-08T18:41:57.385953Z"}, "problem_hash": "7c6a52", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 22098, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 343}, "timestamp": "2026-02-13T00:23:48.182Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9e37a5", "alias": "modular_count_residue_v1_1520064083_1591", "problem": "Let $m = 4$ and $n = \\sum_{d \\mid m} \\phi(d)$. Let $r = \\sum_{k=1}^{n} k$. Let $S$ be the set of all positive integers $n \\leq 46368$ such that $n \\equiv r \\pmod{13}$. Compute the number of elements in $S$.", "answer": 3567, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": Const(46368),\n \"m\": Const(13),\n \"r\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/SUM_ARITHMETIC"], "recipe_id": "5e0998", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 2.086, "created_at": "2026-02-08T04:07:49.560911Z", "verification": {"verified": true, "answer": 3567, "timestamp": "2026-02-08T04:07:51.647195Z"}, "problem_hash": "e16a38", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 3567, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 681}, "timestamp": "2026-02-10T15:26:12.768Z"}, {"id": 8, "model": "mathstral", "answer": 3567, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 745}, "timestamp": "2026-02-11T20:41:46.090Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3567, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 384}, "timestamp": "2026-02-11T20:27:04.696Z"}], "solution_status": 2, "lemma_applicability": {"K3": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "1974f8", "alias": "sequence_count_fib_divisible_v1_48377204_2325", "problem": "Let $n_0 = 2$, and let $\\text{upper}$ be the smallest integer $d_1 \\geq n_0$ that divides $594437$. Let $d = 7$. Define $\\text{result}$ to be the number of positive integers $n \\leq \\text{upper}$ such that $d$ divides the $n$-th Fibonacci number. Compute the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $|\\text{result}| + 2$.", "answer": 168, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(594437))))),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.108, "created_at": "2026-02-08T16:43:45.063818Z", "verification": {"verified": true, "answer": 168, "timestamp": "2026-02-08T16:43:45.171784Z"}, "problem_hash": "5e1ae2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 313}, "timestamp": "2026-02-12T20:50:25.416Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "V1": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "074a4a", "alias": "nt_sum_divisors_mod_v1_1742523217_1219", "problem": "Let $ n = 55440 $. Compute $ \\sigma(n) $, the sum of all positive divisors of $ n $, and let $ r $ be the remainder when $ \\sigma(n) $ is divided by 11777. Let $ P $ be the set of all products $ xy $ where $ x $ and $ y $ are positive integers satisfying $ x + y = 138 $. Let $ m $ be the maximum element of $ P $. Let $ d_{\\text{max}} $ be the largest positive divisor of 22771863 that is at most $ m $. Compute the remainder when $ r^2 + 2r + d_{\\text{max}} $ is divided by 71059.", "answer": 1601, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71059),\n \"n\": Const(55440),\n \"M\": Const(11777),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(2), Ref(\"result\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(138)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Var(\"d\"), dividend=Const(22771863)))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_DIVISOR"], "recipe_id": "f9a2b6", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:32:17.661694Z", "verification": {"verified": true, "answer": 1601, "timestamp": "2026-02-08T03:32:17.666349Z"}, "problem_hash": "041f27", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1601, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 5631}, "timestamp": "2026-02-10T05:15:41.437Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1601, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 3256}, "timestamp": "2026-02-09T13:11:43.200Z"}, {"id": 8, "model": "mathstral", "answer": 43287, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 880}, "timestamp": "2026-02-12T18:23:10.981Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 492}, "timestamp": "2026-02-11T19:29:16.272Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K13": "no", "K17": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "ba9e45", "alias": "nt_count_gcd_equals_v1_124444284_7708", "problem": "Let $k$ be the smallest integer greater than or equal to $2$ that divides $58585817053$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq 43681$ and $\\gcd(n, k) = 1$. Compute $\\text{result}$.", "answer": 43592, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(43681),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(58585817053))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 8.089, "created_at": "2026-02-08T09:17:40.959738Z", "verification": {"verified": true, "answer": 43592, "timestamp": "2026-02-08T09:17:49.048253Z"}, "problem_hash": "284514", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 116, "completion_tokens": 8192}, "timestamp": "2026-02-14T03:00:40.377Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 376}, "timestamp": "2026-02-12T02:47:42.063Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "1f139a", "alias": "comb_sum_binomial_mod_v1_124444284_6188", "problem": "Let $S$ be the set of all integers $d \\ge 2$ that divide $3579757$. Let $m$ be the smallest element of $S$. Compute\n$$\n\\sum_{k=18}^{150} \\binom{m}{k},\n$$\nand let $r$ be the remainder when this sum is divided by $10163$. Determine the value of the Bell number $B_{|r| \\mod 11}$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(18),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=Const(150), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3579757))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10163)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T08:11:13.396844Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T08:11:13.409929Z"}, "problem_hash": "9c4111", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 6083}, "timestamp": "2026-02-13T15:37:45.666Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 402}, "timestamp": "2026-02-12T01:36:57.637Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "MOD_SUB": "no", "V3": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "224534", "alias": "diophantine_fbi2_count_v1_1978505735_7889", "problem": "Let $k = 420$. Define $r$ to be the number of positive integers $d$ such that $3 \\leq d \\leq 66$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 67$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 16562$. Compute $r^2 + 20r + s$.", "answer": 8665, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(66)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(67))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(20), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(16562)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "0a3d6e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T20:34:09.422298Z", "verification": {"verified": true, "answer": 8665, "timestamp": "2026-02-08T20:34:09.429577Z"}, "problem_hash": "421c01", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 462}, "timestamp": "2026-02-13T01:24:24.200Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "K17": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "137e08", "alias": "algebra_poly_eval_v1_1520064083_5937", "problem": "Let $m = 12$. Define $A$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 36$, $\\gcd(p, q) = 1$, and $p < q$. Define $B$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 120$, $\\gcd(p, q) = 1$, and $p < q$. Compute\n$$\n\\sum_{k=1}^{A} k + m^B - 5m^3 - 5m^2 + 4m + 2.\n$$\nFind the value of this expression.", "answer": 52898, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"m\": Const(12),\n \"result\": Sum(Mul(Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), expr=Var(\"k\")), Pow(Ref(\"m\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=120)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Mul(Const(-5), Pow(Ref(\"m\"), Const(3))), Mul(Const(-5), Pow(Ref(\"m\"), Ref(\"_n\"))), Mul(Const(4), Ref(\"m\")), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T07:42:58.601930Z", "verification": {"verified": true, "answer": 52898, "timestamp": "2026-02-08T07:42:58.609357Z"}, "problem_hash": "190152", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11429, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 1889}, "timestamp": "2026-02-13T12:10:38.577Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4304662918, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 755}, "timestamp": "2026-02-12T01:17:01.096Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "b51bd7", "alias": "nt_count_divisors_in_range_v1_865884756_7250", "problem": "Let $n = 110880$, $a = 27$, and $b = 1263$. Compute the number of positive divisors of $n$ that are at least $a$ and at most $b$.", "answer": 83, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(110880),\n \"a\": Const(27),\n \"b\": Const(1263),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.065, "created_at": "2026-02-08T19:41:40.059939Z", "verification": {"verified": true, "answer": 83, "timestamp": "2026-02-08T19:41:40.125108Z"}, "problem_hash": "de56f3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 64, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 627}, "timestamp": "2026-02-13T01:09:47.088Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3c1fc7", "alias": "nt_count_gcd_equals_v1_898971024_277", "problem": "Let $N = 64507$, $U = 27556$, and $k = 251$. Let $d$ be the smallest divisor of $N$ that is at least 2. Find the number of positive integers $n$ such that $1 \\le n \\le U$ and $\\gcd(n, k) = d$. Let $R$ denote this count. Compute the remainder when $44121 \\cdot R$ is divided by $62585$.", "answer": 52729, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64507),\n \"upper\": Const(27556),\n \"k\": Const(251),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(62585)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.414, "created_at": "2026-02-08T15:19:24.003193Z", "verification": {"verified": true, "answer": 52729, "timestamp": "2026-02-08T15:19:26.417307Z"}, "problem_hash": "7243c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 422}, "timestamp": "2026-02-12T08:09:04.195Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e60d7a", "alias": "nt_num_divisors_compute_v1_677425708_1779", "problem": "Let $n = 21609$. Compute the number of positive divisors of $n$, and denote this value by $d$. Let $A$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 48$, $1 \\leq j \\leq 48$, and $i + j = 49$. Let $c$ be the number of integers $t$ with $11 \\leq t \\leq 869$ for which there exist positive integers $a \\leq 51$ and $b \\leq 95$ such that $t = 4a + 7b$. Compute $d^2 + |A| \\cdot d + c$, where $|A|$ denotes the number of elements in $A$. Determine the value of this sum.", "answer": 1786, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(21609),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=51)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=95)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=869)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(49)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(48)), right=IntegerRange(start=Const(1), end=Const(48))))), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "LIN_FORM"], "recipe_id": "6627fc", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T04:27:19.916968Z", "verification": {"verified": true, "answer": 1786, "timestamp": "2026-02-08T04:27:19.924996Z"}, "problem_hash": "08e1a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:55:26.487Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:40:33.566Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1796, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 4068}, "timestamp": "2026-02-12T00:37:16.682Z"}, {"id": 8, "model": "mathstral", "answer": 2380, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 715}, "timestamp": "2026-02-13T16:37:08.605Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 448}, "timestamp": "2026-02-11T21:31:53.335Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "DS2": "no", "K16": "no", "K18": "no", "K5": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "80359c", "alias": "nt_count_divisors_in_range_v1_1978505735_4035", "problem": "Let $n = 498960$, $a = 165$, and let $b$ be the number of integers $t$ in the range $20 \\leq t \\leq 7962$ for which there exist positive integers $a'$ and $b'$, with $1 \\leq a' \\leq 459$ and $1 \\leq b' \\leq 256$, such that $t = 14a' + 6b'$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Define\n\n$$\nQ = r + 2^{r \\bmod m} \\bmod 87434,\n$$\n\nwhere $m = \\sum_{d_1 \\mid 14} \\phi(d_1)$ and $\\phi$ denotes Euler's totient function. Compute $Q$.", "answer": 219, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": Const(87434),\n \"n\": Const(498960),\n \"a\": Const(165),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=459)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=256)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=7962)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=SumOverDivisors(n=Ref(name='_m'), var='d1', expr=EulerPhi(n=Var(name='d1'))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "LIN_FORM"], "recipe_id": "6704bd", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T17:59:07.040801Z", "verification": {"verified": true, "answer": 219, "timestamp": "2026-02-08T17:59:07.081893Z"}, "problem_hash": "3acce4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 494}, "timestamp": "2026-02-12T23:27:31.759Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "DS2": "no", "K15": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "86159f", "alias": "diophantine_fbi2_count_v1_1520064083_3211", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 176400$. Let $r$ be the number of positive integers $d$ such that $2 \\leq d \\leq 72$, $d$ divides $k$, and $3 \\leq \\frac{k}{d} \\leq 73$. Let $c$ be the smallest positive integer $n$ such that $2^{6957}$ divides $n!$. Compute $c \\cdot r$.", "answer": 97496, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6957),\n \"_n\": Const(73),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(72)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Ref(\"_m\")), domain='Z_{>0}')),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5", "B3"], "recipe_id": "a6a030", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "V5"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T05:31:26.522334Z", "verification": {"verified": true, "answer": 97496, "timestamp": "2026-02-08T05:31:26.530720Z"}, "problem_hash": "0a9b8a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "V5": "ok", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "8f4c23", "alias": "comb_binomial_compute_v1_151522320_2039", "problem": "Let $A$ be the set of all ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = s$, where $s$ is the number of integers $t$ with $12 \\leq t \\leq 37$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 3$, $1 \\leq b \\leq 8$, and $t = 2a + 3b + 7$. Let $n$ be the number of elements in $A$. Let $d$ be the smallest integer $d \\geq 2$ that divides $847$. Compute $\\binom{n}{d}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=37)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=7)))))))))))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1", "MIN_PRIME_FACTOR"], "recipe_id": "ec7858", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:33:07.932650Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T04:33:07.940493Z"}, "problem_hash": "0e6790", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 792, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 2038}, "timestamp": "2026-02-10T17:09:56.165Z"}, {"id": 8, "model": "mathstral", "answer": 15983560, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 952}, "timestamp": "2026-02-13T19:11:18.430Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 447}, "timestamp": "2026-02-11T20:58:06.774Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COMB1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "4fd943", "alias": "nt_gcd_compute_v1_1742523217_3419", "problem": "Let $n_1 = 14 \\times 6 + 1$. Let $t$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $n$ be the number of integers $k$ such that $1 \\leq k \\leq 5893$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}$. Define $h = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $a = 969221$ and $b = 1674109$, and let $\\text{result} = \\gcd(a, b)$. Let $c = 12769 + t$. Compute the remainder when $c - \\text{result}$ is divided by $65872 \\times h$.", "answer": 56402, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a1\": Const(14),\n \"b1\": Const(6),\n \"n1\": Sum(Mul(Ref(\"a1\"), Ref(\"b1\")), Const(1)),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Ref(\"_n\")),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5893)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"h\": LiouvilleLambda(n=Ref(name='n')),\n \"a\": Const(969221),\n \"b\": Const(1674109),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Sum(Const(12769), Ref(\"t\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(65872), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/LIOUVILLE_ONE", "DIVISOR_PARITY"], "recipe_id": "5008fb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "L3C", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:51:28.640768Z", "verification": {"verified": true, "answer": 56402, "timestamp": "2026-02-08T05:51:28.645973Z"}, "problem_hash": "2b52d4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "L3C": "ok", "LIOUVILLE_ONE": "ok_later", "K16": "no", "K17": "no", "L3c": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "1782c7", "alias": "nt_count_gcd_equals_v1_151522320_818", "problem": "Let $m=7$, and let $N$ be the largest integer $k$ such that $7^k$ divides\n$$15355876181909280421724151687580911741041895655149613132104515881830657073678671819100413262089943\\cdot256923577521058878088611477224235621321607.$$\n\nAmong all ordered pairs $(x,y)$ of positive integers satisfying $x+y=N$, let $U$ be the largest possible value of $xy$.\n\nLet $T$ be the set of all integers $t$ such that $24\\le t\\le 1356$ and there exist integers $a$ and $b$ with $1\\le a\\le 94$ and $1\\le b\\le 34$ for which\n$$t=9a+15b.$$\nLet $K$ be the number of elements in $T$.\n\nLet\n$$k=\\sum_{d\\mid K} \\varphi(d),$$\nwhere the sum is taken over all positive divisors $d$ of $K$, and $\\varphi$ is Euler's totient function. Let $d_0=23$.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le U$ such that\n$$\\gcd(n,k)=23.$$\n\nDefine\n$$Q\\equiv |R|\\pmod{89372},$$\nwhere the remainder is taken to be between $0$ and $89371$, inclusive.\n\nFind the value of $Q$.", "answer": 277, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": MaxKDivides(target=Mul(Const(15355876181909280421724151687580911741041895655149613132104515881830657073678671819100413262089943), Const(256923577521058878088611477224235621321607)), base=Ref(\"_m\")),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=94)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=34)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=1356)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"d\": Const(23),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(89372)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K3", "K13/B1"], "recipe_id": "5cb738", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "K13", "K3", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.574, "created_at": "2026-02-08T03:34:15.045812Z", "verification": {"verified": true, "answer": 277, "timestamp": "2026-02-08T03:34:15.619863Z"}, "problem_hash": "fc6c5e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "LIN_FORM": "ok", "B1": "ok_later", "K3": "ok_later", "K14": "no", "K16": "no", "K5": "no", "LTE_DIFF": "no", "V5": "no"}, "split": "test"} +{"id": "d6cd84", "alias": "comb_count_partitions_v1_1918700295_200", "problem": "Let $S=1+2+3+4$.\n\nLet $n=40$, and let $P$ be the number of integer partitions of $n$.\n\nLet $t$ be the number of integers $u$ with $1\\le u\\le 27$ such that $\\gcd(u,S)=1$.\n\nLet $k$ be the remainder when $|P|$ is divided by $t$, so that $0\\le k d$). Let $s$ be the sum of these binomial coefficients. Compute the remainder when $s$ is divided by $11411$. Find the value of this remainder.", "answer": 8948, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(38021),\n \"sum\": Summation(var=\"k\", start=Const(56), end=Const(129), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11411)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T15:38:38.642605Z", "verification": {"verified": true, "answer": 8948, "timestamp": "2026-02-08T15:38:38.663172Z"}, "problem_hash": "1fb457", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 340}, "timestamp": "2026-02-12T08:52:39.582Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "K17": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5914d7", "alias": "nt_gcd_compute_v1_2051736721_1418", "problem": "Let $ n $ be a positive integer such that $ n $ is at least the number of positive integers $ p $ for which there exists a positive integer $ q $ satisfying $ pq = 72 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Suppose also that $ n \\leq 63067 $ and $ n $ is prime. Let $ a $ be the number of such primes $ n $. Let $ b = 14229 $. Define $ r = \\gcd(a, b) $, and let $ Q $ be the smallest positive integer $ k $ such that the $ k $-th Fibonacci number is divisible by $ |r| + 2 $. Compute $ Q $.", "answer": 1584, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63067),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"b\": Const(14229),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T16:02:15.471555Z", "verification": {"verified": true, "answer": 1584, "timestamp": "2026-02-08T16:02:15.481901Z"}, "problem_hash": "3450a2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 401}, "timestamp": "2026-02-12T09:44:25.423Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "K13": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "44b16b", "alias": "nt_min_crt_v1_865884756_3314", "problem": "Let $m = 5$ and $k = 11$. Define $a = 1$ and $b = 9$. Let $U = \\sum_{k1=1}^{10} \\phi(k1) \\left\\lfloor \\frac{10}{k1} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $n$ be the smallest integer such that $1 \\leq n \\leq U$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 104$. Compute $n^2 + 50n + c$.", "answer": 5215, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(5),\n \"k\": Const(11),\n \"a\": Const(1),\n \"b\": Const(9),\n \"upper\": Summation(var=\"k1\", start=Const(1), end=Const(10), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(10), Var(\"k1\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(104)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(50), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "K2"], "recipe_id": "e716d4", "seed_template_id": "nt_min_crt_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "K2"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T17:17:48.942397Z", "verification": {"verified": true, "answer": 5215, "timestamp": "2026-02-08T17:17:48.950537Z"}, "problem_hash": "c58c35", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 299}, "timestamp": "2026-02-12T22:18:10.381Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "K2": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "K18": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ebff3e", "alias": "nt_gcd_compute_v1_1742523217_304", "problem": "Let $N$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1 \\le a \\le 29, \\quad 1 \\le b \\le 1503, \\quad 27 \\le t \\le 18471, \\quad t = 15a + 12b.\n\\]\nLet $n$ be the smallest integer $d \\ge 2$ such that $d$ divides $N$.\n\nLet\n\\[w = \\sum_{d \\mid n} \\varphi(d) - n,\\]\nwhere the sum is taken over all positive divisors $d$ of $n$ and $\\varphi$ denotes Euler's totient function.\n\nLet $p = 29$ and let $v$ be the number of prime factors of $p$, counted with multiplicity. Define $A = 333775$ and $B = 734305 + w$, and let $G$ be the greatest common divisor of $A$ and $B$.\n\nLet\n\\[Q \\equiv 18496v - G \\pmod{55407},\\]\nwith $0 \\le Q < 55407$.\n\nFind the value of $Q$.", "answer": 7148, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=29)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1503)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=18471)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))))))),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"p\": Const(29),\n \"v\": BigOmega(n=Ref(name='p')),\n \"a\": Const(333775),\n \"b\": Sum(Const(734305), Ref(\"w\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(Mul(Const(18496), Ref(\"v\")), Ref(\"result\")), modulus=Const(55407)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/EULER_TOTIENT_SUM", "BIG_OMEGA_ONE"], "recipe_id": "79391c", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "EULER_TOTIENT_SUM", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T02:57:54.136625Z", "verification": {"verified": true, "answer": 7148, "timestamp": "2026-02-08T02:57:54.145190Z"}, "problem_hash": "8b1386", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7148, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 367, "completion_tokens": 2008}, "timestamp": "2026-02-09T16:12:01.482Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7148, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 371, "completion_tokens": 6254}, "timestamp": "2026-02-09T01:36:12.933Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "LIN_FORM": "ok", "EULER_TOTIENT_SUM": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "DS2": "no", "K15": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "a28a56", "alias": "nt_sum_divisors_range_v1_1978505735_4158", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 44180$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $S$ be the set of all such integers $n$. Let $T$ be the set of positive integers from 1 to the number of elements in $S$. Compute the sum of the number of positive divisors of each element in $T$. Let $R$ be the absolute value of this sum. Determine the value of the Bell number $B_{R \\bmod 11}$. Find the value of this Bell number.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44180),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "L3C"], "num_lemmas": 2, "generation_time": 2.401, "created_at": "2026-02-08T18:02:25.183408Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T18:02:27.584409Z"}, "problem_hash": "31925d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 497}, "timestamp": "2026-02-12T23:38:23.998Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K14": "no", "K5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bf2d81", "alias": "comb_count_derangements_v1_784195855_4561", "problem": "Let $n$ be the number of prime numbers between $2$ and $\\nu$, inclusive, where $\\nu$ is the largest power of $2$ that divides $7^{32768} - 5^{32768}$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Sub(Pow(Const(7), Const(32768)), Pow(Const(5), Const(32768))), base=Const(2))), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/COUNT_PRIMES"], "recipe_id": "0dab28", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LTE_DIFF_P2"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:10:26.092599Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T07:10:26.093697Z"}, "problem_hash": "581dc6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF_P2": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "K5": "no", "L3c": "no", "MOD_MUL": "no", "V5": "no"}, "split": "test"} +{"id": "07084e", "alias": "geo_count_lattice_triangle_v1_548369836_90", "problem": "Let $n = 120$. Define $\\text{area}_{2x} = \\left| 111 \\cdot 120 + 6 \\cdot (0 - 233) \\right|$. Let $d_0$ be the smallest integer $d \\ge 2$ that divides $3023191543$, and define $\\text{boundary} = \\gcd(|111|, |233|) + \\gcd(|6 - 111|, |120 - d_0|) + \\gcd(|0 - 6|, |0 - 120|)$. Let $\\text{result} = \\frac{\\text{area}_{2x} + 2 - \\text{boundary}}{2}$. Compute $Q = B_{|\\text{result}| \\mod 11}$, where $B_k$ denotes the $k$-th Bell number.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(120),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=111), Const(value=120)), Mul(Const(value=6), Sub(left=Const(value=0), right=Const(value=233))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=111)), b=Abs(arg=Const(value=233))), GCD(a=Abs(arg=Sub(left=Const(value=6), right=Const(value=111))), b=Abs(arg=Sub(left=Ref(name='_n'), right=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=3023191543)))))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=6))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T02:45:01.158575Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T02:45:01.163738Z"}, "problem_hash": "0ed374", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 4133}, "timestamp": "2026-02-08T19:48:55.008Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 6575}, "timestamp": "2026-02-09T19:35:30.609Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:27:15.022Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 203, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 644}, "timestamp": "2026-02-09T02:12:59.725Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 2322}, "timestamp": "2026-02-09T08:21:21.215Z"}, {"id": 8, "model": "mathstral", "answer": 842, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 601}, "timestamp": "2026-02-11T03:15:49.617Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 435}, "timestamp": "2026-02-11T19:41:22.343Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF": "no", "V7": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "09d8a7", "alias": "nt_count_intersection_v1_1520064083_7132", "problem": "Let $a$ be the smallest divisor of $148225$ that is at least $2$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 100000$ such that $a$ divides $n$ and $\\gcd(n, 6) = 1$. Multiply this number by $89273$, and then find the remainder when the product is divided by $55093$. Determine the value of this remainder.", "answer": 13412, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55093),\n \"N\": Const(100000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(148225))))),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(89273),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.152, "created_at": "2026-02-08T08:46:49.911275Z", "verification": {"verified": true, "answer": 13412, "timestamp": "2026-02-08T08:46:54.063637Z"}, "problem_hash": "dab55a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13412, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 1887}, "timestamp": "2026-02-13T21:33:44.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 504}, "timestamp": "2026-02-12T02:12:40.774Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "LTE_SUM": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "94f01b", "alias": "comb_count_partitions_v1_717093673_2746", "problem": "Let $n$ be the smallest divisor of $86903$ that is greater than or equal to $2$. Compute the number of integer partitions of $n$.", "answer": 63261, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86903),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:08:32.392363Z", "verification": {"verified": true, "answer": 63261, "timestamp": "2026-02-08T17:08:32.393535Z"}, "problem_hash": "7679cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 195}, "timestamp": "2026-02-12T21:54:21.380Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b725a4", "alias": "antilemma_sum_equals_v1_1874849503_217", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 3$ and $1 \\leq j \\leq 19$. Define $\\mathrm{n} = |S|$. Let $T$ be the set of all ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 56$, $1 \\leq j \\leq 57$, and $i + j = \\mathrm{n}$. Define $x = |T|$. Compute $\\sum_{k=1}^{x} \\phi(k)$, where $\\phi(k)$ denotes Euler's totient function.", "answer": 964, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(56)), right=IntegerRange(start=Const(1), end=Const(57))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(8), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "fedc97", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T12:53:11.643866Z", "verification": {"verified": true, "answer": 964, "timestamp": "2026-02-08T12:53:11.653361Z"}, "problem_hash": "fce096", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 964, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 1823}, "timestamp": "2026-02-09T14:41:35.822Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 964, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 3007}, "timestamp": "2026-02-10T04:49:23.779Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:45:30.457Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 385}, "timestamp": "2026-02-12T05:52:42.674Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -7.22, "mid": -2.87, "hi": 1.35}, "split": "test"} +{"id": "8fac8f", "alias": "nt_count_coprime_v1_458359167_3961", "problem": "Let $n$ be a positive integer. Determine the value of $Q$, where $Q$ is the remainder when $75509 \\cdot r$ is divided by $76872$, and $r$ is the number of positive integers $n \\leq 11923$ such that $\\gcd(n, k) = 1$, where $k$ is the number of positive integers $m \\leq 220$ satisfying $m \\equiv \\left\\lfloor \\frac{m}{2} \\right\\rfloor \\pmod{11}$.", "answer": 32610, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(220),\n \"upper\": Const(11923),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(75509), Ref(\"result\")), modulus=Const(76872)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "LTE_SUM"], "num_lemmas": 2, "generation_time": 1.882, "created_at": "2026-02-08T11:27:15.779986Z", "verification": {"verified": true, "answer": 32610, "timestamp": "2026-02-08T11:27:17.661613Z"}, "problem_hash": "bdfe87", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32610, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 1997}, "timestamp": "2026-02-14T14:25:06.385Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 432}, "timestamp": "2026-02-12T04:06:08.752Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "e42b9e", "alias": "nt_sum_gcd_range_mod_v1_124444284_9813", "problem": "Let $N$ be the number of integers $n$ with $1 \\leq n \\leq 47068$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $k = 288$ and $M = 11311$. Compute the remainder when $\\sum_{n=1}^{N} \\gcd(n, k)$ is divided by $M$.", "answer": 9566, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(47068)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"k\": Const(288),\n \"M\": Const(11311),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.318, "created_at": "2026-02-08T12:41:37.800381Z", "verification": {"verified": true, "answer": 9566, "timestamp": "2026-02-08T12:41:38.118456Z"}, "problem_hash": "d47804", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 356}, "timestamp": "2026-02-12T05:31:48.193Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c3f708", "alias": "comb_count_derangements_v1_458359167_3903", "problem": "Let $n$ be the smallest divisor of $77$ that is greater than or equal to $2$. Compute the remainder when $56857$ multiplied by the number of derangements of $n$ elements is divided by $98188$.", "answer": 57154, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(56857),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(98188)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:25:58.354284Z", "verification": {"verified": true, "answer": 57154, "timestamp": "2026-02-08T11:25:58.355183Z"}, "problem_hash": "cf7405", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57154, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 96, "completion_tokens": 1109}, "timestamp": "2026-02-14T13:54:13.926Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 80, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 519}, "timestamp": "2026-02-12T04:02:30.201Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "8c9a5d", "alias": "modular_count_residue_v1_784195855_4353", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 9$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12250$. Let $r$ be the smallest integer $d \\ge 2$ that divides $s$. Compute the number of positive integers $n \\le 49284$ such that $n \\equiv r \\pmod{m}$. Find the value of this number.", "answer": 8214, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(49284),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(12250))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MIN_PRIME_FACTOR", "B3"], "recipe_id": "c00f14", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 1.659, "created_at": "2026-02-08T07:02:54.870783Z", "verification": {"verified": true, "answer": 8214, "timestamp": "2026-02-08T07:02:56.529429Z"}, "problem_hash": "5c0472", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8207, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 918}, "timestamp": "2026-02-13T07:28:23.094Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 687}, "timestamp": "2026-02-12T00:47:43.337Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COMB1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K16": "no", "K18": "no", "LTE_DIFF": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "b4bf13", "alias": "nt_lcm_compute_v1_717093673_559", "problem": "Let $a$ be the smallest prime divisor of $9586467587$. Let $b = 1648$. Define $L = \\mathrm{lcm}(a, b)$. Compute the remainder when $44121 \\cdot L$ is divided by $87485$.", "answer": 60259, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9586467587))))),\n \"b\": Const(1648),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(87485)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:31:18.333794Z", "verification": {"verified": true, "answer": 60259, "timestamp": "2026-02-08T15:31:18.335913Z"}, "problem_hash": "4be102", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10977, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 448}, "timestamp": "2026-02-12T08:39:41.496Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fbc27a", "alias": "nt_min_phi_inverse_v1_168721529_1377", "problem": "Let $m = 300$. Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq m$ and $24$ divides $F_k$, where $F_k$ denotes the $k$-th Fibonacci number. Let $u$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $k = \\phi(2)$. Find the smallest positive integer $a$ such that $1 \\leq a \\leq u$ and $\\phi(a) = k$. Compute $44121 \\cdot a$.", "answer": 44121, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(300),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(24), dividend=Fibonacci(arg=Var(name='n')))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": EulerPhi(n=Const(2)),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Mul(Const(44121), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/B3", "ONE_PHI_2"], "recipe_id": "665c6f", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T13:39:16.554603Z", "verification": {"verified": true, "answer": 44121, "timestamp": "2026-02-08T13:39:16.567487Z"}, "problem_hash": "bb427a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 44121, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 248, "completion_tokens": 1772}, "timestamp": "2026-02-09T16:16:01.850Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 88242, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 6351}, "timestamp": "2026-02-10T06:10:59.782Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "ONE_PHI_2": "ok", "B3": "ok_later", "C2": "no", "DS2": "no", "K17": "no", "LTE_DIFF_P2": "no", "V8": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "test"} +{"id": "65bc8f", "alias": "comb_count_partitions_v1_1439011603_1463", "problem": "Let $n = 75809$. Let $d$ be the smallest divisor of $n$ such that $d \\geq 2$. Compute the number of integer partitions of $d$.", "answer": 44583, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75809),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:06:17.002707Z", "verification": {"verified": true, "answer": 44583, "timestamp": "2026-02-08T16:06:17.003887Z"}, "problem_hash": "5cf721", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 206}, "timestamp": "2026-02-12T09:56:08.448Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2e1438", "alias": "nt_num_divisors_compute_v1_1874849503_838", "problem": "Let $a$ be the number of integers $t$ such that $5 \\leq t \\leq 198$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 46$, $1 \\leq b \\leq 30$, and $t = 3a + 2b$. Let $b = 48$, and let $c = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p$ be the largest prime $n$ such that $2 \\leq n \\leq 6$. Define $n_1 = p^{\\varphi(1)}$, and let $u$ be the number of distinct prime factors of $n_1$. Let $n = 88888$, and let the result be the number of positive divisors of $n$. Compute the remainder when $44121 \\times \\text{result}$ is divided by $(51817 + c) \\times u$.", "answer": 32315, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(51817),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=46)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=30)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=198)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"b\": Const(48),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Ref(\"p\"), EulerPhi(n=Const(1))),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(88888),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Sum(Ref(\"_m\"), Ref(\"c\")), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/OMEGA_ONE", "LIN_FORM/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "bea858", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "OMEGA_ONE", "ONE_PHI_1"], "num_lemmas": 5, "generation_time": 0.004, "created_at": "2026-02-08T13:19:56.189634Z", "verification": {"verified": true, "answer": 32315, "timestamp": "2026-02-08T13:19:56.193699Z"}, "problem_hash": "56ed83", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:34:39.509Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "187377", "alias": "diophantine_product_count_v1_1978505735_249", "problem": "Let $c = 5$. Define $m = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor$. Let $k = \\sum_{k_2=1}^{m} \\phi(k_2) \\left\\lfloor \\frac{15}{k_2} \\right\\rfloor$. Let $u$ be the number of integers $t$ such that $10 \\leq t \\leq 114$ and there exist positive integers $a \\leq 17$, $b \\leq 9$ satisfying $t = 3a + 7b$. Compute the remainder when $44121$ multiplied by the number of positive integers $x$ satisfying $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$ is divided by $72725$.", "answer": 35894, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": Summation(var=\"k1\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Ref(\"_c\"), Var(\"k1\"))))),\n \"_n\": Const(44121),\n \"k\": Summation(var=\"k2\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k2\")), Floor(Div(Const(15), Var(\"k2\"))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=114)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(72725)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2", "LIN_FORM"], "recipe_id": "3d8ff8", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T15:14:24.989156Z", "verification": {"verified": true, "answer": 35894, "timestamp": "2026-02-08T15:14:25.008992Z"}, "problem_hash": "706092", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 513}, "timestamp": "2026-02-12T08:02:38.942Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cdb0fe", "alias": "sequence_count_fib_divisible_v1_1742523217_3455", "problem": "Let $S$ be the set of all integers $t$ such that $27 \\leq t \\leq 2151$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 19$, $1 \\leq b \\leq 292$, and $t = 21a + 6b$. Let $u$ be the number of elements in $S$. Let $d$ be the largest prime number $n$ such that $2 \\leq n \\leq 5$. Determine the number of positive integers $n$ such that $\\phi(2) \\leq n \\leq u$ and $d$ divides the $n$-th Fibonacci number $F_n$.", "answer": 140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=292)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=2151)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"d\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM", "ONE_PHI_2"], "recipe_id": "442592", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.173, "created_at": "2026-02-08T05:52:25.412681Z", "verification": {"verified": true, "answer": 140, "timestamp": "2026-02-08T05:52:25.585516Z"}, "problem_hash": "61b235", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF": "no", "V8": "no"}, "split": "test"} +{"id": "35c3b9", "alias": "nt_sum_divisors_compute_v1_548369836_110", "problem": "Let $n_0 = 324$. Define $n_2$ as the number of positive integers $k$ such that $1 \\leq k \\leq 4860$ and $n_0$ divides $k$. Let $u = \\left( \\sum_{d \\mid n_2} \\phi(d) \\right) - n_2$, where $\\phi$ is Euler's totient function. Let $n_1 = \\phi(1)$ and let $f = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $n = f \\cdot (22201 + u)$. Compute the sum of all positive divisors of $n$.", "answer": 22351, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(324),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(4860)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": EulerPhi(n=Const(1)),\n \"f\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Sum(Const(22201), Ref(\"u\")), Ref(\"f\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/EULER_TOTIENT_SUM", "MOBIUS_SUM", "ONE_PHI_1"], "recipe_id": "cd5e26", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["C2", "EULER_TOTIENT_SUM", "MOBIUS_SUM", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T02:45:45.753674Z", "verification": {"verified": true, "answer": 22351, "timestamp": "2026-02-08T02:45:45.756782Z"}, "problem_hash": "c32b18", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 22351, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 273, "completion_tokens": 863}, "timestamp": "2026-02-08T19:53:38.071Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 22351, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 1637}, "timestamp": "2026-02-09T19:47:06.441Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 22351, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 223, "completion_tokens": 6859}, "timestamp": "2026-02-09T21:45:43.173Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 22351, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 215, "completion_tokens": 493}, "timestamp": "2026-02-09T02:27:33.821Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22351, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 731}, "timestamp": "2026-02-09T08:46:29.054Z"}], "solution_status": 2, "lemma_applicability": {"C2": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K14": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -9.08, "mid": -5.92, "hi": -3.37}, "split": "test"} +{"id": "fe5523", "alias": "nt_count_gcd_equals_v1_655260480_1585", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 28657$. Let $k$ be the smallest integer greater than or equal to 2 that divides 5543093. Suppose $d = 173$. Determine the number of such integers $n$ for which $\\gcd(n, k) = d$. Compute this number.", "answer": 165, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(28657),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(5543093))))),\n \"d\": Const(173),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.568, "created_at": "2026-02-08T16:13:41.741005Z", "verification": {"verified": true, "answer": 165, "timestamp": "2026-02-08T16:13:44.308613Z"}, "problem_hash": "268d72", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 165, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 393}, "timestamp": "2026-02-12T10:07:42.686Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF_P2": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "7eb8f6", "alias": "nt_count_divisible_v1_124444284_8562", "problem": "Let $d$ be the smallest divisor of $77$ that is at least $2$. Let $T$ be the set of all positive integers $n \\leq 56169$ such that $n \\equiv 0 \\pmod{d}$. Let $c$ be the number of elements in $T$. Compute $88888 - c$.", "answer": 80864, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88888),\n \"upper\": Const(56169),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.608, "created_at": "2026-02-08T09:47:05.551745Z", "verification": {"verified": true, "answer": 80864, "timestamp": "2026-02-08T09:47:08.160120Z"}, "problem_hash": "f1df7b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 80864, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 295}, "timestamp": "2026-02-12T03:08:02.893Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "fed6c5", "alias": "nt_count_divisors_in_range_v1_1915831931_2624", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 176400$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all positive integers $t$ such that $27 \\leq t \\leq 672$ and $t = 21a + 6b$ for some integers $a, b$ with $1 \\leq a \\leq 28$ and $1 \\leq b \\leq 14$. Let $b$ be the number of elements in $T$. Let $D$ be the set of all positive divisors $d$ of $n$ such that $1 \\leq d \\leq b$. Let $r$ be the number of elements in $D$. Compute the remainder when $44121 \\cdot r$ is divided by 51616.", "answer": 40725, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(1),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=28)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=14)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=672)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(51616)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T17:00:25.141666Z", "verification": {"verified": true, "answer": 40725, "timestamp": "2026-02-08T17:00:25.154270Z"}, "problem_hash": "cc7c91", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 516}, "timestamp": "2026-02-12T21:37:27.318Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "82f94b", "alias": "nt_count_coprime_and_v1_1470522791_272", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 60675$ such that $\\gcd(n,8)=1$ and $\\gcd(n,15)=1$.\n\nWrite $N$ in base $10$ without leading zeros, and let its decimal digits (from units to highest place) be $d_0,d_1,\\dots,d_{m-1}$, where $m$ is the number of digits of $N$.\n\nLet\n$$A=\\sum_{k=0}^{8}(-1)^k\\binom{8}{k}.$$Define $B$ to be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=34$, and let\n$$C=\\binom{17}{B}.$$For each integer $i$ with $A\\le i\\le m-1$, define\n$$T_i=d_i\\left(i+C\\right)^2.$$Let\n$$Q\\equiv\\sum_{i=A}^{m-1}T_i\\pmod{19600},$$where $Q$ is the unique integer with $0\\le Q<19600$ congruent to the sum modulo $19600$.\n\nFind the value of $Q$.", "answer": 19762, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60675),\n \"k1\": Const(8),\n \"k2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Summation(var=\"k\", start=Const(0), end=Const(8), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(8), k=Var(\"k\")))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Binom(n=Const(17), k=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(34))))))), Const(2)))), Const(19600)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_N", "BINOMIAL_ALTERNATING"], "recipe_id": "b54d8a", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ONE_BINOM_N"], "num_lemmas": 3, "generation_time": 8.406, "created_at": "2026-02-08T12:55:53.676003Z", "verification": {"verified": true, "answer": 19762, "timestamp": "2026-02-08T12:56:02.081560Z"}, "problem_hash": "bdb1a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 398, "completion_tokens": 660}, "timestamp": "2026-02-12T05:54:07.020Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "ONE_BINOM_N": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "56e8e2", "alias": "comb_sum_binomial_row_v1_2051736721_5604", "problem": "Let $n$ be the smallest divisor of $17303$ that is at least $2$. Compute $2^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(17303))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:41:23.183506Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T18:41:23.184558Z"}, "problem_hash": "d342fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 204}, "timestamp": "2026-02-13T00:22:50.899Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0fa3ba", "alias": "nt_sum_gcd_range_mod_v1_124444284_9593", "problem": "Let $N$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 396900$.\n\nLet $k$ be the number of integers $t$ in the range $9 \\leq t \\leq 74$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 6$, $1 \\leq b \\leq 16$, and $t = 7a + 2b$.\n\nLet $S = \\sum_{n=1}^{N} \\gcd(n, k)$.\n\nCompute the remainder when $S$ is divided by $11057$.", "answer": 7560, "graph": "graphs = [\n Graph(\n let={\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(396900)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=16)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=74)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"M\": Const(11057),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.603, "created_at": "2026-02-08T12:34:45.257702Z", "verification": {"verified": true, "answer": 7560, "timestamp": "2026-02-08T12:34:45.861124Z"}, "problem_hash": "4978c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 532}, "timestamp": "2026-02-12T05:22:01.827Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ded03b", "alias": "nt_count_gcd_equals_v1_1248542787_314", "problem": "Let $u$ be the smallest divisor of $1172781324538193$ that is at least $2$. Let $d = 151$. Determine the number of positive integers $n$ such that $1 \\le n \\le u$ and $\\gcd(n, 151) = d$. Let $N$ be this count. Compute $\\sum_{n=1}^{N} \\tau(n)$, where $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 146, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1172781324538193))))),\n \"k\": Const(151),\n \"d\": Const(151),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.712, "created_at": "2026-02-08T03:03:28.164992Z", "verification": {"verified": true, "answer": 146, "timestamp": "2026-02-08T03:03:28.876764Z"}, "problem_hash": "294c50", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:40:04.310Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:05:54.137Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:38:35.153Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7766771056491, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 484}, "timestamp": "2026-02-12T00:35:29.648Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 5719}, "timestamp": "2026-02-11T03:37:33.250Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 344}, "timestamp": "2026-02-11T12:13:29.891Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 470}, "timestamp": "2026-02-11T20:08:28.579Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K17": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "c323d8", "alias": "nt_sum_over_divisible_v1_677425708_1594", "problem": "Let $p=19$ and $n_1=p^3$. Let $f$ be the number of distinct prime factors of $n_1$.\n\nLet $n=1$, and let $t$ be the number of prime factors of $n$ counted with multiplicity. Define\n\\[U=44521+t.\\]\nLet $d=116$, and let $R$ be the sum of all integers $m$ such that $1\\le m\\le U$ and $m\\equiv0\\pmod d$.\n\nLet $A$ be the remainder when $R$ is divided by $199$.\n\nLet $P$ be the largest prime number not exceeding $1011$.\n\nLet $q$ be the least integer $e\\ge2$ such that $e$ divides $64262008919$. Let $B$ be the remainder when $R$ is divided by $q$.\n\nDefine\n\\[X=A+P\\cdot B.\\]\nLet $Q$ be the remainder when $X$ is divided by $60099f$. Compute $Q$.", "answer": 32075, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1011),\n \"_n\": Const(2),\n \"p\": Const(19),\n \"n1\": Pow(Ref(\"p\"), Const(3)),\n \"f\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(1),\n \"t\": BigOmega(n=Ref(name='n')),\n \"upper\": Sum(Const(44521), Ref(\"t\")),\n \"divisor\": Const(116),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(64262008919)))))))), modulus=Mul(Const(60099), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/OMEGA_ONE", "MAX_PRIME_BELOW/OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "a27551", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "OMEGA_ONE"], "num_lemmas": 4, "generation_time": 2.01, "created_at": "2026-02-08T04:18:30.657342Z", "verification": {"verified": true, "answer": 32075, "timestamp": "2026-02-08T04:18:32.667668Z"}, "problem_hash": "96615a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 337, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:07:38.369Z"}], "solution_status": 0, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "OMEGA_ONE": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "560154", "alias": "comb_count_surjections_v1_784195855_2360", "problem": "Let $n = 8$. Define $k$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 6$. Let $\\text{result} = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 23$ and $1 \\le j \\le 23$. Compute the remainder when $c - \\text{result}$ is divided by $86736$.", "answer": 81469, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86736),\n \"n\": Const(8),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(6))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COMB1"], "recipe_id": "63f7ba", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:41:56.420102Z", "verification": {"verified": true, "answer": 81469, "timestamp": "2026-02-08T05:41:56.422133Z"}, "problem_hash": "94c3fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 81469, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 2682}, "timestamp": "2026-02-12T13:08:36.939Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 373}, "timestamp": "2026-02-11T23:00:59.007Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9dfd8d", "alias": "antilemma_product_of_sums_v1_677425708_440", "problem": "Let $m=19$ and $n=6$. Define\n\\[S_1=\\sum_{k=1}^{n} k.\n\\]\nLet $P$ be the set of all integers between $2$ and $18$, inclusive, that are prime, and let $g$ be the greatest element of $P$. Let\n\\[h=\\gcd(g,m).\n\\]\nFor each positive divisor $d$ of $h$, let $\\mu(d)$ be the Möbius function of $d$, and define\n\\[u=\\sum_{d\\mid h} \\mu(d).\n\\]\nConsider all ordered pairs $(k,j)$ of integers with $1\\le k\\le 13$ and $1\\le j\\le 10$ that satisfy $u=0$. Let $S_2$ be the sum of all first coordinates $k$ over these pairs.\n\nLet\n\\[x=S_1\\cdot S_2.\n\\]\nDefine\n\\[Q\\equiv 44121\\cdot x \\pmod{51010},\\quad 0\\le Q<51010.\n\\]\nFind the value of $Q$. ", "answer": 8020, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(19),\n \"_n\": Const(6),\n \"S1\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=18)), IsPrime(arg=Var(name='n'))))), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Var(\"k\"))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(51010)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME/SUM_INDEPENDENT", "PRODUCT_OF_SUMS"], "recipe_id": "108088", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "SUM_INDEPENDENT"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:33:00.643702Z", "verification": {"verified": true, "answer": 8020, "timestamp": "2026-02-08T03:33:00.645480Z"}, "problem_hash": "4aae5b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 356, "completion_tokens": 917}, "timestamp": "2026-02-08T20:34:48.138Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 352, "completion_tokens": 886}, "timestamp": "2026-02-10T03:53:12.547Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_INDEPENDENT": "ok_later", "K13": "no", "K16": "no", "V3": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "777ca2", "alias": "nt_sum_over_divisible_v1_1439011603_1902", "problem": "Let $u = 84681$ and let $d$ be the smallest integer greater than or equal to 2 that divides $7114559$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $n$ is divisible by $d$. Define $c = 95693$ and let $Q$ be the remainder when $c$ times the sum of the elements of $S$ is divided by $83276$. Find the value of $Q$.", "answer": 76782, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(84681),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7114559))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(95693),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83276)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.012, "created_at": "2026-02-08T16:21:06.137502Z", "verification": {"verified": true, "answer": 76782, "timestamp": "2026-02-08T16:21:09.149249Z"}, "problem_hash": "de3456", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 337}, "timestamp": "2026-02-12T10:28:57.871Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "aa6155", "alias": "diophantine_fbi2_min_v1_717093673_1370", "problem": "Let $A$ be the set of all positive integers $d_1 \\geq 2$ that divide 5929. Let $m = \\min(A)$. Determine the smallest integer $d \\geq 3$ such that $d$ divides 21, $d \\leq 31$, and $\\frac{21}{d} \\geq m$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(21),\n \"upper\": Const(31),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(5929))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.019, "created_at": "2026-02-08T16:01:54.215610Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T16:01:54.234716Z"}, "problem_hash": "4be2f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 347}, "timestamp": "2026-02-12T09:39:40.631Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "99ae64", "alias": "antilemma_sum_primes_v1_153355830_720", "problem": "Let $c = 2$. Let $m$ be the largest integer $k$ such that $2^k$ divides $7^2 - 5^c$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Compute the sum of all prime numbers between $n$ and $m$, inclusive.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MaxKDivides(target=Sub(Pow(Const(7), Const(2)), Pow(Const(5), Ref(\"_c\"))), base=Const(2)),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LTE_DIFF_P2/COPRIME_PAIRS/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "b14d8e", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LTE_DIFF_P2", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T04:08:33.406047Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T04:08:33.425884Z"}, "problem_hash": "d05732", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF_P2": "ok", "SUM_PRIMES": "ok", "COPRIME_PAIRS": "ok_later", "C2": "no", "K18": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V7": "no"}, "split": "test"} +{"id": "22e35a", "alias": "diophantine_fbi2_min_v1_1978505735_801", "problem": "Let $k$ be the number of integers $t$ such that $9 \\leq t \\leq 52$ and there exist positive integers $a \\leq 8$, $b \\leq 4$ for which $t = 4a + 5b$. Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 441$, and let $\\sigma$ be the minimum value of $x + y$ over all such pairs. Let $d$ be the smallest integer such that $5 \\leq d \\leq \\sigma$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Compute the remainder when $20665$ times this value of $d$ is divided by $68838$.", "answer": 27644, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(441),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Mod(value=Mul(Const(20665), Ref(\"result\")), modulus=Const(68838)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T15:36:31.982705Z", "verification": {"verified": true, "answer": 27644, "timestamp": "2026-02-08T15:36:31.993828Z"}, "problem_hash": "0c91cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 373}, "timestamp": "2026-02-12T08:47:25.691Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "DS2": "no", "K13": "no", "MOD_MUL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a3a305", "alias": "nt_count_with_divisor_count_v1_784195855_3816", "problem": "Let $s = \\lambda(1)$, where $\\lambda(n)$ is the Liouville function. Let $p$ be the largest integer such that $7^p$ divides $7^{11}$. Let $n = p \\cdot 3$, and let $t = \\lambda(n)$. Let $R$ be the number of positive integers $m$ such that $1 \\le m \\le 83521$ and $m$ has exactly 10 positive divisors. Compute the remainder when $89602 \\cdot s \\cdot R$ is divided by $76821 \\cdot t$.", "answer": 43520, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(89602),\n \"n1\": Const(1),\n \"s\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": MaxKDivides(target=Pow(Const(7), Const(11)), base=Const(7)),\n \"q\": Const(3),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"t\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(83521),\n \"div_count\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mul(Mul(Ref(\"_n\"), Ref(\"s\")), Ref(\"result\")), modulus=Mul(Const(76821), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/LIOUVILLE_ONE"], "recipe_id": "ece8ce", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_ONE"], "num_lemmas": 2, "generation_time": 4.224, "created_at": "2026-02-08T06:39:04.729183Z", "verification": {"verified": true, "answer": 43520, "timestamp": "2026-02-08T06:39:08.953585Z"}, "problem_hash": "fa4c85", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "split": "test"} +{"id": "50940c", "alias": "antilemma_sum_equals_v1_1742523217_5517", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 43$, $1 \\leq j \\leq 43$, and $i + j = 44$. Let $y$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 4$. Let $m = 93284$. Compute the value of $x + \\left( y^{x \\bmod 16} \\bmod m \\right)$.", "answer": 2091, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(93284),\n \"_n\": Const(44),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(43)), right=IntegerRange(start=Const(1), end=Const(43))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4))))), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4)))))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "9dcebf", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T11:02:34.470279Z", "verification": {"verified": true, "answer": 2091, "timestamp": "2026-02-08T11:02:34.478857Z"}, "problem_hash": "e03306", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2091, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 710}, "timestamp": "2026-02-14T10:15:44.952Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 426}, "timestamp": "2026-02-12T03:37:08.344Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "04af8e", "alias": "comb_count_partitions_v1_1978505735_7572", "problem": "Let $d$ be the smallest integer greater than or equal to $2$ that divides $5989441663$. Let $p$ be the number of integer partitions of $d$. Compute the remainder when $44121 \\cdot p$ is divided by $88783$.", "answer": 59178, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(5989441663))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(88783)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T20:19:24.049569Z", "verification": {"verified": true, "answer": 59178, "timestamp": "2026-02-08T20:19:24.051129Z"}, "problem_hash": "9b1cc5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 265}, "timestamp": "2026-02-13T01:20:39.812Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d11b46", "alias": "nt_count_coprime_and_v1_397696148_1512", "problem": "Let $n$ be a positive integer. Define $k_1 = 8$ and let $k_2$ be the number of positive integers $n \\leq 79$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $S$ be the set of positive integers $n \\leq 19800$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Compute the remainder when $73695$ multiplied by the number of elements in $S$ is divided by $58688$.", "answer": 8160, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(79),\n \"upper\": Const(19800),\n \"k1\": Const(8),\n \"k2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"_c\": Const(73695),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(58688)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 1.963, "created_at": "2026-02-08T12:35:47.509769Z", "verification": {"verified": true, "answer": 8160, "timestamp": "2026-02-08T12:35:49.473167Z"}, "problem_hash": "16106d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 856}, "timestamp": "2026-02-12T05:25:55.935Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "87f726", "alias": "comb_count_partitions_v1_1431428450_328", "problem": "Let $n$ be the smallest divisor of $216475373$ that is greater than or equal to $2$. Let $p(n)$ denote the number of integer partitions of $n$. Find the remainder when $24904 \\cdot p(n)$ is divided by $89435$.", "answer": 54419, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(216475373))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(24904),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(89435)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:23:36.875776Z", "verification": {"verified": true, "answer": 54419, "timestamp": "2026-02-08T13:23:36.877362Z"}, "problem_hash": "ab7bfa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 272}, "timestamp": "2026-02-12T06:47:20.085Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_SUM": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "883955", "alias": "diophantine_fbi2_min_v1_1440796553_1324", "problem": "Let $k = 35$ and let $m = 444$. Let $n$ be the smallest divisor of $35$ that is at least $2$. Define $S$ as the set of all integers $d$ such that $5 \\leq d \\leq 45$, $d$ divides $k$, and $\\frac{k}{d} \\geq 6$. Let $r$ be the smallest element of $S$. Let $T$ be the set of all positive integers $n$ with $1 \\leq n \\leq m$ such that the sum of the decimal digits of $n$ is even. Compute $r^2 + n \\cdot r + |T|$.", "answer": 272, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(444),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"k\": Const(35),\n \"upper\": Const(45),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/L3B"], "recipe_id": "b411cd", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T13:38:42.782332Z", "verification": {"verified": true, "answer": 272, "timestamp": "2026-02-08T13:38:42.792324Z"}, "problem_hash": "9d415b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 388}, "timestamp": "2026-02-12T07:14:44.497Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3B": "ok_later", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9a3654", "alias": "modular_sum_quadratic_residues_v1_865884756_2861", "problem": "Let $S$ be the set of all positive integers $t$ such that $8 \\leq t \\leq 354$ and there exist positive integers $a \\leq 58$ and $b \\leq 36$ satisfying $t = 3a + 5b$. Let $N$ be the number of elements in $S$. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq N$. \n\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 4$. Let $m$ be the maximum value of $xy$ over all such pairs. \n\nCompute $\\frac{p(p-1)}{m}$, take its absolute value, add $2$, and find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by that sum.", "answer": 3330, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=58)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=36)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=354)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "B1"], "recipe_id": "2ee4bd", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T16:59:01.455747Z", "verification": {"verified": true, "answer": 3330, "timestamp": "2026-02-08T16:59:01.465542Z"}, "problem_hash": "2ddf51", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 512}, "timestamp": "2026-02-12T21:37:53.676Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "L3c": "no", "MOD_ADD": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c6d249", "alias": "algebra_poly_eval_v1_898971024_25", "problem": "Let $m = 3$ and $n = 99812$. Consider the set of all ordered pairs $(x_1, y)$ of positive integers such that $x_1 \\cdot y = 144$. Let $x$ be the minimum value of $x_1 + y$ over all such pairs. Let $T$ be the set of integers $t$ such that $16 \\leq t \\leq 25$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 2$, and $t = 2a + 3b + 11$. Define $\\text{count} = |T|$. Compute $m x^2 + \\text{count} \\cdot x + 1$, then find the remainder when this value is divided by $n$.", "answer": 16053, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(99812),\n \"x\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x1\"), Var(\"y\")), Const(144)))), expr=Sum(Var(\"x1\"), Var(\"y\")))),\n \"result\": Sum(Mul(Ref(\"_m\"), Pow(Ref(\"x\"), Const(2))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=25)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=11)))))))), Ref(\"x\")), Const(1)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:09:30.708378Z", "verification": {"verified": true, "answer": 16053, "timestamp": "2026-02-08T15:09:30.713283Z"}, "problem_hash": "3d850c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 889}, "timestamp": "2026-02-12T07:54:17.206Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7559eb", "alias": "sequence_lucas_compute_v1_1080341949_508", "problem": "Let $n$ be the smallest divisor of $160604929$ that is at least $2$. Compute the $n$-th Lucas number.", "answer": 9349, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(160604929))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T13:32:47.990983Z", "verification": {"verified": true, "answer": 9349, "timestamp": "2026-02-08T13:32:47.995534Z"}, "problem_hash": "3ee4b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 208}, "timestamp": "2026-02-12T07:02:01.318Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "12437a", "alias": "sequence_fibonacci_compute_v1_151522320_487", "problem": "Let $F_n$ denote the $n$th Fibonacci number, where $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all positive integers $n$.\n\nLet $N=53388$ and let $R=F_{21}$. For each ordered pair $(i,j)$ of integers with $1\\le i\\le 5$ and $1\\le j\\le 9$, consider $\\gcd(i,j)$. Let $P$ be the set of all integers $n$ such that $2\\le n\\le 6$ and $n$ is prime, and let $M$ be the maximum of $P$.\n\nLet\n$$S=\\sum_{d\\mid \\gcd(3,M)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $T$ be the number of ordered pairs $(i,j)$ with $1\\le i\\le 5$ and $1\\le j\\le 9$ such that $\\gcd(i,j)=S$.\n\nLet $Q$ be the remainder when $T-R$ is divided by $N$. Find the value of $Q$.", "answer": 42475, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53388),\n \"n\": Const(21),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), SumOverDivisors(n=GCD(a=Const(value=3), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=6)), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(9))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME/COUNT_COPRIME_GRID"], "recipe_id": "600dda", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:21:09.648328Z", "verification": {"verified": true, "answer": 42475, "timestamp": "2026-02-08T03:21:09.650559Z"}, "problem_hash": "a30eaf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COUNT_COPRIME_GRID": "ok_later", "MOBIUS_COPRIME": "ok_later", "K14": "no", "K15": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "6a1d57", "alias": "antilemma_v8_lucas_1874849503_309", "problem": "Let $c = 8208$. Let $m$ be the smallest integer greater than or equal to 2 that divides 551972495071. Let $n$ be the largest prime number less than or equal to $c$. Compute the number of nonnegative integers $j$ such that $0 \\le j \\le n$ and $\\binom{m}{j} \\equiv 1 \\pmod{2}$.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8208),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(551972495071))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW/V8", "V8"], "recipe_id": "fcb294", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "V8"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T12:56:03.895875Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T12:56:03.900144Z"}, "problem_hash": "243046", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:35:33.662Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:18:36.465Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_INTEGER_RANGE": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "8b39b7", "alias": "diophantine_fbi2_count_v1_1978505735_3658", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 4$. Define $m$ to be the minimum value of $x + y$ over all pairs in $S$. Let $T$ be the set of all positive integers $t$ such that $18 \\leq t \\leq 166$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 12$, and $t = 10a + 8b$. Define $k = 240$ and let $c$ be the number of elements in $T$. Find the number of positive divisors $d$ of $k$ such that $m \\leq d \\leq c$, $\\frac{k}{d} \\geq 4$, and $\\frac{k}{d} \\leq 63$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63),\n \"k\": Const(240),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=12)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=166)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.422, "created_at": "2026-02-08T17:46:57.889557Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T17:46:58.311199Z"}, "problem_hash": "447d7e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 419}, "timestamp": "2026-02-12T23:12:11.436Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b5426f", "alias": "nt_gcd_compute_v1_1439011603_56", "problem": "Let $m=2$.\n\nLet $T$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=72$, $\\gcd(p,q)=1$, and $p0$, so $M=R+2$).\n\nLet $F_1,F_2,\\dots$ be the Fibonacci sequence defined by $F_1=1$, $F_2=1$, and $F_{k+2}=F_{k+1}+F_k$ for all $k\\ge 1$. Let $Q$ be the smallest positive integer $k$ such that $F_k$ is divisible by $M$.\n\nCompute $Q$.", "answer": 3540, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(31769),\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(218)), domain='Z_{>0}')),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"p\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=29)), Leq(left=Var(name='t'), right=Const(value=131)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=8)))))))), Ref(\"h\")),\n \"e\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/DIVISOR_PARITY/BIG_OMEGA_ONE", "COPRIME_PAIRS/DIVISOR_PARITY", "V5/DIVISOR_PARITY"], "recipe_id": "f149ba", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COPRIME_PAIRS", "DIVISOR_PARITY", "LIN_FORM", "V5"], "num_lemmas": 5, "generation_time": 0.018, "created_at": "2026-02-08T03:53:58.778922Z", "verification": {"verified": true, "answer": 3540, "timestamp": "2026-02-08T03:53:58.796443Z"}, "problem_hash": "cc3631", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "V5": "ok", "BIG_OMEGA_ONE": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "split": "test"} +{"id": "e83800", "alias": "comb_count_partitions_v1_458359167_5130", "problem": "Let $n$ be the smallest divisor of $3397301$ that is at least $2$. Compute the number of integer partitions of $n$.", "answer": 44583, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3397301))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:17:15.339979Z", "verification": {"verified": true, "answer": 44583, "timestamp": "2026-02-08T12:17:15.340816Z"}, "problem_hash": "9e839a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 183}, "timestamp": "2026-02-12T05:06:33.976Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "L3b": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5c9e29", "alias": "diophantine_product_count_v1_1470522791_868", "problem": "Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 32400$. Let $\\text{upper}$ be the number of integers $t$ such that $23 \\leq t \\leq 224$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 31$, $1 \\leq b \\leq 28$, and $t = 4a + 3b + 16$. Let $\\text{result}$ be the number of positive integers $x$ such that $1 \\leq x \\leq \\text{upper}$, $x$ divides $k$, and $\\frac{k}{x} \\leq \\text{upper}$. Compute the remainder when $49408 \\cdot \\text{result}$ is divided by $77849$.", "answer": 74939, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(32400),\n \"_n\": Const(77849),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=31)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=28)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=224)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=16)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(49408),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T13:17:36.655808Z", "verification": {"verified": true, "answer": 74939, "timestamp": "2026-02-08T13:17:36.670899Z"}, "problem_hash": "372cee", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 586}, "timestamp": "2026-02-12T06:34:50.493Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1bc26e", "alias": "nt_count_gcd_equals_v1_677425708_2003", "problem": "Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $x + y = T$, where $T$ is the sum of all positive integers $x$ satisfying $x^2 - 192x + N = 0$, and $N$ is the number of lattice points $(i, j)$ with $1 \\leq i \\leq 53$ and $1 \\leq j \\leq 139$. Let $U$ be the set of all products $xy$ for $(x, y) \\in S$. Define $\\text{upper}$ to be the maximum value in $U$. Let $k = 19$ and $d = 1$. Let $R$ be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\gcd(n, k) = d$. Find the remainder when $48197 \\cdot R$ is divided by $90950$.", "answer": 73307, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(90950),\n \"_m\": Const(2),\n \"_n\": Const(48197),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-192), Var(\"x\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(53)), right=IntegerRange(start=Const(1), end=Const(139))))), Const(0))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(19),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/VIETA_SUM/B1"], "recipe_id": "60aefd", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_CARTESIAN", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 5.418, "created_at": "2026-02-08T04:42:24.953355Z", "verification": {"verified": true, "answer": 73307, "timestamp": "2026-02-08T04:42:30.371646Z"}, "problem_hash": "32edbf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 73307, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 883}, "timestamp": "2026-02-10T04:20:36.471Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 761}, "timestamp": "2026-02-13T22:17:54.242Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 395}, "timestamp": "2026-02-11T21:04:03.502Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "B1": "ok_later", "VIETA_SUM": "ok_later", "L3b": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.83, "hi": 1.59}, "split": "test"} +{"id": "7a4fe7", "alias": "nt_count_intersection_v1_1742523217_398", "problem": "Let $N = 20000$. Let $a$ be the smallest integer greater than or equal to 2 that divides 31603. Let $b = 6$. Define $r$ to be the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, b) = 1$. Compute the remainder when $44121 \\cdot r$ is divided by 93473.", "answer": 4048, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(20000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(31603))))),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(93473)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.272, "created_at": "2026-02-08T03:00:46.335037Z", "verification": {"verified": true, "answer": 4048, "timestamp": "2026-02-08T03:00:47.606600Z"}, "problem_hash": "258d94", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 2773}, "timestamp": "2026-02-09T17:28:46.888Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 4048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 1854}, "timestamp": "2026-02-09T02:31:30.914Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 1220}, "timestamp": "2026-02-11T00:51:05.166Z"}, {"id": 8, "model": "mathstral", "answer": 5804, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 696}, "timestamp": "2026-02-11T11:15:36.251Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 551}, "timestamp": "2026-02-11T20:04:32.037Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K15": "no", "K5": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "5ea03d", "alias": "comb_binomial_compute_v1_168721529_670", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 5$ such that $\\gcd(i, j) = 1$. Let $k$ be the sum of all integers from $\\phi(2)$ to the largest integer $e$ such that $2^e$ divides $4!$. Compute $\\binom{n}{k}$.", "answer": 5005, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=Const(2)),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"k\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/SUM_ARITHMETIC", "COUNT_COPRIME_GRID", "ONE_PHI_2"], "recipe_id": "4761fe", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ONE_PHI_2", "SUM_ARITHMETIC", "V1"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T13:11:17.645613Z", "verification": {"verified": true, "answer": 5005, "timestamp": "2026-02-08T13:11:17.647787Z"}, "problem_hash": "b21205", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5005, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 1048}, "timestamp": "2026-02-09T07:46:05.363Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5005, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 532}, "timestamp": "2026-02-09T20:05:16.527Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok", "V1": "ok", "SUM_ARITHMETIC": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.04, "hi": -2.08}, "split": "test"} +{"id": "b3d0b1", "alias": "algebra_poly_eval_v1_1742523217_2533", "problem": "Let $m = 12$. Compute $4m^4 + 3m^3 - 5m^2 + 4m + 7$.", "answer": 87463, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(12),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"m\"), Const(4))), Mul(Const(3), Pow(Ref(\"m\"), Const(3))), Mul(Const(-5), Pow(Ref(\"m\"), Const(2))), Mul(Const(4), Ref(\"m\")), Const(7)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/V1", "LTE_DIFF/V1"], "recipe_id": "6fe4fb", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T04:50:06.000393Z", "verification": {"verified": true, "answer": 87463, "timestamp": "2026-02-08T04:50:06.011893Z"}, "problem_hash": "94e0b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 87463, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 89, "completion_tokens": 338}, "timestamp": "2026-02-11T21:53:11.161Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 87463, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 308}, "timestamp": "2026-02-11T21:52:52.564Z"}], "solution_status": 2, "lemma_applicability": {"LTE_DIFF": "ok", "MIN_PRIME_FACTOR": "ok", "V1": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "LTE_DIFF_P2": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "1e0ada", "alias": "sequence_lucas_compute_v1_124444284_6610", "problem": "Let $n$ be the smallest divisor of $15341$ that is at least $2$. Define $L_n$ to be the $n$-th Lucas number. Determine the value of $L_n$.", "answer": 64079, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15341))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:33:16.614453Z", "verification": {"verified": true, "answer": 64079, "timestamp": "2026-02-08T08:33:16.615243Z"}, "problem_hash": "8a0341", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64079, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 90, "completion_tokens": 1064}, "timestamp": "2026-02-13T19:22:26.744Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 151, "completion_tokens": 361}, "timestamp": "2026-02-12T01:58:24.070Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K13": "no", "K15": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "36e6c4", "alias": "nt_count_primes_v1_238844314_585", "problem": "Let $S$ be the set of all integers $d \\geq 2$ that divide $6$. Let $m$ be the minimum element of $S$. Let $A$ be the set of all prime numbers $n$ such that $m \\leq n \\leq 25200$. Let $|A|$ denote the number of elements in $A$. Compute $64009 - |A|$.", "answer": 61228, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(25200),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(64009),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.983, "created_at": "2026-02-08T13:25:05.705662Z", "verification": {"verified": true, "answer": 61228, "timestamp": "2026-02-08T13:25:06.688981Z"}, "problem_hash": "f2b586", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 254}, "timestamp": "2026-02-12T06:49:00.505Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0e3d55", "alias": "diophantine_fbi2_min_v1_971394319_1845", "problem": "Let $d$ be an integer such that $4 \\leq d \\leq 70$, $d$ divides $60$, and $\\frac{60}{d} \\geq 3$. Let $r$ be the smallest such $d$. Let $s$ be the smallest integer greater than or equal to $2$ that divides $8542327601$. Compute $s - r$.", "answer": 85, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"upper\": Const(70),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(8542327601))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T13:57:51.082965Z", "verification": {"verified": true, "answer": 85, "timestamp": "2026-02-08T13:57:51.093431Z"}, "problem_hash": "250946", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 332}, "timestamp": "2026-02-12T07:37:07.595Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c419f2", "alias": "nt_num_divisors_compute_v1_1742523217_2040", "problem": "Let $ m = 8 $ and let $ n = 77777 $. Define $ r $ to be the number of positive divisors of $ n $. Let $ s $ be the number of ordered pairs $ (x_1, x_2) $ of positive odd integers such that $ x_1 + x_2 = 43^m $. Compute the value of\n$$\n2^r \\bmod 99991 + s.\n$$", "answer": 260, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": MaxKDivides(target=Pow(Const(43), Ref(\"_m\")), base=Const(43)),\n \"n\": Const(77777),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/COMB1"], "recipe_id": "c204f8", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K14"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:25:51.090126Z", "verification": {"verified": true, "answer": 260, "timestamp": "2026-02-08T04:25:51.092867Z"}, "problem_hash": "52153d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "COMB1": "ok_later", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "split": "test"} +{"id": "039dfb", "alias": "comb_bell_compute_v1_1520064083_8324", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 196$. Define $P$ to be the maximum value of $xy$ over all such pairs. Let $B_8$ denote the number of partitions of an 8-element set. Compute $P - B_8$.", "answer": 5464, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(196),\n \"n\": Const(8),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_bell_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T10:08:52.481001Z", "verification": {"verified": true, "answer": 5464, "timestamp": "2026-02-08T10:08:52.482707Z"}, "problem_hash": "b2ffd7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5464, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 933}, "timestamp": "2026-02-14T06:30:08.598Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 375}, "timestamp": "2026-02-12T03:11:41.737Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b15ca5", "alias": "nt_min_phi_inverse_v1_1353956133_5", "problem": "Let $m = 70$ and $n = 247$. Define $u$ to be the sum of all positive integers $k$ such that $1 \\le k \\le m$ and $k$ is divisible by $m$. Let $k$ be the largest integer such that $13^k$ divides $n!$. Let $S$ be the set of all positive integers $x$ such that $1 \\le x \\le u$ and $\\phi(x) = k$, where $\\phi$ denotes Euler's totient function. Determine the value of the smallest element in $S$.", "answer": 25, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70),\n \"_n\": Const(247),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(70)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_m\")), Const(0))))),\n \"k\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["SUM_DIVISIBLE", "V1"], "recipe_id": "40a9cc", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE", "V1"], "num_lemmas": 3, "generation_time": 0.078, "created_at": "2026-02-08T11:15:50.759943Z", "verification": {"verified": true, "answer": 25, "timestamp": "2026-02-08T11:15:50.838199Z"}, "problem_hash": "bda6b7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V1": "ok", "K5": "same_pattern_wrong", "C2": "no", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "577545", "alias": "antilemma_sum_primes_v1_168721529_1232", "problem": "Let $\\_n$ be the number of positive integers $n$ such that $1 \\leq n \\leq 8$, $4$ divides $n$, and $\\gcd(n, 15) = 1$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 25921$. Let $m$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Compute the sum of all prime numbers $n$ such that $\\_n \\leq n \\leq m$.", "answer": 9523, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25921)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/B3/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "a7ad27", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:32:49.292116Z", "verification": {"verified": true, "answer": 9523, "timestamp": "2026-02-08T13:32:49.294445Z"}, "problem_hash": "ea65c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:54:31.337Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 105976935, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 404}, "timestamp": "2026-02-10T04:05:07.028Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "SUM_PRIMES": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "MAX_VAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "test"} +{"id": "bafb05", "alias": "comb_count_permutations_fixed_v1_458359167_1684", "problem": "Let $c=2$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n\\[pq=216,\\quad \\gcd(p,q)=1,\\quad p s] + [D = 0]$, where $[\\cdot]$ denotes the Iverson bracket (1 if true, 0 if false).", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(6),\n \"b\": Const(2),\n \"c\": Const(-5),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Summation(var=\"k\", start=Sub(Binom(n=Const(7), k=Const(0)), Binom(n=Const(12), k=Const(0))), end=Const(2), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(2), k=Var(\"k\"))))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "59db8c", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "MAX_DIVISOR", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 4, "generation_time": 0.029, "created_at": "2026-02-08T07:51:18.932381Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T07:51:18.961820Z"}, "problem_hash": "5fdb7f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 312}, "timestamp": "2026-02-12T01:22:05.444Z"}], "solution_status": 2, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "ebaeae", "alias": "nt_sum_gcd_range_mod_v1_1440796553_65", "problem": "Let $A$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 18$ and $1\\le j\\le 30$ such that $\\gcd(i,j)=1$.\n\nLet $N$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 202$, $1\\le b\\le 129$, $12\\le t\\le 2059$, and\n$$t = 7a + 5b.$$\n\nLet $k$ be the largest integer $d$ such that $\\varphi(1)\\le d\\le A$ and $d$ divides $113232$.\n\nLet\n$$S = \\sum_{n=\\varphi(2)}^{N} \\gcd(n,k).$$\nLet $M=11087$, and let $R$ be the remainder when $S$ is divided by $M$.\n\nFind the value of $R$.", "answer": 7665, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(30))))),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=202)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=129)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=2059)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), EulerPhi(n=Const(1))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(113232))))),\n \"M\": Const(11087),\n \"sum\": Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/LIN_FORM/MAX_DIVISOR", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "1b6ee5", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM", "MAX_DIVISOR", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 5, "generation_time": 0.097, "created_at": "2026-02-08T11:14:17.244359Z", "verification": {"verified": true, "answer": 7665, "timestamp": "2026-02-08T11:14:17.341833Z"}, "problem_hash": "8c82e9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "LIN_FORM": "ok_later", "MAX_DIVISOR": "ok_later", "DS2": "no", "K16": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "split": "test"} +{"id": "54c774", "alias": "sequence_count_fib_divisible_v1_458359167_4754", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 4159$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq |S|$ and $7$ divides the $n$-th Fibonacci number. Compute the remainder when $26919 \\cdot |T|$ is divided by $86996$.", "answer": 75781, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4159)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": Const(26919),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(86996)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.06, "created_at": "2026-02-08T12:01:39.484680Z", "verification": {"verified": true, "answer": 75781, "timestamp": "2026-02-08T12:01:39.544216Z"}, "problem_hash": "0d230f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 76781, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 2314}, "timestamp": "2026-02-14T21:47:52.080Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 540}, "timestamp": "2026-02-12T04:53:22.258Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K14": "no", "K16": "no", "MAX_VAL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "09d077", "alias": "modular_count_residue_v1_1742523217_1210", "problem": "Let $m$ be the number of integers $t$ such that there exist integers $a$ and $b$ satisfying $1 \\le a \\le 2$, $1 \\le b \\le 3$, $5 \\le t \\le 12$, and $t = 3a + 2b$. Let $r$ be the number of positive integers $p$ for which there exists an integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_{\\text{min}}$ be the smallest divisor $d \\ge 2$ of 3757. Define $g = \\gcd(11, d_{\\text{min}})$. Let $L$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $g$, where $\\mu$ is the Möbius function. Determine the number of integers $n$ such that $L \\le n \\le 33124$ and $n \\equiv r \\pmod{m}$.", "answer": 5521, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33124),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=12)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=3757)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "ff2bc5", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 8.969, "created_at": "2026-02-08T03:31:55.729325Z", "verification": {"verified": true, "answer": 5521, "timestamp": "2026-02-08T03:32:04.698262Z"}, "problem_hash": "5963cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5521, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 337, "completion_tokens": 1432}, "timestamp": "2026-02-10T05:05:30.745Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5521, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 337, "completion_tokens": 1718}, "timestamp": "2026-02-09T12:49:54.723Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K17": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "ddc680", "alias": "nt_count_coprime_v1_784195855_19", "problem": "Let $k$ be the smallest divisor of $1739999$ that is at least $2$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq 81796$ and $\\gcd(n, k) = 1$. Compute the remainder when $29399 \\cdot r$ is divided by $82224$.", "answer": 62394, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82224),\n \"upper\": Const(81796),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1739999))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(29399), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 6.251, "created_at": "2026-02-08T02:54:14.997281Z", "verification": {"verified": true, "answer": 62394, "timestamp": "2026-02-08T02:54:21.248715Z"}, "problem_hash": "0be056", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 62394, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 6121}, "timestamp": "2026-02-08T20:05:31.411Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 62394, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 2879}, "timestamp": "2026-02-08T21:21:16.310Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:34:59.329Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 595}, "timestamp": "2026-02-10T16:10:58.175Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62394, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 2570}, "timestamp": "2026-02-10T19:13:15.375Z"}, {"id": 8, "model": "mathstral", "answer": 240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 728}, "timestamp": "2026-02-11T07:41:21.342Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 530}, "timestamp": "2026-02-11T19:55:43.668Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "05b959", "alias": "nt_count_gcd_equals_v1_1742523217_1802", "problem": "Let $N=77841$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=N$. For each such pair, compute the sum $x+y$. Let $S$ be the set of all these sums, and let $M$ be the minimum element of $S$.\n\nLet $T$ be the set of all integers $n$ such that $1\\le n\\le M$ and\n$$n\\equiv \\left\\lfloor\\frac n2\\right\\rfloor \\pmod{3}.$$\nLet $L$ be the number of elements in $T$.\n\nNow consider all ordered pairs $(x,y)$ of positive integers such that $x+y=L$. For each such pair, compute the product $xy$. Let $U$ be the set of all these products, and let $U_{\\max}$ be the maximum element of $U$.\n\nNext, consider all integers $t$ with $9\\le t\\le 62$ for which there exist integers $a$ and $b$ satisfying\n$$1\\le a\\le 10,\\quad 1\\le b\\le 6,\\quad t=2a+7b.$$\nLet $K$ be the number of such integers $t$.\n\nLet $d=8$. Finally, let $Q$ be the number of integers $n$ such that $1\\le n\\le U_{\\max}$ and $\\gcd(n,K)=d$.\n\nFind the value of $Q$.", "answer": 361, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77841),\n \"upper\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3)))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=62)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"d\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C/B1", "LIN_FORM"], "recipe_id": "4b3006", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "L3C", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.667, "created_at": "2026-02-08T04:15:28.295436Z", "verification": {"verified": true, "answer": 361, "timestamp": "2026-02-08T04:15:28.962099Z"}, "problem_hash": "bf2c78", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 361, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 425, "completion_tokens": 3597}, "timestamp": "2026-02-10T15:52:24.650Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 395, "completion_tokens": 916}, "timestamp": "2026-02-13T10:58:46.593Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 427, "completion_tokens": 633}, "timestamp": "2026-02-11T20:34:11.422Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "L3C": "ok_later", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "42969d", "alias": "modular_min_modexp_v1_784195855_6877", "problem": "Let $a = 11$ and $b = 24$. Let $m$ be the smallest divisor of $89951$ that is greater than or equal to $2$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq 292$ and $$a^x \\equiv b \\pmod{m}.$$ Let $r$ denote this value of $x$. Compute the remainder when $$353702 \\cdot |r| \\bmod{97} + 329703 \\cdot \\left( |r|^2 + 1 \\right) \\bmod{101} + 215534 \\cdot |r| \\bmod{49}$$ is divided by $1009091$, and then compute the remainder when that result is divided by $61562$.", "answer": 38464, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(11),\n \"b\": Const(24),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(89951))))),\n \"upper\": Const(292),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(49)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(61562)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.023, "created_at": "2026-02-08T08:56:17.211602Z", "verification": {"verified": true, "answer": 38464, "timestamp": "2026-02-08T08:56:17.234456Z"}, "problem_hash": "f0c4ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 8192}, "timestamp": "2026-02-13T23:03:36.670Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 446}, "timestamp": "2026-02-12T02:22:41.885Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "126c1c", "alias": "antilemma_count_primes_v1_784195855_1351", "problem": "Let $m = 2$. Let $n_0$ be the smallest positive integer $n$ such that the largest power of $2$ dividing $n!$ is at least $1$. Let $T$ be the set of all positive integers $t$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 135$, $1 \\leq b \\leq 344$, $11 \\leq t \\leq 2321$, and $t = 7a + 4b$. Let $N = |T|$. Compute the number of prime numbers $n$ such that $n_0 \\leq n \\leq N$.", "answer": 341, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(1)), domain='Z_{>0}')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=135)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=344)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=2321)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/LIN_FORM/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "796012", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "V5"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:59:17.943075Z", "verification": {"verified": true, "answer": 341, "timestamp": "2026-02-08T04:59:17.946313Z"}, "problem_hash": "34ea58", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "V5": "ok", "LIN_FORM": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "062a5e", "alias": "comb_sum_binomial_mod_v1_865884756_1508", "problem": "Let $m = \\sum_{k=1}^{10} k$. Let $T$ be the set of all integers $t$ with $10 \\leq t \\leq 132$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 21$, $1 \\leq b \\leq 8$, and $t = 4a + 6b$. Let $n$ be the number of elements in $T$. Define\n$$\nS = \\sum_{k_1 = 3}^{\\sum_{d \\mid m} \\phi(d)} \\binom{n}{k_1},\n$$\nwhere $\\phi$ denotes Euler's totient function. Compute the remainder when $S$ is divided by $11597$.", "answer": 4070, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11597),\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(10), expr=Var(\"k\")),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=132)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"sum\": Summation(var=\"k1\", start=Const(3), end=SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k1\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/LIN_FORM/K3"], "recipe_id": "7b16cb", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:05:10.468534Z", "verification": {"verified": true, "answer": 4070, "timestamp": "2026-02-08T16:05:10.479190Z"}, "problem_hash": "b94872", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 504}, "timestamp": "2026-02-12T09:57:30.431Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K3": "ok_later", "LIN_FORM": "ok_later", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "855582", "alias": "comb_count_derangements_v1_865884756_5887", "problem": "Let $n$ be the smallest divisor of $847$ that is at least $2$. Define $Q$ to be the remainder when $\\sum_{k=1}^{|!n|} \\phi(k)$ is divided by $75123$, where $!n$ denotes the number of derangements of $n$ elements and $\\phi$ is Euler's totient function. Compute $Q$.", "answer": 68695, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(847),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))), modulus=Const(75123)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.19, "created_at": "2026-02-08T18:50:54.808969Z", "verification": {"verified": true, "answer": 68695, "timestamp": "2026-02-08T18:50:54.999105Z"}, "problem_hash": "0b947f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 409}, "timestamp": "2026-02-13T00:33:53.604Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c0799e", "alias": "nt_count_divisible_v1_168721529_1048", "problem": "Let $N$ be the number of positive integers $n$ such that $n \\leq 41616$ and $n$ is divisible by 12. Let $S$ be the set of positive integers $j$ such that $j \\leq 337$ and $j^4 \\leq 12897917761$. Compute the value of $$N \\bmod 293 + 1009 \\cdot (N \\bmod |S|).$$", "answer": 99127, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(41616),\n \"divisor\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(1009),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(337)), Leq(Pow(Var(\"j\"), Const(4)), Const(12897917761))), domain='positive_integers'))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3"], "recipe_id": "015077", "seed_template_id": "nt_count_divisible_v1", "ending_id": "two_moduli", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3"], "num_lemmas": 1, "generation_time": 1.539, "created_at": "2026-02-08T13:26:00.895097Z", "verification": {"verified": true, "answer": 99127, "timestamp": "2026-02-08T13:26:02.434246Z"}, "problem_hash": "3c7387", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 99127, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 1585}, "timestamp": "2026-02-09T13:11:48.203Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 119307, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 368}, "timestamp": "2026-02-10T01:10:41.972Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 451}, "timestamp": "2026-02-12T06:46:42.130Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.54}, "split": "test"} +{"id": "008b19", "alias": "antilemma_product_of_sums_v1_1742523217_1628", "problem": "Let $S$ be the set of all ordered pairs $(k, j)$ of positive integers such that $1 \\leq k \\leq 15$ and $1 \\leq j \\leq 3$. Define $x$ to be the product of the sum of all first components $k$ over $S$ and the sum $\\sum_{k=1}^{5} k$.\n\nLet $A$ be the sum\n$$\n\\sum_{i=d}^{m-1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2,\n$$\nwhere $d$ is the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(96, 144)$, and $m$ is the number of digits of $|x|$.\n\nLet $B$ be the number of integers $t$ with $18 \\leq t \\leq 1064$ such that $t = 8a + 10b$ for some positive integers $a, b$ with $1 \\leq a \\leq 33$ and $1 \\leq b \\leq 80$.\n\nCompute $A + B$.", "answer": 628, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(5),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Var(\"k\"))), Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\"))),\n \"Q\": Sum(Summation(var=\"i\", start=SumOverDivisors(n=GCD(a=Const(value=96), b=Const(value=144)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=33)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=80)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=1064)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b')))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "recipe_id": "434dfa", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:05:30.874313Z", "verification": {"verified": true, "answer": 628, "timestamp": "2026-02-08T04:05:30.878369Z"}, "problem_hash": "df8e21", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "PRODUCT_OF_SUMS": "ok", "K14": "no", "K15": "no", "L3c": "no", "MOD_ADD": "no", "V5": "no"}, "split": "test"} +{"id": "b14a64", "alias": "nt_count_digit_sum_v1_898971024_806", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 99999$. Let $s(n)$ denote the sum of the decimal digits of $n$. Let $d_{\\text{min}}$ be the smallest divisor of 7429 that is at least 2. Determine the value of the number of integers $n$ in the given range for which $s(n) = d_{\\text{min}}$.", "answer": 4335, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(99999),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7429))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 8.931, "created_at": "2026-02-08T15:40:01.328771Z", "verification": {"verified": true, "answer": 4335, "timestamp": "2026-02-08T15:40:10.259501Z"}, "problem_hash": "fb7a50", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 464}, "timestamp": "2026-02-12T09:00:54.311Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K17": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dcde71", "alias": "modular_product_range_v1_865884756_3885", "problem": "Let $P = \\prod_{i=40}^{168} i$. Let $R = P \\mod 10847$. Let $A$ be the largest prime number at most 294. Let $B$ be the number of positive integers at most 14017 whose digit sum is odd. Let $C$ be the largest prime number at most $B$. Compute the value of $(R \\mod A + C \\cdot (R \\mod 337)) \\mod 96030$.", "answer": 87795, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10847),\n \"_m\": Const(96030),\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(40), end=Const(168)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_c\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(294)), IsPrime(Var(\"n\")))))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(14017)), Eq(Mod(value=DigitSum(Var(\"n2\")), modulus=Const(2)), Const(1)))))), IsPrime(Var(\"n1\"))))), Mod(value=Ref(\"result\"), modulus=Const(337)))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MAX_PRIME_BELOW"], "recipe_id": "1cadef", "seed_template_id": "modular_product_range_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T17:39:27.209292Z", "verification": {"verified": true, "answer": 87795, "timestamp": "2026-02-08T17:39:27.220353Z"}, "problem_hash": "a3ce94", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 420}, "timestamp": "2026-02-12T22:54:23.921Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4bec72", "alias": "nt_count_primes_v1_784195855_4413", "problem": "Let $c = 3887$, $m = 17$, and $n = 2$. Let $d_0$ be the smallest integer $d \\geq 2$ that divides the largest power of $13$ dividing $c!$. Let $k$ be the largest integer such that $d_0^k$ divides $m^n$. Determine the number of prime numbers $p$ such that $k \\leq p \\leq 10201$. Compute the remainder when $45270$ times this number is divided by $73907$.", "answer": 65278, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3887),\n \"_m\": Const(17),\n \"_n\": Const(2),\n \"upper\": Const(10201),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Pow(Ref(\"_m\"), Ref(\"_n\")), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=MaxKDivides(target=Factorial(Ref(\"_c\")), base=Const(13)))))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(45270), Ref(\"result\")), modulus=Const(73907)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MIN_PRIME_FACTOR/K14"], "recipe_id": "7c5f24", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.239, "created_at": "2026-02-08T07:05:21.799351Z", "verification": {"verified": true, "answer": 65278, "timestamp": "2026-02-08T07:05:22.038293Z"}, "problem_hash": "185933", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "K14": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "DS2": "no", "K16": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "9ec198", "alias": "nt_num_divisors_compute_v1_1874849503_760", "problem": "Compute the number of positive divisors of $97344$.", "answer": 63, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(97344),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MIN_PRIME_FACTOR/K13"], "recipe_id": "4fe8fb", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "K13", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T13:18:14.973550Z", "verification": {"verified": true, "answer": 63, "timestamp": "2026-02-08T13:18:14.992266Z"}, "problem_hash": "432fd5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 63, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 340}, "timestamp": "2026-02-09T20:36:43.011Z"}, {"id": 8, "model": "mathstral", "answer": 60, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 70, "completion_tokens": 385}, "timestamp": "2026-02-11T21:12:53.256Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 63, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 117, "completion_tokens": 373}, "timestamp": "2026-02-11T21:09:31.179Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "K13": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "29b83d", "alias": "nt_count_gcd_equals_v1_898971024_1386", "problem": "Let $d_1$ be the smallest integer greater than or equal to $2$ that divides $5767$. Let $N = 27889$ and $k = 73$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n, k) = d_1$. Let this count be $c$. Compute the remainder when $3^{|c|} + 28657$ is divided by $77885$.", "answer": 26339, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(27889),\n \"k\": Const(73),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(5767))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": Const(28657),\n \"Q\": Mod(value=Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")), modulus=Const(77885)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.95, "created_at": "2026-02-08T16:05:53.010279Z", "verification": {"verified": true, "answer": 26339, "timestamp": "2026-02-08T16:05:55.960138Z"}, "problem_hash": "3f31be", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 440}, "timestamp": "2026-02-12T09:48:09.913Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7da715", "alias": "modular_sum_quadratic_residues_v1_48377204_505", "problem": "Let $p$ be the smallest divisor of $1852904905997$ that is greater than or equal to $2$. Define $r = \\frac{p(p-1)}{4}$. Let $Q$ be the Bell number $B_{|r| \\bmod 11}$. Compute $Q$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1852904905997))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:31:19.336619Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T15:31:19.339609Z"}, "problem_hash": "2bdcaf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 340}, "timestamp": "2026-02-12T08:35:13.546Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K16": "no", "L3c": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a869ab", "alias": "modular_sum_quadratic_residues_v1_124444284_3214", "problem": "Let $p$ be the smallest integer $d$ such that $d \\ge 2$ and $d$ divides $1726786835561$. Define\n\\[\nr = \\left| \\frac{p(p-1)}{4} \\right|,\n\\]\nand let $Q$ be the Bell number $B_k$, where $k$ is the remainder when $r$ is divided by $11$.\n\nCompute $Q$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1726786835561))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.028, "created_at": "2026-02-08T05:17:23.893504Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T05:17:23.921173Z"}, "problem_hash": "c78a14", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 2890}, "timestamp": "2026-02-12T05:54:38.816Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 658}, "timestamp": "2026-02-14T10:42:20.821Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 238}, "timestamp": "2026-02-11T22:23:37.809Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "55525e", "alias": "comb_factorial_compute_v1_655260480_5906", "problem": "Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 12$, and $\\gcd(p, q) = 1$. Let $N$ be the number of elements in $S$. Let $T$ be the set of all prime numbers $n$ such that $n \\geq N$ and\n$$\nn \\leq \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor.\n$$\nLet $n_{\\text{max}}$ be the largest element of $T$. Compute the remainder when $n_{\\text{max}}!$ is divided by $74293$.", "answer": 54313, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n1\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\")))))), IsPrime(Var(\"n1\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(82249),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(74293)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW", "K2/MAX_PRIME_BELOW"], "recipe_id": "d18be9", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T18:44:30.170156Z", "verification": {"verified": true, "answer": 54313, "timestamp": "2026-02-08T18:44:30.173790Z"}, "problem_hash": "6f4e48", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 617}, "timestamp": "2026-02-13T00:27:05.679Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K2": "ok", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K15": "no", "K16": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fddc04", "alias": "diophantine_fbi2_count_v1_809748730_1380", "problem": "Let $ T $ be the set of all positive integers $ t $ such that $ 19 \\leq t \\leq 3802 $ and there exist positive integers $ a $ and $ b $ with $ 1 \\leq a \\leq 360 $, $ 1 \\leq b \\leq 93 $, and $ t = 9a + 6b + 4 $. Let $ k $ be the number of elements in $ T $. Define $ D $ as the set of all positive integers $ d $ such that $ 4 \\leq d \\leq 53 $, $ d $ divides $ k $, and $ \\frac{k}{d} $ is an integer between 4 and 53, inclusive. Find the number of elements in $ D $.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=360)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=93)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=3802)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=4)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(53)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(53))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.137, "created_at": "2026-02-08T12:23:42.237117Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T12:23:42.373820Z"}, "problem_hash": "f4f468", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 426}, "timestamp": "2026-02-12T05:09:20.443Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_PRIMES": "no", "L3b": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "636a1a", "alias": "algebra_poly_eval_v1_1978505735_8162", "problem": "Let $d$ be the smallest divisor of $77$ that is at least $2$. Compute $d \\cdot 10^2 - 6 \\cdot 10 - 6$.", "answer": 634, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(10),\n \"result\": Sum(Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))), Pow(Ref(\"n\"), Ref(\"_n\"))), Mul(Const(-6), Ref(\"n\")), Const(-6)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T20:41:53.247253Z", "verification": {"verified": true, "answer": 634, "timestamp": "2026-02-08T20:41:53.250786Z"}, "problem_hash": "623e5d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 205}, "timestamp": "2026-02-13T01:27:21.952Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K17": "no", "K5": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "4b370f", "alias": "antilemma_v1_legendre_677425708_2076", "problem": "Let $p_1=19$ and let $q$ be the greatest prime number $n$ with $2\\le n\\le 27$. Define\n\\[N=p_1^2\\,(q+1).\n\\]\nLet $v=\\mu(N)^2$, where $\\mu$ is the Möbius function. Let $p=13$ and let\n\\[u\\equiv (p-1)!+1\\pmod p,\\qquad 0\\le u\\text{start},\\quad n\\le \\text{upper},\\quad \\text{and}\\quad \\gcd(n,\\text{modulus})=1.$$\n\nWrite $|r|$ in base $10$, and let $D$ be the number of decimal digits of $|r|$. For each integer $i$ with $0\\le i\\le D-1$, let $d_i$ be the $i$-th decimal digit of $|r|$ (with $d_0$ the units digit, $d_1$ the tens digit, and so on).\n\nDefine\n$$S_1=\\sum_{i=0}^{D-1} d_i\\,(i+1)^2.$$\n\nLet $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 6$, $1\\le b\\le 4$, $38\\le t\\le 143$, and\n$$t=12a+15b+11.$$\nLet $C$ be the number of elements in $T$.\n\nDefine\n$$S_2=\\sum_{k=1}^{C} \\varphi(k)\\left\\lfloor\\frac{24}{k}\\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet\n$$Q=S_1+S_2.$$\n\nCompute $Q$.", "answer": 345, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"start\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(16731989838287))))),\n \"upper\": Const(2319),\n \"modulus\": Const(292),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=38)), Leq(left=Var(name='t'), right=Const(value=143)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=11)))))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(24), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K2", "MIN_PRIME_FACTOR"], "recipe_id": "98a4e4", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.031, "created_at": "2026-02-08T11:30:52.943405Z", "verification": {"verified": true, "answer": 345, "timestamp": "2026-02-08T11:30:52.974622Z"}, "problem_hash": "360e5e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 342, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 411, "completion_tokens": 5307}, "timestamp": "2026-02-14T15:20:53.272Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 496, "completion_tokens": 624}, "timestamp": "2026-02-12T04:13:02.768Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K2": "ok_later", "K16": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "66ac7c", "alias": "modular_inverse_v1_124444284_3353", "problem": "Let $m$ be the smallest divisor of $268903419043409$ that is at least $2$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq 760$ and $224x \\equiv 1 \\pmod{m}$.", "answer": 513, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(224),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(268903419043409))))),\n \"upper\": Const(760),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.054, "created_at": "2026-02-08T05:21:46.959910Z", "verification": {"verified": true, "answer": 513, "timestamp": "2026-02-08T05:21:47.013870Z"}, "problem_hash": "8efef0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 103, "completion_tokens": 8192}, "timestamp": "2026-02-12T07:35:20.860Z"}, {"id": 8, "model": "mathstral", "answer": 391, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 127, "completion_tokens": 859}, "timestamp": "2026-02-14T16:19:40.959Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 387}, "timestamp": "2026-02-11T22:32:04.080Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "L3b": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "ca652b", "alias": "nt_count_digit_sum_v1_2051736721_5347", "problem": "Let $s$ be the smallest divisor of $10051$ that is at least $2$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 310249$ and the sum of the decimal digits of $n$ is equal to $s$.\n\nCompute $N$.", "answer": 15098, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(310249),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(10051))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 10.589, "created_at": "2026-02-08T18:30:30.766417Z", "verification": {"verified": true, "answer": 15098, "timestamp": "2026-02-08T18:30:41.355732Z"}, "problem_hash": "2d7fa1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 461}, "timestamp": "2026-02-13T00:12:55.630Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K17": "no", "K5": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "acfe07", "alias": "comb_bell_compute_v1_1439011603_1105", "problem": "Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $\\gcd(p, q) = 1$, and $pq = 24$. Let $L$ be the number of prime numbers $n$ such that $n \\geq |S|$ and $n \\leq 23$. Compute the Bell number $B_L$, which counts the number of partitions of a set of size $L$. Find the value of $B_L$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T15:54:46.906573Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T15:54:46.911047Z"}, "problem_hash": "200f88", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 370}, "timestamp": "2026-02-12T09:26:42.400Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "K13": "no", "K18": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "34edf8", "alias": "nt_count_with_divisor_count_v1_677425708_2040", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n\\begin{itemize}\n\\item $pq=24$,\n\\item $\\gcd(p,q)=1$, and\n\\item $p A $ such that $ n \\leq B $ and $ \\gcd(n, 15) = 1 $. Compute the remainder when $ 44121 \\times C $ is divided by $ 50074 $. ", "answer": 16147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": MaxKDivides(target=Mul(Const(2392032866531905486790942578809394338145620987608332988883503686824375178865503049616412016019962016447144819201720664620106359620960485637227891297994520232330261783830994590149049944504587400511488), Const(3987527419489428978934891797539519074407964567436787186133619573501046471683744380659059161937985807259468675374073145280737497721642052937815042118700682845870910169347677909227832368695028770450412842403709263345644496696985054600802825392442509910854943490420673962888628144965097175804215761432440180478119397118650550445707581358533929378076799381878425215674358616643302551330255407000153121771310799585481738504362758992372927823872)), base=Const(2)),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(2141)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(4583881))), domain='positive_integers')),\n \"modulus\": Const(15),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(50074)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "C3"], "recipe_id": "127bc1", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "K13"], "num_lemmas": 2, "generation_time": 0.045, "created_at": "2026-02-08T06:41:21.196040Z", "verification": {"verified": true, "answer": 16147, "timestamp": "2026-02-08T06:41:21.241439Z"}, "problem_hash": "ebad5c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "K13": "ok", "COUNT_PRIMES": "no", "K17": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}, "split": "test"} +{"id": "e8e19a", "alias": "comb_count_permutations_fixed_v1_1918700295_4583", "problem": "Let $n$ be the smallest divisor of $1001$ that is greater than or equal to $2$. Compute the value of $\\binom{n}{2} \\cdot !(n-2)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 924, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:28:34.278676Z", "verification": {"verified": true, "answer": 924, "timestamp": "2026-02-08T09:28:34.279987Z"}, "problem_hash": "346d37", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 924, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 105, "completion_tokens": 830}, "timestamp": "2026-02-14T04:27:34.491Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1008, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 396}, "timestamp": "2026-02-12T02:58:39.746Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "L3b": "no", "L3c": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "868f09", "alias": "sequence_fibonacci_compute_v1_151522320_1517", "problem": "Let $n$ be the number of prime numbers between $2$ and $71$, inclusive. Let $F_n$ denote the $n$th Fibonacci number, where $F_0 = 0$, $F_1 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 2$. Let $c$ be the number of positive integers $m$ such that $1 \\leq m \\leq 49662$ and $4$ divides $F_m$. Compute the remainder when $c \\cdot F_n$ is divided by $94411$.", "answer": 8182, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(71)), IsPrime(Var(\"n\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(49662)), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(94411)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "COUNT_PRIMES", "ONE_PHI_1"], "recipe_id": "0735a5", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "COUNT_PRIMES", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:04:36.376774Z", "verification": {"verified": true, "answer": 8182, "timestamp": "2026-02-08T04:04:36.381369Z"}, "problem_hash": "0fd0fe", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "COUNT_PRIMES": "ok", "ONE_PHI_1": "ok", "C2": "no", "K14": "no", "K18": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "split": "test"} +{"id": "c1bc8e", "alias": "nt_sum_divisors_compute_v1_865884756_4981", "problem": "Let $n = 66564$. Define $\\sigma(n)$ to be the sum of all positive divisors of $n$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 14450$. Compute the remainder when $\\sigma(n)^2 + 36\\sigma(n) + c$ is divided by $93649$.", "answer": 10398, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(66564),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(14450))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(36), Ref(\"result\")), Ref(\"_c\")), modulus=Const(93649)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "0a3d6e", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:18:50.236128Z", "verification": {"verified": true, "answer": 10398, "timestamp": "2026-02-08T18:18:50.237688Z"}, "problem_hash": "8ddd1f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 446}, "timestamp": "2026-02-13T00:00:53.290Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "454dac", "alias": "nt_euler_phi_compute_v1_1520064083_3441", "problem": "Let $n = 42436$. Compute $\\varphi(n)$, where $\\varphi$ denotes Euler's totient function. Let $d = \\varphi(n)$, and let $D$ be the number of digits in $|d|$. For each digit index $i$ from $0$ to $D-1$, let $a_i$ be the $i$-th decimal digit of $|d|$ (with $i=0$ being the units digit). Let $b_i = i + 1$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Define $w_i = a_i \\cdot b_i^c$ for each $i$. Let $W = \\sum_{i=0}^{D-1} w_i$. Let $C = \\sum_{d' \\mid 444} \\varphi(d')$. Compute $W \\cdot C$.", "answer": 516, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(444),\n \"n\": Const(42436),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "K3"], "recipe_id": "455674", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K3"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:39:16.571685Z", "verification": {"verified": true, "answer": 516, "timestamp": "2026-02-08T05:39:16.576676Z"}, "problem_hash": "49930e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31968, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 1445}, "timestamp": "2026-02-12T12:46:05.892Z"}, {"id": 8, "model": "mathstral", "answer": 583625, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 1087}, "timestamp": "2026-02-14T21:16:23.363Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 332, "completion_tokens": 695}, "timestamp": "2026-02-11T22:58:54.364Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K3": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f56aaa", "alias": "antilemma_product_of_sums_v1_151522320_590", "problem": "Let $n_1 = 71 \\times 23$. Define $v = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function, equal to $(-1)^{\\Omega(n)}$ with $\\Omega(n)$ the number of prime factors of $n$ counted with multiplicity.\n\nLet $p = 43$, and let $q$ be the number of integers $t$ such that $14 \\leq t \\leq 178$ and there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 15$, $1 \\leq b \\leq 7$, and $t = 10a + 4b$.\n\nDefine $n = p \\times q$ and $e = \\lambda(n)$, and let $\\_n = 7e$.\n\nLet $S_1$ be the sum of all nonnegative integers $j$ such that $j$ is at most the smallest divisor $d \\geq 2$ of $77$, and $\\binom{\\_n}{j}$ is odd.\n\nLet $S_2 = \\sum_{k=1}^{25} k$.\n\nDefine $x = S_1 \\times S_2$, and let $Q$ be the remainder when $40138x$ is divided by $59245v$.\n\nCompute $Q$.", "answer": 10375, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77),\n \"p1\": Const(71),\n \"q1\": Const(23),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Const(43),\n \"q\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=178)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(7), Ref(\"e\")),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Const(25), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Const(40138), Ref(\"x\")), modulus=Mul(Const(59245), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "recipe_id": "493bc8", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:23:12.733533Z", "verification": {"verified": true, "answer": 10375, "timestamp": "2026-02-08T03:23:12.738643Z"}, "problem_hash": "6ff3f3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "PRODUCT_OF_SUMS": "ok", "LIOUVILLE_ONE": "ok_later", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "21b329", "alias": "nt_count_with_divisor_count_v1_784195855_5150", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 17424$ and $n$ has exactly $9$ positive divisors. Let $b$ be the number of positive integers $n$ such that $1 \\leq n \\leq 664$, $8$ divides $n$, and $\\gcd(n, 15) = 1$. Compute $a^2 + b \\cdot a + \\phi(2)$.", "answer": 3401, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(664),\n \"upper\": Const(17424),\n \"div_count\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))), Ref(\"result\")), EulerPhi(n=Const(2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "ONE_PHI_2"], "recipe_id": "3b8618", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 3.63, "created_at": "2026-02-08T07:42:19.539344Z", "verification": {"verified": true, "answer": 3401, "timestamp": "2026-02-08T07:42:23.169601Z"}, "problem_hash": "855cad", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "ONE_PHI_2": "ok", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "2eb949", "alias": "sequence_count_fib_divisible_v1_1470522791_507", "problem": "Let $A$ be the set of all integers $t$ such that $33 \\leq t \\leq 2199$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 171$, $1 \\leq b \\leq 7$, and $t = 12a + 21b$. Let $k$ be the number of elements in $A$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 100$. Define $d$ to be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all positive integers $n$ with $1 \\leq n \\leq k$ such that $d$ divides the $n$-th Fibonacci number. Compute the number of elements in $T$.", "answer": 23, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(100),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=171)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=2199)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\n \"d\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.331, "created_at": "2026-02-08T13:02:38.455206Z", "verification": {"verified": true, "answer": 23, "timestamp": "2026-02-08T13:02:38.785863Z"}, "problem_hash": "944455", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 492}, "timestamp": "2026-02-12T06:04:45.079Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "79fc01", "alias": "sequence_lucas_compute_v1_48377204_2712", "problem": "Let $n$ be the smallest integer greater than or equal to $2$ that divides $10051$. Compute the $n$-th Lucas number. Then, find the remainder when $44121$ times this Lucas number is divided by $94643$. Determine the value of this remainder.", "answer": 33035, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10051))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(94643)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:56:30.828786Z", "verification": {"verified": true, "answer": 33035, "timestamp": "2026-02-08T16:56:30.830190Z"}, "problem_hash": "05eea8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 699}, "timestamp": "2026-02-12T21:28:14.479Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8ac84a", "alias": "nt_sum_divisors_compute_v1_1439011603_24", "problem": "Let $n = 30276$ and let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Let $c$ be the smallest integer greater than or equal to 2 that divides 8452891. Compute the remainder when $c - \\sigma(n)$ is divided by 61356.", "answer": 43470, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(30276),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(8452891))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61356)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:07:53.373489Z", "verification": {"verified": true, "answer": 43470, "timestamp": "2026-02-08T15:07:53.376132Z"}, "problem_hash": "6df1af", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9299, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 469}, "timestamp": "2026-02-12T07:56:26.786Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "K18": "no", "MOD_SUB": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b09519", "alias": "antilemma_v8_lucas_168721529_1646", "problem": "Let $n = 73519$. Let $S$ be the set of all positive integers $x$ and $y$ such that $x + y = 4$. Define $P$ to be the set of all values of $xy$ as $(x, y)$ ranges over $S$. Let $d_{\\text{max}}$ be the maximum value of $\\sum_{d \\mid m} \\mu(d)$, where $m$ ranges over $P$ and $\\mu$ denotes the Möbius function. Let $x$ be the number of nonnegative integers $j$ such that $d_{\\text{max}} \\leq j \\leq 73519$ and $\\binom{73519}{j}$ is odd. Compute $x$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73519),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=4)))), expr=Mul(Var(name='x'), Var(name='y')))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Const(73519)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_SUM/V8", "V8"], "recipe_id": "6ecd96", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_SUM", "V8"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:49:25.336121Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T13:49:25.339812Z"}, "problem_hash": "c4c5da", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 1228}, "timestamp": "2026-02-09T19:48:35.286Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "V8": "ok", "MOBIUS_SUM": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "501979", "alias": "antilemma_coprime_grid_v1_2080023795_107", "problem": "Let $M$ be the maximum value of $xy$ taken over all ordered pairs $(x,y)$ of positive integers satisfying $x+y=6$. Let\n$$h=\\sum_{d\\mid \\gcd(M,14)} \\mu(d),$$\nwhere $\\mu$ is the function defined by $\\mu(d)=0$ if $d$ is divisible by the square of a prime, $\\mu(d)=1$ if $d$ is a product of an even number of distinct primes (including $1$), and $\\mu(d)=-1$ if $d$ is a product of an odd number of distinct primes.\n\nLet $\\varphi(h)$ denote the number of positive integers less than or equal to $h$ that are relatively prime to $h$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 64$ and $1\\le j\\le 92$ such that\n$$\\gcd(i,j)=\\varphi(h).$$\n\nCompute $x$.", "answer": 3617, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=SumOverDivisors(n=GCD(a=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x'), Var(name='y')))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d'))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(64)), right=IntegerRange(start=Const(1), end=Const(92))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME/ONE_PHI_1/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "f6ed63", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T11:33:10.102730Z", "verification": {"verified": true, "answer": 3617, "timestamp": "2026-02-08T11:33:10.105077Z"}, "problem_hash": "0c6c26", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 333, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:44:57.967Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3617, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 329, "completion_tokens": 6482}, "timestamp": "2026-02-10T05:27:15.273Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2880, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 4608}, "timestamp": "2026-02-09T10:06:09.836Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3617, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 3944}, "timestamp": "2026-02-09T20:31:05.147Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "C2": "no", "K5": "no", "MOD_MUL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.39, "mid": 0.81, "hi": 3.59}, "split": "test"} +{"id": "cbf569", "alias": "algebra_quadratic_discriminant_v1_124444284_10172", "problem": "Let $a$ be the smallest divisor of $41503$ that is at least $2$. Let $b$ be the smallest divisor of $143143$ that is at least $2$. Compute $b^2 - 4ac$ where $c = -7$.", "answer": 245, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(41503))))),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"c\": Const(-7),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:51:11.921926Z", "verification": {"verified": true, "answer": 245, "timestamp": "2026-02-08T12:51:11.924566Z"}, "problem_hash": "c31d0d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2052167050, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 320}, "timestamp": "2026-02-12T05:46:05.810Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7c1562", "alias": "antilemma_cartesian_v1_1742523217_4344", "problem": "Let $x$ be the number of ordered pairs $(u,v)$ of integers such that $1 \\le u \\le 10$ and $1 \\le v \\le 23$.\n\nLet $r$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1 + x_2 = 10.$$ \nLet\n$$c = \\binom{5}{r}.$$ \nDefine\n$$Q = x^2 + 4x + c.$$ \n\nCompute $Q$.", "answer": 53821, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"_c\": Binom(n=Const(5), k=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(10)))))),\n \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(4), Ref(\"x\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_N", "COUNT_CARTESIAN"], "recipe_id": "a4ea4c", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ONE_BINOM_N"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:12:48.528339Z", "verification": {"verified": true, "answer": 53821, "timestamp": "2026-02-08T07:12:48.530329Z"}, "problem_hash": "a36fdc", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 53821, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 173, "completion_tokens": 629}, "timestamp": "2026-02-13T08:34:42.038Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 53830, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 331}, "timestamp": "2026-02-12T00:54:09.869Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ONE_BINOM_N": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "778dcb", "alias": "comb_count_partitions_v1_48377204_1718", "problem": "Let $d$ be the smallest divisor of $167462081$ that is at least $2$. Define $r$ to be the number of unordered partitions of $d$ into positive integers. Compute the value of $44121 \\cdot r$ modulo $56981$. Find the remainder when this value is divided by $56981$.", "answer": 5442, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56981),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(167462081))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:19:59.198988Z", "verification": {"verified": true, "answer": 5442, "timestamp": "2026-02-08T16:19:59.200493Z"}, "problem_hash": "e419a7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 341}, "timestamp": "2026-02-12T10:22:05.765Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF_P2": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bf6a0f", "alias": "sequence_count_fib_divisible_v1_717093673_2956", "problem": "Let $d = 17$. Let $u$ be the smallest divisor of $40577833$ that is at least $2$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and the $n$th Fibonacci number is divisible by $17$. Compute $Q = (51687 \\cdot r) \\bmod 87154$.", "answer": 82185, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(40577833))))),\n \"d\": Const(17),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(51687), Ref(\"result\")), modulus=Const(87154)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.041, "created_at": "2026-02-08T17:18:22.916069Z", "verification": {"verified": true, "answer": 82185, "timestamp": "2026-02-08T17:18:22.956618Z"}, "problem_hash": "a8cc8a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 324}, "timestamp": "2026-02-12T22:16:42.725Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K15": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0c8cb0", "alias": "comb_count_permutations_fixed_v1_1439011603_395", "problem": "Let $n$ be the smallest divisor of $537251$ that is at least $2$. Let $k$ be the smallest divisor of $77$ that is at least $2$. Compute $\\binom{n}{k} \\cdot !(n-k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 2970, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_m\")), Divides(divisor=Var(\"d1\"), dividend=Const(77))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:26:14.340009Z", "verification": {"verified": true, "answer": 2970, "timestamp": "2026-02-08T15:26:14.343313Z"}, "problem_hash": "54da90", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 467}, "timestamp": "2026-02-12T08:28:27.710Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b8a481", "alias": "sequence_fibonacci_compute_v1_1520064083_128", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define\n$$\nn = \\sum_{k=\\phi(1)}^{6} \\phi(k) \\left\\lfloor \\frac{\\max\\{e : 5^e \\mid 6^{3125} - 1\\}}{k} \\right\\rfloor.\n$$\nCompute the $n$-th Fibonacci number. (Define $F_0 = 0$, $F_1 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 2$.)", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(6),\n \"n\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxKDivides(target=Sub(Pow(Const(6), Const(3125)), Const(1)), base=Ref(\"_m\")), Var(\"k\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/K2", "ONE_PHI_1"], "recipe_id": "6dbf3c", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LTE_DIFF", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:05:38.228026Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T03:05:38.229693Z"}, "problem_hash": "35e778", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF": "ok", "ONE_PHI_1": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}, "split": "test"} +{"id": "2473a9", "alias": "comb_binomial_compute_v1_1978505735_3247", "problem": "Let $n = 15$ and $k = 8$. Define $\\text{result} = \\binom{n}{k}$. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 400$ and $n_1$ is divisible by $100$. Define $Q$ as the sum of two terms: the first term is $\\sum_{i=0}^{d-1} \\left(\\text{the } i\\text{-th decimal digit of } |\\text{result}|\\right) \\cdot (i+1)^2$, where $d$ is the number of decimal digits of $|\\text{result}|$; the second term is the sum of all elements in $S$. Compute $Q$.", "answer": 1149, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(400),\n \"n\": Const(15),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n1\"), modulus=Const(100)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE"], "recipe_id": "d92c90", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_DIVISIBLE"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T17:31:17.046009Z", "verification": {"verified": true, "answer": 1149, "timestamp": "2026-02-08T17:31:17.049725Z"}, "problem_hash": "658693", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 739, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 376}, "timestamp": "2026-02-12T22:43:56.671Z"}], "solution_status": 0, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0d9111", "alias": "modular_sum_quadratic_residues_v1_48377204_210", "problem": "Let $p$ be the smallest prime divisor of 18584961179. Compute $\\frac{p(p-1)}{4}$.", "answer": 2943, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(18584961179))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:17:50.923511Z", "verification": {"verified": true, "answer": 2943, "timestamp": "2026-02-08T15:17:50.924606Z"}, "problem_hash": "043098", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 241}, "timestamp": "2026-02-12T08:04:05.497Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K13": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bbe959", "alias": "comb_sum_binomial_mod_v1_1520064083_163", "problem": "Compute the remainder when $\\sum_{k=29}^{198} \\binom{210}{k}$ is divided by $10177$.", "answer": 2595, "graph": "graphs = [\n Graph(\n let={\n \"sum\": Summation(var=\"k\", start=Const(29), end=Const(198), expr=Binom(n=Const(210), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10177)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/B3", "LIN_FORM"], "recipe_id": "f5fdc9", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "K2", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.12, "created_at": "2026-02-08T03:06:56.369253Z", "verification": {"verified": true, "answer": 2595, "timestamp": "2026-02-08T03:06:56.489634Z"}, "problem_hash": "6f84de", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:59:14.645Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:49:42.468Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 74, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:32:49.493Z"}, {"id": 8, "model": "mathstral", "answer": 5634, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 91, "completion_tokens": 797}, "timestamp": "2026-02-11T14:41:30.781Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 640}, "timestamp": "2026-02-11T20:18:42.785Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "7defa9", "alias": "nt_gcd_compute_v1_458359167_87", "problem": "Let $n = 1$. Define $c$ to be the number of distinct prime factors of $n$. Let $p$ be the sum of $c$ and the smallest divisor of $12673$ that is at least $2$. Define $v$ to be the total number of prime factors of $p$, counted with multiplicity. Let $a = 29085$ and $b = 54015 \\cdot v$. Compute the greatest common divisor of $a$ and $b$. Determine the value of this GCD.", "answer": 4155, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12673),\n \"n\": Const(1),\n \"c\": SmallOmega(n=Ref(name='n')),\n \"p\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))), Ref(\"c\")),\n \"v\": BigOmega(n=Ref(name='p')),\n \"a\": Const(29085),\n \"b\": Mul(Const(54015), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/OMEGA_ZERO/BIG_OMEGA_ONE"], "recipe_id": "83dbfb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:59:23.733642Z", "verification": {"verified": true, "answer": 4155, "timestamp": "2026-02-08T02:59:23.737629Z"}, "problem_hash": "205aae", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "OMEGA_ZERO": "ok_later", "DS2": "no", "K5": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V1": "no"}, "split": "test"} +{"id": "c9dedc", "alias": "nt_count_phi_equals_v1_971394319_1616", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1700416$. Let $T$ be the set of all positive integers $t$ such that $16 \\leq t \\leq 6696$ and there exist positive integers $a \\leq 387$ and $b \\leq 471$ with $t = 10a + 6b$. Compute the number of positive integers $n \\leq |T|$ for which $\\phi(n) = k$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=387)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=471)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=6696)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1700416)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.233, "created_at": "2026-02-08T13:46:58.881556Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T13:46:59.114307Z"}, "problem_hash": "39c660", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 717}, "timestamp": "2026-02-12T07:25:58.352Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K18": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2783a0", "alias": "nt_count_intersection_v1_784195855_414", "problem": "Let $N = 20000$. Define $A$ to be the number of positive integers $n \\leq N$ such that $9$ divides $n$ and $\\gcd(n, 20) = 1$.\n\nLet $B$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 93$ and $1 \\leq j \\leq 103$. Define\n$$\nc = \\sum_{d \\mid B} \\varphi(d),\n$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $Q$ be the remainder when $c \\cdot A$ is divided by $80456$.\n\nFind the value of $Q$.", "answer": 67851, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80456),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(93)), right=IntegerRange(start=Const(1), end=Const(103)))),\n \"N\": Const(20000),\n \"a\": Const(9),\n \"b\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/K3"], "recipe_id": "b2218c", "seed_template_id": "nt_count_intersection_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K3"], "num_lemmas": 2, "generation_time": 1.399, "created_at": "2026-02-08T04:21:48.299412Z", "verification": {"verified": true, "answer": 67851, "timestamp": "2026-02-08T04:21:49.698142Z"}, "problem_hash": "ab5aea", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 67851, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 1967}, "timestamp": "2026-02-10T16:14:44.886Z"}, {"id": 8, "model": "mathstral", "answer": 79259, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 1196}, "timestamp": "2026-02-13T13:30:55.299Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 553}, "timestamp": "2026-02-11T20:41:29.553Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "a918f3", "alias": "antilemma_product_of_sums_v1_1874849503_908", "problem": "Let $m = 7$ and let $n$ be the largest prime number between $2$ and $3$, inclusive. Let $S_1$ be the sum of all integers $j$ with $0 \\leq j \\leq 7$ such that $\\binom{7}{j} \\equiv 1 \\pmod{n^k}$, where $k$ is the largest integer such that $n^k$ divides $\\binom{170}{68}$. Let $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 4$. Compute $S_1 \\cdot S_2$.", "answer": 12600, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=MaxKDivides(target=Binom(n=Const(170), k=Const(68)), base=Ref(\"_n\"))), Const(1))))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V7", "PRODUCT_OF_SUMS"], "recipe_id": "d0a606", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "V7"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:24:46.278904Z", "verification": {"verified": true, "answer": 12600, "timestamp": "2026-02-08T13:24:46.284026Z"}, "problem_hash": "7cfccc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3150, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 1085}, "timestamp": "2026-02-09T22:31:14.395Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "V7": "ok_later", "C2": "no", "DS2": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "002547", "alias": "nt_count_coprime_and_v1_784195855_3567", "problem": "Let $k_1$ be the smallest integer greater than or equal to 2 that divides 29645. Let $k_2$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 6$. Let $S$ be the set of all integers $n$ with $1 \\leq n \\leq 23231$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Compute $15120$ minus the number of elements in $S$.", "answer": 2730, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(23231),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(29645))))),\n \"k2\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Sub(Const(15120), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "ONE_PHI_1", "B1"], "recipe_id": "e3956d", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 4.449, "created_at": "2026-02-08T06:30:08.408028Z", "verification": {"verified": true, "answer": 2730, "timestamp": "2026-02-08T06:30:12.857489Z"}, "problem_hash": "0871b3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "V3": "no", "V5": "no", "V7": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "6cba66", "alias": "comb_sum_binomial_mod_v1_1918700295_3562", "problem": "Let $A$ be the set of all integers $t$ such that $23 \\leq t \\leq 487$ and $t = 10a + 8b + 5$ for some integers $a, b$ with $1 \\leq a \\leq 25$ and $1 \\leq b \\leq 29$. Let $c = 235$, $m = 56165$, and let $D$ be the set of all positive divisors $d$ of $m$ such that $1 \\leq d \\leq c$. Let $s = \\sum_{d \\in D} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $N = |A|$, the number of elements in $A$. Compute the remainder when $44121 \\times \\sum_{k=13}^{N} \\binom{s}{k}$ is divided by $70501$.", "answer": 23341, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(235),\n \"_m\": Const(56165),\n \"_n\": Const(44121),\n \"sum\": Summation(var=\"k\", start=Const(13), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=29)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=487)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b')), Const(value=5)))))))), expr=Binom(n=SumOverDivisors(n=MaxOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=1)), Leq(left=Var(name='d'), right=Ref(name='_c')), Divides(divisor=Var(name='d'), dividend=Ref(name='_m'))))), var='d', expr=EulerPhi(n=Var(name='d'))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11867)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(70501)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/K3", "LIN_FORM"], "recipe_id": "de8448", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T08:42:21.373426Z", "verification": {"verified": true, "answer": 23341, "timestamp": "2026-02-08T08:42:21.392847Z"}, "problem_hash": "f3128c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 8192}, "timestamp": "2026-02-13T21:13:41.486Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 573}, "timestamp": "2026-02-12T02:09:48.080Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok", "K3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "56289b", "alias": "modular_count_residue_v1_677425708_2255", "problem": "Let $m = 18$ and $r = \\sum_{k=1}^{4} k = 10$. Let $A$ be the set of all positive integers $n \\leq 65536$ such that $n \\equiv r \\pmod{m}$. Let $c$ be the number of elements in $A$. Let $B$ be the set of all real solutions $x$ to the equation $x^2 - 333x - 34528 = 0$. Let $s$ be the sum of all elements in $B$. Compute the remainder when $s - c$ is divided by $82434$.", "answer": 79126, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65536),\n \"m\": Const(18),\n \"r\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Sub(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-333), Var(\"x\")), Const(-34528)), Const(0)))), Ref(\"result\")), modulus=Const(82434)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "SUM_ARITHMETIC"], "recipe_id": "de6db6", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 2.16, "created_at": "2026-02-08T04:52:28.376931Z", "verification": {"verified": true, "answer": 79126, "timestamp": "2026-02-08T04:52:30.536973Z"}, "problem_hash": "3e4617", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 79126, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1199}, "timestamp": "2026-02-11T22:35:26.220Z"}, {"id": 8, "model": "mathstral", "answer": 79126, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 502}, "timestamp": "2026-02-14T04:56:56.689Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 79128, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 569}, "timestamp": "2026-02-11T22:07:22.932Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "VIETA_SUM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "d3588f", "alias": "modular_modexp_compute_v1_1915831931_3468", "problem": "Let $a$ be the smallest divisor of $33075$ that is greater than or equal to $2$. Let $e = 2415$ and $m = 24025$. Let $r$ be the remainder when $a^e$ is divided by $m$. Compute the remainder when $95191 \\cdot r$ is divided by $89305$.", "answer": 76477, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(33075),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"e\": Const(2415),\n \"m\": Const(24025),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(95191),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(89305)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T17:41:33.523896Z", "verification": {"verified": true, "answer": 76477, "timestamp": "2026-02-08T17:41:33.526448Z"}, "problem_hash": "6bd373", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 480}, "timestamp": "2026-02-12T22:55:33.327Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "L3c": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "607026", "alias": "nt_count_phi_equals_v1_1918700295_715", "problem": "Compute the number of positive integers $n$ such that $1 \\leq n \\leq 3969$ and $\\phi(n) = 1680$.", "answer": 25, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(3969),\n \"k\": Const(1680),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "LIN_FORM", "ONE_PHI_2"], "recipe_id": "cb28e9", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.802, "created_at": "2026-02-08T03:24:02.822827Z", "verification": {"verified": true, "answer": 25, "timestamp": "2026-02-08T03:24:03.624375Z"}, "problem_hash": "5fea31", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:13:20.774Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:25:21.595Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 79, "completion_tokens": 7190}, "timestamp": "2026-02-11T11:38:26.788Z"}, {"id": 8, "model": "mathstral", "answer": 24, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 93, "completion_tokens": 832}, "timestamp": "2026-02-12T13:51:32.312Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1680, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 674}, "timestamp": "2026-02-11T20:47:45.307Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ONE_PHI_2": "ok", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "K5": "no", "LTE_DIFF": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "78979d", "alias": "diophantine_fbi2_count_v1_784195855_199", "problem": "Let $m = 103$ and let $p_{\\text{min}}$ be the smallest prime divisor of $12510631423$ that is at least $2$. Let $k = 240$. Define $S$ to be the set of all positive integers $d$ such that $5 \\leq d \\leq p_{\\text{max}}$, where $p_{\\text{max}}$ is the largest prime at most $m$, and such that $d$ divides $k$, $k/d \\geq 5$, and $k/d \\leq p_{\\text{min}}$. Let $c = 65453$. Compute the remainder when $c \\cdot |S|$ is divided by $74206$.", "answer": 43376, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(103),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(12510631423))))),\n \"k\": Const(240),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"_c\": Const(65453),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(74206)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "MAX_PRIME_BELOW/DIVISOR_PARITY", "MOBIUS_COPRIME"], "recipe_id": "3f8bc5", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T03:01:25.863557Z", "verification": {"verified": true, "answer": 43376, "timestamp": "2026-02-08T03:01:25.873519Z"}, "problem_hash": "677bb6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "DIVISOR_PARITY": "ok_later", "LTE_DIFF": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "c73e59", "alias": "nt_sum_divisors_range_v1_865884756_1295", "problem": "Let $n = 102$ and let $u = \\sum_{k=1}^{n} k$. Let $S$ be the set of all positive integers from $1$ to $u$, inclusive. Let $r$ be the sum of the number of positive divisors of each element in $S$.\n\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 142$. Let $c$ be the maximum value of $xy$ as $(x, y)$ ranges over $T$. Compute the remainder when $c - r$ is divided by $59203$.", "answer": 18416, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(102),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(142)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59203)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "SUM_ARITHMETIC"], "recipe_id": "7eb677", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.207, "created_at": "2026-02-08T15:52:14.047693Z", "verification": {"verified": true, "answer": 18416, "timestamp": "2026-02-08T15:52:14.254235Z"}, "problem_hash": "a98c4e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 470}, "timestamp": "2026-02-12T09:33:07.043Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "C2": "no", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f02b24", "alias": "comb_binomial_compute_v1_1470522791_46", "problem": "Let $n = 13$. Let $k$ be the smallest integer such that $k \\geq 2$ and $k$ divides $2695$. Compute the remainder when $44121 \\cdot \\binom{13}{k}$ is divided by $80798$.", "answer": 63531, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(13),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2695))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(80798)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:48:22.832957Z", "verification": {"verified": true, "answer": 63531, "timestamp": "2026-02-08T12:48:22.836307Z"}, "problem_hash": "005e81", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 59772, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 352}, "timestamp": "2026-02-12T05:38:29.224Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K18": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c3b7b7", "alias": "nt_count_divisors_in_range_v1_898971024_1190", "problem": "Let $n = 15120$. Let $b$ be the number of positive integers $n_1$ such that $1 \\le n_1 \\le 8425$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{11}$.\n\nLet $r$ be the number of positive divisors $d$ of $n$ such that $1 \\le d \\le b$.\n\nDetermine the value of $k$, the smallest positive integer such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 68, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(15120),\n \"a\": Const(1),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(8425)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.035, "created_at": "2026-02-08T15:59:02.409448Z", "verification": {"verified": true, "answer": 68, "timestamp": "2026-02-08T15:59:02.444762Z"}, "problem_hash": "075dc0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 479}, "timestamp": "2026-02-12T09:37:41.232Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3b2752", "alias": "antilemma_sum_equals_v1_677425708_634", "problem": "Let $N$ be the number of integers $t$ such that $12 \\leq t \\leq 129$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 9$, $1 \\leq b \\leq 12$, and $t = 5a + 7b$. Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 94$, $1 \\leq j \\leq 94$, and $i + j = N$. Compute $$\\sum_{n=1}^{x} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 439, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=12)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=129)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(94)), right=IntegerRange(start=Const(1), end=Const(94))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(2), k=Const(2)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_BINOM_N"], "recipe_id": "f9469e", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T03:38:05.814740Z", "verification": {"verified": true, "answer": 439, "timestamp": "2026-02-08T03:38:05.834184Z"}, "problem_hash": "e7c9ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:51:54.853Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 439, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 6240}, "timestamp": "2026-02-10T13:55:51.456Z"}, {"id": 8, "model": "mathstral", "answer": 106, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 611}, "timestamp": "2026-02-12T19:31:12.861Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 495}, "timestamp": "2026-02-11T21:03:03.137Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "cce37c", "alias": "nt_count_primes_v1_655260480_5067", "problem": "Let $d_{\\min}$ be the smallest divisor of 150 that is at least 2. Let $S$ be the set of all prime numbers $n$ such that $d_{\\min} \\leq n \\leq 29584$. Compute the number of elements in $S$.", "answer": 3211, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(29584),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(150)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.651, "created_at": "2026-02-08T18:16:09.471172Z", "verification": {"verified": true, "answer": 3211, "timestamp": "2026-02-08T18:16:10.122523Z"}, "problem_hash": "030385", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 221}, "timestamp": "2026-02-12T23:56:32.440Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K18": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1f54c1", "alias": "nt_sum_divisors_compute_v1_2080023795_182", "problem": "Let $n = 51529$. Compute the sum of all positive divisors of $n$.", "answer": 51757, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(51529),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "BIG_OMEGA_ZERO"], "recipe_id": "7b74ca", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ZERO", "DIVISOR_PARITY", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T11:35:16.944499Z", "verification": {"verified": true, "answer": 51757, "timestamp": "2026-02-08T11:35:16.951797Z"}, "problem_hash": "ff18a2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 51757, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 1913}, "timestamp": "2026-02-08T20:50:23.613Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 51757, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 756}, "timestamp": "2026-02-10T06:29:13.401Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 70560, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 77, "completion_tokens": 411}, "timestamp": "2026-02-09T10:57:02.528Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 51757, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 66, "completion_tokens": 1569}, "timestamp": "2026-02-09T21:24:44.445Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 51530, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 134}, "timestamp": "2026-02-12T04:19:33.091Z"}], "solution_status": 1, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "DS2": "no", "K15": "no", "K5": "no", "L3b": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.57}, "split": "test"} +{"id": "93774b", "alias": "nt_count_divisible_and_v1_1520064083_5585", "problem": "Let $m = 35$. Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 34$. Let $M$ be the maximum value of $xy$ over all such pairs. Let $Q$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = M$. Let $s$ be the minimum value of $x + y$ over all pairs in $Q$. Let $d_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq s$, $n$ is even, and $\\gcd(n, m) = 1$. Let $d_2 = 18$. Define $u = 157968$. Let $R$ be the set of all positive integers $n$ such that $1 \\leq n \\leq u$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Let $r$ be the number of elements in $R$. Compute $51984 - r$.", "answer": 47596, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35),\n \"upper\": Const(157968),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(34)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"d2\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(51984),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/C5"], "recipe_id": "4cc6b9", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "C5"], "num_lemmas": 3, "generation_time": 10.591, "created_at": "2026-02-08T07:26:36.689733Z", "verification": {"verified": true, "answer": 47596, "timestamp": "2026-02-08T07:26:47.280878Z"}, "problem_hash": "ee3575", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 47596, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 1122}, "timestamp": "2026-02-13T10:22:46.121Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 560}, "timestamp": "2026-02-12T01:03:56.924Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "C5": "ok_later", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3ae6c5", "alias": "nt_sum_divisors_compute_v1_1742523217_4574", "problem": "Let $n_2$ be the number of positive integers $k$ such that $1 \\leq k \\leq 3024819$ and $441$ divides $k$. Define $e = \\sum_{d \\mid n_2} \\phi(d) - n_2$. Let $a = 15$ and $b = 4$, and define $n_1 = ab + 1$. Let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by $2 + e$. Define $n = 80000$ and let $\\sigma(n)$ be the sum of all positive divisors of $n$. Compute the remainder when $26593 \\cdot \\sigma(n)$ is divided by $65635 + s$.", "answer": 40765, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(3024819)), Divides(divisor=Const(441), dividend=Var(\"k\"))), domain='positive_integers')),\n \"e\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"a\": Const(15),\n \"b\": Const(4),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Sum(Ref(\"_n\"), Ref(\"e\"))),\n \"n\": Const(80000),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Const(26593),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(65635), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/EULER_TOTIENT_SUM", "DIVISOR_PARITY"], "recipe_id": "42b2f3", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["C2", "DIVISOR_PARITY", "EULER_TOTIENT_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T08:58:23.474977Z", "verification": {"verified": true, "answer": 40765, "timestamp": "2026-02-08T08:58:23.479647Z"}, "problem_hash": "f1b581", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "DIVISOR_PARITY": "ok", "EULER_TOTIENT_SUM": "ok_later", "K16": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V3": "no"}, "split": "test"} +{"id": "d6d6c5", "alias": "nt_sum_divisors_range_v1_1742523217_1761", "problem": "Let $n$ be a positive integer. Define $A$ as the set of all positive integers $n$ such that $1 \\le n \\le 13689$. Let $S$ be the sum of the number of positive divisors of each element in $A$. Let $B$ be the set of all positive integers $n$ such that $1 \\le n \\le 3$ and $\\gcd(n, 10) = 1$. Let $C$ be the set of all integers $t$ such that $16 \\le t \\le 58$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 4$, $1 \\le b \\le 4$, and $t = 8a + 6b + 2$. Let $m$ be the number of elements in $B$, and let $k$ be the number of elements in $C$. Compute the remainder when $S + m^{(S \\bmod k)}$ is divided by $53461$.", "answer": 33779, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53461),\n \"upper\": Const(13689),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(3)), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=58)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=2)))))))))), modulus=Ref(\"_n\"))), modulus=Const(53461)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "C4"], "recipe_id": "2e0003", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.468, "created_at": "2026-02-08T04:12:57.343209Z", "verification": {"verified": true, "answer": 33779, "timestamp": "2026-02-08T04:12:57.811217Z"}, "problem_hash": "a86960", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 330, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:44:34.338Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 330, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:51:46.703Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27601, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 4685}, "timestamp": "2026-02-11T22:57:09.213Z"}, {"id": 8, "model": "mathstral", "answer": 4709, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 601}, "timestamp": "2026-02-13T10:56:20.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 568}, "timestamp": "2026-02-11T21:25:17.940Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "DS2": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "886f68", "alias": "modular_modexp_compute_v1_784195855_7650", "problem": "Let $a$ be the smallest prime divisor of 2674471. Compute $a^{961} \\bmod 70756$, and denote this value by $r$. Find the remainder when $17 - r$ is divided by 95996.", "answer": 66716, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2674471))))),\n \"e\": Const(961),\n \"m\": Const(70756),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(17),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95996)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T09:26:01.375393Z", "verification": {"verified": true, "answer": 66716, "timestamp": "2026-02-08T09:26:01.377919Z"}, "problem_hash": "0c2592", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 81720, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 99, "completion_tokens": 3127}, "timestamp": "2026-02-14T03:52:29.057Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 367}, "timestamp": "2026-02-12T02:54:01.438Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "022518", "alias": "geo_count_lattice_rect_v1_717093673_3062", "problem": "Compute the number of lattice points in the rectangle $[0, 30] \\times [0, 64]$, including the boundary.", "answer": 2015, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(30),\n \"b\": Const(64),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T17:21:15.378654Z", "verification": {"verified": true, "answer": 2015, "timestamp": "2026-02-08T17:21:15.379674Z"}, "problem_hash": "cf5dd5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2015, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 206}, "timestamp": "2026-02-12T22:22:37.855Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "1f0fea", "alias": "nt_count_phi_equals_v1_717093673_8", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 2024$ and $\\phi(n) = 512$, where $\\phi$ denotes Euler's totient function. Let $r$ be the number of such integers $n$. Compute\n$$\n\\sum_{k=1}^{r} \\phi(k).\n$$", "answer": 32, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(2024),\n \"k\": Const(512),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.417, "created_at": "2026-02-08T15:08:42.491002Z", "verification": {"verified": true, "answer": 32, "timestamp": "2026-02-08T15:08:44.908227Z"}, "problem_hash": "4b24fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 575}, "timestamp": "2026-02-12T07:51:33.669Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "66f046", "alias": "diophantine_fbi2_count_v1_168721529_1043", "problem": "Let $n = 64$. Define $w = \\sum_{d \\mid n} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $k = 360$. Consider the set of all positive integers $d$ such that $d \\geq 6$, $d \\leq v$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 203$, where $v$ is the largest integer such that $11^v$ divides $161051^{41}$. Let $r$ be the number of elements in this set. Compute the remainder when $(44121 + w) \\cdot r$ is divided by $98039$.", "answer": 19663, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Const(64),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"k\": Const(360),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), MaxKDivides(target=Pow(Const(161051), Const(41)), base=Const(11))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(203))))),\n \"Q\": Mod(value=Mul(Sum(Const(44121), Ref(\"w\")), Ref(\"result\")), modulus=Const(98039)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "MOBIUS_SUM", "K14"], "recipe_id": "126ed1", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.032, "created_at": "2026-02-08T13:26:00.788381Z", "verification": {"verified": true, "answer": 19663, "timestamp": "2026-02-08T13:26:00.820776Z"}, "problem_hash": "f81da2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 19663, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 2188}, "timestamp": "2026-02-09T12:55:22.949Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 40269, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 568}, "timestamp": "2026-02-10T01:08:13.659Z"}], "solution_status": 1, "lemma_applicability": {"K14": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "test"} +{"id": "bdbb09", "alias": "algebra_quadratic_discriminant_v1_898971024_1801", "problem": "Let $m = 4$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = 3$ and $b = 9$. Let $S$ be the set of all real solutions to the equation $x^2 - 3x - 1638 = 0$, and let $s$ be the sum of all elements of $S$. Define $c = \\sum_{k=1}^{s} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Compute $10821 \\left( b^n - m \\cdot a \\cdot c \\right)$.", "answer": 97389, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(3),\n \"b\": Const(9),\n \"c\": Summation(var=\"k\", start=Const(1), end=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-3), Var(\"x\")), Const(-1638)), Const(0)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Ref(\"_m\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mul(Const(10821), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/VIETA_SUM", "VIETA_SUM/K2"], "recipe_id": "719534", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.041, "created_at": "2026-02-08T16:21:48.392467Z", "verification": {"verified": true, "answer": 97389, "timestamp": "2026-02-08T16:21:48.433146Z"}, "problem_hash": "290442", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": -680463, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 562}, "timestamp": "2026-02-12T10:26:52.408Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "VIETA_SUM": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fbf062", "alias": "nt_num_divisors_compute_v1_784195855_1224", "problem": "Let $n = 48$. Determine the value of the number of positive divisors of $n$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(48),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["SUM_ARITHMETIC/COUNT_FIB_DIVISIBLE"], "recipe_id": "a53b1f", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 3.442, "created_at": "2026-02-08T04:54:32.668436Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T04:54:36.110469Z"}, "problem_hash": "cf1b16", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 77, "completion_tokens": 153}, "timestamp": "2026-02-11T22:05:06.840Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 171}, "timestamp": "2026-02-11T22:04:50.155Z"}], "solution_status": 2, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K18": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "841e02", "alias": "comb_count_permutations_fixed_v1_677425708_3639", "problem": "Let $n = 8$ and $k = 1$. Define $x = \\binom{n}{k} \\cdot !\\!(n - k)$, where $!\\!m$ denotes the number of derangements of $m$ elements. Let $S$ be the set of all positive integers $k$ such that $1 \\le k \\le 66$ and $k$ is divisible by $\\sum_{k=1}^{3} k$. Compute the Bell number $B_{|x| \\bmod |S|}$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66),\n \"n\": Const(8),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")), dividend=Var(\"k\"))), domain='positive_integers')))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/C2"], "recipe_id": "84b7a5", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:51:53.899690Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T05:51:53.902202Z"}, "problem_hash": "8aaeea", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 956}, "timestamp": "2026-02-12T15:52:47.597Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 422}, "timestamp": "2026-02-11T23:15:19.178Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "C2": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "e84d06", "alias": "sequence_count_fib_divisible_v1_1918700295_4251", "problem": "Let $d = 6$. Let $N$ be the smallest integer greater than or equal to 2 that divides $90162742433$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $d$ divides the $n$-th Fibonacci number. Compute the remainder when $44121$ multiplied by the number of elements in $S$ is divided by $64216$.", "answer": 58965, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(90162742433))))),\n \"d\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(64216)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.047, "created_at": "2026-02-08T09:15:41.884396Z", "verification": {"verified": true, "answer": 58965, "timestamp": "2026-02-08T09:15:41.931221Z"}, "problem_hash": "2c94e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 51589, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 6269}, "timestamp": "2026-02-14T02:19:16.660Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 374}, "timestamp": "2026-02-12T02:43:27.312Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "20df17", "alias": "nt_count_divisors_in_range_v1_1520064083_10323", "problem": "Let $a$ be the number of positive integers $k$ between $1$ and $12276$ inclusive that are divisible by $99$. Let $b$ be the sum of all real solutions $x$ to the equation $x^2 - 6307x - 94830 = 0$. Let $n = 277200$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 101, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12276),\n \"_n\": Const(2),\n \"n\": Const(277200),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(99), dividend=Var(\"k\"))), domain='positive_integers')),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-6307), Var(\"x\")), Const(-94830)), Const(0)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["VIETA_SUM", "C2"], "recipe_id": "c31a39", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.337, "created_at": "2026-02-08T11:21:16.114340Z", "verification": {"verified": true, "answer": 101, "timestamp": "2026-02-08T11:21:16.451756Z"}, "problem_hash": "56ff4e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 101, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 2969}, "timestamp": "2026-02-14T12:06:43.406Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 542}, "timestamp": "2026-02-12T03:51:26.595Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "VIETA_SUM": "ok", "COUNT_INTEGER_RANGE": "no", "K15": "no", "L3b": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "02a89b", "alias": "nt_count_coprime_and_v1_124444284_7236", "problem": "Let $n = 11011$ and let $k_1$ be the smallest divisor of $n$ that is greater than or equal to 2. Let $k_2 = 9$. Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 44600$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the number of elements in $S$.", "answer": 25486, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11011),\n \"upper\": Const(44600),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.988, "created_at": "2026-02-08T08:57:43.859905Z", "verification": {"verified": true, "answer": 25486, "timestamp": "2026-02-08T08:57:48.848259Z"}, "problem_hash": "cac354", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25497, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 829}, "timestamp": "2026-02-13T22:31:39.626Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 515}, "timestamp": "2026-02-12T02:18:52.858Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "7ce648", "alias": "algebra_poly_eval_v1_1470522791_1772", "problem": "Let $z$ be the smallest integer $d \\geq 2$ that divides $7429$. Define $r = 9z^2 + 5z + 9$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 420, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"z\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7429))))),\n \"result\": Sum(Mul(Const(9), Pow(Ref(\"z\"), Const(2))), Mul(Const(5), Ref(\"z\")), Const(9)),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:57:45.067984Z", "verification": {"verified": true, "answer": 420, "timestamp": "2026-02-08T13:57:45.070735Z"}, "problem_hash": "d23601", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 541}, "timestamp": "2026-02-12T07:36:33.137Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K14": "no", "L3c": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dfe380", "alias": "diophantine_product_count_v1_1978505735_5781", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ of integers such that $1 \\le i \\le 4$, $1 \\le j \\le 180$, and $\\gcd(i, j) = 1$.\n\nLet $u$ be the number of positive integers $t$ such that $9 \\le t \\le 60$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 6$, $1 \\le b \\le 9$, and $t = 7a + 2b$.\n\nLet $S$ be the set of all positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$.\n\nCompute the number of elements in $S$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(180))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=60)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T19:13:10.217480Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T19:13:10.223376Z"}, "problem_hash": "aae8f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 425}, "timestamp": "2026-02-13T00:52:51.026Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f79e5c", "alias": "nt_count_coprime_v1_865884756_7211", "problem": "Let $n$ be a positive integer. Define $\\text{result}$ to be the number of positive integers $n \\leq 15376$ such that $\\gcd(n, 38) = 1$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 114$. Define $c$ to be the maximum value of $xy$ over all such pairs. Compute the remainder when $c - \\text{result}$ is divided by $92842$.", "answer": 88808, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(15376),\n \"k\": Const(38),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(114)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92842)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_coprime_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 1.117, "created_at": "2026-02-08T19:40:45.448661Z", "verification": {"verified": true, "answer": 88808, "timestamp": "2026-02-08T19:40:46.566084Z"}, "problem_hash": "26cecb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 81119, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 729}, "timestamp": "2026-02-13T01:08:19.410Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9c2131", "alias": "geo_visible_lattice_v1_971394319_1394", "problem": "Let $n = 60$. Define a visible lattice point as an ordered pair $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Let $r$ be the number of visible lattice points. Compute the remainder when $44121 \\cdot r$ is divided by $85454$.", "answer": 37365, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(60),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(85454)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.481, "created_at": "2026-02-08T13:39:58.962533Z", "verification": {"verified": true, "answer": 37365, "timestamp": "2026-02-08T13:39:59.443473Z"}, "problem_hash": "cc954f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 512}, "timestamp": "2026-02-12T07:15:25.697Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "acba12", "alias": "comb_factorial_compute_v1_1353956133_435", "problem": "Let $m = 16$. Define $n_0$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 16$. Let $n$ be the sum of all positive integers $k$ with $1 \\leq k \\leq s$ such that $k$ is divisible by $n_0$, where $s$ is the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 330750$ and $\\gcd(p, q) = 1$. Compute $n!$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=330750)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_DIVISIBLE", "B3/SUM_DIVISIBLE"], "recipe_id": "974b16", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:27:01.668887Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T11:27:01.672435Z"}, "problem_hash": "8e04bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 1463}, "timestamp": "2026-02-14T14:44:33.660Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 446}, "timestamp": "2026-02-12T04:08:13.426Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "K16": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "8d64a0", "alias": "algebra_vieta_sum_v1_655260480_5519", "problem": "Let $n = 2$. Consider the set of all positive integers $x$ such that\n$$\nx^{\\min\\left\\{d \\geq n : d \\mid 105\\right\\}} - 7x - 6 = 0.\n$$\nCompute the product of all elements in this set.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=Const(value=105)))))), Mul(Const(value=-7), Var(name='x')), Const(value=-6)), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.051, "created_at": "2026-02-08T18:32:41.959728Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T18:32:42.011109Z"}, "problem_hash": "0abf18", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 459}, "timestamp": "2026-02-13T00:12:03.740Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1d6a0c", "alias": "modular_product_range_v1_784195855_700", "problem": "Let $k$ be the largest integer such that $2^k$ divides $30!$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = k$. Define $T$ to be the set of all values $xy$ where $(x,y) \\in S$. Let $m$ be the maximum element of $T$.\n\nLet $r_1$ and $r_2$ be the roots of the quadratic equation $x^2 - 634x + 41440 = 0$. Compute the sum of all integers $x$ such that $x$ is between $m$ and $r_1 + r_2$ inclusive. Let $P$ be the product of all integers from $m$ to this sum, inclusive. Let $R$ be the remainder when $P$ is divided by $10067$.\n\nFind the value of $R$.", "answer": 7485, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10067),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MaxKDivides(target=Factorial(Const(30)), base=Const(2))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-634), Var(\"x\")), Const(41440)), Const(0))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/B1/VIETA_SUM"], "recipe_id": "43d9a5", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "V1", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:33:53.158627Z", "verification": {"verified": true, "answer": 7485, "timestamp": "2026-02-08T04:33:53.163888Z"}, "problem_hash": "22ad68", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "B1": "ok_later", "VIETA_SUM": "ok_later", "K5": "same_pattern_wrong", "K13": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "2df8c8", "alias": "algebra_poly_eval_v1_784195855_10247", "problem": "Let $n$ be the number of positive integers $k \\leq 33$ such that the sum of the decimal digits of $k$ is even. Let $d$ be the smallest integer greater than or equal to $2$ that divides $11011$. Define $\\alpha = n^3 - 6n^2 - 5n + d$. Compute the remainder when $\\sum_{k=1}^{|\\alpha|} \\phi(k)$ is divided by $83842$, where $\\phi$ denotes Euler's totient function.", "answer": 36226, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(33),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": Sum(Pow(Ref(\"n\"), Const(3)), Mul(Const(-6), Pow(Ref(\"n\"), Ref(\"_m\"))), Mul(Const(-5), Ref(\"n\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11011)))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(83842)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "L3B"], "recipe_id": "50af68", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.143, "created_at": "2026-02-08T17:31:44.622492Z", "verification": {"verified": true, "answer": 36226, "timestamp": "2026-02-08T17:31:44.765549Z"}, "problem_hash": "8d7f9a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 409}, "timestamp": "2026-02-12T22:41:30.083Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e75123", "alias": "nt_count_with_divisor_count_v1_349078426_432", "problem": "Let $u$ be the smallest divisor of $279853891561$ that is at least $2$. Let $r$ be the number of positive integers at most $u$ that have exactly $16$ positive divisors. Compute the remainder when $$353702 \\cdot (r \\bmod 97) + 329703 \\cdot (r^2 + 1 \\bmod 101) + 215534 \\cdot (r + 16 \\bmod 103)$$ is divided by $1009091$, and then compute the remainder when that result is divided by $72436$.", "answer": 39263, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(279853891561))))),\n \"div_count\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(16)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(72436)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.271, "created_at": "2026-02-08T13:02:47.710703Z", "verification": {"verified": true, "answer": 39263, "timestamp": "2026-02-08T13:02:47.982105Z"}, "problem_hash": "f0e953", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 570}, "timestamp": "2026-02-12T06:09:10.782Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dc518f", "alias": "nt_sum_divisors_range_v1_1125832087_1779", "problem": "Let $U$ be the number of nonnegative integers $j$ such that all of the following conditions hold:\n\\begin{itemize}\n \\item $j \\le 79839$.\n \\item $j \\ge \\displaystyle\\sum_{k=0}^{N} (-1)^k \\binom{M}{k}$.\n \\item $\\binom{79839}{j} \\equiv 1 \\pmod{2}$.\n\\end{itemize}\nHere $N$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\begin{itemize}\n \\item $1 \\le a \\le 4$,\n \\item $1 \\le b \\le 2$,\n \\item $5 \\le t \\le 14$,\n \\item $t = 2a + 3b$,\n\\end{itemize}\nand $M$ is the number of ordered pairs $(x_1,x_2)$ of positive integers such that\n\\begin{itemize}\n \\item $x_1$ and $x_2$ are both odd,\n \\item $x_1 + x_2 = 16$.\n\\end{itemize}\n\nLet $Q$ be the sum of $d(n)$ over all integers $n$ satisfying\n\\begin{itemize}\n \\item $\\binom{13}{0} \\le n \\le U$,\n\\end{itemize}\nwhere $d(n)$ denotes the number of positive divisors of $n$.\n\nCompute $Q$. ", "answer": 75108, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(79839),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Summation(var=\"k\", start=Const(0), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=14)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(16))))), k=Var(\"k\"))))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(79839), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Binom(n=Const(13), k=Const(0))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["LIN_FORM/BINOMIAL_ALTERNATING/V8", "COMB1/BINOMIAL_ALTERNATING/V8", "ONE_BINOM_0"], "recipe_id": "bb6418", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "LIN_FORM", "ONE_BINOM_0", "ONE_PHI_1", "V8"], "num_lemmas": 6, "generation_time": 1.096, "created_at": "2026-02-08T03:56:37.315569Z", "verification": {"verified": true, "answer": 75108, "timestamp": "2026-02-08T03:56:38.411717Z"}, "problem_hash": "63e82e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 450, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:22:27.826Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 75108, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 450, "completion_tokens": 6120}, "timestamp": "2026-02-10T14:51:49.290Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 413, "completion_tokens": 569}, "timestamp": "2026-02-13T03:32:27.149Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 450, "completion_tokens": 638}, "timestamp": "2026-02-11T21:16:09.544Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "ONE_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "V8": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "9a2a57", "alias": "nt_count_squarefree_v1_151522320_1598", "problem": "Let $p$ be the number of integers $n$ with $1\\le n\\le 1230$ such that the $n$th Fibonacci number is divisible by $20$.\n\nLet $v$ be the value of $\\lambda(p^2)$, where $\\lambda$ is the Liouville function. Let $m=841$. Among all ordered pairs $(x,y)$ of positive integers satisfying $xy=m$, let $t$ be the product of $v$ and the minimum possible value of $x+y$.\n\nLet $N=t^2$. Let $w$ be the remainder when the number of positive divisors of $N$ is divided by the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=216,\\quad (p,q)=1,\\quad p p$ such that $pq = 2250$ and $\\gcd(p, q) = 1$. Define $s = \\sum_{k=1}^{n} \\phi(k) \\cdot \\left\\lfloor \\frac{4}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $r = 2^s$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1669264$. Let $m$ be the minimum value of $x + y$ over all pairs $(x, y) \\in T$. Compute $m - r$.", "answer": 1560, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"n\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=2250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1669264)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "COPRIME_PAIRS/K2"], "recipe_id": "046c4e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K2"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:47:54.409145Z", "verification": {"verified": true, "answer": 1560, "timestamp": "2026-02-08T03:47:54.414034Z"}, "problem_hash": "ec3fa1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1560, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 1537}, "timestamp": "2026-02-10T15:57:17.145Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1560, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 1893}, "timestamp": "2026-02-10T14:34:42.838Z"}, {"id": 8, "model": "mathstral", "answer": 805, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 1056}, "timestamp": "2026-02-13T01:27:52.320Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 666}, "timestamp": "2026-02-11T20:13:22.469Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "K2": "ok_later", "K13": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "a78777", "alias": "nt_sum_gcd_range_mod_v1_238844314_325", "problem": "Let $k = 288$. Define $$ s = \\frac{5 \\cdot \\sum_{n=1}^{3249} \\sum_{j=1}^{2} \\gcd(n, k)}{\\sum_{k=1}^{4} k}. $$ Let $r$ be the remainder when $s$ is divided by $10429$. Compute the remainder when $44121 \\cdot r$ is divided by $90997$.", "answer": 34479, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"k\": Const(288),\n \"M\": Const(10429),\n \"sum\": Div(Mul(Const(5), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"n\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3249)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))))), Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(90997)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_INDEPENDENT"], "recipe_id": "f59904", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 2, "generation_time": 0.289, "created_at": "2026-02-08T13:15:35.896727Z", "verification": {"verified": true, "answer": 34479, "timestamp": "2026-02-08T13:15:36.185559Z"}, "problem_hash": "e2a84a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 384}, "timestamp": "2026-02-12T06:33:58.716Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7e3b5f", "alias": "diophantine_product_count_v1_124444284_7107", "problem": "Let $r$ be the number of positive integers $x$ such that $1 \\leq x \\leq 176$, $x$ divides 180, and $\\frac{180}{x} \\leq 176$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 34$. Compute $c - r$.", "answer": 273, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"upper\": Const(176),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(34)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "diophantine_product_count_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T08:51:14.149594Z", "verification": {"verified": true, "answer": 273, "timestamp": "2026-02-08T08:51:14.162533Z"}, "problem_hash": "068403", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 273, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 131, "completion_tokens": 1039}, "timestamp": "2026-02-13T22:10:59.205Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 278, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 371}, "timestamp": "2026-02-12T02:16:46.687Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "no", "K15": "no", "K18": "no", "L3c": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "fceff1", "alias": "comb_count_partitions_v1_458359167_4495", "problem": "Let $m=10530$. Let $p$ range over the positive integers for which there exists a positive integer $q$ such that\n\\[pq=18,\\quad \\gcd(p,q)=1,\\quad p 0$, or $1$ if $D = 0$. Determine the value of this result.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=88045650)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"a\": Const(-1),\n \"b\": Const(-16),\n \"c\": Const(-64),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/COUNT_FIB_DIVISIBLE/COPRIME_PAIRS"], "recipe_id": "02cb16", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.058, "created_at": "2026-02-08T16:35:43.019274Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T16:35:43.076824Z"}, "problem_hash": "d0c8d3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 366, "completion_tokens": 504}, "timestamp": "2026-02-12T11:02:45.249Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5cc773", "alias": "nt_count_gcd_equals_v1_784195855_1781", "problem": "Let $n$ be a positive integer. Define $S$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 6561$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the minimum element of $T$. Let $k$ be the sum\n$$\n\\sum_{j=1}^{N} \\phi(j) \\left\\lfloor \\frac{27}{j} \\right\\rfloor,\n$$\nwhere $N$ is the number of positive integers $n \\leq m$ for which the $n$th Fibonacci number is divisible by 4, and $\\phi$ denotes Euler's totient function. Compute the number of positive integers $n \\leq 27720$ such that $\\gcd(n, k) = 2$.", "answer": 7920, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(27),\n \"upper\": Const(27720),\n \"k\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6561)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"d\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE/K2"], "recipe_id": "ee12ee", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "K2"], "num_lemmas": 3, "generation_time": 2.678, "created_at": "2026-02-08T05:18:32.899978Z", "verification": {"verified": true, "answer": 7920, "timestamp": "2026-02-08T05:18:35.578172Z"}, "problem_hash": "63a8d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7920, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 1997}, "timestamp": "2026-02-12T06:16:51.090Z"}, {"id": 8, "model": "mathstral", "answer": 6930, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 829}, "timestamp": "2026-02-14T11:25:43.290Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 601}, "timestamp": "2026-02-11T22:25:36.554Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K2": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "021d26", "alias": "diophantine_fbi2_count_v1_1978505735_4921", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 396900$. Let $\\text{result}$ be the number of positive integers $d$ such that $5 \\le d \\le 74$, $d$ divides $k$, and $3 \\le \\frac{k}{d} \\le 72$. Compute the remainder when $64145 \\cdot \\text{result}$ is divided by $56209$.", "answer": 39023, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(56209),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(396900)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Const(74)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(72))))),\n \"Q\": Mod(value=Mul(Const(64145), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T18:37:58.287828Z", "verification": {"verified": true, "answer": 39023, "timestamp": "2026-02-08T18:37:58.299035Z"}, "problem_hash": "c9cb01", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 555}, "timestamp": "2026-02-13T00:24:22.793Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "108a06", "alias": "nt_count_with_divisor_count_v1_1353956133_709", "problem": "Let $\\text{d}(n)$ denote the number of positive divisors of the positive integer $n$. Let $\\text{result}$ be the number of integers $n$ with $1\\le n\\le 32400$ and $\\text{d}(n)=16$.\n\nLet $c=25$.\n\nLet $P$ be the smallest integer $d\\ge 2$ such that $d$ divides $91162698911$. Let $q$ be the number of integers $n$ with $2\\le n\\le P$ such that $n$ is prime.\n\nLet $r$ be the largest integer $n$ with $2\\le n\\le 103$ such that $n$ is prime.\n\nDefine\n\\[\nX = 353702\\cdot\\bigl(|\\text{result}|\\bmod 97\\bigr),\n\\]\n\\[\nY = 329703\\cdot\\left(\\bigl(|\\text{result}|^2+1\\bigr) \\bmod q\\right),\n\\]\n\\[\nZ = 215534\\cdot\\bigl(|\\text{result}|+c\\bigr)\\bmod r.\n\\]\n\nLet\n$$Q \\equiv X+Y+Z \\pmod{1009091},$$\nwhere $0\\le Q<1009091$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 84829, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"upper\": Const(32400),\n \"div_count\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": Const(25),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(91162698911)))))), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(103)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "MAX_PRIME_BELOW"], "recipe_id": "67ee9f", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 1.385, "created_at": "2026-02-08T11:48:15.485129Z", "verification": {"verified": true, "answer": 84829, "timestamp": "2026-02-08T11:48:16.870192Z"}, "problem_hash": "1bcbf4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20013, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 325, "completion_tokens": 5346}, "timestamp": "2026-02-14T19:02:36.027Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 434, "completion_tokens": 621}, "timestamp": "2026-02-12T04:36:22.771Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "K18": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "3d8d2e", "alias": "diophantine_fbi2_count_v1_153355830_1340", "problem": "Let $k = 480$. \n\nCompute the number of integers $d$ such that $3 \\leq d \\leq 102$, $d$ divides $480$, and $5 \\leq \\frac{480}{d} \\leq 104$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(480),\n \"a\": Const(2),\n \"b\": Const(4),\n \"upper\": Const(100),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(102)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(104))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K14", "V5"], "recipe_id": "f8d311", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["K14", "K2", "V5"], "num_lemmas": 3, "generation_time": 0.064, "created_at": "2026-02-08T06:19:28.988588Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T06:19:29.052351Z"}, "problem_hash": "6e8b9a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 99, "completion_tokens": 1433}, "timestamp": "2026-02-12T23:02:48.860Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 342}, "timestamp": "2026-02-11T23:56:48.005Z"}], "solution_status": 1, "lemma_applicability": {"K14": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "232b5f", "alias": "nt_count_with_divisor_count_v1_1742523217_4796", "problem": "Let $n$ be a positive integer such that $n \\leq 55225$ and the number of positive divisors of $n$ is equal to $\\sum_{k=1}^{3} k$. Additionally, suppose that $n$ is equal to Euler's totient function $\\phi(m)$, where $m$ is the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 36$, $\\gcd(p, q) = 1$, and $p < q$. Determine the number of such integers $n$.", "answer": 3345, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": Const(55225),\n \"div_count\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "SUM_ARITHMETIC"], "recipe_id": "117b4e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 2.284, "created_at": "2026-02-08T09:08:11.181630Z", "verification": {"verified": true, "answer": 3345, "timestamp": "2026-02-08T09:08:13.465246Z"}, "problem_hash": "ffbd6d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "ONE_PHI_2": "ok_later", "DS2": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "split": "test"} +{"id": "f46ca2", "alias": "diophantine_fbi2_count_v1_124444284_8735", "problem": "Let $m = 75$ and $n = 6$. Let $k$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 72$ such that $\\gcd(i, j) = 1$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1369$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$, and let $u$ be the minimum value in $T$. Let $D$ be the set of all positive integers $d$ such that $5 \\leq d \\leq u$, $d$ divides $k$, and $6 \\leq \\frac{k}{d} \\leq 75$. Let $Q = \\sum_{i=1}^{|D|} \\tau(i)$, where $\\tau(i)$ denotes the number of positive divisors of $i$. Compute $Q$.", "answer": 41, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(75),\n \"_n\": Const(6),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(72))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1369)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\"))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.046, "created_at": "2026-02-08T11:52:58.980089Z", "verification": {"verified": true, "answer": 41, "timestamp": "2026-02-08T11:52:59.026140Z"}, "problem_hash": "84368e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 2337}, "timestamp": "2026-02-14T20:14:52.086Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 329, "completion_tokens": 533}, "timestamp": "2026-02-12T04:44:21.235Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "no", "K13": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "7dc567", "alias": "antilemma_count_primes_v1_677425708_2410", "problem": "Let $p=41$ and $q=19$, and let $n_1=p^2q$. Let $c=\\mu(n_1)^2$, where $\\mu$ is the Möbius function, and let $n=8+c$. Define $h=\\lambda(n)+1$, where $\\lambda$ is the Liouville function.\n\nLet $M$ be the largest prime number between $2$ and $3220$, inclusive. Let $N$ be the largest prime number between $2$ and $M$, inclusive. Let $x$ be the number of prime numbers between $2$ and $N$, inclusive.\n\nLet $Q$ be the remainder when $(44121+h)x$ is divided by $66536$.\n\nFind the value of $Q$.", "answer": 47719, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66536),\n \"_n\": Const(2),\n \"p\": Const(41),\n \"q\": Const(19),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"n\": Sum(Const(8), Ref(\"c\")),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3220)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Sum(Const(44121), Ref(\"h\")), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/COUNT_PRIMES", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE", "COUNT_PRIMES"], "recipe_id": "d17206", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T05:01:57.917442Z", "verification": {"verified": true, "answer": 47719, "timestamp": "2026-02-08T05:01:57.920985Z"}, "problem_hash": "e4bcf4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok", "K14": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no", "V1": "no"}, "split": "test"} +{"id": "b5e626", "alias": "nt_sum_divisors_compute_v1_349078426_662", "problem": "Let $n = 50176$. Define $r = \\sigma(n)$, the sum of all positive divisors of $n$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 72$. Let $M$ be the maximum value of $xy$ over all pairs $(x, y) \\in S$. Compute the remainder when $M - r$ is divided by $61284$.", "answer": 7185, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61284),\n \"n\": Const(50176),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(72)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:12:14.206829Z", "verification": {"verified": true, "answer": 7185, "timestamp": "2026-02-08T13:12:14.209062Z"}, "problem_hash": "189aa5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 496}, "timestamp": "2026-02-12T06:24:33.847Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0040b6", "alias": "modular_min_modexp_v1_1470522791_1165", "problem": "Let $a = 3$ and $b = 377$. Let $m$ be the smallest integer greater than or equal to 2 that divides 402473441. Find the smallest positive integer $x$ such that $1 \\leq x \\leq 183$ and $a^x \\equiv b \\pmod{m}$. Compute the value of $x$.", "answer": 158, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(3),\n \"b\": Const(377),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(402473441))))),\n \"upper\": Const(183),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T13:28:59.407989Z", "verification": {"verified": true, "answer": 158, "timestamp": "2026-02-08T13:28:59.420159Z"}, "problem_hash": "70bc36", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 577}, "timestamp": "2026-02-12T06:51:20.787Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "MOD_MUL": "no", "V1": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e0ddce", "alias": "nt_lcm_compute_v1_124444284_3794", "problem": "Compute the least common multiple of $522$ and $1122$.", "answer": 97614, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(522),\n \"b\": Const(1122),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T05:37:08.019176Z", "verification": {"verified": true, "answer": 97614, "timestamp": "2026-02-08T05:37:08.026905Z"}, "problem_hash": "387418", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 97614, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 61, "completion_tokens": 865}, "timestamp": "2026-02-12T11:22:34.017Z"}, {"id": 8, "model": "mathstral", "answer": 98054, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 73, "completion_tokens": 666}, "timestamp": "2026-02-14T20:16:15.233Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 19014, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 121, "completion_tokens": 267}, "timestamp": "2026-02-11T22:51:22.707Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K14": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "5d328b", "alias": "nt_count_coprime_v1_865884756_1005", "problem": "Let $k = 49$ and $N = 84100$. Define $A$ to be the set of all positive integers $n$ such that $1 \\le n \\le N$ and $\\gcd(n, k) = 1$. Let $r$ be the remainder when $44121 \\cdot |A|$ is divided by $88255$. Find the value of $r$.", "answer": 60971, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(84100),\n \"k\": Const(49),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(88255)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/C5/MOBIUS_COPRIME"], "recipe_id": "27d800", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C5", "K14", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 11.935, "created_at": "2026-02-08T15:43:25.394477Z", "verification": {"verified": true, "answer": 60971, "timestamp": "2026-02-08T15:43:37.329837Z"}, "problem_hash": "2da718", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 689}, "timestamp": "2026-02-12T09:01:51.982Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "C5": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8b6c6b", "alias": "sequence_count_fib_divisible_v1_124444284_314", "problem": "Let $d$ be the largest positive divisor of $497718$ that is less than or equal to $702$. Let $r$ be the number of positive integers $n$, where $1 \\leq n \\leq d$, such that $6$ divides the $n$-th Fibonacci number.\n\nLet $c$ be the number of positive integers $n$, where $1 \\leq n \\leq 20999$, such that $\\gcd(n, 14) = 1$.\n\nCompute the value of $r^2 + 22r + c$.", "answer": 13640, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(20999),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(702)), Divides(divisor=Var(\"d\"), dividend=Const(497718))))),\n \"d\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(22), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "MAX_DIVISOR"], "recipe_id": "c42700", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T03:10:30.689933Z", "verification": {"verified": true, "answer": 13640, "timestamp": "2026-02-08T03:10:30.731294Z"}, "problem_hash": "a66f26", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 2584}, "timestamp": "2026-02-09T15:59:01.941Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 2303}, "timestamp": "2026-02-09T00:42:20.255Z"}, {"id": 8, "model": "mathstral", "answer": 161243653, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 601}, "timestamp": "2026-02-11T16:52:01.124Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 568}, "timestamp": "2026-02-11T20:27:15.471Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "MAX_DIVISOR": "ok", "K18": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "e12760", "alias": "diophantine_product_count_v1_971394319_1923", "problem": "Let $n = 2$ and $k = 1260$. Let $d_{\\text{min}}$ be the smallest divisor of $16376624428057$ that is at least $n$. Compute the number of positive integers $x$ such that $1 \\leq x \\leq d_{\\text{min}}$, $x$ divides $k$, and $\\frac{k}{x} \\leq d_{\\text{min}}$. Let this count be $C$. Find the remainder when $44121 \\cdot C$ is divided by $62210$.", "answer": 43252, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(1260),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(16376624428057))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(62210)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T14:00:25.978199Z", "verification": {"verified": true, "answer": 43252, "timestamp": "2026-02-08T14:00:25.993679Z"}, "problem_hash": "5a79ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 390}, "timestamp": "2026-02-12T07:44:23.143Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K5": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "da01b7", "alias": "comb_count_partitions_v1_1978505735_5368", "problem": "Let $n$ be the smallest divisor of $167462081$ that is at least $2$. Define $p(n)$ to be the number of integer partitions of $n$. Compute the remainder when $50096 \\cdot p(n)$ is divided by $60241$.", "answer": 55134, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(167462081))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(50096), Ref(\"result\")), modulus=Const(60241)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:57:41.641350Z", "verification": {"verified": true, "answer": 55134, "timestamp": "2026-02-08T18:57:41.644250Z"}, "problem_hash": "8711ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 372}, "timestamp": "2026-02-13T00:43:55.230Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7f27f1", "alias": "algebra_quadratic_discriminant_v1_1874849503_752", "problem": "Let $a=2$, $b=-2$, and $c=-24$. Define\n$$D=b^2-4ac.$$\nCompute $D$.", "answer": 196, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": Const(-2),\n \"c\": Const(-24),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["LTE_SUM/MOBIUS_COPRIME/MAX_DIVISOR/B1", "LIN_FORM/MAX_DIVISOR/B1"], "recipe_id": "2463ce", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B1", "BINOMIAL_ALTERNATING", "LIN_FORM", "LTE_SUM", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 6, "generation_time": 0.053, "created_at": "2026-02-08T13:16:49.692636Z", "verification": {"verified": true, "answer": 196, "timestamp": "2026-02-08T13:16:49.745952Z"}, "problem_hash": "3f28b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 100}, "timestamp": "2026-02-09T20:32:12.833Z"}, {"id": 8, "model": "mathstral", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 90, "completion_tokens": 128}, "timestamp": "2026-02-11T21:12:48.655Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 196, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 123}, "timestamp": "2026-02-11T21:09:27.704Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "LTE_SUM": "ok", "B1": "ok_later", "MAX_DIVISOR": "ok_later", "MOBIUS_COPRIME": "ok_later", "K17": "no", "K5": "no", "MOD_ADD": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "5c62b4", "alias": "comb_sum_binomial_row_v1_151522320_843", "problem": "Let $C=81414$. For each integer $j$ with $0\\le j\\le C$, consider the binomial coefficient $\\binom{C}{j}$. Let $M$ be the number of integers $j$ with $0\\le j\\le C$ such that $\\binom{C}{j}$ is odd.\n\nLet $N$ be the largest integer $k$ such that $2^k$ divides\n$$5^{T}-3^{M},$$\nwhere $T$ is the number of positive integers $p$ for which there exists a positive integer $q$ satisfying\n$$pq=604499133338100,\\quad \\gcd(p,q)=1,\\quad p 0$, and $0$ otherwise. Let $\\beta = 1$ if $D = 0$, and $0$ otherwise. Compute $2\\alpha + \\beta$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(3),\n \"b\": Const(-5),\n \"c\": Const(10),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.029, "created_at": "2026-02-08T10:07:53.549762Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T10:07:53.579052Z"}, "problem_hash": "261433", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 241}, "timestamp": "2026-02-12T03:11:24.714Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "9688ce", "alias": "nt_count_coprime_v1_784195855_5621", "problem": "Let $k$ be the number of positive integers $n$ with $1 \\leq n \\leq 468$ such that $24$ divides the $n$-th Fibonacci number. Let $r$ be the number of positive integers $n$ with $1 \\leq n \\leq 55440$ such that $\\gcd(n, k) = 1$. Let $p$ be the largest prime number less than or equal to $11$. Compute the $p$-th Bell number, where the $m$-th Bell number is the number of partitions of a set of $m$ elements.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24),\n \"upper\": Const(55440),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(468)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COUNT_FIB_DIVISIBLE"], "recipe_id": "073d28", "seed_template_id": "nt_count_coprime_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 19.977, "created_at": "2026-02-08T07:59:54.086116Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T08:00:14.063174Z"}, "problem_hash": "e41f3c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 8192}, "timestamp": "2026-02-13T14:10:37.426Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 526}, "timestamp": "2026-02-12T01:28:17.778Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MAX_PRIME_BELOW": "ok", "L3c": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "6691e8", "alias": "algebra_poly_eval_v1_48377204_1679", "problem": "Let $a = 19$. Define $\\text{result} = 6a^2 + 9a + 5$. Let $n = 176$. Consider the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = n$. Let $P$ be the set of all values of $xy$ as $(x,y)$ ranges over this set. Let $c$ be the maximum value in $P$. Define $Q = c - \\text{result}$. Compute $Q$.", "answer": 5402, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(176),\n \"a\": Const(19),\n \"result\": Sum(Mul(Const(6), Pow(Ref(\"a\"), Const(2))), Mul(Const(9), Ref(\"a\")), Const(5)),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:18:18.629717Z", "verification": {"verified": true, "answer": 5402, "timestamp": "2026-02-08T16:18:18.632590Z"}, "problem_hash": "97ae77", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 279}, "timestamp": "2026-02-12T10:21:50.611Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "aae5de", "alias": "nt_sum_gcd_range_mod_v1_655260480_3508", "problem": "Let $N$ be the number of positive integers $t$ with $7 \\leq t \\leq 2928$ for which there exist positive integers $a \\leq 712$ and $b \\leq 198$ such that $t = 3a + 4b$. Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 20736$. Let $S = \\sum_{n=1}^{N} \\gcd(n, k)$, and let $M = 11171$. Compute the remainder when $S$ is divided by $M$.", "answer": 1402, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(20736),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=712)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=198)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2928)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(11171),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.177, "created_at": "2026-02-08T17:24:55.942372Z", "verification": {"verified": true, "answer": 1402, "timestamp": "2026-02-08T17:24:56.118930Z"}, "problem_hash": "a03c9b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 429}, "timestamp": "2026-02-12T22:31:06.816Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K13": "no", "K17": "no", "MOD_ADD": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "66ca4b", "alias": "modular_min_modexp_v1_1520064083_6620", "problem": "Let $m$ be the smallest divisor of $364807$ that is greater than or equal to $2$. Let $X$ be the set of all integers $x$ such that $1 \\leq x \\leq 25$ and $2^x \\equiv 64 \\pmod{m}$. Compute the smallest element of $X$. Multiply this value by $44121$ and find the remainder when the product is divided by $98050$.", "answer": 68626, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a\": Const(2),\n \"b\": Const(64),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(364807))))),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(98050)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.025, "created_at": "2026-02-08T08:15:09.106536Z", "verification": {"verified": true, "answer": 68626, "timestamp": "2026-02-08T08:15:09.131765Z"}, "problem_hash": "d6a8a7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 68626, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 439}, "timestamp": "2026-02-12T01:40:08.102Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "a0d08f", "alias": "nt_sum_totient_over_divisors_v1_53965629_30", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 95$. Let $h = \\mu(p_1)^2$, where $\\mu$ denotes the Möbius function. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq 15$. Define $f$ as the remainder when $(p-1)! + 1$ is divided by $p$. Let $n = 16563 + f$. Let $\\text{result}$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ is Euler's totient function. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $66820 \\cdot h$.", "answer": 32603, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(95)), IsPrime(Var(\"n\"))))),\n \"h\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(16563), Ref(\"f\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Const(66820), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "MAX_PRIME_BELOW/WILSON"], "recipe_id": "ae021e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T11:13:23.806048Z", "verification": {"verified": true, "answer": 32603, "timestamp": "2026-02-08T11:13:23.814376Z"}, "problem_hash": "c3f6e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 32603, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 1855}, "timestamp": "2026-02-09T11:04:54.155Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 32603, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 1141}, "timestamp": "2026-02-10T00:12:27.259Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:36:07.951Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "WILSON": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "test"} +{"id": "63e39f", "alias": "nt_sum_over_divisible_v1_898971024_2639", "problem": "Let $d$ be the smallest divisor of $455593$ that is at least $2$. Let $s$ be the sum of all positive integers $n$ at most $16129$ such that $n$ is divisible by $d$. Compute the remainder when $81119 \\cdot s$ is divided by $71770$.", "answer": 16740, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71770),\n \"upper\": Const(16129),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(455593))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(81119),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.62, "created_at": "2026-02-08T16:53:26.170474Z", "verification": {"verified": true, "answer": 16740, "timestamp": "2026-02-08T16:53:26.790765Z"}, "problem_hash": "0e429c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 646}, "timestamp": "2026-02-12T21:17:21.207Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a6abf3", "alias": "nt_count_phi_equals_v1_898971024_735", "problem": "Let $k$ be the number of positive integers $n$ such that $1 \\le n \\le 11748$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the number of positive integers $n_1$ such that $1 \\le n_1 \\le 1444$ and $\\phi(n_1) = k$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11748),\n \"upper\": Const(1444),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n1\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.118, "created_at": "2026-02-08T15:37:37.393660Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T15:37:37.511729Z"}, "problem_hash": "2d38ee", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 582}, "timestamp": "2026-02-12T08:45:01.664Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7b427b", "alias": "sequence_lucas_compute_v1_898971024_2747", "problem": "Let $n$ be the smallest divisor of $105223919$ that is at least $2$. Compute the $n$-th Lucas number.", "answer": 9349, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(105223919))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:56:58.947777Z", "verification": {"verified": true, "answer": 9349, "timestamp": "2026-02-08T16:56:58.948939Z"}, "problem_hash": "6fba5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 205}, "timestamp": "2026-02-12T21:30:30.105Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6076d9", "alias": "nt_count_divisible_v1_1520064083_464", "problem": "Let $p=97$ and $q=29$, and let\n\\[n_1=p^2(q+1).\n\\]\nLet $e=\\mu(n_1)^2$, where $\\mu$ is the Möbius function. Let $u=\\lambda(1)$, where $\\lambda$ is the Liouville function.\n\nLet $U=65536$ and $d=28$. Let $R$ be the number of integers $n$ with $1\\le n\\le U$ such that\n\\[n\\equiv 0\\pmod d.\n\\]\nLet $M$ be the largest prime number $n$ with $2\\le n\\le 5008$.\n\nDefine\n\\[Q\\equiv R\\bmod 317+M\\Bigl(R\\bmod(313+e)\\Bigr)\\pmod{96955u},\\qquad 0\\le Q<96955u.\n\\]\nFind the value of $Q$.", "answer": 66883, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5008),\n \"p\": Const(97),\n \"q\": Const(29),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(1),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(65536),\n \"divisor\": Const(28),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(317)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=Sum(Const(313), Ref(\"e\"))))), modulus=Mul(Const(96955), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE/LIOUVILLE_ONE"], "recipe_id": "37ffd7", "seed_template_id": "nt_count_divisible_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 2.066, "created_at": "2026-02-08T03:25:09.062058Z", "verification": {"verified": true, "answer": 66883, "timestamp": "2026-02-08T03:25:11.128319Z"}, "problem_hash": "2149db", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "K16": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "678d57", "alias": "comb_count_derangements_v1_655260480_5358", "problem": "Let $n$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides 77. Define $\\text{result}$ to be the subfactorial of $n$. Let $c = 76366$. Compute the remainder when $44121 \\times \\text{result}$ is divided by $c$.", "answer": 12348, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76366),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:26:43.559533Z", "verification": {"verified": true, "answer": 12348, "timestamp": "2026-02-08T18:26:43.561667Z"}, "problem_hash": "2b77f8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 303}, "timestamp": "2026-02-13T00:08:18.317Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "beca71", "alias": "diophantine_fbi2_count_v1_809748730_1122", "problem": "Let $d$ be a positive integer such that $3 \\leq d \\leq 182$, $d$ divides $420$, and $3 \\leq \\frac{420}{d} \\leq 182$. Compute the number of such integers $d$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 174$. Find the value of $c$ minus the number of such integers $d$.", "answer": 7549, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(182)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(182))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(174)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T12:11:38.319922Z", "verification": {"verified": true, "answer": 7549, "timestamp": "2026-02-08T12:11:38.334581Z"}, "problem_hash": "05e60d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7549, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 1060}, "timestamp": "2026-02-14T22:47:49.726Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 510}, "timestamp": "2026-02-12T05:00:04.070Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9350bc", "alias": "antilemma_v1_legendre_153355830_422", "problem": "Let $n_1=1$. Let $u$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ is the Möbius function. Define\n\\[n=361u.\\]\nLet $h$ be given by\n\\[h=\\sum_{d\\mid n} \\varphi(d)-n,\\]\nwhere the sum is over all positive divisors $d$ of $n$ and $\\varphi$ is Euler's totient function.\n\nLet $m=30550$. Let $S$ be the set of all integers $t$ such that $1\\le t\\le m$ and\n\\[t\\equiv \\left\\lfloor\\frac{t}{2}\\right\\rfloor \\pmod{5}.\n\\]\nLet $N$ be the number of elements in $S$, and define\n\\[L=N+h.\\]\nLet $x$ be the largest integer $k$ such that $5^k$ divides $L!$. Compute $x$.", "answer": 1524, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30550),\n \"n1\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(361), Ref(\"u\")),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), Ref(\"h\")),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(5)),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/EULER_TOTIENT_SUM/V1", "MOBIUS_SUM", "V1"], "recipe_id": "8035c1", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3C", "MOBIUS_SUM", "V1"], "num_lemmas": 4, "generation_time": 0.001, "created_at": "2026-02-08T03:05:57.581424Z", "verification": {"verified": true, "answer": 1524, "timestamp": "2026-02-08T03:05:57.582914Z"}, "problem_hash": "ad5bb0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "MOBIUS_SUM": "ok", "V1": "ok", "EULER_TOTIENT_SUM": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "K13": "no", "K14": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "70d300", "alias": "modular_min_linear_v1_655260480_6239", "problem": "Let $a$ be the number of positive integers $n \\leq 38583$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $m = 12556$ and $b = 7243$. Determine the smallest positive integer $x \\leq m$ such that $ax \\equiv b \\pmod{m}$.", "answer": 6465, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(38583)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"b\": Const(7243),\n \"m\": Const(12556),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.898, "created_at": "2026-02-08T18:55:43.638039Z", "verification": {"verified": true, "answer": 6465, "timestamp": "2026-02-08T18:55:46.536432Z"}, "problem_hash": "db9aa2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 501}, "timestamp": "2026-02-13T00:41:08.103Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3b28d0", "alias": "modular_modexp_compute_v1_655260480_6155", "problem": "Let $a$ be the smallest divisor of $3894467$ that is greater than $1$. Compute the remainder when $28747 \\cdot a^{289}$ is divided by $96831$.", "answer": 41483, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3894467))))),\n \"e\": Const(289),\n \"m\": Const(17161),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(28747), Ref(\"result\")), modulus=Const(96831)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:52:53.861036Z", "verification": {"verified": true, "answer": 41483, "timestamp": "2026-02-08T18:52:53.864155Z"}, "problem_hash": "046bb3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 578}, "timestamp": "2026-02-13T00:36:55.356Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "L3b": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0ca9fa", "alias": "modular_product_range_v1_458359167_5114", "problem": "Let $n = 11519$. Let $d$ be the smallest divisor of $18652146091307$ that is at least $2$. Define\n$$\np = \\prod_{i=43}^{d} i.\n$$\nFind the remainder when $p$ is divided by $n$.", "answer": 4236, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11519),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(43), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(18652146091307)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T12:17:07.456902Z", "verification": {"verified": true, "answer": 4236, "timestamp": "2026-02-08T12:17:07.460479Z"}, "problem_hash": "c1448e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 252}, "timestamp": "2026-02-12T05:06:24.067Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K5": "no", "LTE_DIFF": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "969dc5", "alias": "modular_inverse_v1_655260480_3424", "problem": "Let $A$ be the set of all integers $t$ such that $27 \\leq t \\leq 3027$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 125$, $1 \\leq b \\leq 96$, and $t = 15a + 12b$. Let $a = |A|$, the number of elements in $A$. Let $m = 1283$. Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $xy = 410881$. Let $s_{\\min}$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $\\text{result}$ be the smallest positive integer $x_1$ such that $1 \\leq x_1 \\leq s_{\\min}$ and\n$$\na \\cdot x_1 \\equiv 1 \\pmod{m}.\n$$\nCompute the remainder when $40897 \\cdot \\text{result}$ is divided by $68431$.", "answer": 46988, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(68431),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=125)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=96)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=3027)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"m\": Const(1283),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(410881)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x1\")), modulus=Ref(\"m\")), Const(1))))),\n \"_c\": Const(40897),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.057, "created_at": "2026-02-08T17:22:32.054563Z", "verification": {"verified": true, "answer": 46988, "timestamp": "2026-02-08T17:22:32.111465Z"}, "problem_hash": "c5459b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 347, "completion_tokens": 573}, "timestamp": "2026-02-12T22:25:37.869Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4b1c32", "alias": "diophantine_fbi2_count_v1_784195855_7078", "problem": "Let $k = 120$. Let $A$ be the set of all integers $d$ such that $5 \\leq d \\leq 68$, $d$ divides $k$, and $3 \\leq \\frac{k}{d} \\leq 66$. Let $r$ be the number of elements in $A$. Let $M$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 56$. Compute $M - r$.", "answer": 774, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(120),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(68)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(66))))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(56)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T09:04:58.688952Z", "verification": {"verified": true, "answer": 774, "timestamp": "2026-02-08T09:04:58.715195Z"}, "problem_hash": "06e384", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 774, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 840}, "timestamp": "2026-02-14T00:10:21.023Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 397}, "timestamp": "2026-02-12T02:30:35.190Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "d8c15f", "alias": "comb_count_permutations_fixed_v1_1978505735_7148", "problem": "Let $p$ and $q$ be positive integers such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of such values of $p$. Define $k = \\sum_{k_1=1}^{n} k_1$. Let $r = \\binom{7}{k} \\cdot ! (7 - k)$, where $!m$ denotes the number of derangements of $m$ elements. Compute the remainder when $44121 \\cdot r$ is divided by $81017$.", "answer": 44208, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": Const(7),\n \"k\": Summation(var=\"k1\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k1\")),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(81017)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T20:05:38.848276Z", "verification": {"verified": true, "answer": 44208, "timestamp": "2026-02-08T20:05:38.851219Z"}, "problem_hash": "0e01cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 445}, "timestamp": "2026-02-13T01:16:22.899Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "64f663", "alias": "nt_min_coprime_above_v1_1742523217_403", "problem": "Let $n$ be the smallest integer greater than $65536$ and at most $65863$ such that $\\gcd(n, 317) = 1$. Let $d$ be the number of decimal digits of $n$. For each $i$ from $0$ to $d-1$, let $d_i$ be the $i$th digit of $n$ (with $i=0$ the units digit). Let $$s = \\sum_{i=0}^{d-1} d_i (i+1)^k,$$ where $k$ is the largest integer such that $3^k \\leq 16$. Compute $s + 35344$.", "answer": 35638, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(65536),\n \"upper\": Const(65863),\n \"modulus\": Const(317),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(35344),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(16))))))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL"], "recipe_id": "763532", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_VAL"], "num_lemmas": 1, "generation_time": 0.029, "created_at": "2026-02-08T03:01:46.108554Z", "verification": {"verified": true, "answer": 35638, "timestamp": "2026-02-08T03:01:46.137321Z"}, "problem_hash": "de8ed4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 35638, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 1437}, "timestamp": "2026-02-09T17:29:26.396Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 35638, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 1393}, "timestamp": "2026-02-09T02:35:30.029Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 35638, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 1197}, "timestamp": "2026-02-11T00:54:07.760Z"}, {"id": 8, "model": "mathstral", "answer": 35805, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 644}, "timestamp": "2026-02-11T11:15:57.028Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 415}, "timestamp": "2026-02-11T20:04:34.845Z"}], "solution_status": 1, "lemma_applicability": {"MAX_VAL": "ok", "K16": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "27be3a", "alias": "comb_binomial_compute_v1_971394319_1511", "problem": "Let $n$ be the smallest divisor greater than 1 of $13482989$. Compute the remainder when $44121 \\cdot \\binom{n}{7}$ is divided by $82234$.", "answer": 56356, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13482989))))),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(82234)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:43:11.031108Z", "verification": {"verified": true, "answer": 56356, "timestamp": "2026-02-08T13:43:11.032950Z"}, "problem_hash": "ca4254", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 382}, "timestamp": "2026-02-12T07:20:17.429Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "MOD_ADD": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e3f291", "alias": "nt_min_coprime_above_v1_458359167_1361", "problem": "Let $n$ be the least integer such that $20160 0$, and $\\alpha = 0$ otherwise. Define $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Compute $2\\alpha + \\beta$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-1),\n \"b\": Const(18),\n \"c\": Const(-81),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T16:12:18.506955Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T16:12:18.523004Z"}, "problem_hash": "0ed322", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 195}, "timestamp": "2026-02-12T10:06:27.869Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "c249cc", "alias": "comb_sum_binomial_row_v1_784195855_4749", "problem": "Let $d(n)$ denote the number of positive divisors of $n$. Let $m = 625$. Define $S$ as the set of all positive integers $j$ such that $1 \\le j \\le 5$ and $j^4 \\le m$. Let $t = |S|$. Compute the greatest common divisor of 3 and $t$, and denote it by $g$. Let $\\mu(n)$ be the M\\\"obius function. Define\n$$\nn = \\sum_{k=\\sum_{d \\mid g} \\mu(d)}^{4} k.\n$$\nCompute $2^n$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(625),\n \"_n\": Const(4),\n \"n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=3), b=CountOverSet(set=SolutionsSet(var=Var(name='j'), condition=And(Geq(left=Var(name='j'), right=Const(value=1)), Leq(left=Var(name='j'), right=Const(value=5)), Leq(left=Pow(base=Var(name='j'), exp=Const(value=4)), right=Ref(name='_m')))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/MOBIUS_COPRIME/SUM_ARITHMETIC"], "recipe_id": "4dde33", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:19:52.355809Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T07:19:52.357467Z"}, "problem_hash": "881739", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "L3c": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "4bb8a8", "alias": "modular_sum_quadratic_residues_v1_1918700295_4109", "problem": "Let $p = 281$. Define $c$ to be the number of integers $n$ such that $1 \\leq n \\leq 20$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $r = \\frac{p(p-1)}{c}$. Compute the remainder when $11^{|r|} + 121$ is divided by $99991$.", "answer": 46455, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(281),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(121)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:08:59.993624Z", "verification": {"verified": true, "answer": 46455, "timestamp": "2026-02-08T09:08:59.995306Z"}, "problem_hash": "04df6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4034, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 4525}, "timestamp": "2026-02-14T00:46:41.930Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 981}, "timestamp": "2026-02-12T02:34:33.442Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "68de77", "alias": "modular_min_modexp_v1_971394319_1361", "problem": "Let $a = 2$ and $b = 786$. Let $m$ be the smallest divisor of $530728998075733$ that is at least $2$. Find the smallest positive integer $x$ such that $1 \\leq x \\leq 876$ and $$a^x \\equiv b \\pmod{m}.$$ Let $r$ be this value of $x$. Compute the remainder when $15245 \\cdot r$ is divided by $85516$.", "answer": 23027, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": Const(786),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(530728998075733))))),\n \"upper\": Const(876),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(15245),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85516)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.038, "created_at": "2026-02-08T13:39:27.848912Z", "verification": {"verified": true, "answer": 23027, "timestamp": "2026-02-08T13:39:27.886498Z"}, "problem_hash": "69a14a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 309}, "timestamp": "2026-02-12T07:11:06.386Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K16": "no", "K17": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f61432", "alias": "diophantine_product_count_v1_1978505735_6817", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 13$, $1 \\leq j \\leq 150$, and $\\gcd(i, j) = 1$. Let $u$ be the number of integers $t$ such that $33 \\leq t \\leq 809$ and there exist positive integers $a \\leq 66$, $b \\leq 10$ satisfying $t = 10a + 14b + 9$. Compute the number of positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(150))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=66)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=809)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=14), Var(name='b')), Const(value=9)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "66e6c4", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T19:47:47.682312Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T19:47:47.701610Z"}, "problem_hash": "9f9502", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 523}, "timestamp": "2026-02-13T01:13:11.864Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "04f8ac", "alias": "modular_sum_quadratic_residues_v1_2051736721_5229", "problem": "Let $n = 4$. Let $p$ be the smallest divisor of $364807$ that is at least $2$. Compute $\\frac{p(p-1)}{n}$.", "answer": 90150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(364807))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:26:20.247391Z", "verification": {"verified": true, "answer": 90150, "timestamp": "2026-02-08T18:26:20.250150Z"}, "problem_hash": "1d3c68", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 86, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 259}, "timestamp": "2026-02-13T00:10:30.327Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "K15": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dab112", "alias": "sequence_fibonacci_compute_v1_124444284_2559", "problem": "Let $n = 23$ and let $\\text{result} = F_n$, the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $S$ be the set of all integers $t$ such that $11 \\leq t \\leq 77$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 7$, and $t = 7a + 4b$. Compute the value of\n$$\n\\text{result}^2 + 30 \\cdot \\text{result} + \\sum_{k=1}^{|S|} k \\quad \\bmod 80371.\n$$", "answer": 49996, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(23),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(30), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=77)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), expr=Var(\"k\"))), modulus=Const(80371)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_ARITHMETIC"], "recipe_id": "d4208a", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:45:29.278133Z", "verification": {"verified": true, "answer": 49996, "timestamp": "2026-02-08T04:45:29.279999Z"}, "problem_hash": "509c6a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 49996, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 304, "completion_tokens": 4166}, "timestamp": "2026-02-11T22:02:59.747Z"}, {"id": 8, "model": "mathstral", "answer": 38198, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 823}, "timestamp": "2026-02-14T00:35:03.208Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 435}, "timestamp": "2026-02-11T21:51:27.579Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "b119bb", "alias": "nt_count_coprime_and_v1_898971024_34", "problem": "Let $k_1 = 5$ and let $k_2$ be the smallest divisor of $11011$ that is at least $2$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 21662$, $\\gcd(n, 5) = 1$, and $\\gcd(n, k_2) = 1$. Define $Q$ to be the remainder when $44121 \\cdot N$ is divided by $84944$. Find the value of $Q$.", "answer": 30374, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84944),\n \"upper\": Const(21662),\n \"k1\": Const(5),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.342, "created_at": "2026-02-08T15:09:31.309221Z", "verification": {"verified": true, "answer": 30374, "timestamp": "2026-02-08T15:09:33.651458Z"}, "problem_hash": "245d6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 576}, "timestamp": "2026-02-12T07:54:22.716Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "L3b": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5ba893", "alias": "comb_factorial_compute_v1_677425708_2745", "problem": "Let $T$ be the number of integers $t$ with $10 \\leq t \\leq 166$ for which there exist positive integers $a \\leq 19$ and $b \\leq 13$ such that $t = 6a + 4b$. Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 12$, $\\gcd(p,q) = 1$, and $p < q$. Let $n$ be the smallest divisor of $T$ that is at least $P$. Define $r = n!$. Compute the multiplicative order of $2$ modulo $2|r| + 3$. Determine the value of this order.", "answer": 168, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=13)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=166)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COPRIME_PAIRS/MIN_PRIME_FACTOR"], "recipe_id": "72102e", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:14:39.665440Z", "verification": {"verified": true, "answer": 168, "timestamp": "2026-02-08T05:14:39.668998Z"}, "problem_hash": "6a89d6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "COPRIME_PAIRS": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "K5": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no"}, "split": "test"} +{"id": "b2ecca", "alias": "diophantine_sum_product_min_v1_238844314_460", "problem": "Let $S = 108$ and $P = 2516$. Let $x$ be a positive integer such that $1 \\leq x \\leq d$, where $d$ is the smallest divisor of $16232808323$ that is at least $2$, and $x(S - x) = P$. Determine the value of $2399$ multiplied by the smallest such $x$.", "answer": 81566, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(108),\n \"P\": Const(2516),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(16232808323)))))), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"_c\": Const(2399),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T13:21:27.302950Z", "verification": {"verified": true, "answer": 81566, "timestamp": "2026-02-08T13:21:27.316971Z"}, "problem_hash": "6721b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 378}, "timestamp": "2026-02-12T06:38:43.462Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cdb30f", "alias": "antilemma_k2_v1_1440796553_1479", "problem": "Let $x = \\sum_{k=1}^{134} \\phi(k) \\left\\lfloor \\frac{134}{k} \\right\\rfloor$. Let $r$ be the sum of the solutions to the equation $x^2 - 11x - 476 = 0$. Compute the Bell number of $|x| \\bmod r$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": Summation(var=\"k\", start=Div(Const(53), Const(53)), end=Const(134), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(134), Var(\"k\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-11), Var(\"x\")), Const(-476)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["VIETA_SUM", "IDENTITY_DIV_SELF", "K2"], "recipe_id": "b98f1e", "seed_template_id": "antilemma_k2_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF", "K2", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T14:01:47.578246Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T14:01:47.583934Z"}, "problem_hash": "069413", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 451}, "timestamp": "2026-02-12T07:40:26.276Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok", "K2": "ok", "VIETA_SUM": "ok", "K18": "no", "MOD_MUL": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fc294b", "alias": "algebra_poly_eval_v1_1248542787_846", "problem": "Let $c = 2$ and $m = 3$. Define $n$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let\n$$\ny = \\sum_{k=s}^{m} \\varphi(k) \\left\\lfloor \\frac{p_{\\text{max}}}{k} \\right\\rfloor,\n$$\nwhere $s = \\sum_{d \\mid \\gcd(15,22)} \\mu(d)$, $\\varphi$ is Euler's totient function, $\\mu$ is the M\\\"obius function, and $p_{\\text{max}}$ is the largest prime $p$ satisfying $2 \\leq p \\leq 4$. Compute $y^n - 6y + c$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"y\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))), Var(\"k\"))))),\n \"result\": Sum(Pow(Ref(\"y\"), Ref(\"_n\")), Mul(Const(-6), Ref(\"y\")), Ref(\"_c\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2", "COPRIME_PAIRS/K2", "MOBIUS_COPRIME"], "recipe_id": "249a5d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:27:35.394461Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:27:35.401299Z"}, "problem_hash": "817686", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 846}, "timestamp": "2026-02-09T09:02:56.282Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 1088}, "timestamp": "2026-02-09T21:47:34.618Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 5460}, "timestamp": "2026-02-09T21:42:40.659Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "K2": "ok_later", "C2": "no", "K16": "no", "L3c": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "ab78df", "alias": "nt_euler_phi_compute_v1_1742523217_1242", "problem": "Let $c=2$. Let $m$ be the number of integers $n$ with $1\\le n\\le652$ such that $2$ divides $n$ and $\\gcd(n,35)=1$.\n\nLet $n$ be the greatest prime not exceeding $m$. Let $N=46656$, and let $\\varphi(N)$ denote the number of positive integers less than or equal to $N$ that are relatively prime to $N$.\n\nLet $P$ be the number of primes $p$ with $2\\le p\\le n$. Define\n\\[\nQ\\equiv P-\\varphi(46656)\\pmod{52302},\n\\]\nwhere $0\\le Q<52302$.\n\nFind the value of $Q$.", "answer": 36798, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(652)), Divides(divisor=Ref(\"_c\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"n\": Const(46656),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(52302)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "d4cbbc", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:34:41.412650Z", "verification": {"verified": true, "answer": 36798, "timestamp": "2026-02-08T03:34:41.417322Z"}, "problem_hash": "3ddc49", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 36798, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 1556}, "timestamp": "2026-02-10T05:34:53.248Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 36798, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 1877}, "timestamp": "2026-02-10T13:47:55.618Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 731}, "timestamp": "2026-02-12T18:25:07.758Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 51, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 587}, "timestamp": "2026-02-11T19:29:26.849Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "COUNT_PRIMES": "ok_later", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "6fae04", "alias": "algebra_poly_eval_v1_784195855_7701", "problem": "Let $n = 15$ and $b = 11$. Let $D$ be the set of all integers $d \\geq 2$ that divide $n$. Define $m = \\min D$. Compute $b^m + 2b^2 + 6b - 10$.", "answer": 1629, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"b\": Const(11),\n \"result\": Sum(Pow(Ref(\"b\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\")))))), Mul(Const(2), Pow(Ref(\"b\"), Const(2))), Mul(Const(6), Ref(\"b\")), Const(-10)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:27:12.085063Z", "verification": {"verified": true, "answer": 1629, "timestamp": "2026-02-08T09:27:12.086449Z"}, "problem_hash": "30193c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1629, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 441}, "timestamp": "2026-02-14T04:21:13.704Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 429, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 190}, "timestamp": "2026-02-12T02:57:36.776Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "V3": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4426f0", "alias": "antilemma_sum_primes_v1_677425708_293", "problem": "Let $T$ be the set of all integers $t$ such that $5 \\leq t \\leq 234$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 64$, $1 \\leq b \\leq 21$, and $t = 3a + 2b$. Let $n_0$ be the number of elements in $T$. Let $x$ be the sum of all prime numbers $p$ such that $2 \\leq p \\leq n_0$. Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides $737292813926323$. Let $p_{\\max}$ be the largest prime number not exceeding $2010$. Compute the value of\n$$\n\\left( x \\bmod d_{\\min} \\right) + p_{\\max} \\cdot (x \\bmod 337)\n$$\nand find the remainder when this value is divided by $56000$.", "answer": 4710, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(337),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=64)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=21)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=234)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(737292813926323)))))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2010)), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"x\"), modulus=Ref(\"_m\")))), modulus=Const(56000)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW", "LIN_FORM/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "01faf1", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T03:12:52.305234Z", "verification": {"verified": true, "answer": 4710, "timestamp": "2026-02-08T03:12:52.309287Z"}, "problem_hash": "8fa909", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 330, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:26:50.783Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 8192}, "timestamp": "2026-02-10T01:44:14.708Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "172a74", "alias": "nt_max_prime_below_v1_1874849503_816", "problem": "Let $p$ and $q$ be positive integers such that $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_0$ be the number of such pairs $(p, q)$. Let $S$ be the set of all integers $n$ such that $n_0 \\leq n \\leq 53824$ and $n$ is prime. Let $m$ be the maximum element of $S$. Let $T$ be the set of all integers $t$ with $14 \\leq t \\leq 26$ such that there exist positive integers $a \\leq 3$ and $b \\leq 4$ satisfying $t = 3a + 2b + 9$. Let $k$ be the number of elements in $T$. Compute the Bell number $B_{m \\mod k}$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(53824),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=26)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=9)))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/LIN_FORM", "LIN_FORM"], "recipe_id": "a85857", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 1.493, "created_at": "2026-02-08T13:19:04.864513Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T13:19:06.357862Z"}, "problem_hash": "31c218", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 7829}, "timestamp": "2026-02-09T21:19:41.056Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 505}, "timestamp": "2026-02-11T21:09:53.859Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K16": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "3a6a78", "alias": "algebra_vieta_sum_v1_124444284_10051", "problem": "Compute the sum of all solutions $x$ to the equation $x^2 - 19x + 90 = 0$.", "answer": 19, "graph": "graphs = [\n Graph(\n let={\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-19), Var(\"x\")), Const(90)), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.049, "created_at": "2026-02-08T12:47:42.467362Z", "verification": {"verified": true, "answer": 19, "timestamp": "2026-02-08T12:47:42.516023Z"}, "problem_hash": "cf144a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 19, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 179}, "timestamp": "2026-02-12T05:40:44.578Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "2adfb2", "alias": "nt_count_coprime_v1_1820931509_576", "problem": "Let $k$ be the smallest integer $d \\geq 2$ that divides $7429$. Compute the number of positive integers $n \\leq 10391$ such that $\\gcd(n, k) = 1$.", "answer": 9780, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(10391),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7429))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.934, "created_at": "2026-02-08T11:46:38.104630Z", "verification": {"verified": true, "answer": 9780, "timestamp": "2026-02-08T11:46:39.038419Z"}, "problem_hash": "c48a35", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9780, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 94, "completion_tokens": 797}, "timestamp": "2026-02-14T18:42:43.666Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10390, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 359}, "timestamp": "2026-02-12T04:34:40.558Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "602594", "alias": "comb_count_partitions_v1_655260480_5791", "problem": "Let $n$ be the number of positive integers $n_1$ with $1 \\le n_1 \\le 119$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{3}$. Compute $55696 - p(n)$, where $p(n)$ denotes the number of integer partitions of $n$.", "answer": 24511, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55696),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(119)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:40:06.720630Z", "verification": {"verified": true, "answer": 24511, "timestamp": "2026-02-08T18:40:06.722019Z"}, "problem_hash": "256e09", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 610}, "timestamp": "2026-02-13T00:21:32.350Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "MOD_ADD": "no", "MOD_SUB": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3fb4da", "alias": "nt_sum_divisors_range_v1_717093673_4016", "problem": "Let $S$ be the sum of the number of positive divisors of each integer from $1$ to $10946$. Let $A$ be the sum of $d_i \\cdot (i+1)^2$ over all digits $d_i$ of $|S|$, where $i$ is the position of the digit (starting from $i=0$ for the units digit). Let $B$ be the sum of all positive integers $n \\leq 400$ such that $n$ is divisible by $100$. Compute $Q = A + B$. Find the value of $Q$.", "answer": 1129, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(10946),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(400)), Eq(Mod(value=Var(\"n1\"), modulus=Const(100)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE"], "recipe_id": "d92c90", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_DIVISIBLE"], "num_lemmas": 1, "generation_time": 0.578, "created_at": "2026-02-08T18:00:05.370797Z", "verification": {"verified": true, "answer": 1129, "timestamp": "2026-02-08T18:00:05.948431Z"}, "problem_hash": "66bc4a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 543}, "timestamp": "2026-02-12T23:28:51.005Z"}], "solution_status": 0, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "K14": "no", "K16": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "de155c", "alias": "nt_count_divisible_and_v1_1125832087_689", "problem": "Let $d_1 = \\sum_{k=1}^{4} k$ and $d_2 = 12$. Compute the number of positive integers $n$ such that $n \\le 217980$, $n$ is divisible by $d_1$, and $n \\equiv \\sum_{d \\mid 31} \\mu(d) \\pmod{d_2}$, where $\\mu$ denotes the M\\\"obius function.", "answer": 3633, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(217980),\n \"d1\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=Const(value=31), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "MOBIUS_SUM"], "recipe_id": "471241", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 8.68, "created_at": "2026-02-08T03:13:08.486486Z", "verification": {"verified": true, "answer": 3633, "timestamp": "2026-02-08T03:13:17.166534Z"}, "problem_hash": "6b513d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SUM": "ok", "SUM_ARITHMETIC": "ok", "K13": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "61683b", "alias": "comb_count_surjections_v1_151522320_1507", "problem": "Let $n = 6$ and $k = 2$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind. Let $r$ be the absolute value of this result. Compute $\\sum_{i=1}^{r} \\tau(i)$, where $\\tau(i)$ is the number of positive divisors of $i$.", "answer": 267, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(1), k=Binom(n=Const(5), k=Const(0))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_BINOM_N", "lemma_paths": ["ONE_BINOM_N", "ONE_BINOM_0"], "recipe_id": "83ac0d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ONE_BINOM_0", "ONE_BINOM_N"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T04:04:32.584130Z", "verification": {"verified": true, "answer": 267, "timestamp": "2026-02-08T04:04:32.588024Z"}, "problem_hash": "ce6376", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 267, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 1475}, "timestamp": "2026-02-10T15:19:02.214Z"}, {"id": 8, "model": "mathstral", "answer": 100, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 936}, "timestamp": "2026-02-13T06:16:45.969Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 641}, "timestamp": "2026-02-11T20:25:19.112Z"}], "solution_status": 1, "lemma_applicability": {"ONE_BINOM_0": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "da82a4", "alias": "comb_binomial_compute_v1_1742523217_1010", "problem": "Let $d$ range over the positive divisors of $\\gcd(90, 10)$. Define $\\alpha = \\sum_{d \\mid \\gcd(90,10)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $S$ be the set of all nonnegative integers $j$ such that $\\alpha \\leq j \\leq 17924$ and $\\binom{17924}{j}$ is odd. Let $n = |S|$, the number of elements in $S$. Let $k = 9$. Compute the remainder when $\\binom{n}{k} \\times (7 \\times 167)$ is divided by $65365$.", "answer": 38900, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17924),\n \"_n\": Const(65365),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=GCD(a=Const(value=90), b=Const(value=10)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Const(17924)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"k\": Const(9),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(167)))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "MOBIUS_COPRIME", "V8"], "recipe_id": "5e9e5e", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:23:14.879783Z", "verification": {"verified": true, "answer": 38900, "timestamp": "2026-02-08T03:23:14.882257Z"}, "problem_hash": "1690f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 38900, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 3020}, "timestamp": "2026-02-10T01:55:50.548Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 38900, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1936}, "timestamp": "2026-02-09T09:44:03.422Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok", "V8": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "K13": "no", "K14": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "05b301", "alias": "comb_count_permutations_fixed_v1_1080341949_323", "problem": "Let $n$ be the smallest divisor of $5929$ that is at least $2$. Compute the remainder when $\\binom{n}{0} \\cdot !(n - 0)$ is multiplied by $17616$ and then divided by $78185$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 56919, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78185),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5929))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(17616), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:25:40.826259Z", "verification": {"verified": true, "answer": 56919, "timestamp": "2026-02-08T13:25:40.829118Z"}, "problem_hash": "d3c302", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 463}, "timestamp": "2026-02-12T06:53:30.776Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K13": "no", "K15": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dd7dd5", "alias": "modular_min_modexp_v1_655260480_1307", "problem": "Let $a = 2$, $b = 151$, and let $m$ be the smallest divisor of $407964211$ that is greater than or equal to $2$. Find the smallest positive integer $x$ such that $x \\leq 246$ and \n$$\n2^x \\equiv 151 \\pmod{m}.\n$$\nCompute $361 - x$.", "answer": 187, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": Const(151),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(407964211))))),\n \"upper\": Const(246),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sub(Const(361), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.037, "created_at": "2026-02-08T16:04:01.707641Z", "verification": {"verified": true, "answer": 187, "timestamp": "2026-02-08T16:04:01.744586Z"}, "problem_hash": "fc177a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 367}, "timestamp": "2026-02-12T09:48:36.805Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fdf3e2", "alias": "nt_count_coprime_and_v1_168721529_1308", "problem": "Let $p$ be the smallest integer greater than or equal to 2 that divides 79781. Let $q = 19$ and define $n_1 = p \\cdot q$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ is the M\\\"obius function. Let $t = 36$ and $n = t^2$. Define $s$ to be the remainder when the number of positive divisors of $n$ is divided by 2. Let $k_1 = (8 + c) \\cdot s$ and $k_2 = 15$. Compute the number of positive integers $n$ not exceeding 86550 that are relatively prime to both $k_1$ and $k_2$.", "answer": 23080, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(79781))))),\n \"q\": Const(19),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"t\": Const(36),\n \"n\": Pow(Ref(\"t\"), Const(2)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Const(86550),\n \"k1\": Mul(Sum(Const(8), Ref(\"c\")), Ref(\"s\")),\n \"k2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SUM", "DIVISOR_PARITY"], "recipe_id": "0267bc", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 10.574, "created_at": "2026-02-08T13:35:09.053375Z", "verification": {"verified": true, "answer": 23080, "timestamp": "2026-02-08T13:35:19.627008Z"}, "problem_hash": "b13ca5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 23080, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 285, "completion_tokens": 2095}, "timestamp": "2026-02-09T15:34:32.850Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 16287, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 628}, "timestamp": "2026-02-10T05:13:15.612Z"}], "solution_status": 1, "lemma_applicability": {"DIVISOR_PARITY": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SUM": "ok_later", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "test"} +{"id": "9f55bb", "alias": "nt_sum_totient_over_divisors_v1_2051736721_4149", "problem": "Define $p$ to be a positive integer such that there exists a positive integer $q$ with $p < q$, $\\gcd(p, q) = 1$, and $pq = 108$. Let $m$ be the number of such integers $p$. Let $n$ be the number of prime numbers between $m$ and $103289$, inclusive. Compute the sum of $\\varphi(d)$ over all positive divisors $d$ of $n$.", "answer": 9873, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Const(103289)), IsPrime(Var(\"n1\"))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T17:46:10.298124Z", "verification": {"verified": true, "answer": 9873, "timestamp": "2026-02-08T17:46:10.315872Z"}, "problem_hash": "e2e9a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 444}, "timestamp": "2026-02-12T23:09:54.171Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K16": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ebd856", "alias": "nt_num_divisors_compute_v1_1439011603_2421", "problem": "Let $n$ be the smallest divisor of $1928107$ that is at least $2$. Compute the number of positive divisors of $n$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1928107))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COMB1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.242, "created_at": "2026-02-08T16:46:33.000409Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T16:46:33.242303Z"}, "problem_hash": "27a754", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 256}, "timestamp": "2026-02-12T21:00:26.762Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b8a02a", "alias": "nt_count_coprime_and_v1_898971024_2254", "problem": "Let $n = 245$ and let $k_1$ be the smallest divisor of $n$ that is at least $2$. Let $k_2 = 7$. Define $S$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq 24763$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the number of elements in $S$.", "answer": 16981, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(245),\n \"upper\": Const(24763),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k2\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 4.503, "created_at": "2026-02-08T16:37:31.551152Z", "verification": {"verified": true, "answer": 16981, "timestamp": "2026-02-08T16:37:36.054145Z"}, "problem_hash": "60227f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10610, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 420}, "timestamp": "2026-02-12T11:04:44.620Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "036bab", "alias": "antilemma_sum_primes_v1_458359167_655", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le 3$. Let $S$ be the set of all ordered pairs $(a, b)$ of positive integers such that $ab = 176400$. Define $Q$ to be the minimum value of $a + b$ over all pairs $(a, b) \\in S$, minus $x$. Compute $Q$.", "answer": 835, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "SUM_PRIMES"], "recipe_id": "017225", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:28:40.448221Z", "verification": {"verified": true, "answer": 835, "timestamp": "2026-02-08T03:28:40.449471Z"}, "problem_hash": "79ca0f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "COUNT_PRIMES": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "split": "test"} +{"id": "d0821e", "alias": "antilemma_k2_v1_458359167_4256", "problem": "Let $c = 146$ and $m = 44121$. Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 146x - 23912 = 0$. Let $N = \\sum_{d \\mid (\\sum S)} \\phi(d)$, where the sum is over all positive divisors $d$ of the sum of the elements in $S$, and $\\phi$ is Euler's totient function. Let $x = \\sum_{k=1}^{c} \\phi(k) \\left\\lfloor \\frac{N}{k} \\right\\rfloor$. Compute the remainder when $m \\cdot x$ is divided by $96806$.", "answer": 81111, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(146),\n \"_m\": Const(44121),\n \"_n\": SumOverDivisors(n=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(Const(value=-146), Var(name='x')), Const(value=-23912)), right=Const(value=0)))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Const(96806)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T11:39:14.851347Z", "verification": {"verified": true, "answer": 81111, "timestamp": "2026-02-08T11:39:14.852895Z"}, "problem_hash": "652b21", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 81111, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 7282}, "timestamp": "2026-02-14T17:13:20.291Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 489}, "timestamp": "2026-02-12T04:24:04.202Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MAX_VAL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "8c0f19", "alias": "diophantine_fbi2_count_v1_124444284_7367", "problem": "Let $k = 420$. Consider the set of all integers $d$ such that $6 \\leq d \\leq 201$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq m$, where $m$ is the smallest positive divisor of $350852148079$ that is at least 2. Compute the number of such integers $d$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(201)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(350852148079))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.133, "created_at": "2026-02-08T09:05:01.983040Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T09:05:02.115568Z"}, "problem_hash": "9c9ff3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 2128}, "timestamp": "2026-02-14T00:29:18.781Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 415}, "timestamp": "2026-02-12T02:32:32.317Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "5967f5", "alias": "sequence_lucas_compute_v1_717093673_3399", "problem": "Let $d$ be the smallest integer such that $d \\geq 2$ and $d$ divides $599633$. Let $n = d$. Define $L_n$ to be the $n$th Lucas number. Compute the value of $L_n + \\phi(|L_n| + 1) + \\tau(|L_n| + 1)$, where $\\phi(k)$ denotes the number of positive integers at most $k$ that are relatively prime to $k$, and $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 81035, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(599633))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:34:43.764214Z", "verification": {"verified": true, "answer": 81035, "timestamp": "2026-02-08T17:34:43.765712Z"}, "problem_hash": "962d19", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 504}, "timestamp": "2026-02-12T22:52:48.998Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "K17": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6038a0", "alias": "modular_product_range_v1_124444284_2781", "problem": "Let $P$ be the product of all integers from 200 to 280, inclusive. Define $R$ to be the remainder when $P$ is divided by 10567. Let $Q$ be the remainder when $24571 \\cdot R$ is divided by 97963. Compute $Q$.", "answer": 87021, "graph": "graphs = [\n Graph(\n let={\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(200), end=Const(280)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10567)),\n \"_c\": Const(24571),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(97963)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LTE_DIFF", "SUM_DIVISIBLE/LTE_DIFF"], "recipe_id": "5bae96", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MAX_PRIME_BELOW", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.021, "created_at": "2026-02-08T04:55:13.030241Z", "verification": {"verified": true, "answer": 87021, "timestamp": "2026-02-08T04:55:13.051336Z"}, "problem_hash": "e30685", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:44:11.118Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:43:34.152Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 111, "completion_tokens": 5120}, "timestamp": "2026-02-12T04:50:02.944Z"}, {"id": 8, "model": "mathstral", "answer": 82756, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 133, "completion_tokens": 822}, "timestamp": "2026-02-14T05:32:46.651Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 360}, "timestamp": "2026-02-11T22:10:54.153Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_DIVISIBLE": "ok", "LTE_DIFF": "ok_later", "K13": "no", "K16": "no", "K17": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "60950c", "alias": "nt_count_primes_v1_124444284_1167", "problem": "Let $p_1$ be the smallest prime divisor of $437$. Define $m$ to be the remainder when $ (p_1 - 1)! + 1 $ is divided by $p_1$. Let $p = 43 + m$. Let $v$ be the number of prime factors of $p$ counted with multiplicity. Let $u = 10559 \\cdot v$. Compute the number of prime numbers $n$ such that $2 \\leq n \\leq u$.", "answer": 1289, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10559),\n \"p1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(437))))),\n \"m\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Sum(Const(43), Ref(\"m\")),\n \"v\": BigOmega(n=Ref(name='p')),\n \"upper\": Mul(Ref(\"_n\"), Ref(\"v\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "BIG_OMEGA_ONE"], "recipe_id": "42fce7", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 3, "generation_time": 0.259, "created_at": "2026-02-08T03:42:59.083492Z", "verification": {"verified": true, "answer": 1289, "timestamp": "2026-02-08T03:42:59.342628Z"}, "problem_hash": "61e9de", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:50:49.990Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 8192}, "timestamp": "2026-02-09T10:29:24.863Z"}], "solution_status": 0, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "WILSON": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "b331fb", "alias": "diophantine_fbi2_count_v1_784195855_2336", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9$. Let $v = \\sum_{d \\mid 29} \\phi(d) - 29$, and let $k = 720 + v$. Compute the number of positive integers $d$ such that $m \\leq d \\leq 133$, $d$ divides $k$, and $3 \\leq k/d \\leq 130$. Let this count be $R$. Now compute the number of positive integers $t$ between 14 and 5550 inclusive for which there exist positive integers $a \\leq 701$ and $b \\leq 168$ such that $t = 6a + 8b$. Let this count be $T$. Find the value of $T \\cdot R$.", "answer": 55260, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(133),\n \"n1\": Const(29),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"k\": Sum(Const(720), Ref(\"v\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(130))))),\n \"Q\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=701)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=168)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=5550)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V5/MOBIUS_SUM", "EULER_TOTIENT_SUM", "B3/LIN_FORM"], "recipe_id": "60f0aa", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "EULER_TOTIENT_SUM", "LIN_FORM", "MOBIUS_SUM", "V5"], "num_lemmas": 5, "generation_time": 0.012, "created_at": "2026-02-08T05:41:41.412596Z", "verification": {"verified": true, "answer": 55260, "timestamp": "2026-02-08T05:41:41.424571Z"}, "problem_hash": "b8b7c2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "EULER_TOTIENT_SUM": "ok", "LIN_FORM": "ok", "V5": "ok", "MOBIUS_SUM": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "split": "test"} +{"id": "a7d5df", "alias": "nt_sum_over_divisible_v1_48377204_2125", "problem": "Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 867$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $d$ be the number of elements in $T$. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 65536$ and $n_1$ is divisible by $d$. Let $R$ be the sum of all elements in $S$. Compute the remainder when $44121 \\cdot R$ is divided by $73093$.", "answer": 30590, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(65536),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(867)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(73093)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.406, "created_at": "2026-02-08T16:36:38.665205Z", "verification": {"verified": true, "answer": 30590, "timestamp": "2026-02-08T16:36:41.071693Z"}, "problem_hash": "aa81bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 545}, "timestamp": "2026-02-12T11:01:28.926Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K14": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3399a8", "alias": "comb_sum_binomial_row_v1_124444284_6838", "problem": "Let $n$ be the number of integers $k$ with $1 \\leq k \\leq 10$ such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{5}$. Compute $n^{15}$.", "answer": 32768, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(15),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:39:56.664351Z", "verification": {"verified": true, "answer": 32768, "timestamp": "2026-02-08T08:39:56.665282Z"}, "problem_hash": "5ec4ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 102, "completion_tokens": 649}, "timestamp": "2026-02-13T20:40:23.431Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 608}, "timestamp": "2026-02-12T02:06:13.795Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "677387", "alias": "nt_num_divisors_compute_v1_865884756_561", "problem": "Let $d$ be the smallest divisor of $23437829$ that is at least $2$. Let $n$ be the number of positive integers at most $d$ that are relatively prime to $21$. Define $k$ to be the largest integer such that $n^k$ divides $30991!$. Compute the number of positive divisors of $k$. Find the remainder when this number is multiplied by $44121$ and then divided by $79451$.", "answer": 26207, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(79451),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(23437829))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n1\"), b=Const(21)), Const(1))))),\n \"n\": MaxKDivides(target=Factorial(Const(30991)), base=Ref(\"_n\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C4/V1"], "recipe_id": "08a3c0", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T15:30:52.354381Z", "verification": {"verified": true, "answer": 26207, "timestamp": "2026-02-08T15:30:52.360935Z"}, "problem_hash": "cc87d8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C4": "ok_later", "V1": "ok_later", "C2": "no", "DS2": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "test"} +{"id": "1a189c", "alias": "antilemma_count_primes_v1_1125832087_1379", "problem": "Let $p = 13$. Define $h$ to be the number of prime factors of $p$, counted with multiplicity. Let $n = 25$. Define $e$ to be the sum of $\\varphi(d)$ over all positive divisors $d$ of $n$, minus $n$. Let $h' = 2h$. Define $x$ to be the number of prime numbers $n$ such that $h' \\leq n \\leq 1093$. Compute the value of\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} |x| \\rfloor} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + 7 + e.\n$$", "answer": 51, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(13),\n \"h\": BigOmega(n=Ref(name='p')),\n \"n\": Const(25),\n \"e\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_n\": Mul(Const(2), Ref(\"h\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(1093)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(7), Ref(\"e\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "BIG_OMEGA_ONE", "COUNT_PRIMES"], "recipe_id": "eaec45", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_PRIMES", "EULER_TOTIENT_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:42:19.686983Z", "verification": {"verified": true, "answer": 51, "timestamp": "2026-02-08T03:42:19.689164Z"}, "problem_hash": "20eaea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "COUNT_PRIMES": "ok", "EULER_TOTIENT_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "fd5834", "alias": "nt_count_divisible_v1_1742523217_5328", "problem": "Let $p_1$ be the largest prime number between 2 and 8, inclusive. Define $h$ to be the remainder when $(p_1 - 1)! + 1$ is divided by $p_1$. Let $p$ be the smallest divisor of 105 that is at least 2. Define $v$ to be the remainder when $(p - 1)! + 1$ is divided by $p$. Let $N = 56169 + h + v$. Determine the number of positive integers $n$ such that $n \\leq N$ and $n$ is divisible by 18. Let $Q$ be the remainder when $19397$ times this count is divided by $92102$. Compute $Q$.", "answer": 7626, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56169),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(105))))),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"upper\": Sum(Ref(\"_n\"), Ref(\"h\"), Ref(\"v\")),\n \"divisor\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(19397), Ref(\"result\")), modulus=Const(92102)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "MAX_PRIME_BELOW/WILSON"], "recipe_id": "5989c3", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "WILSON"], "num_lemmas": 3, "generation_time": 2.524, "created_at": "2026-02-08T10:55:12.664838Z", "verification": {"verified": true, "answer": 7626, "timestamp": "2026-02-08T10:55:15.189061Z"}, "problem_hash": "ff15f7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "WILSON": "ok_later", "K13": "no", "K14": "no", "K17": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "b964db", "alias": "comb_sum_binomial_mod_v1_153355830_2402", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\le t \\le 150$ and there exist positive integers $a \\le 22$ and $b \\le 21$ satisfying $t = 3a + 4b$. Let $N$ be the number of elements in $T$.\n\nLet $P$ be the set of all prime numbers $n$ such that $2 \\le n \\le N$, and let $M$ be the maximum element of $P$.\n\nDefine\n$$\nn = \\sum_{k=1}^{15} \\varphi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor,\n$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nCompute the remainder when\n$$\n\\sum_{k=28}^{n} \\binom{M}{k}\n$$\nis divided by $11551$.", "answer": 535, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(28),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(15), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(15), Var(\"k\"))))),\n \"sum\": Summation(var=\"k\", start=Ref(\"_m\"), end=Ref(\"_n\"), expr=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=22)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=21)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=150)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), IsPrime(Var(\"n\"))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11551)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "K2/MAX_PRIME_BELOW"], "recipe_id": "ec8669", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T07:06:52.562778Z", "verification": {"verified": true, "answer": 535, "timestamp": "2026-02-08T07:06:52.579307Z"}, "problem_hash": "394736", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 8192}, "timestamp": "2026-02-13T07:54:27.316Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 637}, "timestamp": "2026-02-12T00:49:37.637Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "325d0f", "alias": "algebra_quadratic_discriminant_v1_1742523217_4434", "problem": "Let $m = 25$. Define $n$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 120$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = -2$, $b = -8$, and $c$ be the minimum value of $x + y$ where $x$ and $y$ are positive integers such that $x \\cdot y = m$. Compute the absolute value of $(-8)^k - n \\cdot a \\cdot c$, where $k$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 108$, $\\gcd(p, q) = 1$, and $p < q$.", "answer": 144, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(25),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=120)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(-2),\n \"b\": Const(-8),\n \"c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS", "B3"], "recipe_id": "b5f079", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T07:17:30.851197Z", "verification": {"verified": true, "answer": 144, "timestamp": "2026-02-08T07:17:30.856249Z"}, "problem_hash": "c38660", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 144, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 1343}, "timestamp": "2026-02-13T09:19:35.699Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 262456, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 653}, "timestamp": "2026-02-12T00:57:31.117Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "C2": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "1b630c", "alias": "comb_count_derangements_v1_1874849503_437", "problem": "Let $n=8$, and let $!n$ denote the number of derangements of $n$ objects. Let $D=!n$. For each integer $i$ with $0\\le i\\le \\bigl(\\text{number of decimal digits of }|D|\\bigr)-1$, let $d_i$ be the $i$th decimal digit of $|D|$, where $d_0$ is the units digit, $d_1$ is the tens digit, and so on.\n\nDefine\n$$S = \\sum_{i=0}^{\\,\\text{(number of digits of }|D|)-1} d_i\\,(i+1)^2,$$\nand let $Q = S + 42195$.\n\nFind the value of $Q$.", "answer": 42371, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(8),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(42195),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "ONE_BINOM_N"], "recipe_id": "e12e67", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 4, "generation_time": 0.066, "created_at": "2026-02-08T13:03:36.554197Z", "verification": {"verified": true, "answer": 42371, "timestamp": "2026-02-08T13:03:36.619789Z"}, "problem_hash": "1cf9d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 42371, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 1223}, "timestamp": "2026-02-09T16:51:59.022Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 362}, "timestamp": "2026-02-11T21:07:29.934Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "40043e", "alias": "nt_sum_divisors_range_v1_865884756_1722", "problem": "Let $\\text{upper}$ be the smallest integer $d \\geq 2$ that divides $32970563$. Let $\\text{result}$ be the sum of the number of positive divisors of each integer $n$ from $1$ to $\\text{upper}$, inclusive. Let $\\_c$ be the number of positive integers $n_1 \\leq 6590$ that are divisible by $10$ and relatively prime to $21$. Let $Q$ be the remainder when $\\_c - \\text{result}$ is divided by $59650$. Compute $Q$.", "answer": 9448, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(32970563))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(6590)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Const(21)), Const(1))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59650)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "MIN_PRIME_FACTOR"], "recipe_id": "bc03cd", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.202, "created_at": "2026-02-08T16:14:32.480180Z", "verification": {"verified": true, "answer": 9448, "timestamp": "2026-02-08T16:14:32.682185Z"}, "problem_hash": "af24c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 431}, "timestamp": "2026-02-12T10:16:36.000Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "L3c": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c4e933", "alias": "nt_sum_phi_v1_2051736721_2", "problem": "Let $n = 29645$. Let $S$ be the set of all positive integers from $1$ to $666$, inclusive. For each $k$ in $S$, compute $\\phi(k)$, the number of positive integers less than or equal to $k$ that are relatively prime to $k$. Let $T$ be the sum of all such $\\phi(k)$. Let $d$ be the smallest prime divisor of $n$. Compute the remainder when $d - T$ is divided by $62268$. Determine the value of this remainder.", "answer": 51939, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29645),\n \"upper\": Const(666),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))), Ref(\"result\")), modulus=Const(62268)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "nt_sum_phi_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.036, "created_at": "2026-02-08T15:07:08.522820Z", "verification": {"verified": true, "answer": 51939, "timestamp": "2026-02-08T15:07:08.559320Z"}, "problem_hash": "32413e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 509}, "timestamp": "2026-02-12T07:55:12.012Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b981a1", "alias": "comb_count_permutations_fixed_v1_717093673_3378", "problem": "Let $n$ be the smallest prime divisor of $41327$. Compute the value of $\\binom{n}{6} \\cdot !{(n-6)}$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 20328, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41327),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(6),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T17:31:44.578447Z", "verification": {"verified": true, "answer": 20328, "timestamp": "2026-02-08T17:31:44.583215Z"}, "problem_hash": "4f6241", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 355}, "timestamp": "2026-02-12T22:45:28.317Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "LTE_DIFF": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "75e5b2", "alias": "antilemma_cartesian_v1_865884756_3911", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 38$ and $1 \\leq j \\leq 38$ and $i + j = 38$. Let $B$ be the set of all ordered pairs $(i, j)$ such that $1 \\leq i \\leq 12$ and $1 \\leq j \\leq 16$. Compute the remainder when $|A| - |B|$ is divided by $91312$.", "answer": 91157, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(38),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(38))))), Ref(\"x\")), modulus=Const(91312)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "f8dfda", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T17:39:48.010858Z", "verification": {"verified": true, "answer": 91157, "timestamp": "2026-02-08T17:39:48.029951Z"}, "problem_hash": "c7c7b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 91158, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 383}, "timestamp": "2026-02-12T22:54:38.436Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "256266", "alias": "antilemma_count_primes_v1_1918700295_77", "problem": "Let $A$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=24$, $\\gcd(p,q)=1$, and $p 0$, and $0$ otherwise. Let $\\beta = 1$ if $D = 0$, and $0$ otherwise. Define $\\text{result} = 2\\alpha + \\beta$. Compute $44121 \\cdot \\text{result}$.", "answer": 44121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(-2),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(440)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"c\": Const(-200),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Mul(Const(44121), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T17:37:08.384064Z", "verification": {"verified": true, "answer": 44121, "timestamp": "2026-02-08T17:37:08.387776Z"}, "problem_hash": "373a80", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 561}, "timestamp": "2026-02-12T22:51:22.640Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e7a71f", "alias": "comb_count_derangements_v1_349078426_1039", "problem": "Let $n$ be the number of integers $k$ such that $1 \\leq k \\leq 40$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{5}$. Compute the subfactorial of $n$, denoted $!n$.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(40),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:22:38.520492Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T13:22:38.522001Z"}, "problem_hash": "ce8e3c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 667}, "timestamp": "2026-02-12T06:43:22.989Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K15": "no", "L3c": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "49dcc4", "alias": "antilemma_v8_lucas_784195855_386", "problem": "Let $M=98175$. Consider all ordered pairs $(x,y)$ of positive integers such that\n\\[\n xy = T,\n\\]\nwhere $T$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[\n 1 \\le a \\le 28, \\quad 1 \\le b \\le 82, \\quad 7 \\le t \\le 412, \\quad t = 3a + 4b.\n\\]\nFor each such pair $(x,y)$, consider the value $x+y$, and let $S$ be the set of all such sums. Let $s$ be the smallest element of $S$ (assume $S$ is nonempty).\n\nLet $L$ be the number of nonnegative integers $j$ such that\n\\[\n \\varphi(41) - s \\le j \\le M\n\\]\nand the binomial coefficient $\\binom{M}{j}$ is odd.\n\nLet\n\\[\n Q \\equiv 68699 \\cdot L \\pmod{57646}, \\quad 0 \\le Q < 57646.\n\\]\n\nFind the value of $Q$.", "answer": 52532, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98175),\n \"_n\": Const(98175),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Sub(EulerPhi(n=Const(41)), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=28)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=82)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=412)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))))), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Const(68699), Ref(\"x\")), modulus=Const(57646)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3/ZERO_PHI_PRIME/V8", "V8"], "recipe_id": "bb6ebb", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V8", "ZERO_PHI_PRIME"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:07:34.734300Z", "verification": {"verified": true, "answer": 52532, "timestamp": "2026-02-08T03:07:34.741333Z"}, "problem_hash": "4d5594", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V8": "ok", "B3": "ok_later", "ZERO_PHI_PRIME": "ok_later", "K13": "no", "K5": "no", "L3b": "no", "V1": "no", "V3": "no"}, "split": "test"} +{"id": "62e1e5", "alias": "modular_sum_quadratic_residues_v1_238844314_850", "problem": "Let $n = 30967$. Let $p$ be the smallest divisor of $n$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 7439, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30967),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:39:04.709273Z", "verification": {"verified": true, "answer": 7439, "timestamp": "2026-02-08T13:39:04.711037Z"}, "problem_hash": "6d6c23", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 169}, "timestamp": "2026-02-12T07:09:24.754Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "V5": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "22dc0c", "alias": "geo_count_lattice_triangle_v1_124444284_4182", "problem": "Consider all ordered pairs $(x,y)$ of positive integers such that $xy=12321$. Let $s$ be the minimum value of $x+y$ over all such pairs $(x,y)$. Let the quantity $A$ be defined by\n$$A=\\left|100s-89\\cdot(-99)\\right|.$$\n\nNext, consider all integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 35$, $1\\le b\\le 8$, $7\\le t\\le 110$, and\n$$t=2a+5b.$$\nLet $N$ be the number of such integers $t$.\n\nDefine the boundary quantity\n$$B=\\gcd\\bigl(|N|,|99|\\bigr)+\\gcd\\bigl(|89-100|,|222-99|\\bigr)+\\gcd\\bigl(|0-89|,|0-222|\\bigr).$$\n\nFinally, let\n$$R=\\frac{A+2-B}{2}.$$\n\nCompute $R$.", "answer": 6694, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(99),\n \"_n\": Const(99),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=12321)))), expr=Sum(Var(name='x'), Var(name='y'))))), Mul(Const(value=89), Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=35)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=110)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), b=Abs(arg=Const(value=99))), GCD(a=Abs(arg=Sub(left=Const(value=89), right=Const(value=100))), b=Abs(arg=Sub(left=Const(value=222), right=Const(value=99)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=89))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=222))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T05:49:35.296629Z", "verification": {"verified": true, "answer": 6694, "timestamp": "2026-02-08T05:49:35.305208Z"}, "problem_hash": "501a0b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15505, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 3802}, "timestamp": "2026-02-12T15:29:28.263Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 345, "completion_tokens": 572}, "timestamp": "2026-02-11T23:13:11.669Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "no", "DS2": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "5b43ad", "alias": "nt_sum_divisors_compute_v1_1520064083_3009", "problem": "Let $n_2$ be the largest positive divisor of 5289919 that is at most 2291. Let $t = \\mu(n_2)^2$, where $\\mu$ denotes the M\\\"obius function. Let $n_1 = 23^2 \\cdot 17 \\cdot 5$. Let $m = \\mu(n_1)^2$. Define $n = 24964 \\cdot t + m$. Compute the sum of all positive divisors of $n$.", "answer": 44247, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2291)), Divides(divisor=Var(\"d\"), dividend=Const(5289919))))),\n \"t\": Pow(MoebiusMu(n=Ref(name='n2')), Ref(\"_n\")),\n \"p\": Const(23),\n \"q\": Const(17),\n \"r\": Const(5),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Sum(Mul(Const(24964), Ref(\"t\")), Ref(\"m\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MOBIUS_SQUAREFREE"], "recipe_id": "3839e0", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_DIVISOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T05:24:24.143292Z", "verification": {"verified": true, "answer": 44247, "timestamp": "2026-02-08T05:24:24.149452Z"}, "problem_hash": "da4e6b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V3": "no"}, "split": "test"} +{"id": "1ba57e", "alias": "comb_bell_compute_v1_1915831931_3076", "problem": "Let $n = 9$ and let $\\text{result} = B_n$, where $B_n$ denotes the $n$th Bell number, the number of partitions of a set of size $n$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 20$. Let $c$ be the maximum value of $xy$ over all such pairs. Let $Q$ be the remainder when $c - \\text{result}$ is divided by $82431$. Compute $Q$.", "answer": 61384, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(9),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(20)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82431)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_bell_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:21:02.525275Z", "verification": {"verified": true, "answer": 61384, "timestamp": "2026-02-08T17:21:02.527254Z"}, "problem_hash": "f176c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 297}, "timestamp": "2026-02-12T22:27:21.066Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ae7d65", "alias": "nt_lcm_compute_v1_655260480_1952", "problem": "Let $n = 24$. Define $a$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 12996$ and $n$ divides the $n$-th Fibonacci number. Let $b = 2811$. Define $\\text{result} = \\text{lcm}(a, b)$. Let $D$ be the set of all integers $d \\geq 2$ that divide 1573. Let $m$ be the smallest element of $D$. Determine the value of $B_{|\\text{result}| \\bmod m} \\bmod 99507$, where $B_k$ denotes the $k$-th Bell number.", "answer": 16468, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(12996)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"b\": Const(2811),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1573))))))), modulus=Const(99507)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR", "COUNT_FIB_DIVISIBLE"], "recipe_id": "cb28c9", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T16:29:14.392173Z", "verification": {"verified": true, "answer": 16468, "timestamp": "2026-02-08T16:29:14.408939Z"}, "problem_hash": "e350f8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 508}, "timestamp": "2026-02-12T10:45:34.703Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ef6338", "alias": "comb_sum_binomial_mod_v1_865884756_5856", "problem": "Let $n = 337$. Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides $2110797092227$. Define $\\displaystyle \\text{sum} = \\sum_{k=25}^{d_{\\min}} \\binom{n}{k}$. Compute the remainder when $\\text{sum}$ is divided by $10903$.", "answer": 6508, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(337),\n \"sum\": Summation(var=\"k\", start=Const(25), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2110797092227))))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10903)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.024, "created_at": "2026-02-08T18:48:37.107843Z", "verification": {"verified": true, "answer": 6508, "timestamp": "2026-02-08T18:48:37.131741Z"}, "problem_hash": "b5d40b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 564}, "timestamp": "2026-02-13T00:33:38.144Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "877dc2", "alias": "nt_euler_phi_compute_v1_1742523217_438", "problem": "Let $n_2$ be the smallest integer greater than or equal to 2 that divides 4087. Let $s = \\lambda(n_2) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n_1 = 83521$ and let $t = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ is Euler's totient function. Define $n = 80089 + t$ and let $r = \\phi(n)$. Let $c = 65728$. Compute the remainder when $c \\cdot r$ is divided by $69287 + s$.", "answer": 47146, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4087))))),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Const(83521),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Const(80089), Ref(\"t\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Const(65728),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(69287), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "0f5d04", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:02:06.069872Z", "verification": {"verified": true, "answer": 47146, "timestamp": "2026-02-08T03:02:06.072715Z"}, "problem_hash": "920a47", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:59:46.317Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 47146, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 2119}, "timestamp": "2026-02-09T03:02:15.662Z"}], "solution_status": 1, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MIN_PRIME_FACTOR": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "beaffb", "alias": "algebra_poly_eval_v1_1520064083_8450", "problem": "Let $y$ be the smallest divisor of $77$ that is at least $2$. Compute the remainder when $99321 \\cdot (y^4 - y^3 - 3y^2 - 10y - 10)$ is divided by $98240$.", "answer": 14511, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"y\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Sum(Pow(Ref(\"y\"), Ref(\"_n\")), Mul(Const(-1), Pow(Ref(\"y\"), Const(3))), Mul(Const(-3), Pow(Ref(\"y\"), Const(2))), Mul(Const(-10), Ref(\"y\")), Const(-10)),\n \"Q\": Mod(value=Mul(Const(99321), Ref(\"result\")), modulus=Const(98240)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T10:11:17.267720Z", "verification": {"verified": true, "answer": 14511, "timestamp": "2026-02-08T10:11:17.269877Z"}, "problem_hash": "21d342", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14511, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 104, "completion_tokens": 1124}, "timestamp": "2026-02-14T06:43:47.186Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 313}, "timestamp": "2026-02-12T03:13:08.701Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "L3b": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "de59b2", "alias": "modular_mod_compute_v1_865884756_1427", "problem": "Let $m$ be the maximum value of $x \\cdot y$ over all pairs of positive integers $(x, y)$ such that $x + y = 136$. Let $r$ be the remainder when $-666$ is divided by $m$. Let $c = \\sum_{k=1}^{31} k$. Compute the remainder when $c - r$ is divided by $67645$.", "answer": 64183, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(136),\n \"a\": Const(-666),\n \"m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(31), expr=Var(\"k\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(67645)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "B1"], "recipe_id": "b58627", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:04:08.407685Z", "verification": {"verified": true, "answer": 64183, "timestamp": "2026-02-08T16:04:08.409454Z"}, "problem_hash": "3fb590", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1162, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 357}, "timestamp": "2026-02-12T09:46:29.248Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c40fb6", "alias": "nt_count_gcd_equals_v1_1874849503_280", "problem": "Let $n_1 = 1$. Define $v$ to be the number of distinct prime factors of $n_1$. Let $p = 5$ and $f$ be the number of distinct prime factors of $p$. Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq 914$ and the sum of the digits of $n$ is odd. Define $d = 1 + v$. Let $\\text{upper} = 11449 \\cdot f$. Determine the value of $Q$, where $Q$ is the remainder when $44121$ multiplied by the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\gcd(n, k) = d$ is divided by $69103$.", "answer": 23883, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(5),\n \"n\": Ref(\"p\"),\n \"f\": SmallOmega(n=Ref(name='n')),\n \"upper\": Mul(Const(11449), Ref(\"f\")),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(914)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"d\": Sum(Const(1), Ref(\"v\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(69103)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "OMEGA_ZERO", "lemma_paths": ["OMEGA_ZERO", "OMEGA_ONE", "L3B"], "recipe_id": "10bdac", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "OMEGA_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 1.052, "created_at": "2026-02-08T12:55:14.368760Z", "verification": {"verified": true, "answer": 23883, "timestamp": "2026-02-08T12:55:15.420267Z"}, "problem_hash": "1a40c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1022, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 4644}, "timestamp": "2026-02-09T15:21:46.605Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1022, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 3802}, "timestamp": "2026-02-10T05:53:50.031Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "OMEGA_ONE": "ok", "OMEGA_ZERO": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_MUL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "6f4ed9", "alias": "comb_factorial_compute_v1_124444284_3534", "problem": "Let $n$ be the smallest prime divisor of $11011$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11011),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:26:26.124830Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T05:26:26.125578Z"}, "problem_hash": "fd46b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 66, "completion_tokens": 627}, "timestamp": "2026-02-12T08:36:47.638Z"}, {"id": 8, "model": "mathstral", "answer": 6227020800, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 78, "completion_tokens": 764}, "timestamp": "2026-02-14T17:40:27.068Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 326}, "timestamp": "2026-02-11T22:37:56.095Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "MOD_ADD": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "9f8f3a", "alias": "modular_sum_quadratic_residues_v1_238844314_564", "problem": "Let $p$ be the smallest divisor of $12432181$ that is at least $2$. Let $r = \\frac{p(p-1)}{4}$. Let $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$. Find the value of $Q$.", "answer": 7480, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(12432181))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:24:36.946015Z", "verification": {"verified": true, "answer": 7480, "timestamp": "2026-02-08T13:24:36.949670Z"}, "problem_hash": "cc0d86", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 329}, "timestamp": "2026-02-12T06:48:50.926Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "K18": "no", "L3c": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "607ca9", "alias": "modular_sum_quadratic_residues_v1_784195855_6792", "problem": "Let $n = 2$. Let $p$ be the smallest divisor of $176551733$ that is at least $n$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $Q$ be the remainder when $44121 \\cdot \\text{result}$ is divided by $84358$. Compute $Q$.", "answer": 71689, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(176551733))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(84358)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T08:52:12.674231Z", "verification": {"verified": true, "answer": 71689, "timestamp": "2026-02-08T08:52:12.677058Z"}, "problem_hash": "0e0c3f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 120, "completion_tokens": 8192}, "timestamp": "2026-02-13T22:18:40.644Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 279}, "timestamp": "2026-02-12T02:17:29.646Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "edcbd0", "alias": "nt_count_coprime_v1_798873815_94", "problem": "Let $m=88$. Let $N$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=m$.\n\nLet $k=19$ and $U=19044$. Let $r$ be the number of integers $n$ with $1\\le n\\le U$ such that $\\gcd(n,19)=1$.\n\nLet $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ satisfying\n$$pq=36,\\quad \\gcd(p,q)=1,\\quad p 0$, and $0$ otherwise. Let $\\beta = 1$ if $D = \\sum_{d \\mid 3} \\mu(d)$, and $0$ otherwise, where $\\mu$ denotes the M\\\"obius function. Compute $2\\alpha + \\beta$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-4),\n \"b\": Const(3),\n \"c\": Const(4),\n \"D\": Sub(Pow(Ref(\"b\"), MaxKDivides(target=Sum(Pow(Const(2), Const(3)), Pow(Const(1), Const(3))), base=Const(3))), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), SumOverDivisors(n=Const(value=3), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_SUM", "LTE_SUM"], "recipe_id": "af0cd5", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T04:07:43.792369Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:07:43.816684Z"}, "problem_hash": "d1bdbd", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "V3": "no", "V7": "no"}, "split": "test"} +{"id": "c7c013", "alias": "nt_sum_divisors_mod_v1_784195855_5613", "problem": "Let $p = 11$, $q = 31$, and $r = 29$. Define $n_2 = pqr$. Let $c$ be the remainder when the number of positive divisors of $n_2$ is divided by $2$. Let $n_1 = c + \\left|\\{ k \\in \\mathbb{Z}^+ \\mid 1 \\leq k \\leq 15120 \\text{ and } 8 \\mid k \\}\\right|$. Define $f = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the Möbius function. Let $n = 360$, $M = 10711$, and $\\sigma$ be the sum of the positive divisors of $n$. Let $r_1$ be the remainder when $\\sigma$ is divided by $M$, $a = r_1 \\bmod 251$, and $b = r_1 \\bmod (397 + f)$. Compute the remainder when $a + 7001b$ is divided by $92731$.", "answer": 36074, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(11),\n \"q\": Const(31),\n \"r\": Const(29),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(15120)), Divides(divisor=Const(8), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"c\")),\n \"f\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(360),\n \"M\": Const(10711),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": Const(7001),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(251)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Sum(Const(397), Ref(\"f\"))))), modulus=Const(92731)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/DIVISOR_PARITY/MOBIUS_SUM"], "recipe_id": "e0212a", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C2", "DIVISOR_PARITY", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:59:41.450130Z", "verification": {"verified": true, "answer": 36074, "timestamp": "2026-02-08T07:59:41.452513Z"}, "problem_hash": "9255d9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SUM": "ok_later", "K14": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}, "split": "test"} +{"id": "582d6f", "alias": "antilemma_k2_v1_458359167_3561", "problem": "Let $m$ be the sum of all real solutions $x$ to the equation $x^2 - 304x - 18921 = 0$. Let $\\tau = \\sum_{d \\mid m} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $73942 \\cdot \\sum_{k=1}^{304} \\phi(k) \\left\\lfloor \\frac{\\tau}{k} \\right\\rfloor$ is divided by $54849$.", "answer": 53167, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(54849),\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-304), Var(\"x\")), Const(-18921)), Const(0)))),\n \"_n\": Const(304),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n \"_c\": Const(73942),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_d\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:24:32.335505Z", "verification": {"verified": true, "answer": 53167, "timestamp": "2026-02-08T08:24:32.337907Z"}, "problem_hash": "242b45", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 53167, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 151, "completion_tokens": 1331}, "timestamp": "2026-02-13T18:42:48.613Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 416}, "timestamp": "2026-02-12T01:55:01.280Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a35dd5", "alias": "nt_sum_divisors_mod_v1_677425708_1780", "problem": "Let $f$ be the sum of the M\\\"obius function $\\mu(d)$ over all positive divisors $d$ of $1$. Let $p = 13f$ and $q = 47$. Define $n_1 = (p \\cdot q)^e$, where $e$ is the number of even positive integers less than or equal to $2$. Let $h$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Define $n = 240 \\cdot h$. Compute the sum of all positive divisors of $n$, and then find the remainder when this sum is divided by $11633$. Determine the value of this remainder.", "answer": 744, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(1),\n \"f\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Mul(Const(13), Ref(\"f\")),\n \"q\": Const(47),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2)), Eq(Mod(value=Var(\"n\"), modulus=Const(2)), Const(0)))))),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Mul(Const(240), Ref(\"h\")),\n \"M\": Const(11633),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "a780f9", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:27:19.933834Z", "verification": {"verified": true, "answer": 744, "timestamp": "2026-02-08T04:27:19.936390Z"}, "problem_hash": "f695af", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 2471}, "timestamp": "2026-02-10T00:49:03.074Z"}], "solution_status": 0, "lemma_applicability": {"MOBIUS_SUM": "ok", "SUM_DIVISIBLE": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "K18": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "b48cf9", "alias": "comb_binomial_compute_v1_655260480_6128", "problem": "Let $n$ be the number of integers $n_1$ such that $1 \\leq n_1 \\leq 42$ and\n$$\nn_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{3}.\n$$\nCompute $\\binom{n}{6}$.", "answer": 3003, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(42)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=3))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:50:21.462197Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T18:50:21.463942Z"}, "problem_hash": "24a913", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 376740, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 622}, "timestamp": "2026-02-13T00:36:43.375Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "DS2": "no", "K15": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e29e8f", "alias": "antilemma_v8_lucas_458359167_1152", "problem": "Let $c = 9110$ and $m = 2$. Let $n$ be the largest integer such that $2^n$ divides $9110!$. Let $x$ be the number of nonnegative integers $j$ such that $\\binom{n}{j}$ is odd and $j$ does not exceed the largest prime $p$ satisfying $2 \\leq p \\leq 9107$. Compute the multiplicative order of $2$ modulo $2|x| + 3$.", "answer": 204, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(9110),\n \"_m\": Const(2),\n \"_n\": MaxKDivides(target=Factorial(Ref(\"_c\")), base=Const(2)),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(9107)), IsPrime(Var(\"n\")))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='x')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V8", "V1/V8", "V8"], "recipe_id": "3f772e", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1", "V8"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:24:53.774749Z", "verification": {"verified": true, "answer": 204, "timestamp": "2026-02-08T04:24:53.777723Z"}, "problem_hash": "a64d72", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "V8": "ok", "K5": "same_pattern_wrong", "C2": "no", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "split": "test"} +{"id": "742514", "alias": "antilemma_count_primes_v1_865884756_1063", "problem": "Let $m$ be the minimum value of $x+y$ taken over all ordered pairs $(x,y)$ of positive integers such that $xy=9241600$.\n\nLet $n$ be the number of integers $k$ with $1\\le k\\le m$ such that the sum of the decimal digits of $k$ is even.\n\nLet $x$ be the number of integers $t$ with $2\\le t\\le M$ such that $t$ is prime, where $M$ is the largest prime less than or equal to $n$.\n\nCompute $x$. ", "answer": 435, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x1\"), Var(\"y\")), Const(9241600)))), expr=Sum(Var(\"x1\"), Var(\"y\")))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Ref(\"_c\")), Leq(Var(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\")))))), IsPrime(Var(\"n1\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3B/MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "966680", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "L3B", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T15:45:39.288929Z", "verification": {"verified": true, "answer": 435, "timestamp": "2026-02-08T15:45:39.292976Z"}, "problem_hash": "22d3e7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "L3B": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V8": "no"}, "split": "test"} +{"id": "35d443", "alias": "comb_binomial_compute_v1_865884756_3572", "problem": "Let $s = \\sum_{k=1}^{7} \\phi(k) \\left\\lfloor \\frac{7}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = s$. Compute $\\binom{n}{8}$.", "answer": 3003, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Summation(var=\"k1\", start=Const(1), end=Const(7), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(7), Var(\"k1\"))))))))),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/COMB1"], "recipe_id": "080ba4", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K2"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:30:29.946703Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T17:30:29.949677Z"}, "problem_hash": "e5ec52", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 581}, "timestamp": "2026-02-12T22:38:24.044Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "COMB1": "ok_later", "K15": "no", "K16": "no", "MAX_VAL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7b79cd", "alias": "modular_min_linear_v1_458359167_1714", "problem": "Let $a = 29$ and $b = 363$. Define $m$ to be the number of positive integers $n$ such that $n \\geq \\phi(2)$, $n$ is at most the sum of the two positive integers $x$ and $y$ satisfying $xy = 12694969$, and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Compute the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $ax \\equiv b \\pmod{m}$.", "answer": 855, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(29),\n \"b\": Const(363),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(12694969)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C", "ONE_PHI_2"], "recipe_id": "cc85ae", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.052, "created_at": "2026-02-08T04:49:02.713607Z", "verification": {"verified": true, "answer": 855, "timestamp": "2026-02-08T04:49:02.765999Z"}, "problem_hash": "0687d5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "L3C": "ok_later", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no", "V5": "no"}, "split": "test"} +{"id": "ded966", "alias": "antilemma_v8_lucas_1742523217_3345", "problem": "Let $p = 2$ and $q = 17$. Define $n = p \\cdot q$. Let $v$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $a = 289$ and $b = 85 + v$. Define $u$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the M\\\"obius function. Let $\\_n = 69631 + u$. Compute the number of nonnegative integers $j$ such that $0 \\leq j \\leq \\_n$ and $\\binom{69631}{j}$ is odd. Determine the value of this quantity.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(2),\n \"q\": Const(17),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Const(289),\n \"b\": Sum(Const(85), Ref(\"v\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Sum(Const(69631), Ref(\"u\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(69631), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "DIVISOR_PARITY", "V8"], "recipe_id": "80367f", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:48:30.227205Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T05:48:30.228256Z"}, "problem_hash": "f6bf54", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "MOBIUS_COPRIME": "ok", "V8": "ok", "COUNT_PRIMES": "no", "DS2": "no", "MOD_FACTORIAL": "no", "V3": "no", "V7": "no"}, "split": "test"} +{"id": "ab9321", "alias": "modular_sum_quadratic_residues_v1_124444284_9606", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $12726692345209$. Compute $\\frac{p(p-1)}{4}$. Determine the value of this expression.", "answer": 41718, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(12726692345209))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:35:00.658620Z", "verification": {"verified": true, "answer": 41718, "timestamp": "2026-02-08T12:35:00.659899Z"}, "problem_hash": "203b79", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 194}, "timestamp": "2026-02-12T05:23:10.747Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0a8076", "alias": "sequence_fibonacci_compute_v1_655260480_254", "problem": "Let $N = 264$. Let $n$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 264$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{11}$. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 46368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(264),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:19:23.708294Z", "verification": {"verified": true, "answer": 46368, "timestamp": "2026-02-08T15:19:23.709871Z"}, "problem_hash": "c9be7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 664}, "timestamp": "2026-02-12T08:10:46.395Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "no", "K17": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cf69c1", "alias": "sequence_count_fib_divisible_v1_1520064083_8782", "problem": "Let $F_n$ denote the $n$th Fibonacci number, with $F_1 = F_2 = 1$. Compute the number of positive integers $n \\leq 985$ such that $3$ divides $F_n$. Let $d_{\\min}$ be the smallest divisor of $599633$ that is at least $2$. Find the remainder when $d_{\\min}$ minus the count just computed is divided by $96800$.", "answer": 96577, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(985),\n \"d\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(599633))))), Ref(\"result\")), modulus=Const(96800)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.042, "created_at": "2026-02-08T10:23:10.498212Z", "verification": {"verified": true, "answer": 96577, "timestamp": "2026-02-08T10:23:10.540697Z"}, "problem_hash": "4e0256", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18587, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 5830}, "timestamp": "2026-02-14T07:16:20.390Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 581}, "timestamp": "2026-02-12T03:16:41.655Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "8ea081", "alias": "diophantine_fbi2_count_v1_124444284_6505", "problem": "Let $n = 3$. Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 32400$. Let $T$ be the set of all integers $t$ for which there exist positive integers $a \\leq 22$ and $b \\leq 5$ such that $t = 9a + 21b$ and $30 \\leq t \\leq 303$. Let $c$ be the number of elements in $T$. Find the number of integers $d$ such that $2 \\leq d \\leq 79$, $d$ divides $k$, $\\frac{k}{d} \\geq n$, and $\\frac{k}{d} \\leq c$. Compute this count.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(32400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(79)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=22)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=303)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T08:29:40.340394Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T08:29:40.348759Z"}, "problem_hash": "d4ab87", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 3517}, "timestamp": "2026-02-13T19:01:02.453Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 509}, "timestamp": "2026-02-12T01:56:26.499Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "d7c207", "alias": "nt_max_prime_below_v1_124444284_769", "problem": "Let $B_n$ denote the $n$th Bell number, which counts the number of partitions of a set of $n$ elements. Let $m = 243$. Let $S$ be the set of positive integers $n \\leq m$ such that $9$ divides $n$ and $\\gcd\\left(n, \\sum_{k=1}^{4} k\\right) = 1$. Let $r$ be the number of elements in $S$. Let $M$ be the largest prime number $n$ such that $2 \\leq n \\leq 32768$. Compute $B_{|M| \\bmod r}$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(243),\n \"_n\": Const(2),\n \"upper\": Const(32768),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\"))), Const(1))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/C5"], "recipe_id": "0bc4fb", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.865, "created_at": "2026-02-08T03:30:17.051864Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:30:17.917283Z"}, "problem_hash": "9d0621", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:46:15.245Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 4066}, "timestamp": "2026-02-09T05:40:53.590Z"}, {"id": 8, "model": "mathstral", "answer": 15, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 757}, "timestamp": "2026-02-12T17:57:48.189Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 495}, "timestamp": "2026-02-11T20:57:05.618Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "C5": "ok_later", "K13": "no", "L3c": "no", "MOD_MUL": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "79a1b5", "alias": "comb_binomial_compute_v1_2051736721_5907", "problem": "Let $n$ be the smallest divisor of $221$ that is at least $2$. Compute the remainder when $44121 \\cdot \\binom{n}{5}$ is divided by $91424$.", "answer": 9423, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(91424),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(221))))),\n \"k\": Const(5),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:51:41.802128Z", "verification": {"verified": true, "answer": 9423, "timestamp": "2026-02-08T18:51:41.804964Z"}, "problem_hash": "54b69b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 309}, "timestamp": "2026-02-13T00:35:48.806Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c2d8e1", "alias": "algebra_poly_eval_v1_784195855_865", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 617400$, $\\gcd(p, q) = 1$, and $p < q$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 6$, and let $M$ be the maximum value of $x \\cdot y$ over all such pairs. Compute $a^3 - 3a^2 + M \\cdot a + 1$.", "answer": 393, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=617400)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"result\": Sum(Pow(Ref(\"a\"), Ref(\"_m\")), Mul(Const(-3), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"a\")), EulerPhi(n=Const(1))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "ONE_PHI_1", "B1"], "recipe_id": "1de667", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:39:41.173410Z", "verification": {"verified": true, "answer": 393, "timestamp": "2026-02-08T04:39:41.180652Z"}, "problem_hash": "dd6dc7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "V8": "no"}, "split": "test"} +{"id": "5fd6bf", "alias": "antilemma_product_of_sums_v1_1520064083_609", "problem": "Let $n$ be a positive integer. Define $m$ to be the smallest positive integer such that $5^4$ divides $n!$. Let $S_1$ be the sum of all integers $k$ from $1$ to $m$, inclusive. Let $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 5$. Compute $S_1 \\cdot S_2$.", "answer": 47250, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"S1\": Summation(var=\"k\", start=Const(1), end=MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_n\")), Const(4)), domain='Z_{>0}')), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "63cb30", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "V5"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:29:46.134153Z", "verification": {"verified": true, "answer": 47250, "timestamp": "2026-02-08T03:29:46.135498Z"}, "problem_hash": "9dd5ed", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"PRODUCT_OF_SUMS": "ok", "V5": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "4196d0", "alias": "nt_euler_phi_compute_v1_1918700295_904", "problem": "Let $p_1=89$ and $q=79$, and define\n$$n_2=p_1^2q=89^2\\cdot79.$$\nLet $\\mu$ denote the Möbius function, and set\n$$f=\\mu(n_2)^2.$$\n\nLet $C$ be the number of integers $n$ with $1\\le n\\le 5726$ such that $7$ divides $n$ and $\\gcd(n,15)=1$. Let $d_0$ be the smallest integer $d\\ge2$ such that $d$ divides $C$.\n\nDefine\n$$p=d_0+f,$$\n$$n_1=p^2,$$\n$$u=\\lambda(n_1),$$\nwhere $\\lambda$ is the Liouville function, and\n$$n=60031u.$$\nFinally, let $Q=\\varphi(n)$, where $\\varphi$ is Euler's totient function.\n\nCompute $Q$.", "answer": 59512, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5726),\n \"_n\": Const(2),\n \"p1\": Const(89),\n \"q\": Const(79),\n \"n2\": Mul(Pow(Ref(\"p1\"), Const(2)), Ref(\"q\")),\n \"f\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"p\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))))))), Ref(\"f\")),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"u\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(60031), Ref(\"u\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE/LIOUVILLE_ONE"], "recipe_id": "b7250f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C5", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:23:29.116964Z", "verification": {"verified": true, "answer": 59512, "timestamp": "2026-02-08T05:23:29.119840Z"}, "problem_hash": "2d2436", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "LIOUVILLE_ONE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "split": "test"} +{"id": "893820", "alias": "comb_binomial_compute_v1_1978505735_6863", "problem": "Let $n = 15$ and let $k$ be the smallest divisor of $143143$ that is at least $2$. Compute the remainder when $44121 \\cdot \\binom{n}{k}$ is divided by $80033$.", "answer": 41584, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80033),\n \"n\": Const(15),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T19:51:05.975418Z", "verification": {"verified": true, "answer": 41584, "timestamp": "2026-02-08T19:51:05.977120Z"}, "problem_hash": "cfbfe9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 225}, "timestamp": "2026-02-13T01:13:26.768Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K17": "no", "L3c": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8618f7", "alias": "antilemma_sum_equals_v1_1918700295_2612", "problem": "Let $m = 126$ and let $n$ be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = m$. Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 62$ and $1 \\le j \\le 63$ such that $i + j = n$. Compute the value of $$\\sum_{k=\\binom{15}{0}}^{|x|} \\phi(k),$$ where $\\phi$ denotes Euler's totient function.", "answer": 1192, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(126),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(62)), right=IntegerRange(start=Const(1), end=Const(63))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(15), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "862178", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T08:08:03.352046Z", "verification": {"verified": true, "answer": 1192, "timestamp": "2026-02-08T08:08:03.365369Z"}, "problem_hash": "1ca78c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1254, "score": 2, "correct": {"strict": false, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 5441}, "timestamp": "2026-02-13T14:57:08.047Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 606}, "timestamp": "2026-02-12T01:32:49.772Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "003646", "alias": "algebra_quadratic_discriminant_v1_1742523217_3679", "problem": "Let $a$ be the number of positive integers $j$ such that $1 \\leq j \\leq 4$ and $j^3 \\leq 64$. Let $b = 3$ and $c = -10$. Define $\\text{result} = b^2 - 4ac$. Let $Q$ be the remainder when \\[\\sum_{k=1}^{6} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor - \\text{result}\\] is divided by $57088$. Find the value of $Q$.", "answer": 56940, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(64),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(4)), Leq(Pow(Var(\"j\"), Const(3)), Ref(\"_n\"))), domain='positive_integers')),\n \"b\": Const(3),\n \"c\": Const(-10),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mod(value=Sub(Summation(var=\"k\", start=Const(1), end=Const(6), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))), Ref(\"result\")), modulus=Const(57088)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["K2", "C3"], "recipe_id": "9cc03b", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "K2", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.043, "created_at": "2026-02-08T06:02:24.381094Z", "verification": {"verified": true, "answer": 56940, "timestamp": "2026-02-08T06:02:24.424031Z"}, "problem_hash": "8f6a38", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56940, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 843}, "timestamp": "2026-02-12T18:36:23.491Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 650}, "timestamp": "2026-02-11T23:30:28.955Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "K2": "ok", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "06a5db", "alias": "nt_count_intersection_v1_1915831931_3759", "problem": "Let $a$ be the smallest divisor of $9625$ that is at least $2$. Let $N = 100000$. Let $r$ be the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, 18) = 1$. Compute the remainder when $49557r$ is divided by $77561$.", "answer": 64220, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(100000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9625))))),\n \"b\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(49557),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(77561)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.948, "created_at": "2026-02-08T17:52:33.870620Z", "verification": {"verified": true, "answer": 64220, "timestamp": "2026-02-08T17:52:37.818392Z"}, "problem_hash": "0767d5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 732}, "timestamp": "2026-02-12T23:18:41.321Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "94c89f", "alias": "comb_sum_binomial_row_v1_1526740231_93", "problem": "Let $d$ be a positive integer divisor of $537251$ with $d \\geq 2$. Let $n$ be the smallest such $d$. Compute $2^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:20:55.118502Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T11:20:55.119446Z"}, "problem_hash": "805275", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 85, "completion_tokens": 984}, "timestamp": "2026-02-14T11:55:02.478Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 168}, "timestamp": "2026-02-12T03:50:10.394Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "50c886", "alias": "nt_count_primes_v1_1520064083_9180", "problem": "Let $n_0$ be the smallest prime number that divides 10232447. Let $S$ be the set of all prime numbers $n$ such that $p \\le n \\le 73984$, where $p$ is the smallest prime divisor of 18. Compute the number of elements in $S$. Then compute the remainder when $n_0$ minus this count is divided by 62921.", "answer": 55644, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(73984),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(18)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10232447))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(62921)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "nt_count_primes_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.913, "created_at": "2026-02-08T10:35:12.801068Z", "verification": {"verified": true, "answer": 55644, "timestamp": "2026-02-08T10:35:14.713673Z"}, "problem_hash": "602112", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 55644, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 1505}, "timestamp": "2026-02-14T07:48:10.949Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 347}, "timestamp": "2026-02-12T03:21:13.191Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MAX_VAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "293382", "alias": "nt_count_divisors_in_range_v1_784195855_7601", "problem": "Let $n = 20160$. Define $T$ as the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 441$. Let $a$ be the minimum value of $x + y$ over all such pairs. Let $U$ be the set of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 15$, $1 \\leq b \\leq 113$, and $t = 14a + 6b$, with $20 \\leq t \\leq 888$. Let $b$ be the number of elements in $U$. Find the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(20160),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(441)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=113)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=888)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T09:25:02.735069Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T09:25:02.750027Z"}, "problem_hash": "119a0c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 5204}, "timestamp": "2026-02-14T03:49:59.632Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 858}, "timestamp": "2026-02-12T02:53:33.828Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K14": "no", "K17": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "51b4ba", "alias": "sequence_count_fib_divisible_v1_1520064083_6815", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 353$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $A$ be the number of such integers $n$. Determine the value of $A$.\n\nNow let $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq A$ and $7$ divides the $n$-th Fibonacci number. Compute $B$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(353),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.096, "created_at": "2026-02-08T08:21:51.792431Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T08:21:51.888793Z"}, "problem_hash": "d2c723", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 2542}, "timestamp": "2026-02-13T17:29:34.173Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 600}, "timestamp": "2026-02-12T01:47:56.609Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K18": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "ff4318", "alias": "nt_min_crt_v1_458359167_1180", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 36$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $k$ be the largest prime number $n$ such that $2 \\leq n \\leq \\min(T)$. Let $a = \\sum_{d \\mid 5} \\phi(d)$ and $b = 4$. Let $u$ be the number of integers $t$ such that $16 \\leq t \\leq 184$ and there exist positive integers $a'$ and $b'$ with $1 \\leq a' \\leq 14$, $1 \\leq b' \\leq 10$, and $t = 6a' + 10b'$. Let $n$ be the smallest positive integer such that $1 \\leq n \\leq u$, $n \\equiv a \\pmod{7}$, and $n \\equiv b \\pmod{k}$. Find the value of $n$.", "answer": 26, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"m\": Const(7),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"a\": SumOverDivisors(n=Const(value=5), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"b\": Const(4),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=14)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=184)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["B3/MAX_PRIME_BELOW", "LIN_FORM", "K3"], "recipe_id": "58a175", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.084, "created_at": "2026-02-08T04:26:26.490664Z", "verification": {"verified": true, "answer": 26, "timestamp": "2026-02-08T04:26:26.574664Z"}, "problem_hash": "933c65", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 26, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 348, "completion_tokens": 3920}, "timestamp": "2026-02-10T16:53:03.376Z"}, {"id": 8, "model": "mathstral", "answer": 29, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 443}, "timestamp": "2026-02-13T17:49:54.297Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 423}, "timestamp": "2026-02-11T20:52:46.364Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "26baf1", "alias": "comb_binomial_compute_v1_784195855_8199", "problem": "Let $n$ be the smallest divisor of 3757 that is greater than or equal to 2. Compute $\\binom{n}{6}$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3757))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:56:07.671257Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T15:56:07.674821Z"}, "problem_hash": "14c6a7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 333}, "timestamp": "2026-02-12T09:31:59.213Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "6e22fd", "alias": "nt_min_coprime_above_v1_1918700295_2607", "problem": "Let $a$ be the smallest integer $n$ such that $15376 < n \\leq 15644$ and $\\gcd(n, 258) = 1$. Let $c$ be the number of positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 2263176716354353800$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $c - a$ is divided by 69202.", "answer": 55873, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(15376),\n \"upper\": Const(15644),\n \"modulus\": Const(258),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), EulerPhi(n=Const(1)))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=2263176716354353800)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(69202)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "ONE_PHI_1"], "recipe_id": "a0c8b6", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 0.025, "created_at": "2026-02-08T08:07:27.689675Z", "verification": {"verified": true, "answer": 55873, "timestamp": "2026-02-08T08:07:27.714778Z"}, "problem_hash": "729439", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "3a6e4b", "alias": "nt_gcd_compute_v1_124444284_164", "problem": "Let $m = 51908$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = 297444$ and $b = 552396$. Define $d = \\gcd(a, b)$. Let $s$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 3542789250$, $\\gcd(p, q) = 1$, and $p < q$. Compute $d^n + 4d + s$, and find the remainder when this value is divided by $m$.", "answer": 16468, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(51908),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"a\": Const(297444),\n \"b\": Const(552396),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(4), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=3542789250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS"], "recipe_id": "8784fb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:02:06.875380Z", "verification": {"verified": true, "answer": 16468, "timestamp": "2026-02-08T03:02:06.878316Z"}, "problem_hash": "8d5a3b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16468, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 6314}, "timestamp": "2026-02-09T14:14:10.713Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16468, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 2966}, "timestamp": "2026-02-08T23:37:34.942Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16468, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 2936}, "timestamp": "2026-02-11T05:30:52.890Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 700}, "timestamp": "2026-02-11T13:07:09.481Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 455}, "timestamp": "2026-02-11T20:12:06.345Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "629740", "alias": "nt_count_coprime_and_v1_784195855_9485", "problem": "Let $k_1$ be the smallest divisor of $2695$ that is at least $2$, and let $k_2 = 11$. Determine the number of positive integers $n \\leq 11288$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Let $r$ be this number. Find the remainder when $80131 \\cdot r$ is divided by $77342$.", "answer": 4458, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11288),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2695))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(80131), Ref(\"result\")), modulus=Const(77342)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.335, "created_at": "2026-02-08T16:51:55.150683Z", "verification": {"verified": true, "answer": 4458, "timestamp": "2026-02-08T16:51:57.485802Z"}, "problem_hash": "ccd559", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 482}, "timestamp": "2026-02-12T21:15:03.597Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "K18": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1741bb", "alias": "comb_factorial_compute_v1_2051736721_2008", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 11011. Define $n$ to be this value of $d$. Let $r = n!$. Compute the remainder when $89695 \\cdot r$ is divided by 81668.", "answer": 30420, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81668),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(89695), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:24:54.670332Z", "verification": {"verified": true, "answer": 30420, "timestamp": "2026-02-08T16:24:54.671851Z"}, "problem_hash": "a9a0e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 467}, "timestamp": "2026-02-12T10:43:18.770Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "782e62", "alias": "sequence_count_fib_divisible_v1_1978505735_5615", "problem": "Let $m = 12641$ and $n = 4$. Define $U$ to be the number of positive integers $n'$ with $1 \\leq n' \\leq S$, $n' \\equiv 0 \\pmod{4}$, and $\\gcd(n', 15) = 1$, where $S$ is the minimum value of $x + y$ over all positive integers $x, y$ such that $xy = 7828804$. Let $d = 14$. Define $r$ to be the number of positive integers $n_1$ with $1 \\leq n_1 \\leq U$ such that the $n_1$-th Fibonacci number is divisible by $d$. Find the remainder when $m \\cdot r$ is divided by $86994$.", "answer": 43895, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12641),\n \"_n\": Const(4),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(7828804)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\n \"d\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(86994)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.101, "created_at": "2026-02-08T19:07:11.961205Z", "verification": {"verified": true, "answer": 43895, "timestamp": "2026-02-08T19:07:12.062481Z"}, "problem_hash": "0a9856", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 445}, "timestamp": "2026-02-13T00:49:07.177Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K17": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e28c1c", "alias": "sequence_fibonacci_compute_v1_1520064083_5429", "problem": "Let $m=3$. Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq=18$, $\\gcd(p,q)=1$, and $p p$ such that $pq = 176091300$ and $\\gcd(p, q) = 1$. Compute $x + 2^{x \\bmod |P|}$, and find the remainder when this value is divided by $81487$.", "answer": 37, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=176091300)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), modulus=Const(81487))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "SUM_PRIMES"], "recipe_id": "890a42", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:26:24.704612Z", "verification": {"verified": true, "answer": 37, "timestamp": "2026-02-08T04:26:24.706076Z"}, "problem_hash": "8d2e89", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no"}, "split": "test"} +{"id": "24a2a9", "alias": "comb_count_derangements_v1_655260480_759", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 143143. Compute the remainder when $36293 \\cdot !(n)$ is divided by 97566, where $!(n)$ denotes the number of derangements of $n$ elements.", "answer": 64248, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(36293),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(97566)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.157, "created_at": "2026-02-08T15:35:40.355750Z", "verification": {"verified": true, "answer": 64248, "timestamp": "2026-02-08T15:35:40.512587Z"}, "problem_hash": "4a3e5c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 427}, "timestamp": "2026-02-12T08:50:50.056Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d562a0", "alias": "comb_sum_binomial_mod_v1_1439011603_2756", "problem": "Let $c = 2029$ and $d = 2$. Let $m$ be the largest prime number at most $2445$. Let $T$ be the set of prime numbers at most $c$. Let $K$ be the largest prime number at most $|T|$. Define\n$$\nS = \\sum_{k=3}^{K} \\binom{\\pi}{k},\n$$\nwhere $\\pi$ is the number of prime numbers in the interval $[d, m]$. Compute the remainder when $S$ is divided by $11833$.", "answer": 8568, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_c\": Const(2029),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2445)), IsPrime(Var(\"n\"))))),\n \"_n\": Const(11833),\n \"sum\": Summation(var=\"k\", start=Const(3), end=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_c\")), IsPrime(Var(\"n2\")))))), IsPrime(Var(\"n1\"))))), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Ref(\"_d\")), Leq(Var(\"n3\"), Ref(\"_m\")), IsPrime(Var(\"n3\"))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["COUNT_PRIMES/MAX_PRIME_BELOW", "MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "9bffc7", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LTE_DIFF", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.062, "created_at": "2026-02-08T16:56:03.055391Z", "verification": {"verified": true, "answer": 8568, "timestamp": "2026-02-08T16:56:03.117762Z"}, "problem_hash": "1e45ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 427}, "timestamp": "2026-02-12T21:32:31.523Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "591a44", "alias": "nt_lcm_compute_v1_655260480_3181", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 1493284$. Let $a$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $b$ be the number of integers $t$ such that $10 \\leq t \\leq 1596$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 132$, $1 \\leq b \\leq 224$, and $t = 7a + 3b$. Let $\\ell$ be the least common multiple of $a$ and $b$. Find the remainder when $20016 \\cdot \\ell$ is divided by $50897$.", "answer": 15582, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50897),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1493284)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=132)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=224)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=1596)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(20016), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T17:14:26.174754Z", "verification": {"verified": true, "answer": 15582, "timestamp": "2026-02-08T17:14:26.179604Z"}, "problem_hash": "a28074", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 437}, "timestamp": "2026-02-12T22:13:00.771Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "DS2": "no", "K16": "no", "L3b": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "39c60f", "alias": "sequence_count_fib_divisible_v1_2080023795_53", "problem": "Let $d$ be the smallest prime divisor of $127874164793$. Define $Q$ to be the number of positive integers $n$ such that $1 \\leq n \\leq d$ and $9$ divides the $n$th Fibonacci number. Compute the remainder when $44121 \\cdot Q$ is divided by $53831$.", "answer": 8689, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53831),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(127874164793))))),\n \"d\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.03, "created_at": "2026-02-08T11:30:51.727735Z", "verification": {"verified": true, "answer": 8689, "timestamp": "2026-02-08T11:30:51.757356Z"}, "problem_hash": "0619a2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:38:58.643Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:31:49.962Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 131, "completion_tokens": 380}, "timestamp": "2026-02-09T09:19:12.762Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 119, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:50:01.190Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 572}, "timestamp": "2026-02-12T04:11:50.437Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "81e924", "alias": "nt_count_divisors_in_range_v1_971394319_437", "problem": "Let $n = 498960$, $a = 68$, and let $b$ be the number of positive integers $n'$ not exceeding $45360$ such that $n' \\equiv \\left\\lfloor \\frac{n'}{2} \\right\\rfloor \\pmod{5}$. Compute the number of positive divisors of $n$ that are at least $a$ and at most $b$.", "answer": 131, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(45360),\n \"n\": Const(498960),\n \"a\": Const(68),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.098, "created_at": "2026-02-08T13:05:57.570907Z", "verification": {"verified": true, "answer": 131, "timestamp": "2026-02-08T13:05:57.668560Z"}, "problem_hash": "46193a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 540}, "timestamp": "2026-02-12T06:12:51.085Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "316632", "alias": "comb_count_derangements_v1_1125832087_170", "problem": "Let $c = 2$. Let $m$ be the number of positive integers $n \\leq 27$ such that $c$ divides $F_n$, where $F_n$ is the $n$th Fibonacci number. Let $n$ be the number of unordered pairs of coprime positive integers $(p, q)$ such that $p < q$ and $pq = 36$. Let $p_{\\text{max}}$ be the largest prime number $p$ such that $n \\leq p \\leq m$. Compute the number of derangements of $p_{\\text{max}}$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(27)), Divides(divisor=Ref(\"_c\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "4bb54e", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:55:00.290422Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T02:55:00.292827Z"}, "problem_hash": "1357b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 1204}, "timestamp": "2026-02-10T11:47:38.021Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 1231}, "timestamp": "2026-02-10T12:24:59.167Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 6478}, "timestamp": "2026-02-10T15:04:14.708Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 191, "completion_tokens": 2464}, "timestamp": "2026-02-10T15:18:22.176Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 1307}, "timestamp": "2026-02-10T15:42:57.697Z"}, {"id": 8, "model": "mathstral", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 590}, "timestamp": "2026-02-11T06:37:08.701Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2520, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 559}, "timestamp": "2026-02-11T19:22:53.024Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "COPRIME_PAIRS": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K18": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.6, "hi": -6.14}, "split": "test"} +{"id": "5c6c74", "alias": "antilemma_cartesian_v1_168721529_2103", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 32$ and $1 \\leq j \\leq 37$.\n\nCompute the remainder when\n$$\nx^2 + \\binom{14}{0} \\cdot x + (69 \\times 69)\n$$\nis divided by $78822$.", "answer": 67827, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78822),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(32)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Binom(n=Const(14), k=Const(0)), Ref(\"x\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(69)), right=IntegerRange(start=Const(1), end=Const(69))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN", "ONE_BINOM_0"], "recipe_id": "4b4a0d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T14:07:12.349279Z", "verification": {"verified": true, "answer": 67827, "timestamp": "2026-02-08T14:07:12.352596Z"}, "problem_hash": "8c09c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 67827, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 891}, "timestamp": "2026-02-10T02:11:36.586Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 70757, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 342}, "timestamp": "2026-02-11T21:18:35.302Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "e17c94", "alias": "comb_catalan_compute_v1_1915831931_1310", "problem": "Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 22$. Let $C_n$ denote the $n$-th Catalan number. Let $a$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i \\le 12$ and $1 \\le j \\le 12$ such that $i + j = 14$. Compute the remainder when $a - C_n$ is divided by $76348$.", "answer": 17573, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76348),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(14)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(22))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1"], "recipe_id": "4b7a93", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T15:59:47.223672Z", "verification": {"verified": true, "answer": 17573, "timestamp": "2026-02-08T15:59:47.239380Z"}, "problem_hash": "dc8d8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 453}, "timestamp": "2026-02-12T09:43:02.526Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "53f80e", "alias": "comb_catalan_compute_v1_865884756_4455", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 11$, $1 \\leq j \\leq 11$, and $i + j = 11$. Let $r$ be the $n$-th Catalan number. Compute the remainder when $$\\sum_{k=\\binom{16}{0}}^{|r|} \\tau(k)$$ is divided by $79515$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 6965, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(79515),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(11)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Binom(n=Const(16), k=Const(0)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "ec98de", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T17:56:04.532723Z", "verification": {"verified": true, "answer": 6965, "timestamp": "2026-02-08T17:56:04.545201Z"}, "problem_hash": "29e206", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 464}, "timestamp": "2026-02-12T23:25:52.603Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0e7e5e", "alias": "sequence_fibonacci_compute_v1_865884756_6728", "problem": "Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$. Let $c$ be the smallest integer greater than or equal to 2 that divides 1230731. Compute the remainder when $c - F_{25}$ is divided by 56205.", "answer": 37414, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56205),\n \"n\": Const(25),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1230731))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T19:22:22.325297Z", "verification": {"verified": true, "answer": 37414, "timestamp": "2026-02-08T19:22:22.326341Z"}, "problem_hash": "a86688", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 234}, "timestamp": "2026-02-13T00:58:24.049Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "V1": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ed31e0", "alias": "antilemma_product_of_sums_v1_1918700295_987", "problem": "Consider all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 6$ and $1 \\le j \\le 44$ such that $\\gcd(i,j) = 1$. Let $n$ be the number of such pairs.\n\nLet\n$$S_1 = \\sum_{i=1}^{3} \\sum_{j=1}^{8} ij.$$\n\nAmong all ordered pairs $(x,y)$ of positive integers satisfying $xy = n$, let $s$ be the minimum possible value of $x + y$.\n\nLet\n$$S_2 = \\sum_{k=1}^{s} k.$$\n\nFinally, let $x = S_1 S_2$.\n\nCompute $x$. ", "answer": 75816, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(44))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/B3/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "25ca6f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:26:04.415734Z", "verification": {"verified": true, "answer": 75816, "timestamp": "2026-02-08T05:26:04.419078Z"}, "problem_hash": "74a7e6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "PRODUCT_OF_SUMS": "ok", "B3": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "66684a", "alias": "comb_count_derangements_v1_397696148_2843", "problem": "Let $n$ be the smallest integer greater than $1$ that divides $1001$. Let $\\text{result}$ be the number of derangements of $n$ elements. Compute the remainder when $\\sum_{m=1}^{|\\text{result}|} \\phi(m)$ is divided by $86719$, where $\\phi$ denotes Euler's totient function.", "answer": 4666, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1001),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(86719)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.089, "created_at": "2026-02-08T14:06:22.776457Z", "verification": {"verified": true, "answer": 4666, "timestamp": "2026-02-08T14:06:22.865476Z"}, "problem_hash": "ea0668", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 519}, "timestamp": "2026-02-12T07:48:37.129Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K14": "no", "K15": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5e67ac", "alias": "nt_gcd_compute_v1_1918700295_855", "problem": "Let $p = 19$ and $n = p^3$. Define $m = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $p_0$ be the smallest integer $d \\geq 2$ that divides $175$. Define $f$ to be the remainder when $\\left( (p_0 - \\phi(1))! + 1 \\right)$ is divided by $p_0$. Let $a = 211833 + f$ and $b = 494277 + m$. Determine the value of $\\gcd(a, b)$.", "answer": 70611, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(19),\n \"n\": Pow(Ref(\"p1\"), Const(3)),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(175))))),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), EulerPhi(n=Const(1)))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Sum(Const(211833), Ref(\"f\")),\n \"b\": Sum(Const(494277), Ref(\"m\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "LIOUVILLE_MINUS_ONE", "ONE_PHI_1"], "recipe_id": "8ae245", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "ONE_PHI_1", "WILSON"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:32:36.669866Z", "verification": {"verified": true, "answer": 70611, "timestamp": "2026-02-08T03:32:36.676772Z"}, "problem_hash": "ad64d5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "WILSON": "ok_later", "K13": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "c8dced", "alias": "diophantine_fbi2_count_v1_124444284_279", "problem": "Let $p_1 = 5$, and let $h$ be the remainder when $(4! + 1)$ is divided by $p_1$. Let $p = 7$ and $q = 71$, and define $n = p^2 \\cdot q$. Let $t = (\\mu(n))^2$, where $\\mu$ denotes the M\\\"obius function. Let $k = 360 + h + t$. Let $S$ be the set of all integers $d$ such that $3 \\leq d \\leq 692$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 95$, where $692$ is the number of positive integers at most $692$ that are divisible by $4$ and relatively prime to $15$. Compute the remainder when $44121$ times the number of such $d$ is divided by $51481$.", "answer": 29323, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(5),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Const(7),\n \"q\": Const(71),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"k\": Sum(Const(360), Ref(\"h\"), Ref(\"t\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(692)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(95))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(51481)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "WILSON", "C5"], "recipe_id": "de8042", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C5", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T03:08:41.124733Z", "verification": {"verified": true, "answer": 29323, "timestamp": "2026-02-08T03:08:41.133096Z"}, "problem_hash": "249b6f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29323, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 308, "completion_tokens": 7559}, "timestamp": "2026-02-09T15:37:13.903Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 29323, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 1719}, "timestamp": "2026-02-09T00:22:50.539Z"}], "solution_status": 2, "lemma_applicability": {"C5": "ok", "MOBIUS_SQUAREFREE": "ok", "WILSON": "ok", "C2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "c3c7c4", "alias": "comb_sum_binomial_row_v1_124444284_7721", "problem": "Let $n$ be the smallest divisor of $41327$ that is greater than or equal to $2$. Define $r = 2^n$. Let $m = |r| + 2$. Determine the value of the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $m$. Compute $k$.", "answer": 300, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41327),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:20:07.265695Z", "verification": {"verified": true, "answer": 300, "timestamp": "2026-02-08T09:20:07.266761Z"}, "problem_hash": "d1226c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 300, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 119, "completion_tokens": 1390}, "timestamp": "2026-02-14T02:55:49.092Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 391}, "timestamp": "2026-02-12T02:47:50.259Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "K5": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "32b867", "alias": "nt_count_digit_sum_v1_677425708_3615", "problem": "Let $p$ be the largest prime number less than or equal to 6140. Let $S$ be the set of all positive integers $n$ such that $n \\leq 11633$ and the sum of the decimal digits of $n$ is 21. Let $T$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq p$. Compute the remainder when $2^{|S|} + |T|$ is divided by 99991.", "answer": 62201, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6140)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(11633),\n \"target_sum\": Const(21),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "6d644d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.425, "created_at": "2026-02-08T05:51:40.919656Z", "verification": {"verified": true, "answer": 62201, "timestamp": "2026-02-08T05:51:41.344897Z"}, "problem_hash": "3175f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 73299, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 151, "completion_tokens": 7619}, "timestamp": "2026-02-12T15:54:20.144Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 410}, "timestamp": "2026-02-11T23:15:02.942Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_SUM": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "411e5e", "alias": "modular_count_residue_v1_784195855_8172", "problem": "Let $m$ be the smallest divisor of $9833381567$ that is at least $2$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 42436$ and $n \\equiv 5 \\pmod{m}$.", "answer": 1845, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(42436),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9833381567))))),\n \"r\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.462, "created_at": "2026-02-08T15:55:19.503748Z", "verification": {"verified": true, "answer": 1845, "timestamp": "2026-02-08T15:55:20.966095Z"}, "problem_hash": "eaa43e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 277}, "timestamp": "2026-02-12T09:24:41.538Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K15": "no", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "224527", "alias": "nt_count_coprime_and_v1_1918700295_1130", "problem": "Let $N$ be the number of integers $t$ such that $5\\le t\\le 36$ and there exist integers $a$ and $b$ with $1\\le a\\le 12$, $1\\le b\\le 4$, and\n$$t=2a+3b.$$\n\nLet $M$ be the number of positive integers $k$ with $1\\le k\\le 97350$ such that $N$ divides $k$.\n\nLet $E$ be the largest integer $e$ such that $5^e$ divides $M!$.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le 47223$ such that $\\gcd(n,5)=1$ and $\\gcd(n,9)=1$.\n\nLet\n$$Q\\equiv E\\cdot R\\pmod{54078},$$\nwith $0\\le Q<54078$.\n\nFind the value of $Q$.", "answer": 42146, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(54078),\n \"upper\": Const(47223),\n \"k1\": Const(5),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(97350)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=36)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), dividend=Var(\"k\"))), domain='positive_integers'))), base=Ref(\"_m\")), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2/V1"], "recipe_id": "e94902", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM", "V1"], "num_lemmas": 3, "generation_time": 5.367, "created_at": "2026-02-08T05:36:14.173786Z", "verification": {"verified": true, "answer": 42146, "timestamp": "2026-02-08T05:36:19.540789Z"}, "problem_hash": "41f7f6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "V1": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "b2a623", "alias": "antilemma_v1_legendre_1520064083_4353", "problem": "Let $a = 5$ and $b = 149$. Let $f = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the Möbius function. Let $c = \\lambda(169)$, where $\\lambda$ is the Liouville function. Let $x$ be the largest integer $k$ such that $5^k$ divides $10480!$. Compute the remainder when $24c - x$ is divided by $76007f$.", "answer": 73414, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(5),\n \"b\": Const(149),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(169),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"x\": MaxKDivides(target=Factorial(Const(10480)), base=Const(5)),\n \"_c\": Mul(Const(24), Ref(\"c\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Mul(Const(76007), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "LIOUVILLE_ONE", "V1"], "recipe_id": "8c819a", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:14:07.828251Z", "verification": {"verified": true, "answer": 73414, "timestamp": "2026-02-08T06:14:07.830125Z"}, "problem_hash": "50f45f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MOBIUS_COPRIME": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V3": "no", "V8": "no"}, "split": "test"} +{"id": "39f34e", "alias": "comb_factorial_compute_v1_784195855_4753", "problem": "Let $c = 200$. Define $m$ to be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = c$. Define $n$ to be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Let $s$ be the number of nonnegative integers $j$ such that $0 \\le j \\le n$ and $\\binom{200}{j}$ is odd. Compute the remainder when $67043 \\times s!$ is divided by $69808$.", "answer": 68384, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(200),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(200), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(67043), Ref(\"result\")), modulus=Const(69808)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/V8"], "recipe_id": "d88b08", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "V8"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:19:54.628932Z", "verification": {"verified": true, "answer": 68384, "timestamp": "2026-02-08T07:19:54.632256Z"}, "problem_hash": "ab5ba4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 8192}, "timestamp": "2026-02-13T09:55:25.562Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 638}, "timestamp": "2026-02-12T01:00:53.482Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "V8": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "041698", "alias": "antilemma_count_primes_v1_677425708_4064", "problem": "Let $n_1 = 1$. Define $w = \\Omega(n_1)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $n = 1 + w$, and let $m = \\omega(n)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 149$. Compute the value of\n$$\nx \\bmod 293 + 1009 \\cdot \\left( x \\bmod (337 + m) \\right).$$", "answer": 35350, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"w\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(1), Ref(\"w\")),\n \"m\": SmallOmega(n=Ref(name='n')),\n \"_n\": Const(149),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Const(1009), Mod(value=Ref(\"x\"), modulus=Sum(Const(337), Ref(\"m\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "9dc81a", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T06:25:11.114195Z", "verification": {"verified": true, "answer": 35350, "timestamp": "2026-02-08T06:25:11.115333Z"}, "problem_hash": "f44c86", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "OMEGA_ZERO": "ok", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8": "no"}, "split": "test"} +{"id": "ac6839", "alias": "comb_sum_binomial_mod_v1_1439011603_785", "problem": "Let $d_0$ be the smallest positive divisor of $78205381$ that is at least $2$. Compute the remainder when\n$$\n\\sum_{k=70}^{401} \\binom{d_0}{k}\n$$\nis divided by $10589$. Note that $\\binom{d_0}{k} = 0$ whenever $k > d_0$.", "answer": 7329, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"sum\": Summation(var=\"k\", start=Const(70), end=Const(401), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(78205381))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10589)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.053, "created_at": "2026-02-08T15:42:44.182312Z", "verification": {"verified": true, "answer": 7329, "timestamp": "2026-02-08T15:42:44.234834Z"}, "problem_hash": "b7e42d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 570}, "timestamp": "2026-02-12T09:05:38.776Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5aa47a", "alias": "modular_count_residue_v1_1978505735_3936", "problem": "Let $m$ be the smallest divisor of $48841$ that is at least $2$. Let $r = 4$ and let $U = 77284$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $n \\equiv r \\pmod{m}$.", "answer": 5945, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(77284),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(48841))))),\n \"r\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.528, "created_at": "2026-02-08T17:55:46.064118Z", "verification": {"verified": true, "answer": 5945, "timestamp": "2026-02-08T17:55:48.592085Z"}, "problem_hash": "a352db", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 437}, "timestamp": "2026-02-12T23:22:21.634Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "MOD_ADD": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "61c1ba", "alias": "sequence_count_fib_divisible_v1_1439011603_2340", "problem": "Let $d$ be the smallest divisor of $291479$ that is at least $2$. Determine the value of the number of positive integers $n$ such that $n \\le 429$ and $d$ divides the $n$-th Fibonacci number.", "answer": 23, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(429),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(291479))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.029, "created_at": "2026-02-08T16:44:07.021028Z", "verification": {"verified": true, "answer": 23, "timestamp": "2026-02-08T16:44:07.050009Z"}, "problem_hash": "0df38b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 313}, "timestamp": "2026-02-12T20:49:35.689Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_SUM": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2539b3", "alias": "nt_count_digit_sum_v1_124444284_1194", "problem": "Let $N$ be the number of positive integers $n \\leq 43$ such that $\\gcd(n, 12) = 1$. Let $S$ be the set of all primes $n$ such that $2 \\leq n \\leq N$. Define $m = \\sum_{d \\mid \\gcd(11, \\max(S))} \\mu(d)$. Determine the number of positive integers $n$ with $n \\geq m$, $n \\leq 234256$, and digit sum equal to 28.", "answer": 10321, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(43)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"upper\": Const(234256),\n \"target_sum\": Const(28),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Ref(name='_n')), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MAX_PRIME_BELOW/MOBIUS_COPRIME"], "recipe_id": "1eb677", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 10.725, "created_at": "2026-02-08T03:43:49.020702Z", "verification": {"verified": true, "answer": 10321, "timestamp": "2026-02-08T03:43:59.745503Z"}, "problem_hash": "43c7b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:16:32.959Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 10321, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 6689}, "timestamp": "2026-02-09T10:49:43.864Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "f84420", "alias": "modular_modexp_compute_v1_124444284_3453", "problem": "Let $a$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 2$, $1 \\leq j \\leq 11$, and $\\gcd(i,j) = 1$.\n\nLet $e$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 5345344$.\n\nLet $m = 32041$ and define $r = a^e \\bmod m$.\n\nCompute the remainder when $3^{|r|} + 44944$ is divided by $98776$.", "answer": 2631, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"e\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(5345344)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(32041),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(44944),\n \"Q\": Mod(value=Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")), modulus=Const(98776)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T05:24:50.297522Z", "verification": {"verified": true, "answer": 2631, "timestamp": "2026-02-08T05:24:50.307849Z"}, "problem_hash": "15e7ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52723, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 4664}, "timestamp": "2026-02-12T08:30:16.890Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 652}, "timestamp": "2026-02-14T17:34:47.466Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 605}, "timestamp": "2026-02-11T22:37:05.589Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_CARTESIAN": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "28d3e4", "alias": "nt_count_divisible_v1_124444284_6759", "problem": "Let $N = 55225$. Let $d_0$ be the smallest integer $d \\geq 2$ that divides $79781$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ is divisible by $d_0$. Compute this count and call it $Q$. Find the value of $Q$.", "answer": 4248, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(55225),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(79781))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.799, "created_at": "2026-02-08T08:37:22.236096Z", "verification": {"verified": true, "answer": 4248, "timestamp": "2026-02-08T08:37:24.034970Z"}, "problem_hash": "1769a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4248, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 669}, "timestamp": "2026-02-13T20:09:31.927Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 240}, "timestamp": "2026-02-12T02:03:06.855Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "6ec7fe", "alias": "modular_modexp_compute_v1_50713871_53", "problem": "Let $ n_0 $ be the smallest positive integer $ n $ such that $ 2 $ divides $ n! $, and let $ N $ be the largest prime number between $ 2 $ and $ 5 $, inclusive. Define $ n_1 $ as the largest prime number $ n $ such that $ n_0 \\leq n \\leq N $. Let $ a $ be the largest prime number $ n $ such that $ 2 \\leq n \\leq n_1 $. Let $ T $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x \\cdot y = 4000000 $. Let $ e $ be the minimum value of $ x + y $ as $ (x, y) $ ranges over $ T $. Compute the remainder when $ 25531 \\cdot (a^e \\bmod 57600) $ is divided by $ 69064 $.", "answer": 59571, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_c\": Const(69064),\n \"_m\": Const(25531),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(1)), domain='Z_{>0}'))), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_d\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"e\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(57600),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "V5/MAX_PRIME_BELOW", "B3"], "recipe_id": "dae00e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T02:43:54.647901Z", "verification": {"verified": true, "answer": 59571, "timestamp": "2026-02-08T02:43:54.653064Z"}, "problem_hash": "cc0daf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 59571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:45:49.545Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 59571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 3246}, "timestamp": "2026-02-09T19:26:52.485Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:52:25.398Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 59571, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 3348}, "timestamp": "2026-02-09T23:27:49.744Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "test"} +{"id": "48597d", "alias": "nt_count_coprime_and_v1_168721529_461", "problem": "Let $k_1$ be the smallest integer $d \\geq 2$ that divides $91091$, and let $k_2 = 11$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 30979$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute the remainder when $44121 \\cdot N$ is divided by $96532$.", "answer": 43384, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(30979),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(91091))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(96532)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.844, "created_at": "2026-02-08T13:03:48.717664Z", "verification": {"verified": true, "answer": 43384, "timestamp": "2026-02-08T13:03:52.561706Z"}, "problem_hash": "6a6856", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3596, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 3053}, "timestamp": "2026-02-09T05:16:53.606Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 43384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 7529}, "timestamp": "2026-02-09T17:12:11.431Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 43384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 1851}, "timestamp": "2026-02-10T05:21:26.427Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 731}, "timestamp": "2026-02-12T06:07:21.188Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -5.32, "mid": -1.91, "hi": 1.66}, "split": "test"} +{"id": "655ede", "alias": "diophantine_product_count_v1_2051736721_1559", "problem": "Let $k = 420$ and $\\text{upper} = 183$. Define $\\text{result}$ to be the number of positive integers $x$ such that $1 \\leq x \\leq \\text{upper}$, $x$ divides $k$, and $\\frac{k}{x} \\leq \\text{upper}$. Let $Q$ be the Bell number corresponding to the remainder when $|\\text{result}|$ is divided by $11$. Determine the value of $Q$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"upper\": Const(183),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.076, "created_at": "2026-02-08T16:06:13.984795Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T16:06:14.060321Z"}, "problem_hash": "70dd68", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 347}, "timestamp": "2026-02-12T09:51:24.595Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8eae83", "alias": "modular_product_range_v1_655260480_4898", "problem": "Let $k$ be the largest integer such that $2^k \\leq 245872799836692$. Let $t_{\\text{max}}$ be the number of integers $t$ in the range $12 \\leq t \\leq 210$ for which there exist positive integers $a \\leq 25$ and $b \\leq 7$ such that $t = 7a + 5b$. Compute the product $$\n\n\\prod_{i=k}^{t_{\\text{max}}} i,\n\n$$ and let $r$ be the remainder when this product is divided by 11833. Then compute the remainder when $46784 \\cdot r$ is divided by 74753. Find this final remainder.", "answer": 54678, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11833),\n \"_n\": Const(74753),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(245872799836692)))), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=210)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n \"_c\": Const(46784),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MAX_VAL"], "recipe_id": "25f4c0", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_VAL"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T18:12:10.989607Z", "verification": {"verified": true, "answer": 54678, "timestamp": "2026-02-08T18:12:10.992413Z"}, "problem_hash": "0e45bd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 406}, "timestamp": "2026-02-12T23:52:37.089Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_VAL": "ok", "K16": "same_pattern_wrong", "DS2": "no", "K17": "no", "MOD_FACTORIAL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "37687d", "alias": "modular_sum_quadratic_residues_v1_124444284_443", "problem": "Let $p$ be the smallest prime divisor of $46150858903$.\n\nDefine $$\n\\text{result} = \\frac{p(p-1)}{4}.\n$$\n\nCompute the Bell number corresponding to the remainder when $|\\text{result}|$ is divided by $11$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(46150858903))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:17:46.438113Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T03:17:46.440229Z"}, "problem_hash": "ed18ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:46:49.708Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:17:36.107Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 102, "completion_tokens": 8192}, "timestamp": "2026-02-11T10:23:18.967Z"}, {"id": 8, "model": "mathstral", "answer": 86432, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 127, "completion_tokens": 554}, "timestamp": "2026-02-12T12:47:15.815Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 244}, "timestamp": "2026-02-11T20:39:22.545Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "0513be", "alias": "nt_min_coprime_above_v1_1978505735_3375", "problem": "Let $S$ be the set of all positive integers $t$ such that $7 \\leq t \\leq 5939$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1987$, $1 \\leq b \\leq 393$, and $t = 2a + 5b$. Let $N$ denote the number of elements in $S$.\n\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 9778129$. Define $M$ to be the minimum value of $x + y$ over all such pairs.\n\nLet $R$ be the smallest positive integer $n$ such that $N < n \\leq M$ and $\\gcd(n, 315) = 1$.\n\nCompute $R$.", "answer": 5932, "graph": "graphs = [\n Graph(\n let={\n \"start\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1987)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=393)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5939)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9778129)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"modulus\": Const(315),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T17:35:51.795299Z", "verification": {"verified": true, "answer": 5932, "timestamp": "2026-02-08T17:35:51.835956Z"}, "problem_hash": "6cfeb8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 742}, "timestamp": "2026-02-12T22:50:26.269Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "L3b": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9007f6", "alias": "modular_sum_quadratic_residues_v1_168721529_313", "problem": "Let $p$ be the smallest prime divisor of $99221$. Define $r = \\frac{p(p-1)}{4}$. Compute the remainder when $30640 \\cdot r$ is divided by $91371$.", "answer": 81954, "graph": "graphs = [\n Graph(\n let={\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(99221))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Const(30640),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91371)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:59:23.516837Z", "verification": {"verified": true, "answer": 81954, "timestamp": "2026-02-08T12:59:23.518903Z"}, "problem_hash": "03dda2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 81954, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 163, "completion_tokens": 4180}, "timestamp": "2026-02-09T03:37:17.451Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 4941, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 105, "completion_tokens": 388}, "timestamp": "2026-02-09T15:20:10.062Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 81954, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 92, "completion_tokens": 3934}, "timestamp": "2026-02-10T02:58:00.657Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 212}, "timestamp": "2026-02-12T05:58:43.723Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -5.32, "mid": -1.91, "hi": 1.66}, "split": "test"} +{"id": "9de3a5", "alias": "modular_sum_quadratic_residues_v1_1431428450_208", "problem": "Let $p$ be the smallest prime divisor of $6323907529$ that is at least $2$. Compute $\\frac{p(p-1)}{4}$.", "answer": 19670, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6323907529))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:17:53.707501Z", "verification": {"verified": true, "answer": 19670, "timestamp": "2026-02-08T13:17:53.709574Z"}, "problem_hash": "aa85a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 165}, "timestamp": "2026-02-12T06:28:48.114Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a749ef", "alias": "antilemma_sum_primes_v1_1742523217_1885", "problem": "Let $\\mathcal{S}$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 12769$. Define $s_{\\min}$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $\\mathcal{S}$. Let $\\pi_{\\min}$ be the number of prime numbers between $2$ and $3$, inclusive. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|s_{\\min}| + 2$.", "answer": 4664, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12769),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\")))))), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/SUM_PRIMES", "B3/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "62d479", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:19:19.350693Z", "verification": {"verified": true, "answer": 4664, "timestamp": "2026-02-08T04:19:19.354338Z"}, "problem_hash": "c7adf0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "SUM_PRIMES": "ok", "K14": "no", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V1": "no"}, "split": "test"} +{"id": "db1397", "alias": "modular_product_range_v1_168721529_346", "problem": "Let $n = 4$. Define $P$ to be the product of all integers $i$ from $n$ to $d_{\\text{min}}$, inclusive, where $d_{\\text{min}}$ is the smallest divisor of $89951$ that is at least $2$. Compute the remainder when $P$ is divided by $11621$. Find the value of this remainder.", "answer": 3857, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(89951)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11621)),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:00:13.548237Z", "verification": {"verified": true, "answer": 3857, "timestamp": "2026-02-08T13:00:13.552021Z"}, "problem_hash": "af72a0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:01:22.385Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:31:06.675Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 308}, "timestamp": "2026-02-09T15:44:30.152Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1937, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 5876}, "timestamp": "2026-02-10T03:29:08.590Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 503}, "timestamp": "2026-02-12T06:03:07.415Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "acee36", "alias": "antilemma_sum_equals_v1_1918700295_1781", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = 84$, $1 \\le i \\le 82$, and $1 \\le j \\le 83$. Compute the value of $$\n x + \\phi\\left(|x| + \\binom{5}{0}\\right) + \\tau\\left(|x| + 1\\right),\n$$\nwhere $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 166, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(84)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(82)), right=IntegerRange(start=Const(1), end=Const(83))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Binom(n=Const(5), k=Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "ec98de", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T06:01:24.333467Z", "verification": {"verified": true, "answer": 166, "timestamp": "2026-02-08T06:01:24.341410Z"}, "problem_hash": "cf0ef1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 166, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 616}, "timestamp": "2026-02-12T17:50:44.552Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 131, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 600}, "timestamp": "2026-02-11T23:26:30.210Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "48aabb", "alias": "nt_sum_totient_over_divisors_v1_458359167_5276", "problem": "Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 102432$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{11}$.\n\nDefine $S = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function and the sum is taken over all positive divisors $d$ of $n$.\n\nCompute $S$.", "answer": 9312, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(102432)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T12:24:16.310736Z", "verification": {"verified": true, "answer": 9312, "timestamp": "2026-02-08T12:24:16.313612Z"}, "problem_hash": "6b77bf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 437}, "timestamp": "2026-02-12T05:11:11.857Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "9df5b1", "alias": "geo_count_lattice_triangle_v1_1520064083_1216", "problem": "Let $A$ be twice the area of the triangle with vertices at $(111, 23)$, $(11, 144)$, and $(0, 0)$, taken as an absolute value. Let $B$ be the sum $$\\gcd(|111|, |23|) + \\gcd(|11 - 111|, |144 - 23|) + \\gcd(|0 - 11|, |0 - 144|).$$ Compute the value of $$\\frac{A + 2 - B}{2}.$$", "answer": 7865, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(679),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(MaxKDivides(target=Factorial(arg=Ref(name='_m')), base=Const(value=7)), Const(value=144)), Mul(Const(value=11), Sub(left=Const(value=0), right=Const(value=23))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=111)), b=Abs(arg=Const(value=23))), GCD(a=Abs(arg=Sub(left=Const(value=11), right=Const(value=111))), b=Abs(arg=Sub(left=Const(value=144), right=Const(value=23)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=11))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=144))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V1", "B3"], "recipe_id": "fdfe63", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V1"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T03:50:50.858335Z", "verification": {"verified": true, "answer": 7865, "timestamp": "2026-02-08T03:50:50.874368Z"}, "problem_hash": "a9104f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "split": "test"} +{"id": "0e6832", "alias": "sequence_fibonacci_compute_v1_124444284_3645", "problem": "Let $n$ be the smallest divisor of $19343$ that is at least $2$. Let $F_n$ denote the $n$th Fibonacci number, defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\ge 3$. Compute the remainder when $70685 \\cdot F_n$ is divided by $94482$.", "answer": 20447, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(19343))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(70685),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(94482)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:31:20.066886Z", "verification": {"verified": true, "answer": 20447, "timestamp": "2026-02-08T05:31:20.068144Z"}, "problem_hash": "1103b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20447, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 3132}, "timestamp": "2026-02-12T10:27:08.894Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 756}, "timestamp": "2026-02-14T19:32:29.658Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 319}, "timestamp": "2026-02-11T22:46:59.159Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K17": "no", "K18": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "058165", "alias": "nt_count_divisible_and_v1_1918700295_1949", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 70308$, $n \\equiv r \\pmod{9}$, and $n \\equiv 0 \\pmod{12}$, where $r = \\sum_{d \\mid m} \\mu(d)$ and $\\mu$ is the M\\\"obius function. Here, $m$ is the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 1212750$. Compute the number of elements in $S$.", "answer": 1953, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(70308),\n \"d1\": Const(9),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='p'), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=1212750)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SUM", "ONE_PHI_1"], "recipe_id": "20dd78", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 2.333, "created_at": "2026-02-08T06:11:48.318796Z", "verification": {"verified": true, "answer": 1953, "timestamp": "2026-02-08T06:11:50.651721Z"}, "problem_hash": "fb847f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "MOBIUS_SUM": "ok_later", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "b5d274", "alias": "nt_num_divisors_compute_v1_2051736721_3846", "problem": "Let $p$ and $q$ be positive integers such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\_n$ be the number of such values of $p$. Compute the number of prime numbers $n_1$ such that $\\_n \\leq n_1 \\leq 104723$. Then determine the number of positive divisors of this count.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Const(104723)), IsPrime(Var(\"n1\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T17:36:15.414397Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T17:36:15.420834Z"}, "problem_hash": "d0943c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 377}, "timestamp": "2026-02-12T22:48:35.529Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "MAX_VAL": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "73cbc6", "alias": "diophantine_fbi2_count_v1_1520064083_8521", "problem": "Let $k = 60$. Consider all positive integers $d$ such that $5 \\leq d \\leq 64$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 61$. Let $r$ be the number of such integers $d$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 65536$. Let $s = \\sum_{i=t}^{\\lfloor \\log_{10} |r| \\rfloor} d_i (i+1)^2$, where $t = \\sum_{k=0}^{4} (-1)^k \\binom{4}{k}$ and $d_i$ is the $i$-th decimal digit of $|r|$ (starting from the units digit as digit 0). Compute $s + c$.", "answer": 519, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(64)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(61))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(65536)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Summation(var=\"i\", start=Summation(var=\"k\", start=Const(0), end=Const(4), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(4), k=Var(\"k\")))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "BINOMIAL_ALTERNATING"], "recipe_id": "7a734a", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "BINOMIAL_ALTERNATING"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T10:14:17.192325Z", "verification": {"verified": true, "answer": 519, "timestamp": "2026-02-08T10:14:17.201882Z"}, "problem_hash": "1af5ee", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 519, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 300, "completion_tokens": 576}, "timestamp": "2026-02-12T03:13:53.344Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "BINOMIAL_ALTERNATING": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "642a27", "alias": "nt_count_coprime_and_v1_1742523217_148", "problem": "Let $m = 9$. Let $n$ be the number of positive integers $k$ such that $1 \\le k \\le 14$ and $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}$. Let $k_2$ be the largest prime number in the range from $n$ to $m$, inclusive. Let $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 42110$, $\\gcd(n, 3) = \\phi(2)$, and $\\gcd(n, k_2) = 1$. Compute the number of elements in $S$.", "answer": 24064, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"upper\": Const(42110),\n \"k1\": Const(3),\n \"k2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), EulerPhi(n=Const(2))), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MAX_PRIME_BELOW", "ONE_PHI_2"], "recipe_id": "35fa04", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 12.227, "created_at": "2026-02-08T02:53:41.778877Z", "verification": {"verified": true, "answer": 24064, "timestamp": "2026-02-08T02:53:54.005565Z"}, "problem_hash": "ac336b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 24064, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 2132}, "timestamp": "2026-02-09T14:07:15.260Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 24064, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1481}, "timestamp": "2026-02-08T23:54:38.134Z"}], "solution_status": 2, "lemma_applicability": {"L3C": "ok", "ONE_PHI_2": "ok", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "K16": "no", "K5": "no", "L3c": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "52ac44", "alias": "comb_count_derangements_v1_865884756_6025", "problem": "Let $n$ be the smallest divisor of $539$ that is greater than or equal to $2$. Compute the value of $75625 - !n$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 73771, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(539),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(75625),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:55:55.901463Z", "verification": {"verified": true, "answer": 73771, "timestamp": "2026-02-08T18:55:55.902678Z"}, "problem_hash": "69675c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 338}, "timestamp": "2026-02-13T00:41:53.326Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "L3c": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dbf619", "alias": "nt_sum_phi_v1_153355830_1454", "problem": "Let $n_1 = 10$. Define $c = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p = 5$ and $q = 13 + c$. Let $r$ be the largest prime number at most 67. Define $n = p \\cdot q \\cdot r$. Let $u$ be the remainder when the number of positive divisors of $n$ is divided by the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $p \\cdot q = 108$ and $\\gcd(p, q) = 1$. Let $\\text{upper} = 555 + u$. Compute the sum of $\\phi(k)$ for all integers $k$ from 1 to $\\text{upper}$, inclusive.", "answer": 93734, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(555),\n \"n1\": Const(10),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(5),\n \"q\": Sum(Const(13), Ref(\"c\")),\n \"r\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(67)), IsPrime(Var(\"n\"))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"upper\": Sum(Ref(\"_n\"), Ref(\"u\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MAX_PRIME_BELOW/DIVISOR_PARITY", "COPRIME_PAIRS/DIVISOR_PARITY", "MOBIUS_SUM"], "recipe_id": "1a93af", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "COPRIME_PAIRS", "DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 5, "generation_time": 0.057, "created_at": "2026-02-08T06:25:38.836581Z", "verification": {"verified": true, "answer": 93734, "timestamp": "2026-02-08T06:25:38.893563Z"}, "problem_hash": "2056ff", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "DIVISOR_PARITY": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "235207", "alias": "nt_min_coprime_above_v1_2051736721_1539", "problem": "Let $a = 72361$ and $b = 72442$. Let $d$ be the smallest divisor of $409457$ that is at least $2$. Determine the value of $Q$, defined as the remainder when $\\sum_{n=1}^{N} \\tau(n)$ is divided by $87705$, where $N$ is the smallest integer greater than $a$ and at most $b$ such that $\\gcd(N, d) = 1$, and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 31548, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(72361),\n \"upper\": Const(72442),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(409457))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Const(87705)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T16:05:38.092613Z", "verification": {"verified": true, "answer": 31548, "timestamp": "2026-02-08T16:05:38.106877Z"}, "problem_hash": "a42ac5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 418}, "timestamp": "2026-02-12T09:51:15.525Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K18": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4f34ca", "alias": "comb_sum_binomial_row_v1_1431428450_1043", "problem": "Let $K$ be the number of positive integers $k$ such that $1 \\le k \\le 1764$ and $49$ divides $k$. Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = K$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $P = 2^n$. Compute the remainder when $69685 \\cdot P$ is divided by 74978.", "answer": 63492, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(74978),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1764)), Divides(divisor=Const(49), dividend=Var(\"k\"))), domain='positive_integers'))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"_c\": Const(69685),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "7c8509", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T13:52:09.765558Z", "verification": {"verified": true, "answer": 63492, "timestamp": "2026-02-08T13:52:09.771281Z"}, "problem_hash": "f5a517", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 378}, "timestamp": "2026-02-12T07:29:33.422Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K17": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "07db91", "alias": "nt_count_gcd_equals_v1_1918700295_3277", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq M$, where $M$ is the number of integers $t$ with $24 \\leq t \\leq 7902$ for which there exist positive integers $a$ and $b$ satisfying $1 \\leq a \\leq 1557$, $1 \\leq b \\leq 15$, and $t = 5a + 7b + 12$, and such that $\\gcd(n, 21) = 1$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = |S|$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 49284$ such that $\\gcd(n, k) = 2$.", "answer": 24275, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"upper\": Const(49284),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1557)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=15)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=7902)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=12))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1)))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C4/B3"], "recipe_id": "7c4f08", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "LIN_FORM"], "num_lemmas": 3, "generation_time": 4.078, "created_at": "2026-02-08T08:29:55.294196Z", "verification": {"verified": true, "answer": 24275, "timestamp": "2026-02-08T08:29:59.372552Z"}, "problem_hash": "f6cfab", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24275, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 4243}, "timestamp": "2026-02-13T19:12:41.268Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 748}, "timestamp": "2026-02-12T01:57:19.748Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C4": "ok_later", "C2": "no", "K13": "no", "K18": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "fb67bb", "alias": "comb_sum_binomial_mod_v1_1431428450_871", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 5976$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le |S|$ and $4$ divides $F_n$, where $F_n$ denotes the $n$-th Fibonacci number. Define $s = \\sum_{k=37}^{227} \\binom{|T|}{k}$. Let $r$ be the remainder when $s$ is divided by $10601$, and let $Q$ be the remainder when $44121 \\cdot r$ is divided by $98999$. Compute $Q$.", "answer": 78665, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(227),\n \"sum\": Summation(var=\"k\", start=Const(37), end=Ref(\"_n\"), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5976)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3)))))), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10601)),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(98999)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/COUNT_FIB_DIVISIBLE"], "recipe_id": "fa089f", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3C"], "num_lemmas": 2, "generation_time": 0.053, "created_at": "2026-02-08T13:45:28.102626Z", "verification": {"verified": true, "answer": 78665, "timestamp": "2026-02-08T13:45:28.155392Z"}, "problem_hash": "d414fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 711}, "timestamp": "2026-02-12T07:21:41.078Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "DS2": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "43ed87", "alias": "nt_sum_totient_over_divisors_v1_677425708_1604", "problem": "Let $\\phi(n)$ denote Euler's totient function, $\\mu(n)$ the M\\\"obius function, and $\\Omega(n)$ the number of prime factors of $n$ counted with multiplicity. Define $f(n) = \\sum_{d\\mid n} \\mu(d)$. Let $a = \\phi(2)$, $s = \\Omega(a)$, and $f = f(\\gcd(a, 11))$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 25$. Compute the remainder when $44121$ times $\\sum_{d\\mid 23256} \\phi(d)$ is divided by $83359 + s$ multiplied by $f$.", "answer": 12045, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\n \"n1\": EulerPhi(n=Const(2)),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Const(11),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(23256),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Sum(Const(83359), Ref(\"s\")), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "BIG_OMEGA_ZERO", "ONE_PHI_2"], "recipe_id": "04f63f", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T04:18:45.077719Z", "verification": {"verified": true, "answer": 12045, "timestamp": "2026-02-08T04:18:45.083808Z"}, "problem_hash": "f62a92", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 12045, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 273, "completion_tokens": 5650}, "timestamp": "2026-02-09T22:17:02.457Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K15": "no", "K16": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "500844", "alias": "antilemma_v1_legendre_458359167_264", "problem": "Let $n$ be an integer such that $2 \\leq n \\leq 59$. Define $p$ to be the number of prime numbers in this range. Let $x$ be the largest integer $k$ such that $p^k$ divides $16490!$. Compute the value of $$\nQ = x + \\phi(|x| + 1) + \\tau(|x| + 1),\n$$ where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 2062, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59),\n \"x\": MaxKDivides(target=Factorial(Const(16490)), base=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/V1", "ONE_PHI_1", "V1"], "recipe_id": "444cff", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ONE_PHI_1", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:09:39.494942Z", "verification": {"verified": true, "answer": 2062, "timestamp": "2026-02-08T03:09:39.498430Z"}, "problem_hash": "e7b515", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "ONE_PHI_1": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8": "no"}, "split": "test"} +{"id": "a4cb92", "alias": "sequence_count_fib_divisible_v1_655260480_1061", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 5983$ and $$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.\n$$\nLet $A$ be the number of such integers $n$.\n\nLet $B$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq A$ and $14$ divides the $n_1$-th Fibonacci number.\n\nCompute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|B| + 2$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5983),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"d\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.035, "created_at": "2026-02-08T15:52:56.856441Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T15:52:56.891192Z"}, "problem_hash": "f639dc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5973, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 647}, "timestamp": "2026-02-12T09:20:00.160Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "DS2": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0c72ad", "alias": "nt_count_with_divisor_count_v1_1470522791_1806", "problem": "Let $n$ be a positive integer. Define $A$ as the number of positive integers $n \\leq 9025$ such that $n$ has exactly 5 positive divisors. Let $B$ be the maximum value of $xy$ where $x$ and $y$ are positive integers satisfying $x + y = 186$. Compute $B - A$.", "answer": 8645, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(9025),\n \"div_count\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(186)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 2.883, "created_at": "2026-02-08T13:59:51.685888Z", "verification": {"verified": true, "answer": 8645, "timestamp": "2026-02-08T13:59:54.568558Z"}, "problem_hash": "dbcf97", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8625, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 362}, "timestamp": "2026-02-12T07:36:54.835Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "fc0f96", "alias": "comb_count_derangements_v1_124444284_4552", "problem": "Let $n$ be the smallest divisor of $13013$ that is at least $2$. Compute the subfactorial of $n$, denoted $!n$, which counts the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(13013))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:05:10.374875Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T06:05:10.375712Z"}, "problem_hash": "07db78", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 94, "completion_tokens": 809}, "timestamp": "2026-02-12T19:07:53.606Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 414}, "timestamp": "2026-02-11T23:33:08.637Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "74004a", "alias": "nt_count_coprime_and_v1_548369836_66", "problem": "Let $k_1 = 5$ and $k_2 = 11$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 11653$, $\\gcd(n, 5) = 1$, and $\\gcd(n, 11) = 1$.", "answer": 8475, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11653),\n \"k1\": Const(5),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LTE_SUM"], "recipe_id": "7e04b8", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LTE_SUM"], "num_lemmas": 2, "generation_time": 7.586, "created_at": "2026-02-08T02:44:46.336427Z", "verification": {"verified": true, "answer": 8475, "timestamp": "2026-02-08T02:44:53.922270Z"}, "problem_hash": "c16ded", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 632}, "timestamp": "2026-02-08T19:46:50.961Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 881}, "timestamp": "2026-02-09T19:14:20.648Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 7595}, "timestamp": "2026-02-09T21:03:16.754Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 298}, "timestamp": "2026-02-09T01:57:51.719Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8475, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 988}, "timestamp": "2026-02-09T07:59:28.543Z"}, {"id": 8, "model": "mathstral", "answer": 8476, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 601}, "timestamp": "2026-02-11T03:14:41.590Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11442, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 436}, "timestamp": "2026-02-11T19:41:14.641Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LTE_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "test"} +{"id": "c692a5", "alias": "nt_count_coprime_v1_1080341949_223", "problem": "Let $k$ be the smallest integer $d \\geq 2$ that divides $167462081$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq 28900$ and $\\gcd(n, k) = 1$. Let $Q$ be the smallest positive index $k$ for which the $k$-th Fibonacci number is divisible by $|r| + 2$. Find the value of $Q$.", "answer": 7368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(28900),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(167462081))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.276, "created_at": "2026-02-08T13:18:14.183721Z", "verification": {"verified": true, "answer": 7368, "timestamp": "2026-02-08T13:18:16.459364Z"}, "problem_hash": "611207", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 443}, "timestamp": "2026-02-12T06:44:52.816Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K18": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6f005f", "alias": "nt_count_divisible_and_v1_1248542787_641", "problem": "Let $\\text{upper}=66912$, $d_1=8$, and $d_2=12$. Let $S$ be the set of all integers $n$ such that $1\\le n\\le \\text{upper}$, $n\\equiv 0\\pmod{d_1}$, and\n$$n\\equiv \\sum_{d\\mid \\gcd(8,10)} \\mu(d) \\pmod{d_2},$$\nwhere $\\mu$ denotes the Möbius function. Let $R$ be the number of elements in $S$.\n\nLet $T$ be the set of all integers $n$ such that $1\\le n\\le 31614$ and $8$ divides the $n$th Fibonacci number $F_n$. Let $M$ be the number of elements in $T$.\n\nLet $U$ be the set of all prime numbers $p$ such that $2\\le p\\le M$, and let $P$ be the largest element of $U$.\n\nLet $Q$ be the remainder when $PR$ is divided by $63834$. Find the value of $Q$.", "answer": 49682, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(31614),\n \"_n\": Const(2),\n \"upper\": Const(66912),\n \"d1\": Const(8),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=10)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(8), dividend=Fibonacci(arg=Var(name='n'))))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(63834)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "recipe_id": "0b126d", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 3.082, "created_at": "2026-02-08T03:16:32.456885Z", "verification": {"verified": true, "answer": 49682, "timestamp": "2026-02-08T03:16:35.539209Z"}, "problem_hash": "8f367b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49682, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 362, "completion_tokens": 2668}, "timestamp": "2026-02-09T06:31:44.669Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 49682, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 358, "completion_tokens": 2946}, "timestamp": "2026-02-09T19:18:17.816Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:23:08.746Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok", "MAX_PRIME_BELOW": "ok_later", "K18": "no", "LTE_DIFF": "no", "V3": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "test"} +{"id": "dc3485", "alias": "diophantine_sum_product_min_v1_168721529_1996", "problem": "Let $m=35$. Let $n$ be the number of non-negative integers $j$ with $0\\le j\\le 2144$ such that the binomial coefficient $\\binom{2144}{j}$ is odd.\n\nLet $n_1=11$, and let $c$ be the number of distinct prime factors of $n_1$. Define $N=nc$. Let\n$$h=\\sum_{d\\mid N} \\varphi(d)-N,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=12$. Define\n$$S=M+h.$$\n\nLet $P=128$. Among the integers $x$ with $1\\le x\\le m$ that satisfy\n$$x\\bigl(S-x\\bigr)=P,$$\nlet $R$ be the smallest such integer.\n\nCompute $R$. ", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(2144)), Eq(Mod(value=Binom(n=Const(2144), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"n1\": Const(11),\n \"c\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"c\")),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"S\": Sum(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"h\")),\n \"P\": Const(128),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_m\")), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V8/B1/OMEGA_ONE/EULER_TOTIENT_SUM", "B1/EULER_TOTIENT_SUM"], "recipe_id": "b4cfc2", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "OMEGA_ONE", "V5", "V8"], "num_lemmas": 5, "generation_time": 0.261, "created_at": "2026-02-08T14:02:55.521413Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T14:02:55.782083Z"}, "problem_hash": "61697d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 316, "completion_tokens": 1642}, "timestamp": "2026-02-10T00:39:55.318Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "V8": "ok", "EULER_TOTIENT_SUM": "ok_later", "OMEGA_ONE": "ok_later", "COUNT_SUM_EQUALS": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "8767fe", "alias": "nt_count_gcd_equals_v1_2051736721_118", "problem": "Let $d_{\\min}$ be the smallest divisor of $29268091$ that is at least $2$. Let $C$ be the number of positive integers $n$ such that $1 \\leq n \\leq d_{\\min}$ and $\\gcd(n, 297) = 27$. Compute $\\sum_{n_1=1}^{C} \\phi(n_1)$, where $\\phi$ denotes Euler's totient function.", "answer": 10132, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(29268091))))),\n \"k\": Const(297),\n \"d\": Const(27),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.418, "created_at": "2026-02-08T15:12:17.064858Z", "verification": {"verified": true, "answer": 10132, "timestamp": "2026-02-08T15:12:17.483169Z"}, "problem_hash": "cdd8c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 577}, "timestamp": "2026-02-12T08:04:12.270Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "MAX_VAL": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4ecf43", "alias": "nt_count_divisible_v1_48377204_696", "problem": "Let $d$ be the smallest divisor of $1037153$ that is greater than or equal to $2$. Let $S$ be the set of all positive integers $n$ such that $n \\leq 30839$ and $n$ is divisible by $d$. Compute the number of elements in $S$.", "answer": 2372, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(30839),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1037153))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.998, "created_at": "2026-02-08T15:39:10.946757Z", "verification": {"verified": true, "answer": 2372, "timestamp": "2026-02-08T15:39:11.944456Z"}, "problem_hash": "4dfe65", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 268}, "timestamp": "2026-02-12T08:53:00.485Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "85b22b", "alias": "antilemma_v1_legendre_784195855_3373", "problem": "Let $c = 35$ and $m = 2$. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le 153$, $9$ divides $n$, and $\\gcd(n, c) = 1$. Let $N$ be the number of elements in $T$. Define $n_0$ to be the largest prime number $n$ such that $m \\le n \\le N$. Compute the largest integer $x$ such that $n_0^x$ divides $14487!$.", "answer": 1446, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(35),\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(153)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_c\")), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"x\": MaxKDivides(target=Factorial(Const(14487)), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "c3626b", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:22:37.533800Z", "verification": {"verified": true, "answer": 1446, "timestamp": "2026-02-08T06:22:37.535392Z"}, "problem_hash": "d3581b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8": "no"}, "split": "test"} +{"id": "08ece1", "alias": "diophantine_fbi2_count_v1_2051736721_5536", "problem": "Compute the number of integers $d$ with $2 \\leq d \\leq 158$ such that $d$ divides $180$, and $\\frac{180}{d}$ is at least $6$ and at most $162$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"a\": Const(1),\n \"b\": Const(5),\n \"upper\": Const(157),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(158)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(162))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.049, "created_at": "2026-02-08T18:39:31.355755Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T18:39:31.405047Z"}, "problem_hash": "cfae01", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 426}, "timestamp": "2026-02-13T00:21:05.316Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "6d1fae", "alias": "modular_count_residue_v1_809748730_641", "problem": "Let $m$ be the smallest divisor of $141151$ that is at least $2$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 36481$ and $n \\equiv 6 \\pmod{m}$.", "answer": 2146, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(36481),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(141151))))),\n \"r\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.27, "created_at": "2026-02-08T11:39:45.325502Z", "verification": {"verified": true, "answer": 2146, "timestamp": "2026-02-08T11:39:46.595828Z"}, "problem_hash": "360e47", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2146, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 101, "completion_tokens": 917}, "timestamp": "2026-02-14T17:26:41.170Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 353}, "timestamp": "2026-02-12T04:26:14.279Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c42d9c", "alias": "nt_count_digit_sum_v1_655260480_4909", "problem": "Let $n = 2$ and $U = 462400$. Let $d_0$ be the smallest integer $d \\ge n$ that divides $38152661$. Determine the number of positive integers $n \\le U$ such that the sum of the decimal digits of $n$ is equal to $d_0$.", "answer": 21372, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(462400),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(38152661))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 16.492, "created_at": "2026-02-08T18:12:14.964269Z", "verification": {"verified": true, "answer": 21372, "timestamp": "2026-02-08T18:12:31.456722Z"}, "problem_hash": "d693d0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 301}, "timestamp": "2026-02-12T23:52:45.153Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K14": "no", "L3c": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "df66a2", "alias": "nt_sum_totient_over_divisors_v1_1874849503_326", "problem": "Let $n_1 = 28391$. Define $w = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function.\n\nLet $a$ be the number of positive integers $n \\leq 3886$ for which the sum of the decimal digits of $n$ is even, multiplied by $w$.\n\nLet $b = 43$. Define $h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where the sum is over all positive divisors $d$ of $\\gcd(a, b)$.\n\nLet $n = 25842 \\cdot h$.\n\nCompute the sum of $\\varphi(d)$ over all positive divisors $d$ of $n$, where $\\varphi$ denotes Euler's totient function.", "answer": 25842, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(28391),\n \"w\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"a\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(3886)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))), Ref(\"w\")),\n \"b\": Const(43),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(25842), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MOBIUS_SQUAREFREE/MOBIUS_COPRIME"], "recipe_id": "f0f9a3", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T12:56:56.597655Z", "verification": {"verified": true, "answer": 25842, "timestamp": "2026-02-08T12:56:56.603846Z"}, "problem_hash": "63ef25", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 25842, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 2424}, "timestamp": "2026-02-09T15:49:46.555Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 25842, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 3729}, "timestamp": "2026-02-10T06:25:43.552Z"}], "solution_status": 2, "lemma_applicability": {"L3B": "ok", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K18": "no", "K5": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "2cc9fe", "alias": "nt_num_divisors_compute_v1_717093673_1333", "problem": "Let $m = 37813$. Let $p$ be a positive integer. Define $q$ to be a positive integer such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_0$ be the number of such integers $p$. Let $n$ be the number of prime numbers between $n_0$ and $m$, inclusive. Find the number of positive divisors of $n$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(37813),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T16:00:20.699529Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T16:00:20.707662Z"}, "problem_hash": "c37389", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 304}, "timestamp": "2026-02-12T09:39:14.776Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "K18": "no", "LTE_DIFF_P2": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "29516f", "alias": "antilemma_k3_v1_1520064083_122", "problem": "Let\n\\[x = \\sum_{d \\mid 55851} \\varphi(d),\\]\nwhere $\\varphi$ is Euler's totient function.\n\nLet\n\\[A = \\sum_{n = S}^{|x|} \\tau(n),\\]\nwhere $\\tau(n)$ is the number of positive divisors of $n$, and\n\\[S = \\left(\\sum_{d \\mid 69} \\varphi(d)\\right)^{r},\\]\nwith $r$ the remainder when $80$ is divided by $80$.\n\nLet $Q$ be the remainder when $A$ is divided by $92206$.\n\nFind the value of $Q$.\"", "answer": 65856, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92206),\n \"x\": SumOverDivisors(n=Const(value=55851), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Pow(SumOverDivisors(n=Const(value=69), var='d', expr=EulerPhi(n=Var(name='d'))), Mod(value=Const(80), modulus=Const(80))), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/IDENTITY_POW_ZERO", "IDENTITY_MOD_SELF", "K3"], "recipe_id": "27d034", "seed_template_id": "antilemma_k3_v1", "ending_id": "sum_divisor_count", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_MOD_SELF", "IDENTITY_POW_ZERO", "K3"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:05:17.635605Z", "verification": {"verified": true, "answer": 65856, "timestamp": "2026-02-08T03:05:17.636986Z"}, "problem_hash": "25c165", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:57:51.059Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:41:07.266Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 55851, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 5170}, "timestamp": "2026-02-11T07:58:53.707Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 739}, "timestamp": "2026-02-11T14:29:16.814Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 469}, "timestamp": "2026-02-11T20:18:23.408Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_MOD_SELF": "ok", "K3": "ok", "IDENTITY_POW_ZERO": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "8cdf4d", "alias": "antilemma_k2_v1_1431428450_1327", "problem": "Let $m = 311$. Let $n$ be the sum of the solutions to the equation $x^2 - 311x + 10374 = 0$. Define\n$$\nx = \\sum_{k=1}^{m} \\phi(k) \\left\\lfloor \\frac{n}{k} \\right\\rfloor,\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $c = 225$. Compute the value of\n$$\n\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + c,\n$$\nwhere $d$ is the number of decimal digits in $|x|$.", "answer": 508, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(311),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-311), Var(\"x\")), Const(10374)), Const(0)))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"_c\": Const(225),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Const(35), Const(35)), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K2", "IDENTITY_SUB_SELF", "K2"], "recipe_id": "25f572", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_SUB_SELF", "K2", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T14:01:38.762764Z", "verification": {"verified": true, "answer": 508, "timestamp": "2026-02-08T14:01:38.767777Z"}, "problem_hash": "ba924c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 585}, "timestamp": "2026-02-12T07:43:47.688Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_SUB_SELF": "ok", "K2": "ok", "VIETA_SUM": "ok", "K18": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c0e5cc", "alias": "modular_modexp_compute_v1_1439011603_2467", "problem": "Let $n = 2$ and $a = 5$. Let $e$ be the smallest integer $d \\geq n$ such that $d$ divides $2289804619483$. Let $m = 32761$. Compute $a^e \\bmod m$.", "answer": 29894, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(5),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2289804619483))))),\n \"m\": Const(32761),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T16:48:40.162267Z", "verification": {"verified": true, "answer": 29894, "timestamp": "2026-02-08T16:48:40.165903Z"}, "problem_hash": "dd56ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 311}, "timestamp": "2026-02-12T21:00:56.966Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "L3c": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e20c64", "alias": "antilemma_count_primes_v1_151522320_10", "problem": "Let $n$ be an integer. Define $x$ to be the number of prime numbers $n$ such that $2 \\leq n \\leq d_{\\text{max}}$, where $d_{\\text{max}}$ is the largest positive divisor of $6625187$ that is at most $2557$. Compute the remainder when $33201 \\cdot x$ is divided by $63902$.", "answer": 53387, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2557)), Divides(divisor=Var(\"d\"), dividend=Const(6625187)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(33201), Ref(\"x\")), modulus=Const(63902)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "6a5f3e", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:55:19.617632Z", "verification": {"verified": true, "answer": 53387, "timestamp": "2026-02-08T02:55:19.619241Z"}, "problem_hash": "1a7dbc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:03:41.877Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 8192}, "timestamp": "2026-02-08T21:20:11.035Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "167367", "alias": "modular_count_residue_v1_784195855_8964", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 37249$ and $n \\equiv 1 \\pmod{21}$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 194$. Compute the value of\n$$\n\\max_{(x,y) \\in P} (xy) - |S|.\n$$", "answer": 7635, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(37249),\n \"m\": Const(21),\n \"r\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(194)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 2.52, "created_at": "2026-02-08T16:25:56.572867Z", "verification": {"verified": true, "answer": 7635, "timestamp": "2026-02-08T16:25:59.093348Z"}, "problem_hash": "373c35", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7635, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 340}, "timestamp": "2026-02-12T10:41:30.835Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "bd585b", "alias": "nt_min_phi_inverse_v1_1520064083_4762", "problem": "Let $ m = 4381 $. Define $ N $ to be the number of positive integers $ n $ with $ 1 \\leq n \\leq m $ such that $ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7} $. \n\nLet $ u = \\sum_{d \\mid 1} \\mu(d) $, where $ \\mu $ is the M\\\"obius function. Let $ m' = \\sum_{d \\mid 1} \\mu(d) $. \n\nLet $ s $ be the minimum value of $ x + y $ over all ordered pairs of positive integers $ (x, y) $ such that $ xy = N $. Define $ U = s \\cdot u $. \n\nLet $ k = 12m' $. \n\nDetermine the value of the smallest positive integer $ n $ such that $ 1 \\leq n \\leq U $ and $ \\phi(n) = k $.", "answer": 13, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4381),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"n1\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"m\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"u\")),\n \"k\": Mul(Const(12), Ref(\"m\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["L3C/B3/MOBIUS_SUM"], "recipe_id": "1ee0ac", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "COUNT_PRIMES", "L3C", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.052, "created_at": "2026-02-08T06:25:35.679874Z", "verification": {"verified": true, "answer": 13, "timestamp": "2026-02-08T06:25:35.731394Z"}, "problem_hash": "a8c0ee", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "B3": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "168957", "alias": "nt_sum_gcd_range_mod_v1_124444284_3148", "problem": "Let $N = 1369$ and $k$ be the number of positive integers $n$ such that $1 \\le n \\le s$, where $s$ is the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ satisfying $xy = 133225$, and such that $5$ divides $n$ and $\\gcd(n, 21) = 1$. Let $M = 10313$. Compute the remainder when $\\sum_{n=1}^{N} \\gcd(n, k)$ is divided by $M$.", "answer": 8437, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"N\": Const(1369),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(133225)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"M\": Const(10313),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5"], "recipe_id": "cde3b3", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5"], "num_lemmas": 2, "generation_time": 0.073, "created_at": "2026-02-08T05:16:25.630547Z", "verification": {"verified": true, "answer": 8437, "timestamp": "2026-02-08T05:16:25.703321Z"}, "problem_hash": "fbd305", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8437, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 2839}, "timestamp": "2026-02-12T05:48:17.786Z"}, {"id": 8, "model": "mathstral", "answer": 2802, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 883}, "timestamp": "2026-02-14T10:32:20.179Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 570}, "timestamp": "2026-02-11T22:23:05.407Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K16": "no", "K18": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "058dab", "alias": "modular_count_residue_v1_124444284_4917", "problem": "Let $m$ be the smallest divisor of $1859$ that is at least $2$. Compute the number of positive integers $n$ such that $n \\leq 82944$ and $n \\equiv 2 \\pmod{m}$.", "answer": 7541, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(82944),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1859))))),\n \"r\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.756, "created_at": "2026-02-08T06:17:38.393914Z", "verification": {"verified": true, "answer": 7541, "timestamp": "2026-02-08T06:17:41.150343Z"}, "problem_hash": "85b9ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7541, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 98, "completion_tokens": 805}, "timestamp": "2026-02-12T22:34:29.301Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 41472, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 249}, "timestamp": "2026-02-11T23:53:21.467Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3e5fe3", "alias": "nt_min_crt_v1_1978505735_1805", "problem": "Let $m = 7$ and $k$ be the number of ordered pairs $(i, j)$ with $i \\in \\{1, 2\\}$ and $j \\in \\{1, 2, 3, 4, 5, 6\\}$ such that $\\gcd(i, j) = 1$. Let $a = 6$ and $b = 7$. Let $U$ be the number of positive integers $n$ such that $1 \\leq n \\leq 233$ and $\\gcd(n, 30) = 1$. Determine the value of the smallest positive integer $n_1$ such that $1 \\leq n_1 \\leq U$, $n_1 \\equiv a \\pmod{m}$, and $n_1 \\equiv b \\pmod{k}$.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(233),\n \"_n\": Const(30),\n \"m\": Const(7),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"a\": Const(6),\n \"b\": Const(7),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "C4"], "recipe_id": "040171", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T16:24:13.203054Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T16:24:13.222065Z"}, "problem_hash": "70fbd2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 494}, "timestamp": "2026-02-12T10:34:01.011Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_SUM_EQUALS": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "67cea0", "alias": "antilemma_v8_lucas_1520064083_1773", "problem": "Let $N$ be the number of integers $t$ such that $5\\le t\\le 517$ and there exist integers $a$ and $b$ with $1\\le a\\le 165$ and $1\\le b\\le 11$ satisfying\n$$t = 3a+2b.$$\n\nLet $x$ be the number of nonnegative integers $j$ such that $0\\le j\\le N$ and $\\binom{511}{j}$ is odd.\n\nLet $P$ be the largest possible value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=34$. Let $c$ be the smallest possible value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=P$.\n\nLet $Q$ be the remainder when $c-x$ is divided by $99805$, where $0\\le Q<99805$.\n\nFind the value of $Q$.", "answer": 99327, "graph": "graphs = [\n Graph(\n let={\n \"_e\": Const(34),\n \"_d\": Const(99805),\n \"_m\": Const(511),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=165)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=517)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_e\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_d\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3", "LIN_FORM/V8", "V8"], "recipe_id": "978df3", "seed_template_id": "antilemma_v8_lucas", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM", "V8"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T04:16:23.399542Z", "verification": {"verified": true, "answer": 99327, "timestamp": "2026-02-08T04:16:23.404686Z"}, "problem_hash": "09d909", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "V8": "ok", "B3": "ok_later", "COUNT_INTEGER_RANGE": "no", "K15": "no", "K5": "no", "MOD_ADD": "no", "V7": "no"}, "split": "test"} +{"id": "d60201", "alias": "nt_sum_gcd_range_mod_v1_1520064083_3075", "problem": "Let $m = 17303$ and let $d$ be the smallest divisor of $m$ that is at least $2$. Let $N = \\sum_{k=1}^{104} k$ and let $k = 120$. Define $S = \\sum_{n=1}^{N} \\gcd(n, k)$. Let $r$ be the remainder when $S$ is divided by $11471$. Compute the Bell number of $|r| \\bmod d$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17303),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"N\": Summation(var=\"k\", start=Const(1), end=Const(104), expr=Var(\"k\")),\n \"k\": Const(120),\n \"M\": Const(11471),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_ARITHMETIC"], "recipe_id": "d04c64", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.779, "created_at": "2026-02-08T05:27:05.152617Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T05:27:05.931966Z"}, "problem_hash": "a5671f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 1765}, "timestamp": "2026-02-12T08:43:31.024Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 455}, "timestamp": "2026-02-14T17:55:57.812Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 435}, "timestamp": "2026-02-11T22:38:45.177Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "8e1470", "alias": "nt_count_coprime_v1_1125832087_433", "problem": "Let $n$ be the number of positive integers $m$ such that $1 \\leq m \\leq 228$, $4$ divides $m$, and $\\gcd(m, 35) = 1$. Let $k$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 38$, $1 \\leq j \\leq 38$, and $i + j = n$. Determine the number of positive integers $\\nu$ such that $1 \\leq \\nu \\leq 48841$ and $\\gcd(\\nu, k) = 1$.", "answer": 23136, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(228)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\n \"upper\": Const(48841),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(38))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/COUNT_SUM_EQUALS"], "recipe_id": "be240e", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 3.972, "created_at": "2026-02-08T03:04:38.779552Z", "verification": {"verified": true, "answer": 23136, "timestamp": "2026-02-08T03:04:42.751963Z"}, "problem_hash": "9a648e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 23136, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1134}, "timestamp": "2026-02-10T12:35:39.969Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 23136, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1597}, "timestamp": "2026-02-10T12:35:28.848Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23136, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 1788}, "timestamp": "2026-02-11T05:01:34.081Z"}, {"id": 8, "model": "mathstral", "answer": 36036, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 1024}, "timestamp": "2026-02-11T13:02:08.603Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 24420, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 591}, "timestamp": "2026-02-11T20:11:34.392Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "1ca57a", "alias": "modular_product_range_v1_1820931509_143", "problem": "Let $n = 67$. Let $p$ be the product of all integers $i$ from $d_{\\min}$ to $n$, where $d_{\\min}$ is the smallest divisor of $6137$ that is at least $2$. Define $r$ to be the remainder when $p$ is divided by $10079$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$. Determine the value of $k$.", "answer": 228, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6137))))), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10079)),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T11:23:24.556057Z", "verification": {"verified": true, "answer": 228, "timestamp": "2026-02-08T11:23:24.558671Z"}, "problem_hash": "4ea925", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 3055}, "timestamp": "2026-02-14T13:09:16.130Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 376}, "timestamp": "2026-02-12T03:56:58.449Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "K5": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "85de79", "alias": "nt_count_digit_sum_v1_717093673_3009", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 109999$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $T$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq |S|$ and the sum of the decimal digits of $n_1$ is equal to 21. Compute the remainder when $4871 \\cdot |T|$ is divided by $78336$.", "answer": 63536, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(109999)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"target_sum\": Const(21),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n1\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Const(4871), Ref(\"result\")), modulus=Const(78336)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.723, "created_at": "2026-02-08T17:20:07.543721Z", "verification": {"verified": true, "answer": 63536, "timestamp": "2026-02-08T17:20:08.266558Z"}, "problem_hash": "05e61f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 564}, "timestamp": "2026-02-12T22:22:11.666Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dff27c", "alias": "antilemma_sum_primes_v1_1520064083_3229", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le 4$.\n\nLet $d$ be a positive divisor of $\\gcd(12, 25)$. Define $\\mu$ as the Möbius function, and let\n$$\nD = \\left\\{ n \\in \\mathbb{Z}^+ \\mid 1 \\le n \\le 28 \\text{ and } \\operatorname{digit\\,sum}(n) \\equiv \\phi(2) \\pmod{2} \\right\\},\n$$\nwhere $\\phi$ is Euler's totient function and $\\operatorname{digit\\,sum}(n)$ denotes the sum of the decimal digits of $n$.\n\nLet $c = |D|$, the number of elements in $D$. Compute\n$$\nx + \\left( 2^{x \\bmod c} \\bmod 53192 \\right).\n$$\nFind the value of this expression.", "answer": 37, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(28)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), EulerPhi(n=Const(2)))))))), modulus=Const(53192))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "MOBIUS_COPRIME", "SUM_PRIMES", "ONE_PHI_2"], "recipe_id": "15f4be", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MOBIUS_COPRIME", "ONE_PHI_2", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:31:42.720396Z", "verification": {"verified": true, "answer": 37, "timestamp": "2026-02-08T05:31:42.723267Z"}, "problem_hash": "0d118a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "SUM_PRIMES": "ok", "DS2": "no", "K14": "no", "L3c": "no", "MOD_MUL": "no", "V8": "no"}, "split": "test"} +{"id": "30cf5d", "alias": "nt_min_coprime_above_v1_655260480_5288", "problem": "Let $N = 83160$ and $M = 83591$. Let $d$ be the smallest divisor of $14322448012919$ that is at least $2$. Compute the smallest integer $n$ such that $N < n \\leq M$ and $\\gcd(n, d) = 1$.", "answer": 83161, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(83160),\n \"upper\": Const(83591),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(14322448012919))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.037, "created_at": "2026-02-08T18:23:45.940203Z", "verification": {"verified": true, "answer": 83161, "timestamp": "2026-02-08T18:23:45.977043Z"}, "problem_hash": "75b0a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 279}, "timestamp": "2026-02-13T00:06:31.091Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6c4dab", "alias": "sequence_fibonacci_compute_v1_1439011603_2966", "problem": "Let $n$ be the smallest positive integer greater than or equal to 2 that divides $352843$. Define $\\text{result} = F_n$, the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $c = 36781$. Compute the remainder when $c \\cdot \\text{result}$ is divided by $54145$.", "answer": 46547, "graph": "graphs = [\n Graph(\n let={\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(352843))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(36781),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(54145)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:08:08.182771Z", "verification": {"verified": true, "answer": 46547, "timestamp": "2026-02-08T17:08:08.184041Z"}, "problem_hash": "aca134", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 247}, "timestamp": "2026-02-12T21:49:57.890Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K18": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7d6bf4", "alias": "comb_count_permutations_fixed_v1_798873815_498", "problem": "Let $n = 10$. Define $k$ to be the smallest integer $d \\geq 2$ that divides $385$. Compute the value of $\\binom{10}{k} \\cdot !(10 - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 11088, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(10),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(385))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T02:40:19.646958Z", "verification": {"verified": true, "answer": 11088, "timestamp": "2026-02-08T02:40:19.659086Z"}, "problem_hash": "b6c879", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 543}, "timestamp": "2026-02-08T19:37:00.020Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 832}, "timestamp": "2026-02-09T17:54:17.390Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 6596}, "timestamp": "2026-02-09T19:21:06.481Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 542}, "timestamp": "2026-02-09T00:51:45.267Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 111, "completion_tokens": 1001}, "timestamp": "2026-02-09T06:14:02.163Z"}, {"id": 8, "model": "mathstral", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 371}, "timestamp": "2026-02-11T02:51:00.355Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8820, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 357}, "timestamp": "2026-02-11T19:22:36.469Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "MOD_ADD": "no", "V1": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.6, "hi": -6.14}, "split": "test"} +{"id": "1f6eca", "alias": "nt_euler_phi_compute_v1_677425708_3970", "problem": "Let $n_2 = 74$. Define $h$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n_2$, minus $n_2$. Let $n_1 = v_3(33!) + h$, where $v_3(33!)$ is the largest integer $k$ such that $3^k$ divides $33!$. Define $s$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$. Let $n = 55440 + s$. Compute $\\phi(n)$.", "answer": 11520, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55440),\n \"n2\": Const(74),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Sum(MaxKDivides(target=Factorial(Const(33)), base=Const(3)), Ref(\"h\")),\n \"s\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/EULER_TOTIENT_SUM"], "recipe_id": "b26ee0", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "V1"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:07:34.352481Z", "verification": {"verified": true, "answer": 11520, "timestamp": "2026-02-08T06:07:34.356350Z"}, "problem_hash": "2ba26c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "EULER_TOTIENT_SUM": "ok_later", "K5": "same_pattern_wrong", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "7a22a4", "alias": "modular_sum_quadratic_residues_v1_397696148_1672", "problem": "Let $ d $ be the smallest positive divisor of 89951 that is at least 2. Define $ x = \\frac{d(d-1)}{4} $. Compute the remainder when $ 44121 \\cdot x $ is divided by 57349.", "answer": 26274, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(89951))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(57349)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:42:34.904553Z", "verification": {"verified": true, "answer": 26274, "timestamp": "2026-02-08T12:42:34.905940Z"}, "problem_hash": "916050", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 344}, "timestamp": "2026-02-12T05:31:26.916Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K16": "no", "K18": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "404040", "alias": "comb_count_derangements_v1_655260480_2793", "problem": "Let $n$ be the smallest divisor of $13013$ that is greater than or equal to $2$. Compute the subfactorial of $n$, denoted $!n$, which is the number of derangements of $n$ elements. Let $c = 70813$ and $m = 61063$. Find the remainder when $c \\cdot (!n)$ is divided by $m$.", "answer": 1852, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61063),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13013))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(70813),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:01:08.274274Z", "verification": {"verified": true, "answer": 1852, "timestamp": "2026-02-08T17:01:08.275955Z"}, "problem_hash": "1dc108", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 385}, "timestamp": "2026-02-12T21:35:21.581Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K16": "no", "K17": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d08715", "alias": "nt_count_divisors_in_range_v1_124444284_6519", "problem": "Let $n = 5040$, $a = 32$, and let $b$ be the smallest divisor of $138693847$ that is at least $2$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 31, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5040),\n \"a\": Const(32),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(138693847))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.107, "created_at": "2026-02-08T08:30:10.190748Z", "verification": {"verified": true, "answer": 31, "timestamp": "2026-02-08T08:30:10.297650Z"}, "problem_hash": "a0a5e6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 6857}, "timestamp": "2026-02-13T19:07:06.748Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 356}, "timestamp": "2026-02-12T01:56:35.505Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "8019fe", "alias": "algebra_poly_eval_v1_124444284_2381", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 4$. Define $s_{\\min}$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $m = 2$ and $n$ be the largest prime number less than or equal to $9$. Compute the value of\n\n$$\n3 \\cdot 11^{s_{\\min}} - 11^3 - 2 \\cdot 11^m - 2 \\cdot 11 + n.\n$$", "answer": 42335, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"b\": Const(11),\n \"result\": Sum(Mul(Const(3), Pow(Ref(\"b\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Sum(Var(\"x\"), Var(\"y\")))))), Mul(Const(-1), Pow(Ref(\"b\"), Const(3))), Mul(Const(-2), Pow(Ref(\"b\"), Ref(\"_m\"))), Mul(Const(-2), Ref(\"b\")), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/B3"], "recipe_id": "4d61bb", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T04:38:09.999331Z", "verification": {"verified": true, "answer": 42335, "timestamp": "2026-02-08T04:38:10.003384Z"}, "problem_hash": "ff7e01", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 42335, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 677}, "timestamp": "2026-02-11T21:40:35.412Z"}, {"id": 8, "model": "mathstral", "answer": 42335, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 684}, "timestamp": "2026-02-13T21:54:38.307Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 306}, "timestamp": "2026-02-11T21:39:10.121Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "MOD_ADD": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "c5b51d", "alias": "antilemma_v8_lucas_1742523217_3521", "problem": "Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 24511$ and $\\binom{24511}{j}$ is odd. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 76$. Let $Q$ be the sum of $c$ and the expression $\\sum_{i=0}^{d-1} d_i (i+1)^2$, where $d$ is the number of digits of $x$ and $d_i$ is the $i$-th digit of $x$ (starting from the units digit as $i=0$). Compute $Q$.", "answer": 1619, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76),\n \"_n\": Const(24511),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(24511)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "V8"], "recipe_id": "675376", "seed_template_id": "antilemma_v8_lucas", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "V8"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:55:34.911581Z", "verification": {"verified": true, "answer": 1619, "timestamp": "2026-02-08T05:55:34.914087Z"}, "problem_hash": "9de572", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "V8": "ok", "K14": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "V7": "no"}, "split": "test"} +{"id": "0a2564", "alias": "modular_product_range_v1_2051736721_5174", "problem": "Let $m = 52900$. Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 3300$ and $33$ divides $k$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $T$ be the set of all values of $x + y$ as $(x, y)$ ranges over $S$. Let $\\ell$ be the minimum element of $T$. Define\n$$\n\\text{prod} = \\prod_{i = n}^{\\ell} i.\n$$\nFind the remainder when $\\text{prod}$ is divided by $11887$.", "answer": 6650, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(52900),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(3300)), Divides(divisor=Const(33), dividend=Var(\"k\"))), domain='positive_integers')),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11887)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "7c8509", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T18:23:51.114899Z", "verification": {"verified": true, "answer": 6650, "timestamp": "2026-02-08T18:23:51.118125Z"}, "problem_hash": "42e64e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 521}, "timestamp": "2026-02-13T00:05:31.961Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "36f5fd", "alias": "geo_visible_lattice_v1_717093673_2828", "problem": "Let $n = 121$. Let $L$ be the number of lattice points $(x, y)$ such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$.\n\nCompute the remainder when $1369 - L$ is divided by $58307$.", "answer": 50685, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(121),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Sub(Const(1369), Ref(\"result\")), modulus=Const(58307)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 1.31, "created_at": "2026-02-08T17:13:12.806753Z", "verification": {"verified": true, "answer": 50685, "timestamp": "2026-02-08T17:13:14.116285Z"}, "problem_hash": "218602", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1259, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 446}, "timestamp": "2026-02-12T22:07:06.725Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2f5ad1", "alias": "nt_count_divisible_v1_1520064083_7385", "problem": "Let $d$ be the smallest divisor of $143143$ that is at least $2$. Let $N$ be the number of positive integers $n \\leq 33856$ such that $n$ is divisible by $d$. Compute $N$.", "answer": 4836, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33856),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.466, "created_at": "2026-02-08T09:00:28.917872Z", "verification": {"verified": true, "answer": 4836, "timestamp": "2026-02-08T09:00:30.383781Z"}, "problem_hash": "47cd7a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4836, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 503}, "timestamp": "2026-02-13T23:28:26.983Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2604, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 251}, "timestamp": "2026-02-12T02:25:48.295Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K15": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "21bedf", "alias": "nt_gcd_compute_v1_784195855_2275", "problem": "Let $ a = 146334 $ and $ b = 195112 $. Let $ d = \\gcd(a, b) $. Define $ v = \\sum_{k \\mid d} \\mu(k) $, where $ \\mu $ is the Möbius function. Let $ n = \\varphi(\\varphi(1)) + v $, where $ \\varphi $ is Euler's totient function. Let $ e $ be the number of prime factors of $ n $ counted with multiplicity. Define $ a' = 394713 + e $ and $ b' = 681777 $. Compute $ \\gcd(a', b') $.", "answer": 35883, "graph": "graphs = [\n Graph(\n let={\n \"a1\": Const(146334),\n \"b1\": Const(195112),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(EulerPhi(n=EulerPhi(n=Const(1))), Ref(\"v\")),\n \"e\": BigOmega(n=Ref(name='n')),\n \"a\": Sum(Const(394713), Ref(\"e\")),\n \"b\": Const(681777),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "29fc13", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.149, "created_at": "2026-02-08T05:37:57.637912Z", "verification": {"verified": true, "answer": 35883, "timestamp": "2026-02-08T05:37:57.787322Z"}, "problem_hash": "9dbcb1", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "L3b": "no", "L3c": "no", "V1": "no"}, "split": "test"} +{"id": "68be5e", "alias": "modular_modexp_compute_v1_655260480_2753", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $P$. Consider the set of all prime numbers $n$ such that $m \\leq n \\leq 5279$. Let $e$ denote the number of such primes. Compute $47^e \\mod 44100$.\n\nFind the value of this result.", "answer": 18601, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(47),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Const(5279)), IsPrime(Var(\"n\"))))),\n \"m\": Const(44100),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES"], "recipe_id": "c35fa2", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:58:29.789701Z", "verification": {"verified": true, "answer": 18601, "timestamp": "2026-02-08T16:58:29.792813Z"}, "problem_hash": "7ad65d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 410}, "timestamp": "2026-02-12T21:35:04.606Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "032302", "alias": "modular_mod_compute_v1_784195855_3408", "problem": "Let $a=17711$ and $m=16384$, and let $r$ be the remainder when $a$ is divided by $m$.\n\nLet $A$ be the number of integers $n$ with $1\\le n\\le 9210$ such that $20$ divides the $n$-th Fibonacci number $F_n$.\n\nLet $B$ be the largest prime number $n$ such that\n$$2\\le n\\le T,$$\nwhere $T$ is the number of integers $t$ for which there exist integers $u$ and $v$ satisfying\n$$1\\le u\\le 695,\\quad 1\\le v\\le 233,\\quad 9\\le t\\le 3021,\\quad t=2u+7v.$$\n(Assume such a largest prime $B$ exists.)\n\nLet\n$$S=\\big(r\\bmod A\\big)+B\\big(r\\bmod 317\\big).$$\nLet $Q$ be the remainder when $S$ is divided by $95929$.\n\nFind the value of $Q$.", "answer": 81229, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(317),\n \"a\": Const(17711),\n \"m\": Const(16384),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(9210)), Divides(divisor=Const(20), dividend=Fibonacci(arg=Var(name='n'))))))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=695)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=233)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=3021)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(95929)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "COUNT_FIB_DIVISIBLE"], "recipe_id": "fe8639", "seed_template_id": "modular_mod_compute_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T06:25:15.032291Z", "verification": {"verified": true, "answer": 81229, "timestamp": "2026-02-08T06:25:15.037685Z"}, "problem_hash": "9fcf23", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 81229, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 3992}, "timestamp": "2026-02-13T00:00:20.603Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 360, "completion_tokens": 495}, "timestamp": "2026-02-12T00:02:55.466Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K15": "no", "LTE_DIFF": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "ddb991", "alias": "nt_sum_gcd_range_mod_v1_124444284_8715", "problem": "Let $N$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 2030625$. Let $k$ be the number of integers $t$ with $9 \\le t \\le 350$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 77$, $1 \\le b \\le 28$, and $t = 2a + 7b$. Let $M = 11617$. Compute the remainder when\n$$\n\\sum_{n=1}^{N} \\gcd(n, k)\n$$\nis divided by $M$.", "answer": 3023, "graph": "graphs = [\n Graph(\n let={\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2030625)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=77)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=28)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=350)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"M\": Const(11617),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.182, "created_at": "2026-02-08T11:52:44.043439Z", "verification": {"verified": true, "answer": 3023, "timestamp": "2026-02-08T11:52:44.225841Z"}, "problem_hash": "497af7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3398, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 5841}, "timestamp": "2026-02-14T20:17:09.553Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 553}, "timestamp": "2026-02-12T04:44:04.295Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "baa6b2", "alias": "nt_count_with_divisor_count_v1_1742523217_1766", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\le n \\le 22500$ and the number of positive divisors of $n$ is exactly 4. Let $r$ be the number of elements in $A$. Let $f$ be the largest integer $k$ such that $2^k$ divides $146!$. Let $D$ be the set of all integers $d$ such that $d \\ge 2$ and $d$ divides $f$. Let $m$ be the minimum element of $D$. Compute the remainder when the Bell number $B_{|r| \\bmod m}$ is divided by $74950$.", "answer": 41025, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74950),\n \"_n\": Const(2),\n \"upper\": Const(22500),\n \"div_count\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=MaxKDivides(target=Factorial(Const(146)), base=Const(2)))))))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["V1/MIN_PRIME_FACTOR"], "recipe_id": "a4d884", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V1"], "num_lemmas": 2, "generation_time": 12.343, "created_at": "2026-02-08T04:14:17.230345Z", "verification": {"verified": true, "answer": 41025, "timestamp": "2026-02-08T04:14:29.573452Z"}, "problem_hash": "b31dac", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "DS2": "no", "K14": "no", "K15": "no", "K18": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "792dbf", "alias": "diophantine_fbi2_min_v1_48377204_1751", "problem": "Let $k = 32$, $a = 3$, and $b = 2$. Define $U = 42$. Let $D$ be the set of all integers $d$ such that $4 \\leq d \\leq U$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Let $m$ be the smallest element of $D$. Compute $$ \\sum_{n=1}^{m} \\tau(n), $$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(32),\n \"a\": Const(3),\n \"b\": Const(2),\n \"upper\": Const(42),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["MOBIUS_COPRIME", "ONE_PHI_1", "B3"], "recipe_id": "9478a0", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.23, "created_at": "2026-02-08T16:23:03.536889Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T16:23:03.766920Z"}, "problem_hash": "7e7083", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 431}, "timestamp": "2026-02-12T10:36:13.069Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "abcb0e", "alias": "comb_binomial_compute_v1_397696148_2700", "problem": "Let $n = 12$ and let $k$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides 35. Compute $\\binom{n}{k}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(12),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:31:43.848342Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T13:31:43.849511Z"}, "problem_hash": "79717f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 792, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 272}, "timestamp": "2026-02-12T06:57:39.320Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "89a15e", "alias": "modular_sum_quadratic_residues_v1_1978505735_3556", "problem": "Let $n = 2$. Let $p$ be the smallest integer $d \\geq n$ that divides $144451298983$. Compute $\\frac{p(p-1)}{4}$.", "answer": 93789, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(144451298983))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:43:03.816661Z", "verification": {"verified": true, "answer": 93789, "timestamp": "2026-02-08T17:43:03.817908Z"}, "problem_hash": "d24970", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 262}, "timestamp": "2026-02-12T23:05:35.185Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K5": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "addf32", "alias": "nt_count_coprime_v1_784195855_4756", "problem": "Let $k = 40$ and let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 10753$ and $\\gcd(n, 40) = 1$. Let $d_0, d_1, \\dots, d_m$ be the decimal digits of $N$, where $d_0$ is the units digit. Define $A = \\sum_{i=0}^m d_i (i+1)^2$. Let $T$ be the set of all integers $d \\geq 2$ that divide 525. Let $m$ be the minimum element of $T$. Define $B = \\sum_{k=1}^3 \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor$, where $\\phi(k)$ is the number of positive integers less than or equal to $k$ that are relatively prime to $k$. Compute $A + B$.", "answer": 99, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(10753),\n \"k\": Const(40),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(525))))), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K2"], "recipe_id": "7800f6", "seed_template_id": "nt_count_coprime_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.867, "created_at": "2026-02-08T07:19:54.675529Z", "verification": {"verified": true, "answer": 99, "timestamp": "2026-02-08T07:19:57.542999Z"}, "problem_hash": "ab39b8", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 99, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 1560}, "timestamp": "2026-02-13T09:46:33.630Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 450, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 594}, "timestamp": "2026-02-12T01:00:58.069Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "15d4cb", "alias": "nt_count_divisors_in_range_v1_1978505735_3676", "problem": "Let $n=55440$.\n\nLet $a$ be the number of integers $t$ for which there exist integers $u$ and $v$ satisfying\n$$1\\le u\\le 9,\\quad 1\\le v\\le 3,\\quad 7\\le t\\le 39,\\quad t=3u+4v.$$\n\nLet $b=11090$.\n\nLet $R$ be the number of positive divisors $d$ of $n$ such that $a\\le d\\le b$.\n\nLet $M$ be the greatest value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=14$.\nLet $s$ be the smallest possible value of $x+y$ over all ordered pairs $(x,y)$ of positive integers satisfying $xy=M$.\n\nLet $k$ be the smallest element of the set of all values of $x+y$ as $(x,y)$ ranges over all ordered pairs of positive integers satisfying $xy=M$.\n(Thus $k=s$.)\n\nLet $T$ be the least element of the set of all values $x+y$ as $(x,y)$ ranges over all ordered pairs of positive integers satisfying $xy=M$.\n(Thus $T=s$ as well.)\n\nLet $L$ be the least element of the set of all values of $x+y$ as $(x,y)$ ranges over all ordered pairs of positive integers satisfying $xy=M$.\n(Again, $L=s$.)\n\nDefine\n$$Q=R+2^{\\,R\\bmod k}\\pmod{67256}.$$ \nHere $R\\bmod k$ denotes the remainder when $R$ is divided by $k$, and $Q$ is taken to be the remainder when $R+2^{R\\bmod k}$ is divided by $67256$.\n\nFind the value of $Q$. ", "answer": 4192, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(55440),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=39)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"b\": Const(11090),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Sum(Var(\"x1\"), Var(\"y1\")), Const(14)))), expr=Mul(Var(\"x1\"), Var(\"y1\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Const(67256))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3", "LIN_FORM"], "recipe_id": "4a5f5e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "mod_exp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.109, "created_at": "2026-02-08T17:47:40.626990Z", "verification": {"verified": true, "answer": 4192, "timestamp": "2026-02-08T17:47:40.735966Z"}, "problem_hash": "e9ec96", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 530, "completion_tokens": 416}, "timestamp": "2026-02-12T23:12:21.109Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "081b41", "alias": "nt_count_intersection_v1_1248542787_703", "problem": "Let $N$ be the largest integer $k$ such that $11^k$ divides $50017!$. Let $r$ be the number of positive integers $n$ such that $n \\leq N$, $9$ divides $n$, and $\\gcd(n, 10) = 1$. Let $p_{\\text{max}}$ be the largest prime number $n$ such that $2 \\leq n \\leq 41$. Compute $r^2 + p_{\\text{max}} \\cdot r + 333$.", "answer": 58719, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(333),\n \"_n\": Const(2),\n \"N\": MaxKDivides(target=Factorial(Const(50017)), base=Const(11)),\n \"a\": Const(9),\n \"b\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(41)), IsPrime(Var(\"n\"))))), Ref(\"result\")), Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "V1"], "recipe_id": "225114", "seed_template_id": "nt_count_intersection_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1"], "num_lemmas": 2, "generation_time": 0.169, "created_at": "2026-02-08T03:20:17.384105Z", "verification": {"verified": true, "answer": 58719, "timestamp": "2026-02-08T03:20:17.552732Z"}, "problem_hash": "7ef1a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 58719, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 1690}, "timestamp": "2026-02-09T07:11:01.269Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 58719, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 1818}, "timestamp": "2026-02-09T20:04:23.704Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 58719, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 6615}, "timestamp": "2026-02-09T19:16:47.270Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "test"} +{"id": "871e8f", "alias": "modular_product_range_v1_124444284_1293", "problem": "Let $m = 2$ and let $n = \\sum_{k=1}^{m} k$. Let $P$ be the product of all integers $i$ from $n$ to the smallest divisor $d \\geq 2$ of $130940501$. Compute the remainder when $P$ is divided by $10559$.", "answer": 9921, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(130940501)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10559)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/MIN_PRIME_FACTOR"], "recipe_id": "61e82b", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:48:49.944187Z", "verification": {"verified": true, "answer": 9921, "timestamp": "2026-02-08T03:48:49.949790Z"}, "problem_hash": "95b296", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:43:48.118Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:19:29.237Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7919, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 118, "completion_tokens": 3639}, "timestamp": "2026-02-11T18:45:24.659Z"}, {"id": 8, "model": "mathstral", "answer": 2520, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 626}, "timestamp": "2026-02-13T00:00:23.849Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 280}, "timestamp": "2026-02-11T21:09:41.194Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "K14": "no", "K16": "no", "K18": "no", "L3b": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "388e20", "alias": "comb_count_derangements_v1_865884756_3198", "problem": "Let $n_2 = \\binom{2}{0} - 1$. Define $c = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$. Let $n_1 = 0$, and define $u = \\sum_{k_1 = \\binom{2}{0} - \\binom{20}{0}}^{n_1} (-1)^{k_1} \\binom{n_1}{k_1}$. Let $n = 8 \\cdot c \\cdot u$. Compute $!n$, the number of derangements of $n$ elements.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Sub(Binom(n=Const(2), k=Const(0)), Const(1)),\n \"c\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"u\": Summation(var=\"k1\", start=Sub(Binom(n=Const(2), k=Const(0)), Binom(n=Const(20), k=Const(0))), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": Mul(Const(8), Ref(\"c\"), Ref(\"u\")),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "59db8c", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T17:13:30.436941Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T17:13:30.440881Z"}, "problem_hash": "9cfe67", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 307}, "timestamp": "2026-02-12T22:08:57.521Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "91e260", "alias": "antilemma_cartesian_v1_1918700295_2052", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 31$ and $1 \\leq b \\leq 33$. Compute the value of\n$$\n\\sum_{i=0}^{2} \\left( \\text{the } i\\text{-th decimal digit of } |x| \\right) \\cdot (i+1)^2 + 42025.\n$$", "answer": 42052, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(33)))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(9), k=Const(0)), Const(1)), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(42025)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ZERO_BINOM_0"], "recipe_id": "547f12", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ZERO_BINOM_0"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:40:08.867740Z", "verification": {"verified": true, "answer": 42052, "timestamp": "2026-02-08T07:40:08.868836Z"}, "problem_hash": "0d9666", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42036, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 608}, "timestamp": "2026-02-13T11:47:51.714Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 42044, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 255}, "timestamp": "2026-02-12T01:14:27.089Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "514961", "alias": "nt_num_divisors_compute_v1_677425708_3954", "problem": "Let $n = 10609$. Define $r$ to be the number of positive divisors of $n$. Let $m = |r| + 2$. Find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $m$. Compute $k$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(10609),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K13/COUNT_FIB_DIVISIBLE"], "recipe_id": "446e26", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "K13", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.035, "created_at": "2026-02-08T06:04:51.396768Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T06:04:51.432268Z"}, "problem_hash": "4d2276", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 544}, "timestamp": "2026-02-12T19:34:30.976Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 354}, "timestamp": "2026-02-11T23:35:41.956Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K13": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "K5": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "798cd6", "alias": "sequence_lucas_compute_v1_168721529_1092", "problem": "Let $n=19$, and let $L_n$ denote the $n$th Lucas number. Define $r=L_n$.\n\nLet $d_0$ be the smallest integer $d\\ge 2$ such that $d$ divides $2695$. Let\n\\[g=\\gcd(d_0,7).\n\\]\nLet\n\\[h=\\sum_{d\\mid g} \\mu(d),\n\\]\nwhere the sum is taken over all positive divisors $d$ of $g$ and $\\mu$ is the Möbius function.\n\nDefine\n\\[Q=r+\\varphi\\bigl(|r|+\\varphi(1)\\bigr)+\\tau\\bigl(|r|+h\\bigr),\n\\]\nwhere $\\varphi$ is Euler's totient function and $\\tau$ is the number of positive divisors.\n\nFind the value of $Q$.", "answer": 12573, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2695),\n \"n\": Const(19),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Ref(name='_n'))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "373491", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "arith_invariants", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:27:55.023737Z", "verification": {"verified": true, "answer": 12573, "timestamp": "2026-02-08T13:27:55.027996Z"}, "problem_hash": "8317eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 12573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 298, "completion_tokens": 1165}, "timestamp": "2026-02-09T13:40:49.274Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 14653, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 761}, "timestamp": "2026-02-10T01:49:09.978Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "test"} +{"id": "77411e", "alias": "modular_count_residue_v1_458359167_5269", "problem": "Let $n$ be a positive integer. Define $m$ to be the smallest divisor of $23437829$ that is at least $2$. Let $r = 3$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 42436$ and $n \\equiv r \\pmod{m}$.", "answer": 1464, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(42436),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(23437829))))),\n \"r\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.593, "created_at": "2026-02-08T12:24:06.931568Z", "verification": {"verified": true, "answer": 1464, "timestamp": "2026-02-08T12:24:08.524090Z"}, "problem_hash": "eca565", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 349}, "timestamp": "2026-02-12T05:11:06.163Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "L3c": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0ac24b", "alias": "modular_product_range_v1_865884756_2245", "problem": "Let $c = 44121$ and $n = 60559$. Define $m$ to be the number of integers $t$ such that $8 \\leq t \\leq 184$ and $t = 5a + 3b$ for some positive integers $a, b$ with $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 28$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 49$, and define $s$ to be the minimum value of $x + y$ over all such pairs. Let $P$ be the product of all integers $i$ from $s$ to $m$, inclusive. Let $R$ be the remainder when $P$ is divided by $10177$. Define $Q = (c \\cdot R) \\bmod n$. Determine the value of $Q$.", "answer": 43772, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(44121),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=28)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=184)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"_n\": Const(60559),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")), end=Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10177)),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC", "LIN_FORM/B3"], "recipe_id": "2e16ee", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T16:39:25.095884Z", "verification": {"verified": true, "answer": 43772, "timestamp": "2026-02-08T16:39:25.100266Z"}, "problem_hash": "a74307", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 311, "completion_tokens": 420}, "timestamp": "2026-02-12T20:46:06.185Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "SUM_ARITHMETIC": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ef7fa1", "alias": "nt_count_gcd_equals_v1_717093673_3801", "problem": "Let $d$ be the smallest divisor of $1113121$ that is at least $2$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 26896$ and $\\gcd(n, 101) = d$.", "answer": 266, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(26896),\n \"k\": Const(101),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(1113121))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.189, "created_at": "2026-02-08T17:52:17.084902Z", "verification": {"verified": true, "answer": 266, "timestamp": "2026-02-08T17:52:19.274020Z"}, "problem_hash": "3f25df", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 279}, "timestamp": "2026-02-12T23:15:45.594Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K14": "no", "K17": "no", "MAX_VAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cd2467", "alias": "nt_count_divisors_in_range_v1_1439011603_1208", "problem": "Let $n = 332640$. Let $a = 19$ and let $b$ be the smallest divisor of $18766199$ that is at least $2$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 136, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(332640),\n \"a\": Const(19),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(18766199))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Divides(divisor=Var(\"d1\"), dividend=Ref(\"n\")), Geq(Var(\"d1\"), Ref(\"a\")), Leq(Var(\"d1\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.045, "created_at": "2026-02-08T15:58:45.351506Z", "verification": {"verified": true, "answer": 136, "timestamp": "2026-02-08T15:58:45.396989Z"}, "problem_hash": "4ec23a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 302}, "timestamp": "2026-02-12T09:36:44.096Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K14": "no", "K16": "no", "K18": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6cf175", "alias": "nt_count_intersection_v1_717093673_1678", "problem": "Let $N = 50000$. Let $a$ be the smallest divisor of $294151$ that is at least $2$. Determine the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, 10) = 1$.", "answer": 1818, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(50000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(294151))))),\n \"b\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.726, "created_at": "2026-02-08T16:14:22.563584Z", "verification": {"verified": true, "answer": 1818, "timestamp": "2026-02-08T16:14:24.289942Z"}, "problem_hash": "c5fbc7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 332}, "timestamp": "2026-02-12T10:10:48.346Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "60eec6", "alias": "diophantine_fbi2_min_v1_1978505735_1631", "problem": "Let $T$ be the set of all integers $t$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 32$, $1 \\leq b \\leq 55$, $9 \\leq t \\leq 380$, and $t = 5a + 4b$. Let $k$ be the number of elements in $T$. Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 34225$. Let $m$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Determine the smallest integer $d \\geq 2$ such that $d \\leq m$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=55)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=380)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(34225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.062, "created_at": "2026-02-08T16:18:02.307428Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T16:18:02.369400Z"}, "problem_hash": "20934f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 487}, "timestamp": "2026-02-12T10:22:25.691Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "K15": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3da56a", "alias": "nt_num_divisors_compute_v1_1125832087_1594", "problem": "Let $n = 2$. Define $n_2$ to be the number of integers $k$ such that $\\phi(2) \\leq k \\leq 3203$ and the sum of the decimal digits of $k$ leaves a remainder of 1 when divided by $n$. Let $c$ be the remainder when the number of positive divisors of $n_2$ is divided by 2. Define $n_1 = 1 + c$. Let $m$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the M\\\"obius function. Define $n = 78961 \\cdot m$. Compute the number of positive divisors of $n$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Const(3203)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": Sum(Const(1), Ref(\"c\")),\n \"m\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(78961), Ref(\"m\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/DIVISOR_PARITY", "MOBIUS_SUM", "ONE_PHI_2"], "recipe_id": "5e2ef9", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "L3B", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:49:29.935430Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T03:49:29.938640Z"}, "problem_hash": "b34a67", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_2": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "K16": "no", "L3b": "no", "LTE_SUM": "no", "V1": "no"}, "split": "test"} +{"id": "d74ed9", "alias": "nt_count_phi_equals_v1_784195855_8913", "problem": "Let $n = 1024$. Define $k$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $T$ be the set of all integers $t$ such that $12 \\leq t \\leq 2055$ and $t = 5a + 7b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 159$ and $1 \\leq b \\leq 180$. Let $u$ be the number of elements in $T$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\phi(n) = k$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1024),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=159)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=180)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=2055)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V1"], "num_lemmas": 3, "generation_time": 0.855, "created_at": "2026-02-08T16:24:32.037720Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T16:24:32.892936Z"}, "problem_hash": "aa75e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 482}, "timestamp": "2026-02-12T10:41:00.641Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "512510", "alias": "nt_euler_phi_compute_v1_1915831931_522", "problem": "Let $n = 30628$ and $k = 21$. Compute $\\phi(n)$, Euler's totient function of $n$. Let $S$ be the set of all positive integers $n_2$ such that $1 \\le n_2 \\le 12247$ and $\\gcd(n_2, 21) = 1$. Let $s$ be the number of elements in $S$. Let $T$ be the set of all positive integers $n_1$ such that $1 \\le n_1 \\le s$ and\n\\[\nn_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{7}.\n\\]\nLet $c$ be the number of elements in $T$. Compute the remainder when $\\phi(30628)^2 + 19 \\cdot \\phi(30628) + c$ is divided by $56601$.", "answer": 47268, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"n\": Const(30628),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(12247)), Eq(GCD(a=Var(\"n2\"), b=Ref(\"_n\")), Const(1)))))), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=7))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(19), Ref(\"result\")), Ref(\"_c\")), modulus=Const(56601)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/L3C"], "recipe_id": "0b9e4c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "L3C"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T15:30:28.460660Z", "verification": {"verified": true, "answer": 47268, "timestamp": "2026-02-08T15:30:28.464431Z"}, "problem_hash": "120a7e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 320, "completion_tokens": 563}, "timestamp": "2026-02-12T08:33:25.526Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "L3C": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "273052", "alias": "nt_min_coprime_above_v1_48377204_2006", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 33285$ and\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.\n$$\nLet $T$ be the set of all integers $n_1$ such that $n_1 > |S|$, $n_1 \\leq 3409$, and $\\gcd(n_1, 374) = 1$.\n\nCompute the minimum element of $T$.", "answer": 3027, "graph": "graphs = [\n Graph(\n let={\n \"start\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(33285)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"upper\": Const(3409),\n \"modulus\": Const(374),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Gt(Var(\"n1\"), Ref(\"start\")), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.061, "created_at": "2026-02-08T16:33:01.256294Z", "verification": {"verified": true, "answer": 3027, "timestamp": "2026-02-08T16:33:01.316897Z"}, "problem_hash": "7bdcc4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 544}, "timestamp": "2026-02-12T10:55:17.933Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8f2b17", "alias": "nt_sum_divisors_range_v1_124444284_10346", "problem": "Let $U$ be the number of positive integers $n$ such that $1 \\leq n \\leq 109999$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the sum of the number of positive divisors of all positive integers $n$ satisfying $1 \\leq n \\leq U$.", "answer": 93643, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(109999)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.733, "created_at": "2026-02-08T12:59:14.519047Z", "verification": {"verified": true, "answer": 93643, "timestamp": "2026-02-08T12:59:15.251690Z"}, "problem_hash": "70e485", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 642}, "timestamp": "2026-02-12T06:06:28.267Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K15": "no", "K16": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "99c088", "alias": "comb_sum_binomial_mod_v1_1520064083_1014", "problem": "Compute the remainder when $19 - \\sum_{k=9}^{133} \\binom{165}{k}$ is divided by $74815$.", "answer": 69788, "graph": "graphs = [\n Graph(\n let={\n \"sum\": Summation(var=\"k\", start=Const(9), end=Const(133), expr=Binom(n=Const(165), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10781)),\n \"_c\": Const(19),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(74815)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF"], "recipe_id": "e1f8c2", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF"], "num_lemmas": 1, "generation_time": 0.072, "created_at": "2026-02-08T03:42:57.681826Z", "verification": {"verified": true, "answer": 69788, "timestamp": "2026-02-08T03:42:57.754067Z"}, "problem_hash": "10f62a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:36:35.405Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:18:31.922Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 77, "completion_tokens": 8192}, "timestamp": "2026-02-11T18:04:46.040Z"}, {"id": 8, "model": "mathstral", "answer": 2013, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 94, "completion_tokens": 1039}, "timestamp": "2026-02-12T23:01:13.695Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 570}, "timestamp": "2026-02-11T21:08:24.640Z"}], "solution_status": 0, "lemma_applicability": {"LTE_DIFF": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "618342", "alias": "comb_catalan_compute_v1_865884756_2510", "problem": "Let $n = 10$. Compute the $n$-th Catalan number, denoted $C_n$. Let $a = |C_n| + 0!$ and $b = |C_n| + \\binom{14}{14}$. Compute $C_n + \\phi(a) + \\tau(b)$, where $\\phi$ denotes Euler's totient function and $\\tau(k)$ denotes the number of positive divisors of $k$. Find the value of this sum.", "answer": 26964, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(10),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Binom(n=Const(14), k=Const(14))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ONE_FACTORIAL_0", "lemma_paths": ["ONE_FACTORIAL_0", "ONE_BINOM_N"], "recipe_id": "7463f0", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["ONE_BINOM_N", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:48:01.182613Z", "verification": {"verified": true, "answer": 26964, "timestamp": "2026-02-08T16:48:01.184527Z"}, "problem_hash": "6b8cc1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 335922, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 395}, "timestamp": "2026-02-12T21:01:43.280Z"}], "solution_status": 0, "lemma_applicability": {"ONE_BINOM_N": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4416ca", "alias": "algebra_poly_eval_v1_655260480_54", "problem": "Let $y$ be the smallest integer greater than or equal to $2$ that divides $11011$. Define $\\text{result} = -y^4 + 9y^3 - 7y^2 + 5y - 1$. Compute $42025 - \\text{result}$.", "answer": 41648, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"y\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": Sum(Mul(Const(-1), Pow(Ref(\"y\"), Const(4))), Mul(Const(9), Pow(Ref(\"y\"), Const(3))), Mul(Const(-7), Pow(Ref(\"y\"), Const(2))), Mul(Ref(\"_n\"), Ref(\"y\")), Const(-1)),\n \"_c\": Const(42025),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T15:09:42.797086Z", "verification": {"verified": true, "answer": 41648, "timestamp": "2026-02-08T15:09:42.802966Z"}, "problem_hash": "73d8c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 46074, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 289}, "timestamp": "2026-02-12T07:50:57.161Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3b21ee", "alias": "comb_count_permutations_fixed_v1_784195855_3429", "problem": "Let $m = 17$ and $n = 17$. Let $a = \\binom{11}{9} \\cdot !(11 - 9)$, where $!k$ denotes the number of derangements of $k$ elements. Let $b$ be the largest integer such that $n^b$ divides $m^c$, where $c$ is the number of positive integers at most 7088 that are divisible by 4 and relatively prime to 15. Compute $b - a$.", "answer": 891, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(17),\n \"n\": Const(11),\n \"k\": Const(9),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Sub(MaxKDivides(target=Pow(Ref(\"_m\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(7088)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))), base=Ref(\"_n\")), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/K14"], "recipe_id": "3e859d", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "K14"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:25:50.317265Z", "verification": {"verified": true, "answer": 891, "timestamp": "2026-02-08T06:25:50.320367Z"}, "problem_hash": "c2ffc3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "K14": "ok_later", "K18": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "bb5a1e", "alias": "comb_sum_binomial_mod_v1_655260480_4661", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 92$. Let $M$ be the maximum value of $xy$ over all such pairs. \n\nLet $s = \\sum_{k=16}^{123} \\binom{143}{k}$, and let $r$ be the remainder when $s$ is divided by $10223$. \n\nCompute $M - r$.", "answer": 1316, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(143),\n \"sum\": Summation(var=\"k\", start=Const(16), end=Const(123), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10223)),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(92)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.044, "created_at": "2026-02-08T18:02:58.035183Z", "verification": {"verified": true, "answer": 1316, "timestamp": "2026-02-08T18:02:58.079078Z"}, "problem_hash": "aab087", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 558}, "timestamp": "2026-02-12T23:39:03.879Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0b88c0", "alias": "nt_count_coprime_and_v1_1742523217_1539", "problem": "Let $d_0$ be the largest integer $d$ with $1 \\leq d \\leq 2$ that divides 14. Let $m = 216164294552797813644468298334960032264314028099121827522977760380036054977040772636507485350846572697104668220046869483342855823226395368790442423292599038546258389384612891749876398137172274973748580884628918557298690939252853581353603316789598808568233542912958545616687651303859813475622101115673343793464249093443495418045214302462846989631890770387248591737460780924136313651176685474074980640712723296570197409792$, and let $e$ be the largest integer $k$ such that $d_0^k$ divides $m^6$. Compute the number of positive integers $n$ with $1 \\leq n \\leq e$ that are relatively prime to both 7 and 9.", "answer": 4776, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(14))))),\n \"upper\": MaxKDivides(target=Pow(Const(216164294552797813644468298334960032264314028099121827522977760380036054977040772636507485350846572697104668220046869483342855823226395368790442423292599038546258389384612891749876398137172274973748580884628918557298690939252853581353603316789598808568233542912958545616687651303859813475622101115673343793464249093443495418045214302462846989631890770387248591737460780924136313651176685474074980640712723296570197409792), Const(6)), base=Ref(\"_n\")),\n \"k1\": Const(7),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/K14"], "recipe_id": "6c05cc", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K14", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 1.701, "created_at": "2026-02-08T04:02:30.610009Z", "verification": {"verified": true, "answer": 4776, "timestamp": "2026-02-08T04:02:32.310707Z"}, "problem_hash": "b90c0f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "ok_later", "COUNT_COPRIME_GRID": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "29366a", "alias": "nt_sum_divisors_compute_v1_124444284_1349", "problem": "Let $p = 97$ and $n_2 = p^2$. Define $c = \\lambda(n_2)$, where $\\lambda$ denotes the Liouville function. Let $n_1 = \\varphi(2) \\cdot c$, where $\\varphi$ is Euler's totient function. Define $h = \\sum_{d \\mid n_1} \\mu(d)$, where the sum is over all positive divisors $d$ of $n_1$ and $\\mu$ is the Möbius function. Let $n = 20789 \\cdot h$. Compute the sum of all positive divisors of $n$.", "answer": 20790, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(97),\n \"n2\": Pow(Ref(\"p\"), Const(2)),\n \"c\": LiouvilleLambda(n=Ref(name='n2')),\n \"n1\": Mul(EulerPhi(n=Const(2)), Ref(\"c\")),\n \"h\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(20789), Ref(\"h\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE", "MOBIUS_SUM", "ONE_PHI_2"], "recipe_id": "6d5078", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:50:27.999906Z", "verification": {"verified": true, "answer": 20790, "timestamp": "2026-02-08T03:50:28.001512Z"}, "problem_hash": "dccf85", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20790, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 4600}, "timestamp": "2026-02-10T06:28:16.692Z"}], "solution_status": 2, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_2": "ok", "K13": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "d6c31a", "alias": "algebra_quadratic_discriminant_v1_784195855_2130", "problem": "Let $a$ be the smallest positive integer $n$ such that $3^4$ divides $n!$. Let $b = 3$. Let $c$ be the smallest integer $d \\ge 2$ such that $d$ divides the number of integers $t$ in the range $12 \\le t \\le 1610$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 7$, $1 \\le b \\le 225$, and $t = 5a + 7b$. Define $D = b^2 - 4ac$. Compute the value of $2 \\cdot [D > 0] + [D = 0]$, where $[P]$ is the Iverson bracket that equals $1$ if $P$ is true and $0$ otherwise.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Ref(\"_n\")), domain='Z_{>0}')),\n \"b\": Const(3),\n \"c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=225)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=1610)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))))))),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR", "V5"], "recipe_id": "f153f3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MIN_PRIME_FACTOR", "V5"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T05:30:25.455828Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T05:30:25.464381Z"}, "problem_hash": "2acb88", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V5": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}, "split": "test"} +{"id": "7621a7", "alias": "modular_sum_quadratic_residues_v1_2051736721_5660", "problem": "Let $ p $ be the smallest divisor of $ 203889030637 $ that is at least $ 2 $. Compute the remainder when $ \\frac{p(p-1)}{4} \\times 31239 $ is divided by $ 80035 $.", "answer": 71620, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(203889030637))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(31239), Ref(\"result\")), modulus=Const(80035)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:42:40.639673Z", "verification": {"verified": true, "answer": 71620, "timestamp": "2026-02-08T18:42:40.641705Z"}, "problem_hash": "1b48a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 217}, "timestamp": "2026-02-13T00:28:56.708Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "78a4a2", "alias": "nt_min_phi_inverse_v1_677425708_2690", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 70$ and $\\phi(n) = 20$. Define $m$ to be the smallest element of $S$. Let $t$ be the number of positive integers $n$ such that $1 \\leq n \\leq 17$ and the sum of the digits of $n$ is even. Compute $m^2 + (1 + 2 + 3) \\cdot m + t$.", "answer": 783, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(70),\n \"k\": Const(20),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(17)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "L3B"], "recipe_id": "ad1d27", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T05:12:07.788761Z", "verification": {"verified": true, "answer": 783, "timestamp": "2026-02-08T05:12:07.797500Z"}, "problem_hash": "50cd57", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 783, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 2946}, "timestamp": "2026-02-11T23:04:35.633Z"}, {"id": 8, "model": "mathstral", "answer": 1368, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 363}, "timestamp": "2026-02-14T08:24:27.822Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 307}, "timestamp": "2026-02-11T22:20:13.687Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "SUM_ARITHMETIC": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "6a7da1", "alias": "nt_count_coprime_and_v1_1080341949_56", "problem": "Let $U = 24350$, $k_1 = 9$, and $k_2$ be the smallest divisor of $537251$ that is at least $2$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq U$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$.", "answer": 14758, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(24350),\n \"k1\": Const(9),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.894, "created_at": "2026-02-08T13:10:07.925484Z", "verification": {"verified": true, "answer": 14758, "timestamp": "2026-02-08T13:10:10.819548Z"}, "problem_hash": "4b755f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 581}, "timestamp": "2026-02-12T06:19:07.921Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "59fade", "alias": "diophantine_product_count_v1_124444284_2319", "problem": "Let $p$ be the smallest prime factor of $3477193283$ that is at least $2$. Define $k$ to be the number of prime numbers $n$ satisfying $2 \\leq n \\leq p$. Let $S$ be the set of ordered pairs $(i,j)$ with $1 \\leq i \\leq 19$ and $1 \\leq j \\leq 3$. Define $\\sigma = \\sum_{(i,j) \\in S} i$, and let $\\ell = \\left\\lfloor \\frac{7\\sigma}{21} \\right\\rfloor$. Now consider the set of all positive integers $x$ such that $1 \\leq x \\leq \\ell$, $x$ divides $k$, and $\\frac{k}{x} \\leq \\ell$. Compute the number of such integers $x$.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3477193283)))))), IsPrime(Var(\"n\"))))),\n \"upper\": Div(Mul(Const(7), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Var(\"k\")))), Ref(\"_n\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "SUM_INDEPENDENT", "SUM_ARITHMETIC"], "recipe_id": "171b9c", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T04:35:54.985393Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T04:35:54.997866Z"}, "problem_hash": "3f40a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 8192}, "timestamp": "2026-02-11T09:37:43.327Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 8192}, "timestamp": "2026-02-10T17:15:56.547Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 4693}, "timestamp": "2026-02-12T01:43:22.058Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 564}, "timestamp": "2026-02-13T19:57:42.399Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 416}, "timestamp": "2026-02-11T21:36:06.678Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "416ac1", "alias": "comb_sum_binomial_row_v1_1080341949_311", "problem": "Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 70$ and\n$$\nk \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}.\n$$\nCompute the value of $2^n$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(70)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:25:03.388742Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T13:25:03.389903Z"}, "problem_hash": "221df6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 480}, "timestamp": "2026-02-12T06:45:47.272Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K18": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "4a37b7", "alias": "nt_sum_over_divisible_v1_168721529_1027", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 16664$ and $\\gcd(n, 15) = 1$. Let $m$ be the number of elements in $A$. Let $B$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 280$. Let $d$ be the number of elements in $B$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq m$ and $d$ divides $n$. Compute the remainder when $44121$ times the sum of the elements of $T$ is divided by $52372$.", "answer": 11112, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16664)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(280))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(52372)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "C4"], "recipe_id": "1bb2c8", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COMB1"], "num_lemmas": 2, "generation_time": 1.442, "created_at": "2026-02-08T13:24:47.360939Z", "verification": {"verified": true, "answer": 11112, "timestamp": "2026-02-08T13:24:48.802974Z"}, "problem_hash": "8845c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11112, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 3396}, "timestamp": "2026-02-09T12:33:23.161Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 11112, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 7249}, "timestamp": "2026-02-10T00:56:37.029Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 679}, "timestamp": "2026-02-12T06:46:31.391Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "COMB1": "ok", "K13": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.54}, "split": "test"} +{"id": "e36e78", "alias": "nt_count_with_divisor_count_v1_124444284_4202", "problem": "Let $ n = 84391 $ and $ u = 30976 $. Let $ d_0 $ be the smallest divisor of $ 1001 $ that is at least $ 2 $. Define $ c $ to be the number of positive integers $ n $ such that $ 1 \\leq n \\leq u $ and the number of positive divisors of $ n $ is equal to $ d_0 $. Compute the remainder when $ 44121 \\times c $ is divided by $ n $.", "answer": 47972, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84391),\n \"upper\": Const(30976),\n \"div_count\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.223, "created_at": "2026-02-08T05:51:06.049926Z", "verification": {"verified": true, "answer": 47972, "timestamp": "2026-02-08T05:51:08.273239Z"}, "problem_hash": "c3e721", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 47972, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 1049}, "timestamp": "2026-02-12T15:28:07.923Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 576}, "timestamp": "2026-02-11T23:13:24.234Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "76105b", "alias": "comb_binomial_compute_v1_1125832087_676", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 324$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $k$ be the smallest integer $d \\geq 2$ that divides $29645$. Define $\\binom{n}{k}$ as the binomial coefficient. Let $Q$ be the remainder when $26005 \\cdot \\binom{n}{k}$ is divided by $68958$. Find the value of $Q$.", "answer": 46476, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(68958),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(324)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(29645),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(26005),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_d\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "B3/B3"], "recipe_id": "cb9dd4", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:12:58.472223Z", "verification": {"verified": true, "answer": 46476, "timestamp": "2026-02-08T03:12:58.477055Z"}, "problem_hash": "e439ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46476, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 2049}, "timestamp": "2026-02-10T13:30:33.675Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46476, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 1429}, "timestamp": "2026-02-10T13:03:13.485Z"}, {"id": 8, "model": "mathstral", "answer": 56, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 548}, "timestamp": "2026-02-11T17:11:51.101Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 557}, "timestamp": "2026-02-11T20:31:55.967Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "K16": "no", "L3b": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "7deb0c", "alias": "algebra_poly_eval_v1_1918700295_631", "problem": "Let $a = 4 \\cdot 9^3 - 10 \\cdot 9^2 - 4 \\cdot 9 + 1$. Let $b = \\sum_{d \\mid 3125} \\phi(d)$ and let $c = \\sum_{d \\mid b} \\phi(d)$. Compute $c - a$.", "answer": 1054, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3125),\n \"n\": Const(9),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"n\"), Const(3))), Mul(Const(-10), Pow(Ref(\"n\"), Const(2))), Mul(Const(-4), Ref(\"n\")), Const(1)),\n \"Q\": Sub(SumOverDivisors(n=SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/K3"], "recipe_id": "aafe62", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:21:22.061058Z", "verification": {"verified": true, "answer": 1054, "timestamp": "2026-02-08T03:21:22.063502Z"}, "problem_hash": "4c2967", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1054, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 667}, "timestamp": "2026-02-10T13:57:04.958Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1054, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 808}, "timestamp": "2026-02-10T13:16:49.592Z"}, {"id": 8, "model": "mathstral", "answer": 1055, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 133, "completion_tokens": 738}, "timestamp": "2026-02-11T18:35:02.184Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 640}, "timestamp": "2026-02-11T20:41:57.115Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "cb5700", "alias": "modular_product_range_v1_865884756_5849", "problem": "Let $m=31$ and $n=11149$. Let $d$ be the number of positive integers $p$ such that there exists a positive integer $q$ with\n\\begin{itemize}\n \\item $pq=24$,\n \\item $\\gcd(p,q)=1$, and\n \\item $p \\text{start}$, $n \\leq \\text{upper}$, and $\\gcd(n, d_{\\text{min}}) = 1$.", "answer": 50626, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(50625),\n \"upper\": Const(50772),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(58765536377))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T17:58:21.960048Z", "verification": {"verified": true, "answer": 50626, "timestamp": "2026-02-08T17:58:21.975732Z"}, "problem_hash": "c4b590", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 301}, "timestamp": "2026-02-12T23:26:58.414Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "L3c": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7d2e50", "alias": "diophantine_product_count_v1_1742523217_789", "problem": "Let $A$ be the number of positive integers $n \\leq 569$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $k = 240$. Determine the number of positive integers $x \\leq A$ such that $x$ divides $k$ and $\\frac{k}{x} \\leq A$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(240),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(569)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.382, "created_at": "2026-02-08T03:14:48.430756Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T03:14:48.812930Z"}, "problem_hash": "62ba96", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 3689}, "timestamp": "2026-02-09T22:46:26.104Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 2452}, "timestamp": "2026-02-09T07:03:00.973Z"}, {"id": 8, "model": "mathstral", "answer": 37, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 1106}, "timestamp": "2026-02-11T18:03:26.943Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 19, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 191, "completion_tokens": 1202}, "timestamp": "2026-02-11T20:37:02.450Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "72b4c3", "alias": "modular_sum_quadratic_residues_v1_1526740231_418", "problem": "Let $p$ be the smallest prime divisor of $295927$ that is at least $2$. Let $r = \\frac{p(p-1)}{4}$. Compute the remainder when $\\left( r \\bmod 293 \\right) + 1009 \\cdot \\left( r \\bmod 337 \\right)$ is divided by $61098$.", "answer": 873, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(337),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(295927))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(293)), Mul(Const(1009), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(61098)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:30:50.459349Z", "verification": {"verified": true, "answer": 873, "timestamp": "2026-02-08T11:30:50.460983Z"}, "problem_hash": "542980", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 873, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 3676}, "timestamp": "2026-02-14T15:12:17.375Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7872, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 329}, "timestamp": "2026-02-12T04:11:16.401Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "L3c": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "828d22", "alias": "comb_sum_binomial_row_v1_238844314_1006", "problem": "Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 10$ and\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}.\n$$\nLet $k$ be the number of elements in $T$. Compute $k^{12}$.", "answer": 4096, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"n\": Const(12),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:50:56.282818Z", "verification": {"verified": true, "answer": 4096, "timestamp": "2026-02-08T13:50:56.284477Z"}, "problem_hash": "855ac2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 282475249, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 599}, "timestamp": "2026-02-12T07:28:13.477Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K15": "no", "L3b": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "43e1b6", "alias": "nt_euler_phi_compute_v1_151522320_32", "problem": "Let $n_1$ be the number of integers $t$ such that $7 \\leq t \\leq 2349$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 579$, $1 \\leq b \\leq 153$, and $t = 3a + 4b$. Let $w = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Define $p = 3$ and $t = ( (p - \\phi(2))! + 1 ) \\mod p$, where $\\phi$ is Euler's totient function. Let $n = 70000 + w$. Define $c = 40241 + t$. Compute the remainder when $c \\cdot \\phi(n)$ is divided by 66804.", "answer": 65376, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66804),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=579)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=153)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2349)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"p\": Const(3),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), EulerPhi(n=Const(2)))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(70000), Ref(\"w\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Sum(Const(40241), Ref(\"t\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "WILSON", "ONE_PHI_2"], "recipe_id": "a75565", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "ONE_PHI_2", "WILSON"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T02:55:40.258664Z", "verification": {"verified": true, "answer": 65376, "timestamp": "2026-02-08T02:55:40.262190Z"}, "problem_hash": "3f4c2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 12240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 3681}, "timestamp": "2026-02-08T21:39:25.597Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "WILSON": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K18": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "test"} +{"id": "2a739f", "alias": "nt_max_prime_below_v1_1915831931_198", "problem": "Let $A$ be the set of all positive integers $t$ such that $24 \\leq t \\leq 324$ and there exist positive integers $a \\leq 25$ and $b \\leq 11$ satisfying $t = 10a + 6b + 8$. Let $m = |A|$. Let $S$ be the set of divisors of $m$ that are at least $1$ and at most $11$. Let $d_{\\max}$ be the largest element of $S$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 82944$. Let $p_{\\max}$ be the largest element of $P$. Compute the remainder when the Bell number $B_{p_{\\max} \\bmod d_{\\max}}$ is divided by $94166$.", "answer": 21809, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=324)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=8)))))))),\n \"upper\": Const(82944),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(11)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))))), modulus=Const(94166)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR"], "recipe_id": "b41393", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 3.083, "created_at": "2026-02-08T15:13:45.776298Z", "verification": {"verified": true, "answer": 21809, "timestamp": "2026-02-08T15:13:48.858816Z"}, "problem_hash": "6b6e7f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 835}, "timestamp": "2026-02-12T08:01:33.132Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K15": "no", "L3b": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "334a55", "alias": "nt_count_primes_v1_1918700295_2900", "problem": "Let\n$$\nA=\\sum_{k=1}^{3} \\varphi(k)\\left\\lfloor \\frac{3}{k} \\right\\rfloor,\n$$\nwhere $\\varphi$ is Euler's totient function and $\\lfloor\\cdot\\rfloor$ is the floor function. Let $U=37675$, and let $R$ be the number of prime integers $n$ with\n$$\n2\\le n\\le U.\n$$\n\nLet $B$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$\n1\\le a\\le 687,\\quad 1\\le b\\le 1476,\\quad 10\\le t\\le 9237,\\quad t=7a+3b.\n$$\n\nLet $K$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$\npq=54,\\quad \\gcd(p,q)=1,\\quad p a $, $ n \\leq b $, and $ \\gcd(n, m) = 1 $. Compute the smallest element of $ T $.", "answer": 2050, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(33975),\n \"start\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=281483578588382957904369852600)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=43)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=227)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "d33579", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.051, "created_at": "2026-02-08T05:40:22.904924Z", "verification": {"verified": true, "answer": 2050, "timestamp": "2026-02-08T05:40:22.955449Z"}, "problem_hash": "6ddb20", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 129, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 321, "completion_tokens": 7338}, "timestamp": "2026-02-12T12:20:31.613Z"}, {"id": 8, "model": "mathstral", "answer": 4294967301, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 367, "completion_tokens": 1058}, "timestamp": "2026-02-14T20:53:08.460Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 402, "completion_tokens": 545}, "timestamp": "2026-02-11T22:56:08.571Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "DS2": "no", "K15": "no", "K17": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "3b0bea", "alias": "algebra_quadratic_discriminant_v1_153355830_1379", "problem": "Let $a = 1$, $b = -16$, and let $c$ be the number of integers $t$ between $42$ and $249$, inclusive, that can be expressed as $t = 6a + 21b + 15$ for some integers $a$ and $b$ with $1 \\leq a \\leq 18$ and $1 \\leq b \\leq 6$. Let $D = b^k - 4ac$, where $k$ is the number of positive integers $p < q$ such that $pq = 72$ and $\\gcd(p, q) = 1$. Define $\\alpha = 1$ if $D > \\sum_{k=0}^{9} (-1)^k \\binom{9}{k}$, and $\\alpha = 0$ otherwise. Define $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Compute $2\\alpha + \\beta$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"a\": Const(1),\n \"b\": Const(-16),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=18)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=42)), Leq(left=Var(name='t'), right=Const(value=249)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b')), Const(value=15)))))))),\n \"D\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_m\"), Iverson(condition=Gt(Ref(\"D\"), Summation(var=\"k\", start=Const(0), end=Const(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\"))))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "cf4c01", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T06:22:24.063331Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T06:22:24.069052Z"}, "problem_hash": "7e6145", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 2945}, "timestamp": "2026-02-12T23:07:42.332Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 343}, "timestamp": "2026-02-11T23:57:08.759Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "b5c22c", "alias": "nt_sum_totient_over_divisors_v1_124444284_7521", "problem": "Let $n = 78829$. Compute the remainder when the difference between the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 62$ and $\\sum_{d \\mid n} \\phi(d)$ is divided by $72051$, where $\\phi$ denotes Euler's totient function.", "answer": 66234, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(78829),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(62)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(72051)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:10:46.052993Z", "verification": {"verified": true, "answer": 66234, "timestamp": "2026-02-08T09:10:46.054172Z"}, "problem_hash": "1ac3ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 66234, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 588}, "timestamp": "2026-02-14T01:15:33.121Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 538}, "timestamp": "2026-02-12T02:37:43.200Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3b": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b37617", "alias": "sequence_lucas_compute_v1_1520064083_3389", "problem": "Let $n = 22$. Define $r = L_n$, the $n$th Lucas number. Compute the value of $$ r + \\phi\\left(|r| + \\phi\\left(\\max\\{k : 3^k \\text{ divides } (2^3 + 1)\\}\\right)\\right) + \\tau(|r| + 1), $$ where $\\phi$ denotes Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 59409, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(22),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=MaxKDivides(target=Sum(Pow(Const(2), Const(3)), Const(1)), base=Const(3))))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/ONE_PHI_2"], "recipe_id": "c0bc73", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "arith_invariants", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_SUM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:36:47.065137Z", "verification": {"verified": true, "answer": 59409, "timestamp": "2026-02-08T05:36:47.067335Z"}, "problem_hash": "4a8196", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "ONE_PHI_2": "ok_later", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "e85af9", "alias": "modular_count_residue_v1_1248542787_52", "problem": "Let $m$ be the smallest integer greater than or equal to 2 that divides 20677. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 83521$ and $n \\equiv 12 \\pmod{m}$. Let $r$ be the number of elements in $S$. Compute the remainder when $85771 \\cdot r$ is divided by 98214.", "answer": 96121, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(83521),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(20677))))),\n \"r\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mul(Const(85771), Ref(\"result\")), modulus=Const(98214)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.802, "created_at": "2026-02-08T02:55:38.228684Z", "verification": {"verified": true, "answer": 96121, "timestamp": "2026-02-08T02:55:44.031014Z"}, "problem_hash": "3dcce2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:56:39.049Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 96121, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 1690}, "timestamp": "2026-02-08T23:13:10.773Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:58:48.645Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 35999, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 327}, "timestamp": "2026-02-10T15:29:16.531Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 96121, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 1535}, "timestamp": "2026-02-10T16:20:58.481Z"}, {"id": 8, "model": "mathstral", "answer": 65, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 541}, "timestamp": "2026-02-11T06:50:14.835Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 370}, "timestamp": "2026-02-11T19:52:54.255Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_ADD": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.6}, "split": "test"} +{"id": "dde890", "alias": "antilemma_count_primes_v1_1874849503_97", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 463$. Let $m = 11$. Define $c$ as the smallest positive integer $n$ such that the largest integer $k$ for which $m^k$ divides $n!$ is at least $5$. Compute the remainder when $c - x$ is divided by $97722$.", "answer": 97687, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(463)), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(5)), domain='Z_{>0}')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(97722)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5", "COUNT_PRIMES"], "recipe_id": "16b336", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "V5"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T12:48:34.604546Z", "verification": {"verified": true, "answer": 97687, "timestamp": "2026-02-08T12:48:34.607144Z"}, "problem_hash": "cce950", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 97687, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1587}, "timestamp": "2026-02-09T13:47:39.268Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 97687, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 1609}, "timestamp": "2026-02-10T02:56:57.649Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:37:01.660Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "test"} +{"id": "67effc", "alias": "comb_count_surjections_v1_1874849503_416", "problem": "Let $m=10$. Let $A$ be the set of all ordered pairs $(i,j)$ of integers with $1\\le i\\le 10$ and $1\\le j\\le 11$ such that $i+j=12$, and let $n_0=|A|$ be the number of elements in $A$.\n\nLet $B$ be the set of all integers $t$ such that $10\\le t\\le 24$ and there exist integers $a$ and $b$ with $1\\le a\\le 2$, $1\\le b\\le 3$, and\n$$t=6a+4b.$$\nLet $n$ be the number of elements in $B$.\n\nLet $k=6$, and let\n$$R = k!\\, S(n,k),$$\nwhere $S(n,k)$ is the Stirling number of the second kind. Define\n$$L = \\binom{m}{n_0} \\quad\\text{and}\\quad U = |R|.$$\nFinally, let\n$$Q = \\sum_{t=L}^{U} d(t),$$\nwhere $d(t)$ denotes the number of positive divisors of $t$.\n\nCompute $Q$.", "answer": 4862, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=24)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"k\": Const(6),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Ref(\"_m\"), k=Ref(\"_n\")), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/LIN_FORM/ONE_BINOM_N"], "recipe_id": "a81093", "seed_template_id": "comb_count_surjections_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T13:03:20.163928Z", "verification": {"verified": true, "answer": 4862, "timestamp": "2026-02-08T13:03:20.181690Z"}, "problem_hash": "23b0dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4862, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 375, "completion_tokens": 2035}, "timestamp": "2026-02-09T16:35:54.405Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 378, "completion_tokens": 569}, "timestamp": "2026-02-11T21:07:17.837Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok_later", "ONE_BINOM_N": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "test"} +{"id": "a33b51", "alias": "modular_mod_compute_v1_397696148_2131", "problem": "Let $a = 48841$. Let $m$ be the smallest integer greater than or equal to 2 that divides $2364130997197$. Compute the remainder when $a$ is divided by $m$, and let this remainder be $r$. Compute $63504 - r$.", "answer": 62906, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63504),\n \"a\": Const(48841),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2364130997197))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:58:07.604926Z", "verification": {"verified": true, "answer": 62906, "timestamp": "2026-02-08T12:58:07.607022Z"}, "problem_hash": "40d420", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 227}, "timestamp": "2026-02-12T05:59:59.993Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c99fb5", "alias": "nt_count_digit_sum_v1_2051736721_3477", "problem": "Let $d$ be the smallest divisor of $38152661$ that is at least $2$. Let $S$ be the set of all positive integers $n \\leq 101124$ such that the sum of the decimal digits of $n$ equals $d$. Let $c = 76827$. Compute the remainder when $c \\cdot |S|$ is divided by $68066$.", "answer": 31787, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(101124),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(38152661))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(76827),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(68066)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.604, "created_at": "2026-02-08T17:21:18.589891Z", "verification": {"verified": true, "answer": 31787, "timestamp": "2026-02-08T17:21:22.193735Z"}, "problem_hash": "4ad72c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 342}, "timestamp": "2026-02-12T22:26:16.730Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "MAX_VAL": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7ed597", "alias": "comb_count_permutations_fixed_v1_1470522791_310", "problem": "Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 14$. Let $h = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and define $n' = n \\cdot h$. Let $r = \\binom{n'}{0} \\cdot !n'$, where $!n'$ denotes the number of derangements of $n'$ elements. Determine the value of the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 336, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"n2\": Const(0),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"h\": Summation(var=\"k\", start=Sub(Binom(n=Const(4), k=Const(0)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"h\")),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING", "ZERO_BINOM_0"], "recipe_id": "2842f4", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ZERO_BINOM_0"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T12:56:35.344273Z", "verification": {"verified": true, "answer": 336, "timestamp": "2026-02-08T12:56:35.350321Z"}, "problem_hash": "1c1514", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 524}, "timestamp": "2026-02-12T05:54:24.984Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "ZERO_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "61fbfb", "alias": "modular_inverse_v1_655260480_870", "problem": "Let $a = 1064$ and $m$ be the smallest divisor of $3991521820439$ that is at least $2$. Let $x$ be the smallest positive integer such that $1 \\leq x \\leq 1398$ and\n$$\na \\cdot x \\equiv 1 \\pmod{m}.\n$$\nCompute the value of $x$.", "answer": 664, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(1064),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3991521820439))))),\n \"upper\": Const(1398),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.115, "created_at": "2026-02-08T15:40:12.242087Z", "verification": {"verified": true, "answer": 664, "timestamp": "2026-02-08T15:40:12.356604Z"}, "problem_hash": "1c1180", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 280}, "timestamp": "2026-02-12T09:06:30.075Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6c7a2e", "alias": "nt_count_gcd_equals_v1_898971024_1677", "problem": "Let $N$ be the number of positive integers $n$ with $1 \\leq n \\leq 32768$ such that $\\gcd(n, 118) = 118$. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 30$, and let $c$ be the maximum value of $xy$ over all such pairs. Compute the remainder when $c - N$ is divided by $59343$.", "answer": 59291, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(32768),\n \"k\": Const(118),\n \"d\": Const(118),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(30)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59343)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 2.565, "created_at": "2026-02-08T16:14:30.915963Z", "verification": {"verified": true, "answer": 59291, "timestamp": "2026-02-08T16:14:33.480509Z"}, "problem_hash": "1b3e5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": -52, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 417}, "timestamp": "2026-02-12T10:12:19.894Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C2": "no", "DS2": "no", "K13": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8f996f", "alias": "diophantine_fbi2_min_v1_124444284_9434", "problem": "Let $k = 14$ and let the upper bound be $24$. Define $S$ to be the set of all integers $d$ such that $d \\geq 2$, $d$ divides $13013$, $d \\leq 24$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$. Let $m$ be the minimum element of $S$. Compute the value of\n$$\nQ = m + 2^{m \\bmod 15} \\bmod 87370.\n$$", "answer": 135, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(14),\n \"upper\": Const(24),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13013)))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(15))), modulus=Const(87370))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.138, "created_at": "2026-02-08T12:27:05.217351Z", "verification": {"verified": true, "answer": 135, "timestamp": "2026-02-08T12:27:05.355419Z"}, "problem_hash": "deb21c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 135, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 482}, "timestamp": "2026-02-12T05:17:07.425Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "0962ff", "alias": "nt_count_divisors_in_range_v1_1918700295_3929", "problem": "Let $n = 83160$. Let $a$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 26$ such that $\\gcd(i, j) = 1$. Let $b$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq 11519$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 71, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(83160),\n \"a\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(26))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11519)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "COUNT_PRIMES"], "recipe_id": "9127a3", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.097, "created_at": "2026-02-08T09:03:24.650888Z", "verification": {"verified": true, "answer": 71, "timestamp": "2026-02-08T09:03:24.748262Z"}, "problem_hash": "8f748a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 3586}, "timestamp": "2026-02-13T23:30:11.206Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 562}, "timestamp": "2026-02-12T02:25:39.684Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "ok", "COUNT_SUM_EQUALS": "no", "K14": "no", "MOD_ADD": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "4856d1", "alias": "comb_sum_binomial_row_v1_349078426_375", "problem": "Let $c$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = 142$. Let $r = 2^{11}$. Compute $c - r$.", "answer": 2993, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(11),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(142)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:59:49.158522Z", "verification": {"verified": true, "answer": 2993, "timestamp": "2026-02-08T12:59:49.160930Z"}, "problem_hash": "c33e6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2993, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 402}, "timestamp": "2026-02-12T06:02:19.118Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "1e5ef0", "alias": "nt_sum_totient_over_divisors_v1_238844314_832", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 29561$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $N$ be the number of elements in $S$. Define\n$$\nR = \\sum_{d \\mid N} \\phi(d),\n$$\nwhere $\\phi$ denotes Euler's totient function. Find the remainder when $44121 \\cdot R$ is divided by $67471$.", "answer": 8560, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29561),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(67471)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:38:40.145011Z", "verification": {"verified": true, "answer": 8560, "timestamp": "2026-02-08T13:38:40.149068Z"}, "problem_hash": "a1a4c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 651}, "timestamp": "2026-02-12T07:09:17.733Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K16": "no", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "de20e1", "alias": "nt_count_coprime_and_v1_1918700295_4210", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 33561$. Let $k_1 = 7$ and let $k_2$ be the smallest divisor of $537251$ that is at least $2$. Determine the value of the number of such integers $n$ for which $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$.", "answer": 26151, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(33561),\n \"k1\": Const(7),\n \"k2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.837, "created_at": "2026-02-08T09:13:48.554226Z", "verification": {"verified": true, "answer": 26151, "timestamp": "2026-02-08T09:13:52.391559Z"}, "problem_hash": "cf106c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26161, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 768}, "timestamp": "2026-02-14T01:50:03.278Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 96, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 523}, "timestamp": "2026-02-12T02:41:11.525Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "751693", "alias": "nt_count_intersection_v1_865884756_6737", "problem": "Let $N$ be the number of positive integers $n$ with $1 \\leq n \\leq 70000$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $r$ be the number of positive integers $n_1$ with $1 \\leq n_1 \\leq N$, $9$ dividing $n_1$, and $\\gcd(n_1, 14) = 1$. Compute the value of $\\sum_{n_2=1}^{r} \\tau(n_2)$, where $\\tau(n_2)$ denotes the number of positive divisors of $n_2$.", "answer": 3019, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70000),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"a\": Const(9),\n \"b\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Summation(var=\"n2\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n2\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.32, "created_at": "2026-02-08T19:22:30.071643Z", "verification": {"verified": true, "answer": 3019, "timestamp": "2026-02-08T19:22:30.392010Z"}, "problem_hash": "0155ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 648}, "timestamp": "2026-02-13T00:58:35.435Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K18": "no", "L3b": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "32975c", "alias": "antilemma_product_of_sums_v1_677425708_853", "problem": "Let $n$ be the largest prime number satisfying $2 \\leq n \\leq 10$. Let $S_1$ be the sum of $i \\cdot j$ over all ordered pairs $(i,j)$ with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 8$. Let $g = \\sum_{d \\mid \\gcd(133,190)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S_2$ be the sum of all integers $j$ such that $g \\leq j \\leq n$, $\\binom{7}{j} \\equiv 1 \\pmod{m}$, and $m$ is the number of ordered pairs $(p,q)$ of positive integers such that $pq = 108$, $\\gcd(p,q) = 1$, and $p < q$. Compute $S_1 \\cdot S_2$.", "answer": 45360, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(10)), IsPrime(Var(\"n\"))))),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=GCD(a=Const(value=133), b=Const(value=190)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/PRODUCT_OF_SUMS", "MOBIUS_COPRIME", "COPRIME_PAIRS"], "recipe_id": "538666", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T03:49:30.012505Z", "verification": {"verified": true, "answer": 45360, "timestamp": "2026-02-08T03:49:30.020864Z"}, "problem_hash": "1d3fcc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 45360, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 1841}, "timestamp": "2026-02-09T13:37:46.002Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "PRODUCT_OF_SUMS": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "26f0e2", "alias": "antilemma_sum_primes_v1_1125832087_1234", "problem": "Let $a = 105$ and $b = 2$. Let $d_{\\min}$ be the smallest divisor of $a$ that is at least 2. Define $x$ to be the sum of all prime numbers $n$ such that $b \\leq n \\leq d_{\\min}$. Compute the value of $$\n x + \\phi(|x| + 1) + \\tau\\left(|x| + \\sum_{d \\mid \\gcd(8,15)} \\mu(d)\\right),\n$$ where $\\phi$ denotes Euler's totient function, $\\tau(n)$ denotes the number of positive divisors of $n$, and $\\mu$ denotes the M\\\"obius function.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(105),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_PRIMES", "MOBIUS_COPRIME", "SUM_PRIMES"], "recipe_id": "96f209", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:37:43.815315Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T03:37:43.820256Z"}, "problem_hash": "057f37", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "SUM_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K18": "no", "LTE_SUM": "no", "V8": "no"}, "split": "test"} +{"id": "97acc7", "alias": "modular_min_modexp_v1_458359167_4221", "problem": "Let $a = 11$, $b = 331$, and $m = 479$. Let $d_0$ be the smallest divisor of $57599$ that is at least $2$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq d_0$ and $a^x \\equiv b \\pmod{m}$.", "answer": 130, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(11),\n \"b\": Const(331),\n \"m\": Const(479),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(57599))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T11:38:23.749061Z", "verification": {"verified": true, "answer": 130, "timestamp": "2026-02-08T11:38:23.761756Z"}, "problem_hash": "9b5943", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 130, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 8092}, "timestamp": "2026-02-14T16:41:08.385Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 664}, "timestamp": "2026-02-12T04:21:27.042Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "eaa412", "alias": "sequence_lucas_compute_v1_1915831931_3389", "problem": "Let $n$ be the smallest prime divisor of $8303$. Compute the $n$-th Lucas number.\\n\\nFind the value of this number.", "answer": 9349, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8303),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:37:54.295431Z", "verification": {"verified": true, "answer": 9349, "timestamp": "2026-02-08T17:37:54.296315Z"}, "problem_hash": "621f5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 521, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 615}, "timestamp": "2026-02-12T22:54:50.369Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "bd56f8", "alias": "comb_factorial_compute_v1_168721529_353", "problem": "Let $d$ be the smallest divisor of $450$ that is at least $2$. Define $x$ to be the sum of all real solutions to the equation $x^d - 8515x - 264926 = 0$. Compute the remainder when $7! \\cdot x$ is divided by $72022$.", "answer": 62510, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(450))))),\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-8515), Var(\"x\")), Const(-264926)), Const(0)))), Ref(\"result\")), modulus=Const(72022)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/VIETA_SUM"], "recipe_id": "b45bcf", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:00:25.221170Z", "verification": {"verified": true, "answer": 62510, "timestamp": "2026-02-08T13:00:25.224817Z"}, "problem_hash": "f57a3a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 62510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 946}, "timestamp": "2026-02-09T04:03:42.213Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 37030, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 126, "completion_tokens": 399}, "timestamp": "2026-02-09T15:52:19.813Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 786}, "timestamp": "2026-02-10T03:33:04.430Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 545}, "timestamp": "2026-02-12T06:03:11.993Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok_later", "K18": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -5.32, "mid": -1.91, "hi": 1.66}, "split": "test"} +{"id": "fbd503", "alias": "nt_sum_divisors_mod_v1_548369836_334", "problem": "Let $n = \\sum_{k=1}^{15} \\phi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $\\sigma$ be the sum of the positive divisors of $n$. Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 294849$. Let $Q$ be the remainder when $m \\cdot (\\sigma \\bmod 10559)$ is divided by $97889$. Compute $Q$.", "answer": 97293, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"n\": Summation(var=\"k\", start=Const(1), end=Const(15), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"M\": Const(10559),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(294849)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(97889)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "6cbec7", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:52:09.794281Z", "verification": {"verified": true, "answer": 97293, "timestamp": "2026-02-08T02:52:09.797076Z"}, "problem_hash": "12cab9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 97293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 1981}, "timestamp": "2026-02-08T20:21:44.541Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 97293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 1677}, "timestamp": "2026-02-09T22:46:42.961Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 8192}, "timestamp": "2026-02-10T01:47:42.089Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 14643, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 512}, "timestamp": "2026-02-09T04:57:21.889Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 97293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 1224}, "timestamp": "2026-02-09T13:15:17.872Z"}, {"id": 8, "model": "mathstral", "answer": 7980, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 712}, "timestamp": "2026-02-11T05:44:55.707Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 454}, "timestamp": "2026-02-11T19:49:22.253Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "test"} +{"id": "99cd66", "alias": "comb_sum_binomial_mod_v1_1978505735_961", "problem": "Let $N = 1239$. Define $k_0$ to be the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute the remainder when $\\sum_{k=88}^{k_0} \\binom{269}{k}$ is divided by $11119$, then multiply this remainder by $39241$ and compute the result modulo $77425$.", "answer": 60131, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1239),\n \"sum\": Summation(var=\"k\", start=Const(88), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), expr=Binom(n=Const(269), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11119)),\n \"_c\": Const(39241),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(77425)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.027, "created_at": "2026-02-08T15:43:10.079901Z", "verification": {"verified": true, "answer": 60131, "timestamp": "2026-02-08T15:43:10.106868Z"}, "problem_hash": "e8505f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 658}, "timestamp": "2026-02-12T08:59:18.104Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "151f47", "alias": "comb_count_partitions_v1_124444284_3975", "problem": "Let $n$ be the smallest prime divisor of $75809$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $88298 \\cdot p(n)$ is divided by $56845$.", "answer": 16639, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75809),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(88298),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(56845)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:41:53.675837Z", "verification": {"verified": true, "answer": 16639, "timestamp": "2026-02-08T05:41:53.676616Z"}, "problem_hash": "ad8592", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15639, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 95, "completion_tokens": 2790}, "timestamp": "2026-02-12T13:00:50.931Z"}, {"id": 8, "model": "mathstral", "answer": 2376, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 116, "completion_tokens": 548}, "timestamp": "2026-02-14T21:23:56.864Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6261, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 276}, "timestamp": "2026-02-11T22:59:58.592Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "bf6c03", "alias": "modular_sum_quadratic_residues_v1_865884756_6946", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 144451298983. Define\n$$\nr = \\frac{d(d-1)}{4}.\n$$\nLet $a = |r| \\mod 97$, $b = (r^2 + 1) \\mod 101$, and $c = (|r| + 19) \\mod 103$. Compute\n$$\n(353702 \\cdot a + 329703 \\cdot b + 215534 \\cdot c) \\mod 1009091,\n$$\nand then take the result modulo 62721. Determine the value of this final remainder.", "answer": 5475, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(144451298983))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Const(19),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(62721)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T19:28:42.035522Z", "verification": {"verified": true, "answer": 5475, "timestamp": "2026-02-08T19:28:42.040701Z"}, "problem_hash": "3d7c37", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 602}, "timestamp": "2026-02-13T01:04:31.187Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "502ed6", "alias": "comb_count_surjections_v1_655260480_1331", "problem": "Let $r = 2! \\cdot S(5, 2)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty subsets. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = t$, where $t$ is the number of integers in the range $7 \\leq t \\leq 32$ that can be expressed as $2a + 5b$ for positive integers $a \\leq 11$ and $b \\leq 2$. Compute the remainder when $|r|$ is divided by $s$, and then compute the Bell number of that remainder.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=32)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1"], "recipe_id": "c00e0b", "seed_template_id": "comb_count_surjections_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T16:04:14.097074Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T16:04:14.103705Z"}, "problem_hash": "35862f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 758}, "timestamp": "2026-02-12T09:48:56.927Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5b7201", "alias": "comb_binomial_compute_v1_124444284_7954", "problem": "Let $n = 12$. Let $k$ be the smallest integer greater than or equal to 2 that divides 35. Compute $\\binom{n}{k}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(12),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:28:49.431237Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T09:28:49.433183Z"}, "problem_hash": "c084e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 792, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 263}, "timestamp": "2026-02-12T02:57:02.606Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K5": "no", "L3c": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "e4c40c", "alias": "comb_binomial_compute_v1_124444284_1100", "problem": "Let $c = 54$. Define $m$ to be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = c$. Let $k$ be the largest integer such that $3^k$ divides $4^m - 1$. Given $n = 12$, compute $\\binom{n}{k}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(54),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(4),\n \"n\": Const(12),\n \"k\": MaxKDivides(target=Sub(Pow(Ref(\"_n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(54)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Const(1)), base=Const(3)),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B1/LTE_DIFF"], "recipe_id": "2d25d4", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "LTE_DIFF"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:41:05.714758Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T03:41:05.717806Z"}, "problem_hash": "d338eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 792, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 2320}, "timestamp": "2026-02-10T02:45:28.392Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 792, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 850}, "timestamp": "2026-02-09T09:44:52.326Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "LTE_DIFF": "ok_later", "K17": "no", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "96407a", "alias": "antilemma_product_of_sums_v1_1520064083_1010", "problem": "Let\n$$S_1=\\sum_{i=1}^7\\sum_{j=1}^4 ij.$$ \nLet $S_2$ be the sum of all integers $j$ such that\n$$0\\le j\\le 15\\quad\\text{and}\\quad \\binom{15}{j}\\equiv 1\\pmod{2}.$$\nLet $x=S_1S_2$.\n\nLet $M$ be the maximum of $xy$ over all ordered pairs $(x,y)$ of positive integers such that\n$$x+y=K,$$\nwhere $K$ is the maximum integer $d$ with $1\\le d\\le 120$ and $d$ divides $15240$.\n\nLet $Q$ be the remainder when $M-x$ is divided by $54539$, taken in the range $0\\le Q<54539$.\n\nFind the value of $Q$.", "answer": 24539, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15240),\n \"_n\": Const(2),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=Const(15), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(120)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(54539)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/B1", "PRODUCT_OF_SUMS"], "recipe_id": "920af8", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_DIVISOR", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:42:40.930714Z", "verification": {"verified": true, "answer": 24539, "timestamp": "2026-02-08T03:42:40.934709Z"}, "problem_hash": "700871", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "PRODUCT_OF_SUMS": "ok", "B1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "V8": "no"}, "split": "test"} +{"id": "4d64ac", "alias": "nt_count_coprime_and_v1_865884756_3910", "problem": "Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 31$. Let $k_1$ be the smallest divisor of $847$ that is at least $2$. Let $T$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 9$, $1 \\leq j \\leq 10$, and $i + j = |S|$. Let $k_2$ be the number of elements in $T$. Let $U$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 17288$, $\\gcd(n_1, k_1) = 1$, and $\\gcd(n_1, k_2) = 1$. Compute the number of elements in $U$.", "answer": 9880, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(847),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(31)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(17288),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_c\"))))),\n \"k2\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(10))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n1\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "recipe_id": "4f137c", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 1.974, "created_at": "2026-02-08T17:39:46.019378Z", "verification": {"verified": true, "answer": 9880, "timestamp": "2026-02-08T17:39:47.993030Z"}, "problem_hash": "e5a02b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 24, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 563}, "timestamp": "2026-02-12T22:54:39.771Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d17eac", "alias": "nt_min_with_divisor_count_v1_151522320_2200", "problem": "Let $u = 19321$ and $d = 9$. Let $N$ be the set of all positive integers $n \\le u$ such that the number of positive divisors of $n$ is exactly $9$. Let $m$ be the smallest element of $N$. Let $T$ be the set of all integers $t$ such that $27 \\le t \\le 195$ and there exist positive integers $a \\le 8$, $b \\le 7$ satisfying $t = 6a + 21b$. Let $c = |T|$. Let $P$ be the set of all prime numbers $n$ such that $2 \\le n \\le c$. Let $p_{\\text{max}}$ be the largest element of $P$. Compute $m^2 + p_{\\text{max}} \\cdot m + 8$.", "answer": 2996, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(19321),\n \"div_count\": Const(9),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=195)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b')))))))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), Const(8)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW"], "recipe_id": "699466", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.759, "created_at": "2026-02-08T04:40:57.836330Z", "verification": {"verified": true, "answer": 2996, "timestamp": "2026-02-08T04:40:58.594832Z"}, "problem_hash": "c6ecde", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:40:32.890Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2996, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 297, "completion_tokens": 3143}, "timestamp": "2026-02-11T21:40:55.003Z"}, {"id": 8, "model": "mathstral", "answer": 1556, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 550}, "timestamp": "2026-02-13T21:43:08.872Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 420}, "timestamp": "2026-02-11T21:39:01.153Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "test"} +{"id": "bdafd4", "alias": "modular_sum_quadratic_residues_v1_124444284_5293", "problem": "Let $p$ be the smallest prime divisor of $26898952081$. Compute $\\frac{p(p-1)}{4}$.", "answer": 40100, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(26898952081))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:32:10.101285Z", "verification": {"verified": true, "answer": 40100, "timestamp": "2026-02-08T06:32:10.102355Z"}, "problem_hash": "eedf43", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 73, "completion_tokens": 8192}, "timestamp": "2026-02-13T01:19:51.879Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 127}, "timestamp": "2026-02-12T00:10:38.543Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K15": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "77dbbb", "alias": "nt_euler_phi_compute_v1_1431428450_1046", "problem": "Let $n = 83160$. Compute $\\varphi(n)$, Euler's totient function evaluated at $n$. Let $c$ be the maximum value of $xy$ where $x$ and $y$ are positive integers such that $x + y = 54$. Let $N = 72807$. Compute the remainder when $c - \\varphi(n)$ is divided by $N$.", "answer": 56256, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72807),\n \"n\": Const(83160),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(54)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:52:16.585111Z", "verification": {"verified": true, "answer": 56256, "timestamp": "2026-02-08T13:52:16.587757Z"}, "problem_hash": "711445", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44736, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 570}, "timestamp": "2026-02-12T07:29:36.940Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "no", "K17": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "ca2257", "alias": "nt_sum_gcd_range_mod_v1_151522320_1501", "problem": "Let $N$ be the number of positive integers $n$ such that $n \\leq 20249$ and $\\gcd(n, 10) = 1$. Let $k$ be the number of integers $t$ such that $27 \\leq t \\leq 570$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 108$, and $t = 2a + 5b + 20$. Let $\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k)$. Compute the remainder when $\\text{sum}$ is divided by $11807$.", "answer": 4831, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(20249)), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=108)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=570)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=20)))))))),\n \"M\": Const(11807),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "LIN_FORM", "C4"], "recipe_id": "9374c6", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.376, "created_at": "2026-02-08T04:04:29.332167Z", "verification": {"verified": true, "answer": 4831, "timestamp": "2026-02-08T04:04:29.708295Z"}, "problem_hash": "60093a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "K17": "no", "K18": "no", "V5": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "2706d8", "alias": "diophantine_fbi2_count_v1_655260480_3304", "problem": "Let $k = 180$. Compute the number of positive integers $d$ such that $6 \\leq d \\leq 125$, $d$ divides $180$, and the quotient $\\frac{180}{d}$ is an integer between $3$ and $122$, inclusive.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(125)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(122))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["L3C", "V8"], "num_lemmas": 2, "generation_time": 0.233, "created_at": "2026-02-08T17:18:52.384799Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T17:18:52.617837Z"}, "problem_hash": "2e53bd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 313}, "timestamp": "2026-02-12T22:19:08.153Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K17": "no", "K18": "no", "L3b": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "465390", "alias": "antilemma_sum_factor_cartesian_v1_1742523217_1803", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 18$ and $1 \\leq j \\leq 10$. Let $x$ be the sum of $i \\cdot j$ over all pairs $(i,j)$ in $S$. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 2125764$. Let $m$ be the minimum value of $x + y$ over all pairs $(x,y)$ in $T$. Compute $11^{|x|} \\bmod 99991$ plus $m$.", "answer": 26984, "graph": "graphs = [\n Graph(\n let={\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2125764)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "SUM_FACTOR_CARTESIAN"], "recipe_id": "61418f", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "two_stage_modexp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:15:29.635019Z", "verification": {"verified": true, "answer": 26984, "timestamp": "2026-02-08T04:15:29.636931Z"}, "problem_hash": "16b4fd", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "SUM_FACTOR_CARTESIAN": "ok", "K14": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V3": "no", "V7": "no"}, "split": "test"} +{"id": "dfce71", "alias": "modular_count_residue_v1_1248542787_812", "problem": "Let $m_0=36$ and $n_0=15$, and let $U=57600$.\n\nLet $m$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[\n1\\le a\\le 5,\\quad 1\\le b\\le 5,\\quad 33\\le t\\le 129,\\quad t=9a+15b+9.\n\\]\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=m_0$. Let $r$ be the minimum possible value of $x+y$ over all such pairs.\n\nLet $S$ be the set of all integers $n$ such that\n\\[\n \\varphi\\!\\left(\\sum_{d\\mid \\gcd(8,n_0)} \\mu(d)\\right) \\le n \\le U\n\\]\n and\n\\[\n n \\equiv r \\pmod{m},\n\\]\nwhere $\\varphi$ denotes Euler's totient function and $\\mu$ denotes the Möbius function. Let $Q$ be the number of elements of $S$.\n\nCompute $Q$.", "answer": 2304, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(36),\n \"_n\": Const(15),\n \"upper\": Const(57600),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=129)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=9)))))))),\n \"r\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=SumOverDivisors(n=GCD(a=Const(value=8), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d'))))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MOBIUS_COPRIME", "LIN_FORM", "ONE_PHI_1", "B3"], "recipe_id": "8b1f56", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 4.405, "created_at": "2026-02-08T03:26:24.654118Z", "verification": {"verified": true, "answer": 2304, "timestamp": "2026-02-08T03:26:29.059551Z"}, "problem_hash": "394a18", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2304, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 360, "completion_tokens": 1865}, "timestamp": "2026-02-09T08:42:29.745Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2304, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 356, "completion_tokens": 1852}, "timestamp": "2026-02-09T21:22:26.920Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:13:25.498Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "K15": "no", "K18": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "test"} +{"id": "9435a3", "alias": "diophantine_fbi2_count_v1_677425708_3240", "problem": "Let $k = 480$. Determine the number of positive integers $d$ such that $4 \\leq d \\leq 84$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 85$. Let $r$ denote this count. Compute the value of\n$$\nr + 2^{r \\bmod 16} \\bmod 91835.$$\nThat is, compute $r$ plus the remainder when $2$ raised to the power $r \\bmod 16$ is divided by 91835.", "answer": 16398, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(480),\n \"a\": Const(3),\n \"b\": Const(4),\n \"upper\": Const(81),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(84)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(85))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(16))), modulus=Const(91835))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE", "LIN_FORM"], "recipe_id": "13a06d", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.055, "created_at": "2026-02-08T05:34:23.442624Z", "verification": {"verified": true, "answer": 16398, "timestamp": "2026-02-08T05:34:23.497783Z"}, "problem_hash": "29fdf5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16398, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 1304}, "timestamp": "2026-02-12T11:28:06.293Z"}, {"id": 8, "model": "mathstral", "answer": 16, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 289}, "timestamp": "2026-02-14T20:26:24.921Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 442}, "timestamp": "2026-02-11T22:52:20.846Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "dbe0d3", "alias": "nt_sum_divisors_range_v1_784195855_2977", "problem": "Let $p = 11$, $a = 2$, $b = 6$, and $n = (a \\cdot b)^{2 \\cdot \\Omega(p)}$, where $\\Omega(p)$ denotes the number of prime factors of $p$ counted with multiplicity. Let $c$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 21233664$. Let $M$ be the minimum value of $x + y$ over all such pairs. Let $S$ be the set of positive integers $k$ with $1 \\le k \\le M$, and let $T$ be the sum of the number of positive divisors of each element in $S$. Compute the remainder when $11758 \\cdot c \\cdot T$ is divided by $85347$.", "answer": 46825, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(11),\n \"w\": BigOmega(n=Ref(name='p')),\n \"a\": Const(2),\n \"b\": Const(6),\n \"n\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Mul(Ref(\"_n\"), Ref(\"w\"))),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(21233664)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Mul(Const(11758), Ref(\"c\")), Ref(\"result\")), modulus=Const(85347)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "DIVISOR_PARITY", "lemma_paths": ["DIVISOR_PARITY", "BIG_OMEGA_ONE", "B3"], "recipe_id": "b0e0e2", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "DIVISOR_PARITY"], "num_lemmas": 3, "generation_time": 0.492, "created_at": "2026-02-08T06:09:34.037472Z", "verification": {"verified": true, "answer": 46825, "timestamp": "2026-02-08T06:09:34.529614Z"}, "problem_hash": "bcbe75", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ONE": "ok", "DIVISOR_PARITY": "ok", "C2": "no", "L3c": "no", "LTE_DIFF": "no", "V8": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "5f3e6d", "alias": "comb_count_derangements_v1_458359167_5216", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 539. Define $n = d$. Let $D_n$ denote the number of derangements of $n$ objects, also known as the subfactorial of $n$, denoted $!n$. Compute the remainder when $44121 \\cdot D_n$ is divided by $68710$.", "answer": 35434, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(68710),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(539))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:20:54.504602Z", "verification": {"verified": true, "answer": 35434, "timestamp": "2026-02-08T12:20:54.505636Z"}, "problem_hash": "aad0a6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 300}, "timestamp": "2026-02-12T05:10:42.570Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "228d81", "alias": "nt_sum_divisors_compute_v1_1520064083_3557", "problem": "Let $k_{\\text{count}}$ be the number of positive integers $k \\leq 1728$ that are divisible by $144$. Let $d_{\\text{sum}} = \\sum_{d \\mid \\gcd(k_{\\text{count}}, 25)} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $n = 82369$ and define $\\text{result} = \\sigma(n)$, the sum of all positive divisors of $n$. Compute the remainder when $\\sum_{n = d_{\\text{sum}}}^{\\text{result}} \\phi(n)$ is divided by $77408$, where $\\phi$ denotes Euler's totient function.", "answer": 44108, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77408),\n \"n\": Const(82369),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='k'), condition=And(Geq(left=Var(name='k'), right=Const(value=1)), Leq(left=Var(name='k'), right=Const(value=1728)), Divides(divisor=Const(value=144), dividend=Var(name='k'))))), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MOBIUS_COPRIME"], "recipe_id": "23240a", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "sum_totient", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 6.501, "created_at": "2026-02-08T05:44:18.127580Z", "verification": {"verified": true, "answer": 44108, "timestamp": "2026-02-08T05:44:24.628969Z"}, "problem_hash": "5efdea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_SUM_EQUALS": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "dc9dd5", "alias": "nt_sum_gcd_range_mod_v1_1440796553_651", "problem": "Let $N = 2809$ and $k = 84$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when $\\text{sum}$ is divided by $10313$.\n\nNow compute\n$$\n\\sum_{n=1}^{r} \\phi(n),\n$$\nwhere $\\phi(n)$ is the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nFind the remainder when this sum is divided by $76216$.", "answer": 27360, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(2809),\n \"k\": Const(84),\n \"M\": Const(10313),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(76216)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/B1"], "recipe_id": "fe937a", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C3"], "num_lemmas": 2, "generation_time": 1.319, "created_at": "2026-02-08T11:55:02.212416Z", "verification": {"verified": true, "answer": 27360, "timestamp": "2026-02-08T11:55:03.530986Z"}, "problem_hash": "f9bc09", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 3782}, "timestamp": "2026-02-14T20:39:31.036Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 565}, "timestamp": "2026-02-12T04:46:54.336Z"}], "solution_status": 0, "lemma_applicability": {"C3": "ok", "B1": "ok_later", "K17": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "9e339d", "alias": "nt_count_divisors_in_range_v1_784195855_2138", "problem": "Let $n = 1680$, $a = 13$, and $b = 115$. Let $d$ be the number of positive divisors of $n$ that are between $a$ and $b$, inclusive. Let $Q$ be the remainder when $11081 \\cdot d$ is divided by $95637$. Compute $Q$.", "answer": 19265, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(1680),\n \"a\": Const(13),\n \"b\": Const(115),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": Const(11081),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LTE_DIFF"], "recipe_id": "02f7ca", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF"], "num_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T05:30:33.744744Z", "verification": {"verified": true, "answer": 19265, "timestamp": "2026-02-08T05:30:33.785962Z"}, "problem_hash": "52e7e4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19265, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 1557}, "timestamp": "2026-02-12T10:40:20.148Z"}, {"id": 8, "model": "mathstral", "answer": 48966, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 565}, "timestamp": "2026-02-14T19:50:56.403Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 376}, "timestamp": "2026-02-11T22:48:04.485Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "55a9ff", "alias": "nt_count_with_divisor_count_v1_971394319_1232", "problem": "Let $n = 66624$. Let $d$ be the number of nonnegative integers $j \\leq n$ such that $\\binom{n}{j} \\equiv 1 \\pmod{m}$, where $m$ is the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 216$, $\\gcd(p, q) = 1$, and $p < q$. Determine the number of positive integers $n' \\leq 24649$ for which the number of positive divisors of $n'$ is exactly $d$.", "answer": 5348, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66624),\n \"upper\": Const(24649),\n \"div_count\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(66624), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 1.07, "created_at": "2026-02-08T13:32:13.039878Z", "verification": {"verified": true, "answer": 5348, "timestamp": "2026-02-08T13:32:14.109745Z"}, "problem_hash": "dc3ea9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 614}, "timestamp": "2026-02-12T07:03:45.644Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "70b6a1", "alias": "algebra_vieta_sum_v1_1520064083_2694", "problem": "Let $S$ be the set of all real numbers $x$ such that\n$$\n2x^4 - 30x^3 + 92x^2 + 120x - 400 = 0.\n$$\nCompute the sum of all elements in $S$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Mul(Const(2), Pow(Var(\"x\"), Const(4))), Mul(Const(-30), Pow(Var(\"x\"), Const(3))), Mul(Const(92), Pow(Var(\"x\"), Const(2))), Mul(Const(120), Var(\"x\")), Const(-400)), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["C5/C5", "ONE_PHI_1"], "recipe_id": "da6c89", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C5", "COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.139, "created_at": "2026-02-08T04:55:42.075044Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T04:55:42.213904Z"}, "problem_hash": "c9ffdc", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 119, "completion_tokens": 762}, "timestamp": "2026-02-11T22:08:43.371Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 199}, "timestamp": "2026-02-11T22:08:21.144Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "test"} +{"id": "dab529", "alias": "diophantine_product_count_v1_898971024_2118", "problem": "Let $m = 15$. Define $n = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Define $k = \\sum_{j=1}^{m} \\phi(j) \\left\\lfloor \\frac{n}{j} \\right\\rfloor$. Let $A$ be the set of all integers $t$ such that $5 \\le t \\le 48$ and there exist integers $a$, $b$ with $1 \\le a \\le 2$, $1 \\le b \\le 21$, and $t = 3a + 2b$. Let $u$ be the number of elements in $A$. Let $B$ be the set of all positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$. Compute the number of elements in $B$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": Summation(var=\"k1\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(5), Var(\"k1\"))))),\n \"k\": Summation(var=\"k2\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k2\")), Floor(Div(Ref(\"_n\"), Var(\"k2\"))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=21)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=48)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2", "LIN_FORM"], "recipe_id": "3d8ff8", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T16:33:53.576820Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T16:33:53.589942Z"}, "problem_hash": "e9b79a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 327, "completion_tokens": 486}, "timestamp": "2026-02-12T10:57:13.699Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "DS2": "no", "K5": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c89181", "alias": "sequence_fibonacci_compute_v1_1520064083_5593", "problem": "Let $c = 9$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = c$. Let $s$ be the sum $x + y$ for each such pair. Let $m$ be the minimum value of $s$ over all such pairs. Define $n$ to be the sum of all integers $k$ from $1$ to $m$, inclusive. Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = F_2 = 1$ and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $p$ be the largest prime number in the interval $[2, 11]$. Compute the remainder when the Bell number $B_{|F_n|}$ is divided by $p$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(9),\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=Const(1), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "B3/SUM_ARITHMETIC"], "recipe_id": "5596ae", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T07:26:56.632866Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T07:26:56.640715Z"}, "problem_hash": "a93b48", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 3729}, "timestamp": "2026-02-13T10:45:01.127Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 386}, "timestamp": "2026-02-12T01:06:28.808Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "SUM_ARITHMETIC": "ok_later", "K16": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "723aee", "alias": "nt_count_coprime_v1_865884756_808", "problem": "Let $w$ be the number of distinct prime factors of 289. Define $n$ to be the number of integers $t$ with $18 \\leq t \\leq 114$ such that there exist positive integers $a \\leq 8$ and $b \\leq 5$ satisfying $t = 8a + 10b$. Let $s = \\lambda(n) + 1$, where $\\lambda$ is the Liouville function. Define $k = 43 + s$. Determine the number of positive integers $n_2$ with $1 \\leq n_2 \\leq 46225$ that are relatively prime to $k$. Compute the remainder when $45106 \\cdot w \\cdot (\\text{this number})$ is divided by 80217.", "answer": 66921, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80217),\n \"n1\": Const(289),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=114)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Const(46225),\n \"k\": Sum(Const(43), Ref(\"s\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n2\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(Mul(Const(45106), Ref(\"w\")), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "OMEGA_ONE"], "recipe_id": "09629e", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 4.413, "created_at": "2026-02-08T15:36:45.938033Z", "verification": {"verified": true, "answer": 66921, "timestamp": "2026-02-08T15:36:50.351004Z"}, "problem_hash": "11e86c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ONE": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "7052fd", "alias": "nt_max_prime_below_v1_784195855_990", "problem": "Let $a = 232582849345724962061808152564655542758970670101721869455380995292050708596028544827179076934311238442854429336643819$. Let $n_1$ be the largest integer $k$ such that $19^k$ divides $a^3$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the M\\\"{o}bius function. Let $n = 13^3$. Let $e = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $U = 72900 + c + e$. Determine the largest prime number less than or equal to $U$. Compute this prime.", "answer": 72893, "graph": "graphs = [\n Graph(\n let={\n \"n1\": MaxKDivides(target=Pow(Const(232582849345724962061808152564655542758970670101721869455380995292050708596028544827179076934311238442854429336643819), Const(3)), base=Const(19)),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(13),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Const(72900), Ref(\"c\"), Ref(\"e\")),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "K14/MOBIUS_SUM"], "recipe_id": "5623e8", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 1.883, "created_at": "2026-02-08T04:44:08.996525Z", "verification": {"verified": true, "answer": 72893, "timestamp": "2026-02-08T04:44:10.879984Z"}, "problem_hash": "3264fe", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SUM": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "82b62e", "alias": "nt_count_primes_v1_865884756_1693", "problem": "Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p \\cdot q = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all prime numbers $n$ such that $m \\le n \\le 16384$. Let $t$ be the number of elements in $T$. Let $P$ be the set of all prime numbers $n_1$ such that $2 \\le n_1 \\le 51539$. Let $p$ be the number of elements in $P$. Compute the remainder when $p \\cdot t$ is divided by $76664$.", "answer": 56180, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76664),\n \"_n\": Const(51539),\n \"upper\": Const(16384),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "COPRIME_PAIRS"], "recipe_id": "cc8cf4", "seed_template_id": "nt_count_primes_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.417, "created_at": "2026-02-08T16:14:13.625746Z", "verification": {"verified": true, "answer": 56180, "timestamp": "2026-02-08T16:14:14.042329Z"}, "problem_hash": "cff685", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 440}, "timestamp": "2026-02-12T10:09:44.087Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c69b21", "alias": "modular_product_range_v1_717093673_3271", "problem": "Let $N = 75361$. Let $p$ be the product of all integers $i$ from 13 to $d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest integer $d \\ge 2$ that divides 31453057. Let $r$ be the remainder when $p$ is divided by 11159. Define $Q = r + 2^{r \\bmod 15} \\bmod N$. Compute the value of $Q$.", "answer": 2685, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75361),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(13), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(31453057)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11159)),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(15))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T17:28:24.588269Z", "verification": {"verified": true, "answer": 2685, "timestamp": "2026-02-08T17:28:24.592600Z"}, "problem_hash": "b12622", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 408}, "timestamp": "2026-02-12T22:34:07.697Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f25502", "alias": "antilemma_sum_primes_v1_1742523217_4400", "problem": "Let $x$ be the sum of all integers $n$ such that $2 \\leq n \\leq 4$ and $n$ is prime. Let $S$ be the set of all integers $t$ such that $12 \\leq t \\leq 138$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 15$, $1 \\leq b \\leq 9$, and $t = 5a + 7b$. Compute the remainder when\n\n$$\n353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left(|x|^2 + 1\\right) \\bmod 101 + 215534 \\cdot \\left(|x| + 29\\right) \\bmod |S|\n$$\nis divided by $60921$.", "answer": 27029, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(60921),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(29)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=138)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "SUM_PRIMES"], "recipe_id": "26f009", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:15:53.718533Z", "verification": {"verified": true, "answer": 27029, "timestamp": "2026-02-08T07:15:53.720694Z"}, "problem_hash": "8d89a2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "split": "test"} +{"id": "8e4460", "alias": "nt_num_divisors_compute_v1_677425708_4069", "problem": "Let $n = 93025$. Let $d$ be the number of positive divisors of $n$. Find the value of $d$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(93025),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["COUNT_FIB_DIVISIBLE/C3/MOBIUS_COPRIME", "V5/C3/LIOUVILLE_MINUS_ONE"], "recipe_id": "419b43", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["C3", "COUNT_FIB_DIVISIBLE", "K14", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "V5"], "num_lemmas": 6, "generation_time": 0.878, "created_at": "2026-02-08T06:25:11.324646Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T06:25:12.202265Z"}, "problem_hash": "311c0a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 76, "completion_tokens": 548}, "timestamp": "2026-02-12T23:49:30.399Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 198}, "timestamp": "2026-02-12T00:01:54.109Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "V5": "ok", "C3": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "L3c": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "21adb5", "alias": "modular_count_residue_v1_1978505735_1979", "problem": "Let $r$ be the smallest divisor of $35$ that is at least $2$. Let $U = 43264$ and $m = 20$. Determine the number of positive integers $n$ such that $1 \\le n \\le U$ and $n \\equiv r \\pmod{m}$. Compute $29929$ minus this number.", "answer": 27766, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35),\n \"upper\": Const(43264),\n \"m\": Const(20),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sub(Const(29929), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.512, "created_at": "2026-02-08T16:35:09.551046Z", "verification": {"verified": true, "answer": 27766, "timestamp": "2026-02-08T16:35:13.062783Z"}, "problem_hash": "a6ec92", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 27766, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 302}, "timestamp": "2026-02-12T11:00:17.221Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "b14ccc", "alias": "nt_sum_gcd_range_mod_v1_151522320_879", "problem": "Let $N$ be the number of positive integers $n \\leq 10120$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 261121$. Define $s$ to be the sum $x + y$ over all such pairs, and let $k$ be the largest integer such that $7^k$ divides $s!$. Compute the sum $\\sum_{n=1}^{N} \\gcd(n, k)$, and let $R$ be the remainder when this sum is divided by $11279$. Determine the value of the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $R + 2$.", "answer": 2380, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10120),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"k\": MaxKDivides(target=Factorial(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(261121)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Const(7)),\n \"M\": Const(11279),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V1", "L3C"], "recipe_id": "4c322b", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C", "V1"], "num_lemmas": 3, "generation_time": 0.18, "created_at": "2026-02-08T03:37:34.288340Z", "verification": {"verified": true, "answer": 2380, "timestamp": "2026-02-08T03:37:34.468320Z"}, "problem_hash": "89183d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "L3C": "ok", "V1": "ok_later", "K13": "no", "K5": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}, "split": "test"} +{"id": "f8034f", "alias": "comb_count_derangements_v1_1978505735_7777", "problem": "Let $m = 99671$. Define $p$ to be a positive integer for which there exists a positive integer $q$ such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of such integers $p$. Now let $j$ be a nonnegative integer at most $20608$ such that $\\binom{20608}{j} \\equiv 1 \\pmod{n}$. Let $r$ be the number of such integers $j$. Compute the remainder when $85369 \\cdot !r$ is divided by $m$, where $!r$ denotes the subfactorial of $r$.", "answer": 57993, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(99671),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(20608)), Eq(Mod(value=Binom(n=Const(20608), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(85369), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T20:26:46.185641Z", "verification": {"verified": true, "answer": 57993, "timestamp": "2026-02-08T20:26:46.187992Z"}, "problem_hash": "e12e1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 621}, "timestamp": "2026-02-13T01:23:08.098Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "K14": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f29f33", "alias": "algebra_poly_eval_v1_1918700295_4319", "problem": "Let $N = 54151$ and $k = 12$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$.\n\nDefine\n$$\nA = 600k^5 - 1360k^4 + 530k^3 - 170k^2 + 573k - 56\n$$\nand\n$$\nB = |S|.\n$$\nCompute the remainder when $1156 - \\frac{A}{B}$ is divided by $62960$.", "answer": 48344, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54151),\n \"k\": Const(12),\n \"result\": Div(Sum(Mul(Const(600), Pow(Ref(\"k\"), Const(5))), Mul(Const(-1360), Pow(Ref(\"k\"), Const(4))), Mul(Const(530), Pow(Ref(\"k\"), Const(3))), Mul(Const(-170), Pow(Ref(\"k\"), Const(2))), Mul(Const(573), Ref(\"k\")), Const(-56)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))),\n \"Q\": Mod(value=Sub(Const(1156), Ref(\"result\")), modulus=Const(62960)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T09:17:41.754081Z", "verification": {"verified": true, "answer": 48344, "timestamp": "2026-02-08T09:17:41.757636Z"}, "problem_hash": "16faf5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48333, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 5758}, "timestamp": "2026-02-14T02:26:33.635Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 742}, "timestamp": "2026-02-12T02:44:27.841Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "092c61", "alias": "antilemma_sum_factor_cartesian_v1_151522320_99", "problem": "Let $n = 98675$. Let $S$ be the set of all ordered pairs $(i, j)$ with $1 \\le i \\le 8$ and $1 \\le j \\le 26$ such that\n$$\n\\sum_{d \\mid \\gcd\\left(\\max\\left\\{k : 3^k \\mid (4^9 - 1^9)\\right\\}, 5\\right)} \\mu(d)\n$$\nis nonzero. Let $x$ be the sum of $i \\cdot j$ over all pairs $(i, j)$ in $S$. Let $c = 61747$ and define $Q = (c \\cdot x) \\bmod n$. Compute $Q$.", "answer": 11867, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98675),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=MaxKDivides(target=Sub(left=Pow(base=Const(value=4), exp=Const(value=9)), right=Pow(base=Const(value=1), exp=Const(value=9))), base=Const(value=3)), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(26)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": Const(61747),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/MOBIUS_COPRIME/SUM_FACTOR_CARTESIAN", "SUM_FACTOR_CARTESIAN"], "recipe_id": "fd51ee", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:58:16.481070Z", "verification": {"verified": true, "answer": 11867, "timestamp": "2026-02-08T02:58:16.483288Z"}, "problem_hash": "5cd221", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 11867, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 1639}, "timestamp": "2026-02-08T23:01:56.398Z"}], "solution_status": 2, "lemma_applicability": {"LTE_DIFF": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "d9a3d5", "alias": "nt_euler_phi_compute_v1_1520064083_2578", "problem": "Let $n_2 = 1$. Define $v$ to be the number of distinct prime factors of $n_2$, and let $n_1 = 1 + v$. Let $m$ be the total number of prime factors of $n_1$ counted with multiplicity. Define $n = 69696 + m$. Compute $\\varphi(n)$, Euler's totient function evaluated at $n$.", "answer": 21120, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n2')),\n \"n1\": Sum(Const(1), Ref(\"v\")),\n \"m\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(69696), Ref(\"m\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "OMEGA_ZERO"], "recipe_id": "4d5cf5", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "OMEGA_ZERO"], "num_lemmas": 2, "generation_time": 0.162, "created_at": "2026-02-08T04:52:08.905647Z", "verification": {"verified": true, "answer": 21120, "timestamp": "2026-02-08T04:52:09.067782Z"}, "problem_hash": "9ca3d2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "OMEGA_ZERO": "ok", "C2": "no", "K14": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "test"} +{"id": "30f5ee", "alias": "modular_modexp_compute_v1_784195855_944", "problem": "Let $m$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 38$. Let $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Let $a$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 83$. Let $e$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n$. Define $\\text{result} = a^e \\bmod 55555$, that is, the remainder when $a^e$ is divided by $55555$. Let $c = 18225$.\n\nCompute $c - \\text{result}$.", "answer": 18202, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(38)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(83)), IsPrime(Var(\"n\"))))),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(55555),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(18225),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/B1", "COUNT_PRIMES"], "recipe_id": "9e2140", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_PRIMES"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:42:43.439977Z", "verification": {"verified": true, "answer": 18202, "timestamp": "2026-02-08T04:42:43.444207Z"}, "problem_hash": "8b66f1", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 18202, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 2921}, "timestamp": "2026-02-11T21:47:03.018Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 606}, "timestamp": "2026-02-13T22:42:40.149Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 525}, "timestamp": "2026-02-11T21:42:33.778Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "a1640d", "alias": "diophantine_product_count_v1_1470522791_1832", "problem": "Let $k = 1260$ and $N = 290$. Determine the number of positive integers $x$ such that $1 \\le x \\le N$, $x$ divides $k$, and $\\frac{k}{x} \\le N$.", "answer": 28, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(290),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_COPRIME_GRID", "B3"], "recipe_id": "a8b7cb", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.14, "created_at": "2026-02-08T14:00:32.346900Z", "verification": {"verified": true, "answer": 28, "timestamp": "2026-02-08T14:00:32.486691Z"}, "problem_hash": "22f57a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 24, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 429}, "timestamp": "2026-02-12T07:45:28.423Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8eb5b2", "alias": "nt_count_intersection_v1_1915831931_3789", "problem": "Let $a$ be the smallest integer greater than or equal to 2 that divides 35. Let $N = 100000$. Determine the number of positive integers $n \\leq N$ such that $a$ divides $n$ and $\\gcd(n, 6) = 1$.", "answer": 6667, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(100000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 8.678, "created_at": "2026-02-08T17:55:01.566971Z", "verification": {"verified": true, "answer": 6667, "timestamp": "2026-02-08T17:55:10.244585Z"}, "problem_hash": "a1be27", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6666, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 470}, "timestamp": "2026-02-12T23:19:01.460Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K16": "no", "K18": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a72e85", "alias": "nt_count_divisible_v1_1918700295_929", "problem": "For integers $a$ and $b$ with $1 \\le a \\le 6$ and $1 \\le b \\le 6$, consider all integers $t$ satisfying $14 \\le t \\le 84$ and\n$$t = 6a + 8b.$$\nLet $m$ be the number of such integers $t$.\n\nLet $n$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that\n$$x + y = m.$$\n\nLet $d$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that\n$$xy = n.$$\n\nLet $N$ be the number of integers $r$ with\n$$1 \\le r \\le 75076$$\nthat satisfy $d \\mid r$.\n\nCompute $N$. ", "answer": 2502, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=84)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(75076),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1/B3", "ONE_PHI_1"], "recipe_id": "55a525", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 6.629, "created_at": "2026-02-08T05:24:10.599710Z", "verification": {"verified": true, "answer": 2502, "timestamp": "2026-02-08T05:24:17.229090Z"}, "problem_hash": "f2137f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "B1": "ok_later", "B3": "ok_later", "K14": "no", "K16": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "split": "test"} +{"id": "dcfcdb", "alias": "nt_min_crt_v1_1742523217_5316", "problem": "Let $T$ be the set of all integers $t$ such that $8 \\leq t \\leq 312$ and there exist positive integers $a \\leq 74$ and $b \\leq 18$ with $t = 3a + 5b$. Let $K$ be the number of positive integers $k \\leq |T|$ that are divisible by $33$. Let $a = 2$ and $b = 1 + 2 + 3 = 6$. Determine the value of $m$ if $m = 8$. Find the smallest positive integer $n \\leq 72$ such that\n$$\nn \\equiv a \\pmod{m} \\quad \\text{and} \\quad n \\equiv b \\pmod{K}.\n$$", "answer": 42, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(8),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=74)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=18)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=312)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Divides(divisor=Const(33), dividend=Var(\"k\"))), domain='positive_integers')),\n \"a\": Const(2),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"upper\": Const(72),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2", "SUM_ARITHMETIC"], "recipe_id": "92eb4b", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T10:54:59.423257Z", "verification": {"verified": true, "answer": 42, "timestamp": "2026-02-08T10:54:59.432274Z"}, "problem_hash": "bf4303", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 3447}, "timestamp": "2026-02-14T09:14:40.113Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 431}, "timestamp": "2026-02-12T03:30:30.249Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "C2": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "070088", "alias": "comb_factorial_compute_v1_397696148_2039", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 77. Compute the remainder when $87629 \\cdot n!$ is divided by 77462.", "answer": 39298, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77462),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": Const(87629),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:54:54.149442Z", "verification": {"verified": true, "answer": 39298, "timestamp": "2026-02-08T12:54:54.150525Z"}, "problem_hash": "c40d56", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 346}, "timestamp": "2026-02-12T05:54:51.052Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "865772", "alias": "modular_sum_quadratic_residues_v1_784195855_8751", "problem": "Let $p$ be the smallest divisor of $11009675329$ that is at least $2$. Compute the value of $\\frac{p(p - 1)}{4}$.", "answer": 25043, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11009675329))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:18:01.728366Z", "verification": {"verified": true, "answer": 25043, "timestamp": "2026-02-08T16:18:01.729450Z"}, "problem_hash": "c122f7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 182}, "timestamp": "2026-02-12T10:23:38.106Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "153fef", "alias": "diophantine_fbi2_count_v1_1520064083_166", "problem": "Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq 719$ and the sum of the decimal digits of $n$ is odd. Determine the number of positive integers $d$ such that $5 \\leq d \\leq 93$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 93$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(719)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(93)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(93))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE", "L3B"], "recipe_id": "16d73e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T03:06:59.951475Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T03:06:59.975603Z"}, "problem_hash": "730cb0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SQUAREFREE": "ok", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "77dff9", "alias": "antilemma_sum_primes_v1_1440796553_572", "problem": "Let $m=8208$. Let $N$ be the number of integers $n$ with $1\\le n\\le m$ such that the sum of the decimal digits of $n$ is even.\n\nLet $K$ be the number of nonnegative integers $j$ with $0\\le j\\le 4104$ such that the binomial coefficient $\\binom{N}{j}$ is odd.\n\nLet $x$ be the sum of all primes $n$ with $2\\le n\\le K$.\n\nLet\n$$Q=\\sum_{n=\\varphi(2)}^{|x|} \\tau(n),$$\nwhere $\\varphi$ is Euler's totient function and $\\tau(n)$ is the number of positive divisors of $n$.\n\nCompute $Q$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8208),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(4104)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers'))), IsPrime(Var(\"n\"))))),\n \"Q\": Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["L3B/V8/SUM_PRIMES", "SUM_PRIMES", "ONE_PHI_2"], "recipe_id": "7b5bab", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["EULER_TOTIENT_SUM", "L3B", "ONE_PHI_2", "SUM_PRIMES", "V8"], "num_lemmas": 5, "generation_time": 0.022, "created_at": "2026-02-08T11:51:29.857913Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T11:51:29.879990Z"}, "problem_hash": "006bdc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "ONE_PHI_2": "ok", "SUM_PRIMES": "ok", "V8": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}, "split": "test"} +{"id": "94d314", "alias": "nt_sum_gcd_range_mod_v1_124444284_7628", "problem": "Let $N$ be the number of integers $t$ such that $22 \\leq t \\leq 4120$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 92$, $1 \\leq b \\leq 889$, and $t = 6a + 4b + 12$. Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 28224$. Let $M = 11131$. Compute the remainder when\n\n$$\n\\sum_{n=1}^{N} \\gcd(n, k)\n$$\n\nis divided by $M$.", "answer": 7791, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(28224),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=92)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=889)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=4120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=12)))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(11131),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.267, "created_at": "2026-02-08T09:13:45.937551Z", "verification": {"verified": true, "answer": 7791, "timestamp": "2026-02-08T09:13:46.204986Z"}, "problem_hash": "3d23e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7791, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 5421}, "timestamp": "2026-02-14T02:05:10.799Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 577}, "timestamp": "2026-02-12T02:42:17.730Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K16": "no", "K18": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a83760", "alias": "diophantine_product_count_v1_865884756_6966", "problem": "Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 44100$. Let $T$ be the set of all integers $t$ with $22 \\leq t \\leq 738$ that can be expressed as $t = 8a + 14b$ for some integers $a, b$ satisfying $1 \\leq a \\leq 73$ and $1 \\leq b \\leq 11$. Let $u$ be the number of elements in $T$.\n\nNow consider the set of all positive integers $x_1$ such that $1 \\leq x_1 \\leq u$, $x_1$ divides $k$, and $\\frac{k}{x_1} \\leq u$. Compute the number of such integers $x_1$, multiply it by $89367$, and find the remainder when the result is divided by $80201$.\n\nFind this remainder.", "answer": 41250, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44100),\n \"_n\": Const(80201),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=73)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=738)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Divides(divisor=Var(\"x1\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x1\")), Ref(\"upper\"))))),\n \"_c\": Const(89367),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T19:29:09.925194Z", "verification": {"verified": true, "answer": 41250, "timestamp": "2026-02-08T19:29:09.946320Z"}, "problem_hash": "4dc3f3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 533}, "timestamp": "2026-02-13T01:04:40.996Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K18": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "cad409", "alias": "diophantine_product_count_v1_2051736721_5640", "problem": "Let $k = 1260$ and let $u = 393$. Consider the set of all positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$. Compute the number of elements in this set.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(393),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.121, "created_at": "2026-02-08T18:42:19.191850Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T18:42:19.312479Z"}, "problem_hash": "06b3f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 432}, "timestamp": "2026-02-13T00:28:45.672Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7c298c", "alias": "nt_count_primes_v1_151522320_861", "problem": "Let $ n $ be an integer. Define $ A $ as the set of all prime numbers $ n $ such that $ 2 \\leq n \\leq 46368 $. Let $ r $ be the number of elements in $ A $. Compute the value of\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} r \\rfloor} \\left( \\text{the } i\\text{-th digit of } r \\right) \\cdot (i + 1)^2 + |A \\times B|,\n$$\ndepending on $ r $, where $ A = \\{1, 2, \\dots, 64\\} $ and $ B = \\{1, 2, \\dots, 128\\} $. Determine the value of this expression.", "answer": 8359, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(46368),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), EulerPhi(n=Const(1))), Const(2)))), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(64)), right=IntegerRange(start=Const(1), end=Const(128))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_PHI_1"], "recipe_id": "4913f9", "seed_template_id": "nt_count_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 1.291, "created_at": "2026-02-08T03:36:36.966857Z", "verification": {"verified": true, "answer": 8359, "timestamp": "2026-02-08T03:36:38.258311Z"}, "problem_hash": "58f040", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_PHI_1": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "DS2": "no", "K15": "no", "LTE_DIFF_P2": "no"}, "split": "test"} +{"id": "605bd8", "alias": "modular_modexp_compute_v1_865884756_6352", "problem": "Let $a = 29$. Let $d$ be the smallest integer greater than or equal to 2 that divides 304679. Define $e$ to be this value of $d$. Let $m = 66564$. Compute $a^e \\bmod m$.", "answer": 38729, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(29),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(304679))))),\n \"m\": Const(66564),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T19:09:49.899530Z", "verification": {"verified": true, "answer": 38729, "timestamp": "2026-02-08T19:09:49.901703Z"}, "problem_hash": "b5a83d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 442}, "timestamp": "2026-02-13T00:49:59.081Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K5": "no", "LTE_DIFF": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a5b9e5", "alias": "comb_count_derangements_v1_1248542787_741", "problem": "Let $n$ be the smallest divisor of $3773$ that is at least $2$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3773))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:21:36.974614Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T03:21:36.975654Z"}, "problem_hash": "04bf50", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 1066}, "timestamp": "2026-02-09T07:45:37.459Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 1078}, "timestamp": "2026-02-09T20:34:04.938Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 93, "completion_tokens": 6119}, "timestamp": "2026-02-09T20:00:26.449Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 91, "completion_tokens": 546}, "timestamp": "2026-02-11T19:00:41.822Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 283}, "timestamp": "2026-02-11T20:48:45.185Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "K18": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -9.22, "mid": -6.39, "hi": -3.05}, "split": "test"} +{"id": "89f2ef", "alias": "nt_count_digit_sum_v1_1248542787_851", "problem": "Let $A$ be the number of positive integers $n$ between $1$ and $49999$, inclusive, such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $S$ be the number of positive integers $m$ between $1$ and $A$, inclusive, such that the sum of the decimal digits of $m$ is $15$. Compute the value of $7 + \\sum_{i=0}^{d-1} d_i (i+1)^2$, where $d$ is the number of digits in $S$ and $d_i$ is the $i$-th digit of $S$ (starting from the units digit as $i=0$).", "answer": 90, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(49999)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"target_sum\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(7),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.391, "created_at": "2026-02-08T03:27:46.951246Z", "verification": {"verified": true, "answer": 90, "timestamp": "2026-02-08T03:27:47.342137Z"}, "problem_hash": "2ed7f0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 90, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 2173}, "timestamp": "2026-02-09T09:04:38.965Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 90, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 2080}, "timestamp": "2026-02-09T21:54:25.402Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:50:09.382Z"}, {"id": 8, "model": "mathstral", "answer": 41, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 1168}, "timestamp": "2026-02-12T15:19:15.656Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 731}, "timestamp": "2026-02-11T20:52:28.130Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "K18": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -6.84, "mid": -2.81, "hi": 1.35}, "split": "test"} +{"id": "a5c085", "alias": "modular_sum_quadratic_residues_v1_48377204_2667", "problem": "Let $p$ be the smallest integer greater than or equal to $2$ that divides $40577833$. Define $r = \\frac{p(p-1)}{4}$.\n\nCompute the remainder when $44121 \\cdot r$ is divided by $61856$.", "answer": 42772, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(40577833))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(61856)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:54:48.884511Z", "verification": {"verified": true, "answer": 42772, "timestamp": "2026-02-08T16:54:48.887019Z"}, "problem_hash": "910bf7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 23040, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 300}, "timestamp": "2026-02-12T21:20:10.539Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2167e8", "alias": "nt_min_coprime_above_v1_1439011603_777", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 2125764$. Define $a_0$ to be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all positive integers $t$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 163$, $1 \\leq b \\leq 1426$, $5 \\leq t \\leq 3341$, and $t = 3a + 2b$. Let $N$ be the number of elements in $T$. Let $n$ be the smallest integer greater than $a_0$ and at most $N$ such that $\\gcd(n, 409) = 1$. Compute the value of\n$$\n\\sum_{i=0}^{d-1} d_i (i+1)^2 + 43,\n$$\nwhere $d$ is the number of decimal digits of $n$ and $d_i$ is the $i$-th digit of $n$ (starting from the units digit as $i=0$).", "answer": 167, "graph": "graphs = [\n Graph(\n let={\n \"start\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2125764)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=163)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1426)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=3341)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"modulus\": Const(409),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(43),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.058, "created_at": "2026-02-08T15:42:41.918302Z", "verification": {"verified": true, "answer": 167, "timestamp": "2026-02-08T15:42:41.976761Z"}, "problem_hash": "94cbf0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 365, "completion_tokens": 534}, "timestamp": "2026-02-12T09:05:38.777Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MOD_ADD": "no", "V1": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "297288", "alias": "nt_sum_divisors_mod_v1_153355830_805", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 176400$. Let $\\sigma$ denote the sum of the positive divisors of $n$. Define $M = 10369$, and let $r$ be the remainder when $\\sigma$ is divided by $M$. Let $c$ be the largest integer $k$ such that $29^k$ divides\n\n$$\n2636320055476966160763692611364253270919044202244194836557955153034622065340705563982664889065200717754241050998229474917939474012443291135982424416076492656959995031405378256967411103883822521347646139204311057286965389964549861682895625749302667119163918344430883103847374664842903779537792446679503922823759953159266478162607993979346301987720767651462538927333266512576250863307674679774072206478024558627369291093108453139639410618302097416125805524742933732238555835917427492379409296223666863835436909131417657619075811787893293607328763021067777245112913123107546159810147367648024404515794948602520292558981822523252288832821345027375276160540375217858373544159381646705687638492196492337756314693845001821710273784919847631463412307788958116587832427889539712943218614611209242312414230298153142026841174045547397376369596326349396578755105692393790360865357115649324637396500177251132631318755549878301089955296233892643655988570303982740965218890374166926788549714716084458871160073408593431588822105335753419037063270577586204479979372067918230144926615223769587006456685652854018203884690839329727890159523600625755926652607621862903924306301217296607779802428516981471070872959296241553525282470131899296185641844798735918041932654832218194775679310531200761357730482880111501014235882388124835687384260085297892753357799001721735498747771452553455315913408231990186086501495345876169749377550304557926193929442172352501510675058102759510723681734288937160929337326732554296567783602937031670384131894050222122384341909283936955704900719187963736945934194246653646001393121214277724204637131906287742455220752155366823735719295794184313460797095088814274248542528242591603046311401650894279681368709077087126823919365857161169271915596386575196528965844665733414660141387952303130675187364557316979456036577289611804910682182701712782665981896627516232224828968911135315101628637929808501023561002921277517735277930022279691553369659396643096150847547108319790435124753977764604013859420629783899996677966757618626607182461982282430033791899306949001850120139986977103990405573680964886114934963492039372696697423706341725655996186172688896469194993041975622232023610331661052658897289189065047282376477572115889907802741390491124396410226565907291823299470816463186984676361209106622424382942926273336026699710333596157537978937802221976028822829589166457288156138419340696741324658741255610348017922019390343429859417907951672712018214435529975886069018428590517749008981622173506666174473040866051899391323866357931409120685022525889246701355510340487543708133931932824098198849734874860584338321638736161153575929034612948522617186238505328814530429684888584187946622358038863729117624628596435340581059626776126479480894955040434825625904653224259603872576976037128019116350979469767838282214312329312483044806534560327437556834389762604280119894507794850454284115360006836329850674963304085910032609583073612843934677995474193651655113752537366417678453637303835138006906388306737946723620749705797740834299189447364694706963375756216122661164612281266602282197437041590105023663269940706683045633524341017430695900491800758805352287646797184982884750788426711837108526399157988169476620814174713177815081101946092215682865727333569425452951025573442987483238883637842724096215223839841861459298355806429253308601849452490030384134665529261619882374679465123282624178406690951742749716818984012152891410966846053560501181319995426928939344749902307961426102068723339788627923851625443302557180245387365588942465872080714231924799686960931323271098465117775927962166066413937678256822612113888944740185762086306446969311489897338113705833305151569500961565122595543331938902981455136398320300097796620778896346898946165146206469802894894355348075879627834859665442072537511325914873484779664054648658764510725427440606015508737435286425236208396025524093629878754443485324332422628140173220506209489451577110569232791999080593917056401318347492259716077698889861858904311697361918844254063393357367041633000259263187353230875296110978665743751477067985588545290403069930168029940391986824467454820630029231454556324311392570577254019779856929499368305782887297948303618220456055833658560999247015061194074916863178367890989400111139086992949509662221972686015966905434399822129104031396829788234530180587924696770612497472337227143425568257328417551709996971750786329199038272433690857258384364416261792821772957284873341885160919058173695730386880529791563116513526173143074965245552697307003682249781244763782292568299592179839277303856712973382813361712167698126422677909959568749684052069247943006158605521308553145662431427877607264654749895524907736137158020728017859118921016292956060867457251057802082018640152976191463580486599278652643749680552538396034509395003940108025018272998984984874530805342072284369118514345693921354291387654305853651001358990232606216014106852884228142932763121260370088178629765132066134928635600691879846817299693023903974353380134610316740801846596842721217230964151761635580175740613882740678064038391415484735715241388635638032052757561033732578884901174987130582491015444068399817577127974637297503281304691908891325661261456630452351009306167708576755856098197247100088974713978248957826447693079132708220326741770952291841211089630853869041563848568572544903869410946329290921449537973105457475664101825741389444501082253792032272818155678824571205207677661465590069751083504302066165873739633079260980437172253815091047040583891000421731347595569131893862099933330050810369370865892838905142125217260515015375718606547307398478375620406615965837847761616161789392681958422781957206395761370642228285088020384511849615086919788770287804557561510277313635198864398524861758978252737870487220297234836016154321386659054472488267881968566989256985527733142575259485397263927072780760736424215277255464913844617232442836146819326253709095356807201493208143322638720353257038125816713046192995013224318794936479731268873704194434442913718523909498945754969123259394962703054522602051931876251076017359439622690883262788048130973426612879801029294739006363782466367737001878400388969034723172861742222091677793331515784765860699097571697584306418257804512348916508027581025649391307333189940253782161661369548486698413182011138148479461924183625922631945456011961559444548458053495463417323873106878495993235781739676997461291843155935850212197622273936044861458221576994849845245802280018005037267749289587890340020692987352837914766528023891825941502896755022631402482321978098171273418203291709923578932278491168429897218471480237198761203117464880106713319781692930903940607520096943470532359144434536332310447205658895984141674664079879864499312520892837122838724156291589459249458016026075211598219784975856830547890572652057736125227815277878022599650697939257604409656426289765400484774756839374673121\n$$\n\nCompute $c - r$.", "answer": 4345, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(10369),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": MaxKDivides(target=Mul(Const(2636320055476966160763692611364253270919044202244194836557955153034622065340705563982664889065200717754241050998229474917939474012443291135982424416076492656959995031405378256967411103883822521347646139204311057286965389964549861682895625749302667119163918344430883103847374664842903779537792446679503922823759953159266478162607993979346301987720767651462538927333266512576250863307674679774072206478024558627369291093108453139639410618302097416125805524742933732238555835917427492379409296223666863835436909131417657619075811787893293607328763021067777245112913123107546159810147367648024404515794948602520292558981822523252288832821345027375276160540375217858373544159381646705687638492196492337756314693845001821710273784919847631463412307788958116587832427889539712943218614611209242312414230298153142026841174045547397376369596326349396578755105692393790360865357115649324637396500177251132631318755549878301089955296233892643655988570303982740965218890374166926788549714716084458871160073408593431588822105335753419037063270577586204479979372067918230144926615223769587006456685652854018203884690839329727890159523600625755926652607621862903924306301217296607779802428516981471070872959296241553525282470131899296185641844798735918041932654832218194775679310531200761357730482880111501014235882388124835687384260085297892753357799001721735498747771452553455315913408231990186086501495345876169749377550304557926193929442172352501510675058102759510723681734288937160929337326732554296567783602937031670384131894050222122384341909283936955704900719187963736945934194246653646001393121214277724204637131906287742455220752155366823735719295794184313460797095088814274248542528242591603046311401650894279681368709077087126823919365857161169271915596386575196528965844665733414660141387952303130675187364557316979456036577289611804910682182701712782665981896627516232224828968911135315101628637929808501023561002921277517735277930022279691553369659396643096150847547108319790435124753977764604013859420629783899996677966757618626607182461982282430033791899306949001850120139986977103990405573680964886114934963492039372696697423706341725655996186172688896469194993041975622232023610331661052658897289189065047282376477572115889907802741390491124396410226565907291823299470816463186984676361209106622424382942926273336026699710333596157537978937802221976028822829589166457288156138419340696741324658741255610348017922019390343429859417907951672712018214435529975886069018428590517749008981622173506666174473040866051899391323866357931409120685022525889246701355510340487543708133931932824098198849734874860584338321638736161153575929034612948522617186238505328814530429684888584187946622358038863729117624628596435340581059626776126479480894955040434825625904653224259603872576976037128019116350979469767838282214312329312483044806534560327437556834389762604280119894507794850454284115360006836329850674963304085910032609583073612843934677995474193651655113752537366417678453637303835138006906388306737946723620749705797740834299189447364694706963375756216122661164612281266602282197437041590105023663269940706683045633524341017430695900491800758805352287646797184982884750788426711837108526399157988169476620814174713177815081101946092215682865727333569425452951025573442987483238883637842724096215223839841861459298355806429253308601849452490030384134665529261619882374679465123282624178406690951742749716818984012152891410966846053560501181319995426928939344749902307961426102068723339788627923851625443302557180245387365588942465872080714231924799686960931323271098465117775927962166066413937678256822612113888944740185762086306446969311489897338113705833305151569500961565122595543331938902981455136398320300097796620778896346898946165146206469802894894355348075879627834859665442072537511325914873484779664054648658764510725427440606015508737435286425236208396025524093629878754443485324332422628140173220506209489451577110569232791999080593917056401318347492259716077698889861858904311697361918844254063393357367041633000259263187353230875296110978665743751477067985588545290403069930168029940391986824467454820630029231454556324311392570577254019779856929499368305782887297948303618220456055833658560999247015061194074916863178367890989400111139086992949509662221972686015966905434399822129104031396829788234530180587924696770612497472337227143425568257328417551709996971750786329199038272433690857258384364416261792821772957284873341885160919058173695730386880529791563116513526173143074965245552697307003682249781244763782292568299592179839277303856712973382813361712167698126422677909959568749684052069247943006158605521308553145662431427877607264654749895524907736137158020728017859118921016292956060867457251057802082018640152976191463580486599278652643749680552538396034509395003940108025018272998984984874530805342072284369118514345693921354291387654305853651001358990232606216014106852884228142932763121260370088178629765132066134928635600691879846817299693023903974353380134610316740801846596842721217230964151761635580175740613882740678064038391415484735715241388635638032052757561033732578884901174987130582491015444068399817577127974637297503281304691908891325661261456630452351009306167708576755856098197247100088974713978248957826447693079132708220326741770952291841211089630853869041563848568572544903869410946329290921449537973105457475664101825741389444501082253792032272818155678824571205207677661465590069751083504302066165873739633079260980437172253815091047040583891000421731347595569131893862099933330050810369370865892838905142125217260515015375718606547307398478375620406615965837847761616161789392681958422781957206395761370642228285088020384511849615086919788770287804557561510277313635198864398524861758978252737870487220297234836016154321386659054472488267881968566989256985527733142575259485397263927072780760736424215277255464913844617232442836146819326253709095356807201493208143322638720353257038125816713046192995013224318794936479731268873704194434442913718523909498945754969123259394962703054522602051931876251076017359439622690883262788048130973426612879801029294739006363782466367737001878400388969034723172861742222091677793331515784765860699097571697584306418257804512348916508027581025649391307333189940253782161661369548486698413182011138148479461924183625922631945456011961559444548458053495463417323873106878495993235781739676997461291843155935850212197622273936044861458221576994849845245802280018005037267749289587890340020692987352837914766528023891825941502896755022631402482321978098171273418203291709923578932278491168429897218471480237198761203117464880106713319781692930903940607520096943470532359144434536332310447205658895984141674664079879864499312520892837122838724156291589459249458016026075211598219784975856830547890572652057736125227815277878022599650697939257604409656426289765400484774756839374673121), Const(253826339339747141621989597848940566121652486696494436192350974338094528972919331616638110324607285363480849849068274022130278906147155185909342027962809810149845200024338838668085949097348595975580933875980692797527777058028233613044842916608810907639628663824637916089025679846926714599528519890651641554354355882014423110670869231390865689786449434750392815144810522734288600455286872798996585259416287589904144125401922009558725486781080152924142243130894620012842152039393241894574937385870905296417964688530725030806646445463881630357806193966822670799960945901224030098475837694865554712067810985463443465303637072969234502495363761746230273942937809643768480757241177563779285761348033049174598182249676392092930885540301997730346121684264311715407320109242434177556458277731368167409805947609733702801192839754727459982949834809701364464381116278140253232917710011339889392721245037097143232409094365960093149607920028257446238572980139353179724346948288097134467344303456361268370999936537771353161273067167731054495290137753496673295412785313927531001343209181410681346971793767958222860210440169994019083473732975378661331769323819969682540385825321269763474717392298647384349411231051267314482216488664409798222819952337825017023754137924536056591295277822964692245842532555036323387974582398922859964299789022341563489353892102120082542805958255529965988974265641254070664859371004899068996265199512978586355913641905564222028698810090464520376681030712524826719266665222309142338534185402359089424052616485001132519431835004317066715773313021146574348298037250809181809527692924417750627809340921129873504544088580220971195633322866900923188277576716070434050736951822547777053844031539704680655783304093292859952591463853774565255440274918840669114123818443382746802961939029229853333088246910676238275833913546033500704190265272285038593612867442214833598518169171940699699489129860011436449455751874044954010633463934512763997086550960577093629951404651459356041538121012803188276411232456971188405902332595796852484025670849344600230421153547551112972671041507124980401351820970055505304794106769969795146613678196061283694612990410284095962703428081987178996539142512643923320287260961791466284533498719623455716831382847182028161801373474452353244337860599819111180551174344632883197475591456017926466364779260492884972681985089264441569206716264131261897465528065993216729782389711148215834988213906244614407662853281002068489144058826993985827974421975219547000700112586839134324177821307498283704082097928655329069258534354742894307933831846514373017156437928726021257942350844132704718185867125638219816939379245853997856643635049058936385870854070362777097934653594590543741616764203179116169029606115539503618855770546642701698242760763609927343953673711428786957193233058850691128942550181483726446768947955043477820177512598859041345907547351944979432069858835646294601536661831380636114361102208155240224591030895498707092216949440470682007129439170364719021627535118698835090059792133017811957245505572709352890872699325621581508734027412612870036865868036992220962673086147753297527874183124348859352344952524785502146884968167260107886024848795575434117784596538745427063011238038561916882456580086800771726724100473114202915104958430654334987798090510910343493713971993283961527094385457136010235304513593175002582326698179383382697620444000750768348043622843963943116122352821178831692777355722228589011855674800693197208752999819083780687170537210082671613286320362662627518778847754838385843649577719880889626387416003427956482907750319590592408020818723878699678912526625283647397426958603250491452226104030398153855007863351554194687123130309600292449629933469)), base=Ref(\"_n\")),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "B3"], "recipe_id": "e07e30", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K13"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:11:04.092755Z", "verification": {"verified": true, "answer": 4345, "timestamp": "2026-02-08T04:11:04.095285Z"}, "problem_hash": "bf6e0d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "K13": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}, "split": "test"} +{"id": "df2420", "alias": "comb_sum_binomial_row_v1_898971024_755", "problem": "Let $n$ be the smallest divisor of $48841$ that is at least $2$. Compute $2^n$.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(48841))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:37:54.354609Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T15:37:54.355647Z"}, "problem_hash": "425b70", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 196}, "timestamp": "2026-02-12T09:00:24.319Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5accd8", "alias": "algebra_poly_eval_v1_784195855_8005", "problem": "Let $m = 120$ and $y = 7$. Define $A$ to be the set of all integers $t$ such that there exist positive integers $a$ and $b$ satisfying $1 \\le a \\le 29$, $1 \\le b \\le 335$, $18 \\le t \\le 1746$, and $t = 14a + 4b$. Define $B$ to be the set of all integers $t$ such that there exist positive integers $a$ and $b$ satisfying $1 \\le a \\le 477$, $1 \\le b \\le 104$, $27 \\le t \\le 7284$, and $t = 12a + 15b$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 338724$. Compute\n$$\n\\frac{m \\cdot y^6 - 952 \\cdot y^5 + |A| \\cdot y^4 + |B| \\cdot y^3 - 1084 \\cdot y^2 + s \\cdot y - 1235}{4}.\n$$", "answer": 21814, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(120),\n \"_n\": Const(3),\n \"y\": Const(7),\n \"result\": Div(Sum(Mul(Ref(\"_m\"), Pow(Ref(\"y\"), Const(6))), Mul(Const(-952), Pow(Ref(\"y\"), Const(5))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=29)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=335)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=1746)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Pow(Ref(\"y\"), Const(4))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=477)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=104)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=7284)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))), Pow(Ref(\"y\"), Ref(\"_n\"))), Mul(Const(-1084), Pow(Ref(\"y\"), Const(2))), Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(338724)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"y\")), Const(-1235)), Const(44)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T09:39:36.321255Z", "verification": {"verified": true, "answer": 21814, "timestamp": "2026-02-08T09:39:36.342313Z"}, "problem_hash": "86ef44", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 239954, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 6409}, "timestamp": "2026-02-14T08:32:17.045Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 383, "completion_tokens": 454}, "timestamp": "2026-02-12T03:25:24.775Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "29cc35", "alias": "nt_sum_divisors_compute_v1_865884756_739", "problem": "Let $m=80$ and $n_0=2$. Let $n_2=1$ and define\n$$h=\\sum_{d\\mid n_2} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $p=37$, and let $q$ be defined by\n$$q=h\\cdot T,$$\nwhere $T$ is the number of integers $t_1$ such that $9\\le t_1\\le 67$ and there exist integers $a$ and $b$ with $1\\le a\\le 7$, $1\\le b\\le 8$, and\n$$t_1=5a+4b.$$\n\nLet $r$ be the largest prime integer $n_3$ such that $2\\le n_3\\le m$. Define\n$$n_1=pqr,$$\nlet $t$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$, and define\n$$n=36481+t.$$\nFinally, let $Q$ be the sum of all positive divisors of $n$.\n\nCompute $Q$.", "answer": 36673, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80),\n \"_n\": Const(2),\n \"n2\": Const(1),\n \"h\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(37),\n \"q\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t1'), right=Const(value=9)), Leq(left=Var(name='t1'), right=Const(value=67)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"h\")),\n \"r\": MaxOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Ref(\"_n\")), Leq(Var(\"n3\"), Ref(\"_m\")), IsPrime(Var(\"n3\"))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Const(36481), Ref(\"t\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SUM/DIVISOR_PARITY", "MAX_PRIME_BELOW/DIVISOR_PARITY"], "recipe_id": "bc965c", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T15:35:07.905562Z", "verification": {"verified": true, "answer": 36673, "timestamp": "2026-02-08T15:35:07.909724Z"}, "problem_hash": "e10e71", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SUM": "ok_later", "C2": "no", "K17": "no", "MOD_ADD": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "78d84d", "alias": "modular_product_range_v1_349078426_39", "problem": "Let $n_1$ be the largest positive divisor $d$ of $21432180$ such that $d \\leq 4620$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq n_1$, the sum of the digits of $n$ is even, and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $k = |S|$. Define $T$ as the set of all positive integers $n$ such that $1 \\leq n \\leq k$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the remainder when the product of all elements in $T$ is divided by $10223$. Let this remainder be $r$. Find the remainder when $21602 \\cdot r$ is divided by $67015$.", "answer": 1955, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(111),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(4620)), Divides(divisor=Var(\"d\"), dividend=Const(21432180)))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10223)),\n \"_c\": Const(21602),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(67015)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/L3B/L3C"], "recipe_id": "fb94c7", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "L3C", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T12:47:29.314165Z", "verification": {"verified": true, "answer": 1955, "timestamp": "2026-02-08T12:47:29.319418Z"}, "problem_hash": "ae941c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 506}, "timestamp": "2026-02-12T05:39:37.459Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3B": "ok_later", "L3C": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0dcaf4", "alias": "diophantine_fbi2_count_v1_784195855_2271", "problem": "Let $k = 360$. Compute the number of integers $d$ such that $2 \\leq d \\leq 81$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 84$.\\n\\nFind the value of this number.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(360),\n \"a\": Const(1),\n \"b\": Const(4),\n \"upper\": Const(80),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(81)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(84))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/LIN_FORM", "MAX_PRIME_BELOW/B3"], "recipe_id": "a33631", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.048, "created_at": "2026-02-08T05:37:57.548601Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T05:37:57.597058Z"}, "problem_hash": "ab4459", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 1140}, "timestamp": "2026-02-12T12:05:42.548Z"}, {"id": 8, "model": "mathstral", "answer": 17, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 123, "completion_tokens": 434}, "timestamp": "2026-02-14T20:47:01.272Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 78, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 340}, "timestamp": "2026-02-11T22:55:17.960Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "B3": "ok_later", "LIN_FORM": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "7d4e06", "alias": "modular_min_modexp_v1_1918700295_4372", "problem": "Let $a = 11$ and $b = 671$. Let $m$ be the smallest divisor of $562873567$ that is at least $2$. Determine the smallest positive integer $x$ such that $1 \\le x \\le 274$ and $a^x \\equiv b \\pmod{m}$. Find the value of $x$.", "answer": 114, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(11),\n \"b\": Const(671),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(562873567))))),\n \"upper\": Const(274),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.146, "created_at": "2026-02-08T09:19:28.323571Z", "verification": {"verified": true, "answer": 114, "timestamp": "2026-02-08T09:19:28.469457Z"}, "problem_hash": "24a28d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 66, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 121, "completion_tokens": 7838}, "timestamp": "2026-02-14T03:20:49.841Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 656}, "timestamp": "2026-02-12T02:50:01.709Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "268270", "alias": "comb_binomial_compute_v1_238844314_578", "problem": "Let $n = 13$. Let $k$ be the smallest divisor of 847 that is at least 2. Define $r = \\binom{n}{k}$. Let $A$ be the sum of the cubes of the positions (starting from 1) of each digit in the decimal representation of $r$, weighted by the corresponding digit. Specifically, if the decimal representation of $r$ has digits $d_0, d_1, \\ldots, d_{m-1}$ from least significant to most, then\n$$\nA = \\sum_{i=0}^{m-1} d_i (i+1)^2.\n$$\nLet $B = 46656$. Compute $A + B$.", "answer": 46745, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(13),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(46656),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:24:54.191611Z", "verification": {"verified": true, "answer": 46745, "timestamp": "2026-02-08T13:24:54.195498Z"}, "problem_hash": "6a7535", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 46790, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 337}, "timestamp": "2026-02-12T06:48:56.026Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "be20ec", "alias": "nt_count_divisors_in_range_v1_971394319_685", "problem": "Let $n = 166320$, $a = 84$, and $b = 33274$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 115, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(166320),\n \"a\": Const(84),\n \"b\": Const(33274),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.443, "created_at": "2026-02-08T13:15:14.879617Z", "verification": {"verified": true, "answer": 115, "timestamp": "2026-02-08T13:15:15.323007Z"}, "problem_hash": "a6d114", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 442}, "timestamp": "2026-02-12T06:26:14.864Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e82213", "alias": "nt_count_divisible_and_v1_168721529_1793", "problem": "Let $n = 279841$. Define $w = \\mu(n)^2$, where $\\mu$ denotes the M\\\"obius function. Let $p = 71$ and $u = \\Omega(p)$, where $\\Omega(p)$ is the number of prime factors of $p$ counted with multiplicity. Define $d_1 = 6u$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 25$. Define $d_2 = \\min\\{x + y \\mid (x, y) \\in S\\} + w$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 146910$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Compute the Fibonacci entry point of $|N| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|N| + 2$. Find the value of this $k$.", "answer": 840, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(279841),\n \"w\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"p\": Const(71),\n \"u\": BigOmega(n=Ref(name='p')),\n \"upper\": Const(146910),\n \"d1\": Mul(Const(6), Ref(\"u\")),\n \"d2\": Sum(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"w\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_SQUAREFREE", "BIG_OMEGA_ONE"], "recipe_id": "c94963", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 9.383, "created_at": "2026-02-08T13:54:59.006490Z", "verification": {"verified": true, "answer": 840, "timestamp": "2026-02-08T13:55:08.389403Z"}, "problem_hash": "9d695d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 345, "completion_tokens": 3272}, "timestamp": "2026-02-09T21:40:54.794Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "test"} +{"id": "910d8c", "alias": "nt_count_divisible_v1_151522320_1202", "problem": "Let $n$ be the largest integer such that $5^n$ divides $17920!$. Define $f = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Let $h = \\sum_{d \\mid 1} \\mu(d)$. Define $D = 4h$. Let $R$ be the number of positive integers at most $54756$ that are divisible by $D$. Compute $20160 + f - R$.", "answer": 6471, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"h\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": MaxKDivides(target=Factorial(Const(17920)), base=Const(5)),\n \"f\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(54756),\n \"divisor\": Mul(Const(4), Ref(\"h\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sub(Sum(Const(20160), Ref(\"f\")), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "f9c555", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "V1"], "num_lemmas": 3, "generation_time": 1.738, "created_at": "2026-02-08T03:50:35.895552Z", "verification": {"verified": true, "answer": 6471, "timestamp": "2026-02-08T03:50:37.633222Z"}, "problem_hash": "8a496f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SUM": "ok", "V1": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K5": "same_pattern_wrong", "K15": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "test"} +{"id": "ef0798", "alias": "modular_min_linear_v1_1820931509_554", "problem": "Let $a = 29823$, $b = 37713$, and $m = 55300$. Let $x_0$ be the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and\n$$\n29823x \\equiv 37713 \\pmod{55300}.\n$$\nLet $r_1 = x_0 \\bmod{317}$ and $r_2 = x_0 \\bmod{313}$. Let $N$ be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 4006$. Compute the value of\n$$\n(r_1 + N \\cdot r_2) \\bmod{93202}.\n$$\nDetermine the value of this result.", "answer": 44907, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(29823),\n \"b\": Const(37713),\n \"m\": Const(55300),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(317)), Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4006))))), Mod(value=Ref(\"result\"), modulus=Const(313)))), modulus=Const(93202)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "cc201f", "seed_template_id": "modular_min_linear_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 5.452, "created_at": "2026-02-08T11:46:10.683347Z", "verification": {"verified": true, "answer": 44907, "timestamp": "2026-02-08T11:46:16.135544Z"}, "problem_hash": "5fb1a4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44907, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 2807}, "timestamp": "2026-02-14T18:43:08.342Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 526}, "timestamp": "2026-02-12T04:34:23.757Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "72de68", "alias": "nt_count_gcd_equals_v1_2051736721_2758", "problem": "Let $d_1$ be the smallest divisor of 26625551 that is at least 2. Let $k = 437$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq d_1$ and $\\gcd(n, k) = 1$.", "answer": 4669, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(26625551))))),\n \"k\": Const(437),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.602, "created_at": "2026-02-08T16:54:18.683684Z", "verification": {"verified": true, "answer": 4669, "timestamp": "2026-02-08T16:54:19.285398Z"}, "problem_hash": "10eabe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 396, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 494}, "timestamp": "2026-02-12T21:21:46.044Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "K16": "no", "L3c": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dfb183", "alias": "modular_min_linear_v1_548369836_152", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y$ is equal to the largest integer $k$ for which $11^k$ divides $110!$. Let $P$ be the product of all values $xy$ over pairs $(x, y)$ in $A$. Let $d_{\\max}$ be the maximum positive divisor of $P$. Define $g = \\sum_{d \\mid d_{\\max}} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $m = 31269$. Find the smallest positive integer $x$ such that $x \\geq g$, $x \\leq m$, and $23200x \\equiv 16473 \\pmod{m}$.", "answer": 17634, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(23200),\n \"b\": Const(16473),\n \"m\": Const(31269),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), SumOverDivisors(n=GCD(a=Const(value=12), b=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=MaxKDivides(target=Factorial(arg=Const(value=110)), base=Const(value=11))))), expr=Mul(Var(name='x'), Var(name='y'))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/B1/MOBIUS_COPRIME"], "recipe_id": "0e26d0", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "generation_time": 3.444, "created_at": "2026-02-08T02:47:14.754045Z", "verification": {"verified": true, "answer": 17634, "timestamp": "2026-02-08T02:47:18.198492Z"}, "problem_hash": "fef7f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 2208}, "timestamp": "2026-02-08T19:54:43.763Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 277, "completion_tokens": 2438}, "timestamp": "2026-02-09T20:22:13.577Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:29:52.251Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 16473, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 538}, "timestamp": "2026-02-09T02:47:46.044Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 2413}, "timestamp": "2026-02-09T09:30:01.861Z"}], "solution_status": 1, "lemma_applicability": {"V1": "ok", "B1": "ok_later", "MOBIUS_COPRIME": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "test"} +{"id": "c61f38", "alias": "nt_gcd_compute_v1_1440796553_593", "problem": "Let $a = 243586$ and $b = 452374$. Define $d = \\gcd(a, b)$. Let $s$ be the sum of the digits of $|d|$, where each digit at position $i$ (starting from 0 at the units place) is multiplied by $\\left(i + \\sum_{k \\mid m} \\mu(k)\\right)^2$, where $m$ is the sum of all positive integers $n$ such that $1 \\leq n \\leq 5$ and $n \\equiv 0 \\pmod{5}$. Compute $30000 \\cdot s$.", "answer": 30246, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"a\": Const(243586),\n \"b\": Const(452374),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(30000),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=Const(value=3), b=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=5)), Eq(left=Mod(value=Var(name='n'), modulus=Ref(name='_n')), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME"], "recipe_id": "699c68", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T11:52:46.800741Z", "verification": {"verified": true, "answer": 30246, "timestamp": "2026-02-08T11:52:46.803733Z"}, "problem_hash": "07d533", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "V8": "no"}, "split": "test"} +{"id": "61dd7f", "alias": "nt_gcd_compute_v1_151522320_1259", "problem": "Let $n = 77$, and let $p$ be the smallest prime divisor of $n$. Let $m$ be the smallest positive integer such that $3^1$ divides $m!$, and define $n_1 = p^m$. Let $h = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function. Let $s$ be the number of distinct prime factors of 28561. Define $a = 223200 + h$ and $b = 418500 \\cdot s$. Compute $\\gcd(a, b)$. Find the value of this greatest common divisor.", "answer": 27900, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"n1\": Pow(Ref(\"p\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(1)), domain='Z_{>0}'))),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Const(28561),\n \"s\": SmallOmega(n=Ref(name='n')),\n \"a\": Sum(Const(223200), Ref(\"h\")),\n \"b\": Mul(Const(418500), Ref(\"s\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE", "V5/LIOUVILLE_MINUS_ONE", "OMEGA_ONE"], "recipe_id": "ac03a4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "OMEGA_ONE", "V5"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T03:51:43.050636Z", "verification": {"verified": true, "answer": 27900, "timestamp": "2026-02-08T03:51:43.054763Z"}, "problem_hash": "361a9c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "OMEGA_ONE": "ok", "V5": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "L3c": "no", "MOD_MUL": "no"}, "split": "test"} +{"id": "f87db7", "alias": "nt_min_coprime_above_v1_124444284_4867", "problem": "Let $N = 1826$. Define $m$ to be the number of positive integers $n$, with $1 \\leq n \\leq N$, such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $I$ be the interval $[50626, 50801]$. Define $r$ to be the smallest integer in $I$ that is relatively prime to $m$. Compute the remainder when $44121 \\cdot r$ is divided by $83078$.", "answer": 78759, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1826),\n \"start\": Const(50625),\n \"upper\": Const(50801),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(83078)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T06:16:33.389105Z", "verification": {"verified": true, "answer": 78759, "timestamp": "2026-02-08T06:16:33.410181Z"}, "problem_hash": "d57660", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 78759, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 3189}, "timestamp": "2026-02-12T21:39:00.583Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 384}, "timestamp": "2026-02-11T23:46:45.378Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "K5": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "618dc0", "alias": "comb_factorial_compute_v1_655260480_1916", "problem": "Let $n$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides $3773$. Compute $n!$. Then compute the sum $\\sum_{k=1}^{n!} \\phi(k)$, where $\\phi(k)$ denotes Euler's totient function. Find the remainder when this sum is divided by $79296$.", "answer": 29944, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3773))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))), modulus=Const(79296)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.352, "created_at": "2026-02-08T16:28:45.211635Z", "verification": {"verified": true, "answer": 29944, "timestamp": "2026-02-08T16:28:45.563564Z"}, "problem_hash": "38d9d2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 430}, "timestamp": "2026-02-12T10:45:18.599Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1c9d80", "alias": "nt_sum_over_divisible_v1_677425708_516", "problem": "Let $N = 801534934921667151341099705764135072565247178616151100650274250054958024988947075903104444839622322062775315266357628992145586264611497840902652066551447901335711908209214194627411037559629498622234675370694401772779813370861735137861296320301309781696996657765653426175210807543626865725262095020185402699761224890772233406773967395135070195945827007000502007108479944431535703421546549269328116823488521155115265788770824562637284499316795141882189087154248912492121050703118696065931750445631150908088393625684663600806564527636068451509875260468491525098920082007285696081447536429114020057429637675694482564963897857880518226204205212737142630529143961018514989200821957973444043804296554993455936922422660726585823458957159034334599556473962230838091101619565520368785861988998188960943317833577242967196347118691320176996825678712823894945229696964813241346351873627630546707018566462988406705638129095149913412419087858972171706743$.\n\nLet $e$ be the largest integer $k$ such that $7^k$ divides $N^5$. Let $d$ be the largest positive divisor of 36091 that is at most 187. Compute the sum of all positive integers $n$ such that $n \\leq e$ and $n$ is divisible by $d$.", "answer": 81345, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"upper\": MaxKDivides(target=Pow(Const(801534934921667151341099705764135072565247178616151100650274250054958024988947075903104444839622322062775315266357628992145586264611497840902652066551447901335711908209214194627411037559629498622234675370694401772779813370861735137861296320301309781696996657765653426175210807543626865725262095020185402699761224890772233406773967395135070195945827007000502007108479944431535703421546549269328116823488521155115265788770824562637284499316795141882189087154248912492121050703118696065931750445631150908088393625684663600806564527636068451509875260468491525098920082007285696081447536429114020057429637675694482564963897857880518226204205212737142630529143961018514989200821957973444043804296554993455936922422660726585823458957159034334599556473962230838091101619565520368785861988998188960943317833577242967196347118691320176996825678712823894945229696964813241346351873627630546707018566462988406705638129095149913412419087858972171706743), Const(5)), base=Ref(\"_n\")),\n \"divisor\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(187)), Divides(divisor=Var(\"d\"), dividend=Const(36091))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_DIVISOR", "K14"], "recipe_id": "8e611a", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 3.91, "created_at": "2026-02-08T03:35:11.855136Z", "verification": {"verified": true, "answer": 81345, "timestamp": "2026-02-08T03:35:15.765437Z"}, "problem_hash": "175166", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 507, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:41:57.554Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 503, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:13:15.610Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "MAX_DIVISOR": "ok", "C2": "no", "K15": "no", "L3b": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "01bce0", "alias": "algebra_poly_eval_v1_784195855_3772", "problem": "Let $m$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1\\le a\\le 4,\\quad 1\\le b\\le 10,\\quad 7\\le t\\le 40,$$\nand\n$$t=5a+2b.$$\n\nLet $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=926100,\\quad \\gcd(p,q)=1,\\quad p0} : \\nu_{13}(n!) \\geq 14 \\right\\} - 225 \\cdot 17 \\right|,\n$$\nand\n$$\nb = \\gcd(169, 17) + \\gcd(56, 94) + \\gcd(225, 111).\n$$\nCompute the value of $\\frac{a + 2 - b}{2}$.", "answer": 7465, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2313)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"_n\": Const(17),\n \"area_2x\": Abs(arg=Sum(Mul(MinOverSet(set=SolutionsSet(var=Var(name='n'), condition=Geq(left=MaxKDivides(target=Factorial(arg=Var(name='n')), base=Const(value=13)), right=Const(value=14)), domain='Z_{>0}')), Const(value=111)), Mul(Const(value=225), Sub(left=Const(value=0), right=Const(value=17))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=17))), GCD(a=Abs(arg=Sub(left=Const(value=225), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=111), right=Ref(name='_n')))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=225))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=111))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "C5/V5"], "recipe_id": "9cd50e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR", "V5"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T13:08:45.063360Z", "verification": {"verified": true, "answer": 7465, "timestamp": "2026-02-08T13:08:45.074146Z"}, "problem_hash": "d7a085", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7465, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 2135}, "timestamp": "2026-02-09T06:36:17.723Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 971, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 646}, "timestamp": "2026-02-09T18:58:52.728Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "V5": "ok_later", "K13": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "test"} +{"id": "dc1ac1", "alias": "algebra_vieta_sum_v1_1978505735_3334", "problem": "Let $m = 64862$. Define $n$ to be the smallest divisor of $6137$ that is at least $2$. Let $r$ be the product of all real solutions $x$ to the equation\n$$\nx^3 + 9x^2 - 52x - 420 = 0.\n$$\nLet $c$ be the largest prime number $p$ such that $2 \\leq p \\leq n$.\n\nDefine $Q$ to be the remainder when $c - r$ is divided by $m$.\n\nFind the value of $Q$.", "answer": 64459, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64862),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6137))))),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=3)), Mul(Const(value=9), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=-52), Var(name='x')), Const(value=-420)), right=Const(value=0)))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW"], "recipe_id": "347dee", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.032, "created_at": "2026-02-08T17:34:09.500681Z", "verification": {"verified": true, "answer": 64459, "timestamp": "2026-02-08T17:34:09.532472Z"}, "problem_hash": "6b80f8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 493, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 361}, "timestamp": "2026-02-12T22:50:03.662Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "LTE_DIFF": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b99a19", "alias": "nt_sum_totient_over_divisors_v1_2080023795_128", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $105875$. Let $u$ be the number of prime factors of $p$ counted with multiplicity. Let $n_1$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 25343$. Let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Define $n = 32990u + e$. Compute the value of $\\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function.", "answer": 32990, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(105875))))),\n \"u\": BigOmega(n=Ref(name='p')),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(25343)), IsPrime(Var(\"n\"))))),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Mul(Const(32990), Ref(\"u\")), Ref(\"e\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "COUNT_PRIMES/DIVISOR_PARITY"], "recipe_id": "361444", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_PRIMES", "DIVISOR_PARITY", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T11:34:03.929951Z", "verification": {"verified": true, "answer": 32990, "timestamp": "2026-02-08T11:34:03.936541Z"}, "problem_hash": "b3d391", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:45:28.465Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:47:45.041Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 32990, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 474}, "timestamp": "2026-02-09T10:17:41.936Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32990, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 1519}, "timestamp": "2026-02-09T20:45:12.267Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.39, "mid": 0.81, "hi": 3.59}, "split": "test"} +{"id": "b64167", "alias": "nt_count_divisors_in_range_v1_1520064083_8038", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 24$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 3$, and $t = 3a + 4b$. Let $m$ be the number of elements in $T$. Define $c = 12$ and let\n$$\nx = \\sum_{k=1}^{c} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor.\n$$\nLet $n = 110880$ and $a = 3$. Let $b$ be the sum of all positive integers from $1$ to $x$. Let $D$ be the set of all positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $r$ be the number of elements in $D$. Find the remainder when $44121 \\cdot r$ is divided by $73592$.", "answer": 10717, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(12),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=24)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"n\": Const(110880),\n \"a\": Const(3),\n \"b\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(73592)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K2/SUM_ARITHMETIC"], "recipe_id": "a86604", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.033, "created_at": "2026-02-08T09:29:52.630305Z", "verification": {"verified": true, "answer": 10717, "timestamp": "2026-02-08T09:29:52.663017Z"}, "problem_hash": "0b814c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40188, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 3542}, "timestamp": "2026-02-14T06:02:07.122Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 339, "completion_tokens": 550}, "timestamp": "2026-02-12T03:08:48.357Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "K2": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "K17": "no", "K18": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "036336", "alias": "comb_count_derangements_v1_458359167_171", "problem": "Let $m = 47$. Let $k$ be the largest integer such that $47^k$ divides $47^9$. Determine the number $n$ of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 7$, $1 \\leq j \\leq 8$, and $i + j = k$. Compute the remainder when $78825$ multiplied by the subfactorial of $n$ is divided by $79112$.", "answer": 21686, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(47),\n \"_n\": MaxKDivides(target=Pow(Ref(\"_m\"), Const(9)), base=Const(47)),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(78825),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(79112)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/COUNT_SUM_EQUALS"], "recipe_id": "d425be", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "K14"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T03:03:07.437402Z", "verification": {"verified": true, "answer": 21686, "timestamp": "2026-02-08T03:03:07.453654Z"}, "problem_hash": "7a7a81", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K15": "no", "MOD_MUL": "no", "V1": "no"}, "split": "test"} +{"id": "d37827", "alias": "algebra_quadratic_discriminant_v1_1978505735_254", "problem": "Let $d = 2$. Let $m$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 400$. Let $n = 4$. Define $a = -1$ and $b = 1$. Let $c$ be the number of positive integers $n'$ such that $1 \\leq n' \\leq m$ and the sum of the decimal digits of $n'$ is divisible by $d$. Compute the remainder when $36951$ multiplied by $\\left( b^{t} - n \\cdot a \\cdot c \\right)$ is divided by $66626$, where $t$ is the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 6$ and $\\gcd(p, q) = 1$.", "answer": 61487, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(4),\n \"a\": Const(-1),\n \"b\": Const(1),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_d\")), Const(0))))),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"_c\": Const(36951),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66626)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "B3/L3B"], "recipe_id": "72b4e3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "L3B"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T15:15:06.358512Z", "verification": {"verified": true, "answer": 61487, "timestamp": "2026-02-08T15:15:06.363683Z"}, "problem_hash": "947347", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 468}, "timestamp": "2026-02-12T08:02:38.714Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "L3B": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "DS2": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c7d048", "alias": "comb_count_derangements_v1_153355830_1421", "problem": "Let $n = 8$. Define $r$ to be the number of derangements of $n$ elements. Let $c$ be the number of positive integers $k$ such that $1 \\leq k \\leq 53328$ and $8$ divides the $k$-th Fibonacci number. Compute the value of\n$$\n\\sum_{i=0}^{d - s} \\left( \\text{digit}_i(|r|) \\cdot (i+1)^2 \\right) + c,\n$$\nwhere $\\text{digit}_i(x)$ denotes the $i$-th decimal digit of $x$ (starting from the units digit at $i=0$), $d$ is the number of digits of $|r|$, and $s = \\sum_{d \\mid \\gcd(17,19)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Find the value of this expression.", "answer": 9064, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"n\": Const(8),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(53328)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), SumOverDivisors(n=GCD(a=Const(value=17), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d')))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "MOBIUS_COPRIME"], "recipe_id": "4441b1", "seed_template_id": "comb_count_derangements_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T06:23:29.329557Z", "verification": {"verified": true, "answer": 9064, "timestamp": "2026-02-08T06:23:29.336234Z"}, "problem_hash": "6351ea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok", "K15": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "0c4081", "alias": "diophantine_product_count_v1_1978505735_4446", "problem": "Let $ k = 720 $ and $ U = 159 $. Let $ S $ be the set of all positive integers $ x $ such that $ 1 \\le x \\le U $, $ x $ divides $ k $, and $ \\frac{k}{x} \\le U $.\n\nLet $ r $ be the number of elements in $ S $. Compute the smallest positive integer $ k $ such that the $ k $-th Fibonacci number is divisible by $ |r| + 2 $.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(720),\n \"upper\": Const(159),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.03, "created_at": "2026-02-08T18:15:34.283170Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T18:15:34.313171Z"}, "problem_hash": "680acf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 431}, "timestamp": "2026-02-12T23:55:40.171Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_DIFF_P2": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5cb042", "alias": "nt_count_divisors_in_range_v1_655260480_3921", "problem": "Let $n = 15120$. Let $a = 10$ and let $b$ be the number of integers $n_1$ with $1 \\le n_1 \\le 4229$ such that $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a \\le d \\le b$. Compute the remainder when $44121 \\cdot r$ is divided by $84319$. Determine the value of this quantity.", "answer": 69646, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(15120),\n \"a\": Const(10),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(4229)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(84319)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.038, "created_at": "2026-02-08T17:37:40.250754Z", "verification": {"verified": true, "answer": 69646, "timestamp": "2026-02-08T17:37:40.289040Z"}, "problem_hash": "496c59", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 369}, "timestamp": "2026-02-12T22:52:07.952Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K16": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "681372", "alias": "modular_sum_quadratic_residues_v1_458359167_5593", "problem": "Let $n = 87025$. Let $p$ be the smallest prime divisor of $236410337$ that is at least $2$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Find the value of $(n - \\text{result}) \\mod 90032$.", "answer": 82039, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87025),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(236410337))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Const(90032)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:36:30.056436Z", "verification": {"verified": true, "answer": 82039, "timestamp": "2026-02-08T12:36:30.057936Z"}, "problem_hash": "096975", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6907, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 271}, "timestamp": "2026-02-12T05:22:53.931Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "K16": "no", "K18": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "63adae", "alias": "antilemma_k2_v1_151522320_1456", "problem": "Let $x = \\sum_{k=1}^{342} \\phi(k) \\left\\lfloor \\frac{342}{k} \\right\\rfloor$. Compute the remainder when $x^2 + \\left( \\sum_{d \\mid 33} \\phi(d) \\right) x + 200$ is divided by $95646$.", "answer": 1910, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(200),\n \"x\": Summation(var=\"k\", start=Const(1), end=Const(342), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(342), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(SumOverDivisors(n=Const(value=33), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"x\")), Ref(\"_n\")), modulus=Const(95646)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "K2"], "recipe_id": "4a5a8c", "seed_template_id": "antilemma_k2_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:01:53.544656Z", "verification": {"verified": true, "answer": 1910, "timestamp": "2026-02-08T04:01:53.545884Z"}, "problem_hash": "da18e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 1910, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 1774}, "timestamp": "2026-02-10T15:12:53.668Z"}, {"id": 8, "model": "mathstral", "answer": 200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 142, "completion_tokens": 891}, "timestamp": "2026-02-13T05:26:30.959Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 586}, "timestamp": "2026-02-11T20:23:17.898Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "K3": "ok", "C2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "f062a2", "alias": "modular_sum_quadratic_residues_v1_2051736721_3447", "problem": "Let $p = 461$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 72$. Let $Q$ be the remainder when $c - \\text{result}$ is divided by $70718$. Find the value of $Q$.", "answer": 18999, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(461),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(72)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(70718)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:18:18.087680Z", "verification": {"verified": true, "answer": 18999, "timestamp": "2026-02-08T17:18:18.089655Z"}, "problem_hash": "0285c8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 51719, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 385}, "timestamp": "2026-02-12T22:15:55.872Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f0edc2", "alias": "antilemma_product_of_sums_v1_784195855_2632", "problem": "Let $S_1$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 5$. Let $S_2$ be the sum of all nonnegative integers $j \\leq 15$ such that $\\binom{15}{j}$ is odd. Define $x = S_1 \\cdot S_2$. Let $c$ be the largest positive divisor of $68674333$ that does not exceed $8281$. Compute the remainder when $x^2 + 13x + c$ is divided by $65534$.", "answer": 10793, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=Const(15), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(8281)), Divides(divisor=Var(\"d\"), dividend=Const(68674333))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(13), Ref(\"x\")), Ref(\"_c\")), modulus=Const(65534)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR", "PRODUCT_OF_SUMS"], "recipe_id": "b634d4", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:54:44.022773Z", "verification": {"verified": true, "answer": 10793, "timestamp": "2026-02-08T05:54:44.024715Z"}, "problem_hash": "90e2aa", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "PRODUCT_OF_SUMS": "ok", "K5": "no", "L3b": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "split": "test"} +{"id": "d38670", "alias": "algebra_quadratic_discriminant_v1_655260480_1668", "problem": "Let $a = 5$, $b = -10$, $c = -8$, and $n = 4$. Define $\\text{result} = b^2 - 4ac$. Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 164$, and let $m$ be the maximum value of $xy$ over all such pairs. Compute $m - \\text{result}$.", "answer": 6464, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(5),\n \"b\": Const(-10),\n \"c\": Const(-8),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(164)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:17:14.233727Z", "verification": {"verified": true, "answer": 6464, "timestamp": "2026-02-08T16:17:14.236643Z"}, "problem_hash": "aebd3c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6464, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 455}, "timestamp": "2026-02-12T10:15:25.907Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "f4be78", "alias": "modular_modexp_compute_v1_865884756_3232", "problem": "Let $a = 29$. Let $e$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 97879$. Let $m = 67081$. Define $r$ to be the remainder when $a^e$ is divided by $m$. Let $S$ be the set of all prime numbers $n_1$ such that $2 \\leq n_1 \\leq 12$, and let $t$ be the maximum element of $S$. Compute the Bell number $B_k$, where $k$ is the remainder when $|r|$ is divided by $t$. Determine the value of $B_k$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(29),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(97879)), IsPrime(Var(\"n\"))))),\n \"m\": Const(67081),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(12)), IsPrime(Var(\"n1\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COUNT_PRIMES"], "recipe_id": "872904", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T17:14:47.126413Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T17:14:47.135255Z"}, "problem_hash": "ea16de", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 453}, "timestamp": "2026-02-12T22:09:36.456Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "44d1a9", "alias": "nt_count_with_divisor_count_v1_784195855_9160", "problem": "Let $S$ be the set of all positive integers $n$ such that $n$ has exactly 6 positive divisors and $1 \\leq n \\leq d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest integer greater than or equal to 2 that divides 195077982937.\n\nCompute the number of elements in $S$.", "answer": 480, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(195077982937))))),\n \"div_count\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.241, "created_at": "2026-02-08T16:34:30.190785Z", "verification": {"verified": true, "answer": 480, "timestamp": "2026-02-08T16:34:30.431428Z"}, "problem_hash": "691027", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 248}, "timestamp": "2026-02-12T11:02:06.918Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_MUL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "90ef4a", "alias": "algebra_poly_eval_v1_898971024_2044", "problem": "Let $n = 7$. Let $m$ be the smallest divisor of $323$ that is at least $2$. Let $a$ be the smallest divisor of $77$ that is at least $2$. Compute $a \\cdot m^2 + n \\cdot m - 1$.", "answer": 2141, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(323))))),\n \"result\": Sum(Mul(MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(77))))), Pow(Ref(\"m\"), Const(2))), Mul(Ref(\"_n\"), Ref(\"m\")), Const(-1)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T16:30:32.311831Z", "verification": {"verified": true, "answer": 2141, "timestamp": "2026-02-08T16:30:32.315940Z"}, "problem_hash": "6860da", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2141, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 278}, "timestamp": "2026-02-12T10:45:07.943Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "03f401", "alias": "comb_binomial_compute_v1_655260480_3929", "problem": "Let $n$ be the smallest divisor of $1356277$ that is greater than or equal to $2$. Let $k = 5$. Compute the remainder when $44121 \\times \\binom{n}{k}$ is divided by $57626$.", "answer": 22117, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1356277))))),\n \"k\": Const(5),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(57626)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:37:40.426925Z", "verification": {"verified": true, "answer": 22117, "timestamp": "2026-02-08T17:37:40.429041Z"}, "problem_hash": "51d00b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 342}, "timestamp": "2026-02-12T22:52:13.977Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2a242b", "alias": "antilemma_count_primes_v1_151522320_169", "problem": "Let $m = 23172$. Determine the number of positive integers $n$ with $1 \\le n \\le m$ such that the $n$th Fibonacci number is divisible by $16$. Let $k$ be this count. Now compute the number of prime numbers $p$ such that $2 \\le p \\le v$, where $v$ is the largest integer for which $17^v$ divides $17^k$. Find this number.", "answer": 294, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23172),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(16), dividend=Fibonacci(arg=Var(name='n')))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Pow(Const(17), Ref(\"_n\")), base=Const(17))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/K14/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "e809d0", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "COUNT_PRIMES", "K14"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:01:53.782233Z", "verification": {"verified": true, "answer": 294, "timestamp": "2026-02-08T03:01:53.784228Z"}, "problem_hash": "4fd60e", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 294, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 6967}, "timestamp": "2026-02-09T00:04:08.685Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "COUNT_PRIMES": "ok", "K14": "ok_later", "MOD_FACTORIAL": "no", "V1": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "f30afc", "alias": "modular_product_range_v1_124444284_1076", "problem": "Let $m$ be the largest integer $k$ such that $11^k$ divides $418!$. Let $A$ be the largest integer $s$ such that $m^s$ divides $\\left(302862043149743582494593171234930481\\right)^2$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=69696$, and let $B$ be the minimum value of $x+y$ over all such pairs.\n\nDefine\n$$P=\\prod_{i=A}^{B} i.$$\nLet $R$ be the remainder when $P$ is divided by $10531$, and let\n$$Q\\equiv 44121\\cdot R\\pmod{91502},\\qquad 0\\le Q<91502.$$\n\nFind the value of $Q$. ", "answer": 25764, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(91502),\n \"_m\": MaxKDivides(target=Factorial(Const(418)), base=Const(11)),\n \"_n\": Const(44121),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxKDivides(target=Pow(Const(302862043149743582494593171234930481), Const(2)), base=Ref(\"_m\")), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(69696)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10531)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/B3/K14"], "recipe_id": "8222e3", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "K14", "V1"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T03:40:55.581559Z", "verification": {"verified": true, "answer": 25764, "timestamp": "2026-02-08T03:40:55.592173Z"}, "problem_hash": "16388d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:23:17.730Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 8192}, "timestamp": "2026-02-09T09:20:27.193Z"}], "solution_status": 0, "lemma_applicability": {"V1": "ok", "B3": "ok_later", "K14": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "795552", "alias": "nt_count_digit_sum_v1_458359167_244", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 5929$. Let $T$ be the set of all values of $x + y$ as $(x, y)$ ranges over $S$. Let $M$ be the minimum value in $T$. Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq M$ and the sum of the digits of $n$ is even. Let $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq A$ and $\\gcd(n, 12) = 1$. Compute the number of positive integers $n$ not exceeding 99999 such that the sum of the digits of $n$ equals $B$.", "answer": 5280, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"upper\": Const(99999),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(5929)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3B/C4"], "recipe_id": "74093d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C4", "L3B"], "num_lemmas": 3, "generation_time": 3.518, "created_at": "2026-02-08T03:05:37.326142Z", "verification": {"verified": true, "answer": 5280, "timestamp": "2026-02-08T03:05:40.844381Z"}, "problem_hash": "1bd21e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 5113}, "timestamp": "2026-02-10T13:19:21.394Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 3269}, "timestamp": "2026-02-10T12:57:41.834Z"}, {"id": 8, "model": "mathstral", "answer": 720, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 697}, "timestamp": "2026-02-11T16:36:15.553Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 390}, "timestamp": "2026-02-11T20:25:53.233Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "C4": "ok_later", "L3B": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K15": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "0d007c", "alias": "sequence_fibonacci_compute_v1_50713871_37", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 47$ and the sum of the decimal digits of $n$ is odd. Let $B$ be the number of positive integers $j$ such that $j^5 \\leq 7962624$ and $1 \\leq j \\leq A$. Let $F_B$ denote the $B$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$. Compute the remainder when $44121 \\cdot F_B$ is divided by $99958$.", "answer": 62100, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(47),\n \"_n\": Const(5),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(7962624))), domain='positive_integers')),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(99958)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C3"], "recipe_id": "16113d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "L3B"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:43:44.820663Z", "verification": {"verified": true, "answer": 62100, "timestamp": "2026-02-08T02:43:44.822626Z"}, "problem_hash": "dbf3c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 62100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 3161}, "timestamp": "2026-02-08T19:45:15.655Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 62100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 3324}, "timestamp": "2026-02-09T19:18:06.909Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:39:59.275Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 62100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 6539}, "timestamp": "2026-02-10T13:52:53.828Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62100, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 2309}, "timestamp": "2026-02-09T23:13:19.774Z"}, {"id": 8, "model": "mathstral", "answer": 730, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 246}, "timestamp": "2026-02-11T02:55:55.390Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 281}, "timestamp": "2026-02-11T19:40:08.985Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "C3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "test"} +{"id": "1afe64", "alias": "diophantine_fbi2_min_v1_1470522791_1877", "problem": "Let $k = 35$. Find the smallest integer $d$ such that $7 \\leq d \\leq 45$, $d$ divides $k$, and $\\frac{k}{d} \\geq m$, where $m$ is the smallest integer at least 2 that divides 15. Compute the value of $d$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(35),\n \"upper\": Const(45),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.143, "created_at": "2026-02-08T14:02:36.379581Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T14:02:36.522196Z"}, "problem_hash": "aa146e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 258}, "timestamp": "2026-02-12T07:45:56.492Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "d5c66e", "alias": "sequence_fibonacci_compute_v1_151522320_1457", "problem": "Let $d_0=4$, $c_0=7$, and $m=2$. Consider the sum\n$$S=\\sum_{k=1}^{d_0} \\varphi(k)\\left\\lfloor \\frac{4}{k} \\right\\rfloor,$$\nwhere $\\varphi$ is the Euler totient function. Let $D$ be the set of all integers $d$ with $1\\le d\\le m$ such that $d$ divides $S$. Assume $D$ is nonempty, and let $n_0$ be the largest element of $D$.\n\nConsider the sum\n$$T=\\sum_{k=1}^{c_0} k.$$\nLet $N$ be the set of all integers $n$ such that $n_0\\le n\\le T$ and $n$ is prime. Assume $N$ is nonempty, and let $n$ be the largest element of $N$.\n\nLet $Q$ be the $n$th Fibonacci number $F_n$.\n\nFind the value of $Q$. $$", "answer": 28657, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(4),\n \"_c\": Const(7),\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Summation(var=\"k\", start=Const(1), end=Ref(\"_d\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\"))), IsPrime(Var(\"n\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MAX_DIVISOR/MAX_PRIME_BELOW", "SUM_ARITHMETIC/MAX_PRIME_BELOW"], "recipe_id": "59e7c9", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_DIVISOR", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:01:53.550434Z", "verification": {"verified": true, "answer": 28657, "timestamp": "2026-02-08T04:01:53.554044Z"}, "problem_hash": "01e21f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 28657, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 339, "completion_tokens": 925}, "timestamp": "2026-02-10T15:12:52.606Z"}, {"id": 8, "model": "mathstral", "answer": 276, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 779}, "timestamp": "2026-02-13T05:26:40.576Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 331, "completion_tokens": 319}, "timestamp": "2026-02-11T20:23:18.179Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "MAX_DIVISOR": "ok_later", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "c9c76a", "alias": "modular_sum_quadratic_residues_v1_865884756_5604", "problem": "Let $p$ be the smallest prime divisor of 58077825109388569. Compute $\\frac{p(p-1)}{4}$.", "answer": 95018, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(58077825109388569))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:42:37.604769Z", "verification": {"verified": true, "answer": 95018, "timestamp": "2026-02-08T18:42:37.606100Z"}, "problem_hash": "6cb675", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 137}, "timestamp": "2026-02-13T00:25:43.957Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "5b2fbb", "alias": "comb_count_derangements_v1_1520064083_6633", "problem": "Let $n = 7$. The number of derangements of $n$ elements is denoted by $!n$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 110$. Define $P$ to be the maximum value of $xy$ over all such pairs in $S$. Compute $P - !n$.", "answer": 1171, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(110)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "comb_count_derangements_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T08:15:15.569548Z", "verification": {"verified": true, "answer": 1171, "timestamp": "2026-02-08T08:15:15.571151Z"}, "problem_hash": "4e2611", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1171, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 743}, "timestamp": "2026-02-13T16:12:05.634Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": -1015, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 387}, "timestamp": "2026-02-12T01:40:12.552Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "ccbdda", "alias": "modular_modexp_compute_v1_124444284_9789", "problem": "Let $a$ be the smallest divisor of $2021$ that is at least $2$. Let $e = 449$ and $m = 25281$. Define $\\text{result} = a^e \\mod m$, and let $Q = 34191 - \\text{result}$. Compute $Q$.", "answer": 19841, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(34191),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2021))))),\n \"e\": Const(449),\n \"m\": Const(25281),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T12:40:45.352340Z", "verification": {"verified": true, "answer": 19841, "timestamp": "2026-02-08T12:40:45.356860Z"}, "problem_hash": "a3048a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 452}, "timestamp": "2026-02-12T05:28:32.186Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "3fe334", "alias": "modular_mod_compute_v1_1978505735_8287", "problem": "Let $a = -8649$ and $m = 40186$. Define $r$ to be the remainder when $a$ is divided by $m$. Let $d$ be the smallest divisor of $1031153$ that is at least $2$. Let $Q$ be the remainder when $d - r$ is divided by $67926$. Find the value of $Q$.", "answer": 36418, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67926),\n \"a\": Const(-8649),\n \"m\": Const(40186),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1031153))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T20:45:47.476601Z", "verification": {"verified": true, "answer": 36418, "timestamp": "2026-02-08T20:45:47.484972Z"}, "problem_hash": "ed6de0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3614, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 473}, "timestamp": "2026-02-13T01:28:48.895Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K13": "no", "L3b": "no", "L3c": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c32f70", "alias": "nt_euler_phi_compute_v1_865884756_353", "problem": "Let $n_1$ be the smallest positive integer such that $3^{40}$ divides $n_1!$. Let $v$ be the number of distinct prime factors of $n_1$. Define $a = 14v$ and $b = 15$. Let $u = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $n = 40804u$. Compute $\\varphi(n)$.", "answer": 20200, "graph": "graphs = [\n Graph(\n let={\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n2\")), base=Const(3)), Const(40)), domain='Z_{>0}')),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"a\": Mul(Const(14), Ref(\"v\")),\n \"b\": Const(15),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(40804), Ref(\"u\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/OMEGA_ONE", "MOBIUS_COPRIME"], "recipe_id": "f17ebf", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_COPRIME", "OMEGA_ONE", "V5"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:19:28.610735Z", "verification": {"verified": true, "answer": 20200, "timestamp": "2026-02-08T15:19:28.613421Z"}, "problem_hash": "163e60", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "V5": "ok", "OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "L3b": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "e9b5ca", "alias": "nt_min_coprime_above_v1_1520064083_5645", "problem": "Let $s$ be the smallest divisor of $15999976015997$ that is at least $2$. Let $r$ be the smallest integer $n$ such that $s < n \\leq 2132$ and $\\gcd(n, 123) = 1$. Let $c$ be the number of integers $n$ with $1 \\leq n \\leq 159$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute $2^{r} \\bmod{99991} + c$.", "answer": 57449, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15999976015997))))),\n \"upper\": Const(2132),\n \"modulus\": Const(123),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(159)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C", "MIN_PRIME_FACTOR"], "recipe_id": "86ec55", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.028, "created_at": "2026-02-08T07:31:56.700390Z", "verification": {"verified": true, "answer": 57449, "timestamp": "2026-02-08T07:31:56.728714Z"}, "problem_hash": "47caa5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 82548, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 7239}, "timestamp": "2026-02-13T10:52:12.429Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 379}, "timestamp": "2026-02-12T01:07:02.656Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "cf4048", "alias": "antilemma_v7_kummer_1874849503_288", "problem": "Let $d$ be a positive integer divisor of $2289804619483$ with $d \\geq 2$. Let $k$ be the smallest such $d$. Define $\\nu$ to be the number of positive integers $n \\leq k$ such that $\\gcd(n, 30) = 1$. Let $x$ be the largest integer such that $2^x$ divides $\\binom{190}{\\nu}$. Compute $33687 \\times x$.", "answer": 33687, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(190),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2289804619483)))))), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1)))))), base=Const(2)),\n \"_c\": Const(33687),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C4/V7", "V7"], "recipe_id": "a1b933", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T12:55:52.011199Z", "verification": {"verified": true, "answer": 33687, "timestamp": "2026-02-08T12:55:52.014671Z"}, "problem_hash": "dc7668", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:24:03.531Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:06:20.303Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V7": "ok", "C4": "ok_later", "COUNT_SUM_EQUALS": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "test"} +{"id": "b27a2a", "alias": "modular_count_residue_v1_717093673_2849", "problem": "Let $m = 19$ and let $d$ be the smallest integer greater than or equal to 2 that divides 537251. Determine the number of positive integers $n \\leq 61504$ such that $n \\equiv d \\pmod{m}$. Compute this number.", "answer": 3237, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(61504),\n \"m\": Const(19),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.563, "created_at": "2026-02-08T17:13:50.643283Z", "verification": {"verified": true, "answer": 3237, "timestamp": "2026-02-08T17:13:53.206436Z"}, "problem_hash": "17f076", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 291}, "timestamp": "2026-02-12T22:07:18.355Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "569ae9", "alias": "algebra_quadratic_discriminant_v1_784195855_10275", "problem": "Let $b$ be the smallest divisor of $245$ that is at least $2$. Let $r = b^2 - 8b$. Let $c = 32247$. Compute the remainder when $c \\cdot r$ is divided by $72902$.", "answer": 54603, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(2),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(245))))),\n \"c\": Const(8),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"_c\": Const(32247),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72902)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:33:07.175773Z", "verification": {"verified": true, "answer": 54603, "timestamp": "2026-02-08T17:33:07.177103Z"}, "problem_hash": "e7f30a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 26609, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 385}, "timestamp": "2026-02-12T23:06:56.546Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_MUL": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e51e0d", "alias": "geo_count_lattice_rect_v1_397696148_2795", "problem": "Let $a = 80$ and $b = 99$. Define $r$ to be the number of lattice points in the rectangle $[0, a] \\times [0, b]$, including the boundary. Compute the remainder when $12775 \\cdot r$ is divided by $77226$.", "answer": 71886, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(80),\n \"b\": Const(99),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(12775), Ref(\"result\")), modulus=Const(77226)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T13:33:46.956358Z", "verification": {"verified": true, "answer": 71886, "timestamp": "2026-02-08T13:33:46.958687Z"}, "problem_hash": "aaa7bb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49977, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 281}, "timestamp": "2026-02-12T07:48:10.814Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "55e27f", "alias": "modular_min_modexp_v1_898971024_952", "problem": "Let $a = 7$, $b = 14$, and $m$ be the smallest integer greater than or equal to 2 that divides $3498466858369921$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq 191$ and\n$$\n7^x \\equiv 14 \\pmod{m}.\n$$\nCompute the remainder when $82639$ multiplied by this value of $x$ is divided by $62279$.", "answer": 21513, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(7),\n \"b\": Const(14),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3498466858369921))))),\n \"upper\": Const(191),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(82639), Ref(\"result\")), modulus=Const(62279)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T15:48:22.226354Z", "verification": {"verified": true, "answer": 21513, "timestamp": "2026-02-08T15:48:22.252162Z"}, "problem_hash": "d8581b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 328}, "timestamp": "2026-02-12T09:08:53.766Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1163d2", "alias": "nt_count_divisors_in_range_v1_151522320_104", "problem": "Let $p = 47$ and $q = 11$. Define $n_2 = p \\cdot q$. Let $h = \\lambda(n_2)$, where $\\lambda$ denotes the Liouville function. Let $n_1 = 2$ and define $f = \\left(\\sum_{d \\mid n_1} \\phi(d)\\right) - n_1$, where $\\phi$ is Euler's totient function. Let $n = 5040$ and $a = 1 + f$. Let $b$ be the number of positive integers $t$ with $11 \\leq t \\leq 1709$ for which there exist positive integers $a'$ and $b'$ such that $1 \\leq a' \\leq 223$, $1 \\leq b' \\leq 37$, and $t = 7a' + 4b'$. Determine the value of $\\frac{24341 \\cdot h \\cdot r}{75552}$, where $r$ is the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the remainder when this value is taken modulo $75552$.", "answer": 51842, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(47),\n \"q\": Const(11),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"h\": LiouvilleLambda(n=Ref(name='n2')),\n \"n1\": Const(2),\n \"f\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(5040),\n \"a\": Sum(Const(1), Ref(\"f\")),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=223)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=37)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=1709)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Mul(Const(24341), Ref(\"h\")), Ref(\"result\")), modulus=Const(75552)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "LIOUVILLE_ONE", "LIN_FORM"], "recipe_id": "42b0ed", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIN_FORM", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 0.025, "created_at": "2026-02-08T02:58:42.156075Z", "verification": {"verified": true, "answer": 51842, "timestamp": "2026-02-08T02:58:42.180721Z"}, "problem_hash": "c1a289", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 51842, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 375, "completion_tokens": 5904}, "timestamp": "2026-02-08T23:07:18.224Z"}], "solution_status": 2, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "LIN_FORM": "ok", "LIOUVILLE_ONE": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "9fad29", "alias": "nt_count_gcd_equals_v1_865884756_6435", "problem": "Let $m = 34338$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of nonnegative integers $j \\leq 34338$ such that $\\binom{m}{j} \\equiv 1 \\pmod{n}$. Determine the value of the number of positive integers $n \\leq 35344$ such that $\\gcd(n, k) = 1$.", "answer": 17672, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(34338),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(35344),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(34338)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 2.559, "created_at": "2026-02-08T19:12:10.631952Z", "verification": {"verified": true, "answer": 17672, "timestamp": "2026-02-08T19:12:13.190955Z"}, "problem_hash": "2a013f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 600}, "timestamp": "2026-02-13T00:51:54.872Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "K14": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "43fe40", "alias": "nt_count_divisible_and_v1_2051736721_3289", "problem": "Let $d_1 = 12$. Let $d_2$ be the number of positive integers $n$ such that $1 \\leq n \\leq 198$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 167544$, $n_1$ is divisible by $d_1$, and $n_1$ is divisible by $d_2$.", "answer": 4654, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(167544),\n \"d1\": Const(12),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(198)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 6.928, "created_at": "2026-02-08T17:13:09.481678Z", "verification": {"verified": true, "answer": 4654, "timestamp": "2026-02-08T17:13:16.409959Z"}, "problem_hash": "1176b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 592}, "timestamp": "2026-02-12T22:10:57.455Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K13": "no", "K14": "no", "K15": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "330a0c", "alias": "nt_count_with_divisor_count_v1_1520064083_9605", "problem": "Let $u = 41209$. Define $d$ to be the number of positive integers $n \\leq 49$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $r$ be the number of positive integers $n \\leq u$ such that the number of positive divisors of $n$ is exactly $d$. Compute the remainder when $44121r$ is divided by $93704$.", "answer": 67669, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(41209),\n \"div_count\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(49)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(93704)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.895, "created_at": "2026-02-08T10:54:18.088644Z", "verification": {"verified": true, "answer": 67669, "timestamp": "2026-02-08T10:54:20.983286Z"}, "problem_hash": "3c97f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67669, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 2136}, "timestamp": "2026-02-14T09:26:47.308Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 695}, "timestamp": "2026-02-12T03:31:42.649Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "DS2": "no", "K13": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "2e19c6", "alias": "antilemma_count_primes_v1_1520064083_791", "problem": "Let $m = 5$. Let $s = \\sum_{d \\mid \\gcd(8,15)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $n$ to be the number of positive integers $k$ such that $k$ is divisible by $m$, and $s \\leq k \\leq 12695$. Compute the number of prime numbers $p$ such that $2 \\leq p \\leq n$.", "answer": 371, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"k\"), Const(12695)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/COUNT_PRIMES", "MOBIUS_COPRIME", "COUNT_PRIMES"], "recipe_id": "6763d6", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:36:03.939782Z", "verification": {"verified": true, "answer": 371, "timestamp": "2026-02-08T03:36:03.941272Z"}, "problem_hash": "94e10f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "MOBIUS_COPRIME": "ok", "K14": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "0606ed", "alias": "nt_count_divisors_in_range_v1_1742523217_2005", "problem": "Let $a_1 = 60$ and $b_1 = 6$. Define $w = \\sum_{d \\mid \\gcd(a_1,b_1)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $p = 7$, $n_1 = p^3$, and $s = \\lambda(n_1) + \\phi(2) + w$, where $\\lambda$ is the Liouville function and $\\phi$ is Euler's totient function. Let $n = 332640$, $a = 62 + s$, and $b = 2468$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Find the remainder when $44121 \\cdot r$ is divided by $59242$.", "answer": 57192, "graph": "graphs = [\n Graph(\n let={\n \"a1\": Const(60),\n \"b1\": Const(6),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(7),\n \"n1\": Pow(Ref(\"p\"), Const(3)),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n1')), EulerPhi(n=Const(2)), Ref(\"w\")),\n \"n\": Const(332640),\n \"a\": Sum(Const(62), Ref(\"s\")),\n \"b\": Const(2468),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(59242)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "602b1e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.025, "created_at": "2026-02-08T04:24:37.744018Z", "verification": {"verified": true, "answer": 57192, "timestamp": "2026-02-08T04:24:37.768716Z"}, "problem_hash": "241933", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "K17": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "4fcd5d", "alias": "nt_sum_divisors_range_v1_153355830_1099", "problem": "Let $n_1 = 2197$. Define $w$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$, where $\\phi$ denotes Euler's totient function. Let $n = 97$ and define $v$ similarly as the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, minus $n$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 162$. Let $M$ be the set of all values $xy$ where $(x, y) \\in P$. Let $m_{\\text{max}}$ be the maximum element of $M$. Define $\\text{upper} = m_{\\text{max}} + w + v$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$. Let $R$ be the set of the number of positive divisors of each $n \\in S$. Compute the sum of all elements in $R$.", "answer": 58695, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(2197),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(97),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Sum(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(162)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"w\"), Ref(\"v\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["B1/EULER_TOTIENT_SUM"], "recipe_id": "89b113", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.752, "created_at": "2026-02-08T04:23:58.512197Z", "verification": {"verified": true, "answer": 58695, "timestamp": "2026-02-08T04:23:59.263795Z"}, "problem_hash": "1ac579", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "EULER_TOTIENT_SUM": "ok_later", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "e6dfa7", "alias": "nt_count_digit_sum_v1_1520064083_4469", "problem": "Let $s$ be the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = 12$. Let $p$ be the largest prime number less than or equal to $15$. Define $t$ to be the sum of the M\\\"obius function $\\mu(d)$ over all positive divisors $d$ of $\\gcd(11, p)$. Consider the set of all positive integers $n$ such that $n \\ge t$, $n \\le 129600$, and the sum of the decimal digits of $n$ is equal to $s$. Compute the number of such integers, then multiply this count by $85093$ and find the remainder when the result is divided by $93344$.", "answer": 63215, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"upper\": Const(129600),\n \"target_sum\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Ref(name='_n')), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(85093),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(93344)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "B1"], "recipe_id": "45c85d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 4.888, "created_at": "2026-02-08T06:17:33.953688Z", "verification": {"verified": true, "answer": 63215, "timestamp": "2026-02-08T06:17:38.841377Z"}, "problem_hash": "885124", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K14": "no", "MOD_MUL": "no", "V1": "no"}, "split": "test"} +{"id": "781ac8", "alias": "nt_lcm_compute_v1_655260480_2969", "problem": "Let $a$ be the number of integers $t$ such that $23 \\leq t \\leq 2911$ and there exist positive integers $a_1$ and $b_1$ with $1 \\leq a_1 \\leq 449$, $1 \\leq b_1 \\leq 387$, and $t = 3a_1 + 4b_1 + 16$. Let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1205604$. Define $r = \\mathrm{LCM}(a, b)$. Compute the remainder when $77311 \\cdot r$ is divided by $55427$.", "answer": 34910, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77311),\n \"_n\": Const(55427),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=449)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=387)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=2911)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=16)))))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1205604)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T17:05:32.470069Z", "verification": {"verified": true, "answer": 34910, "timestamp": "2026-02-08T17:05:32.475008Z"}, "problem_hash": "e1467a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 400}, "timestamp": "2026-02-12T21:51:50.479Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "L3b": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "77c48f", "alias": "nt_count_coprime_v1_971394319_1716", "problem": "Let $k = 19$ and let $N = 54289$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n, k) = 1$.", "answer": 51432, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(54289),\n \"k\": Const(19),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/K2/B3"], "recipe_id": "91b4b1", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "C5", "K2"], "num_lemmas": 3, "generation_time": 7.206, "created_at": "2026-02-08T13:52:13.436795Z", "verification": {"verified": true, "answer": 51432, "timestamp": "2026-02-08T13:52:20.642384Z"}, "problem_hash": "95d364", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 54288, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 243}, "timestamp": "2026-02-12T07:30:01.678Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "B3": "ok_later", "K2": "ok_later", "DS2": "no", "K16": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e5b5f8", "alias": "nt_sum_totient_over_divisors_v1_124444284_1488", "problem": "Let $m=2$. Let $V$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=49$. Let $W$ be the set of all values of $x+y$ as $(x,y)$ ranges over $V$, and let $L$ be the minimum element of $W$.\n\nLet $n_0$ be the greatest prime number $n$ such that $m\\le n\\le L$.\n\nLet $N=36579$, and let\n\\[\nR=\\sum_{d\\mid N} \\varphi(d),\n\\]\nwhere the sum is taken over all positive divisors $d$ of $N$ and $\\varphi$ denotes Euler's totient function.\n\nLet $X$ be the set of all ordered pairs $(i,j)$ of integers with $1\\le i\\le 11$ and $1\\le j\\le 12$ such that $i+j=n_0$. Let $t$ be the number of elements in $X$.\n\nLet $r$ be the remainder when $|R|$ is divided by $t$, so that $0\\le r a$ with $ab = 18$ and $\\gcd(a, b) = 1$. Compute $\\frac{p(p-1)}{m}$.", "answer": 39303, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(8))))),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(63837997))))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW", "COMB1/MIN_PRIME_FACTOR"], "recipe_id": "5896bf", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T15:58:04.857789Z", "verification": {"verified": true, "answer": 39303, "timestamp": "2026-02-08T15:58:04.867161Z"}, "problem_hash": "51f7c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 420}, "timestamp": "2026-02-12T09:30:32.879Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K13": "no", "K16": "no", "L3b": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "255bf8", "alias": "nt_count_divisible_v1_1874849503_1113", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 34969$ and $$ n \\equiv \\sum_{k=0}^{4} (-1)^k \\binom{4}{k} \\pmod{29}. $$ Compute the number of elements in $S$.", "answer": 1205, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(34969),\n \"divisor\": Const(29),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Summation(var=\"k\", start=Sub(Binom(n=Binom(n=Const(12), k=Const(12)), k=Const(0)), Const(1)), end=Const(4), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(4), k=Var(\"k\")))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "ZERO_BINOM_0", "ONE_BINOM_N"], "recipe_id": "55bba9", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "ONE_BINOM_N", "ZERO_BINOM_0"], "num_lemmas": 3, "generation_time": 1.45, "created_at": "2026-02-08T13:37:41.400060Z", "verification": {"verified": true, "answer": 1205, "timestamp": "2026-02-08T13:37:42.850521Z"}, "problem_hash": "faa63f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1205, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 934}, "timestamp": "2026-02-10T01:10:53.852Z"}, {"id": 8, "model": "mathstral", "answer": 1205, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 382}, "timestamp": "2026-02-11T21:14:57.440Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1205, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 230}, "timestamp": "2026-02-11T21:12:00.099Z"}], "solution_status": 2, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "ONE_BINOM_N": "ok", "ZERO_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "test"} +{"id": "acd72c", "alias": "sequence_count_fib_divisible_v1_898971024_175", "problem": "Let $ n $ be a positive integer such that $ 1 \\leq n \\leq 6971 $ and $ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7} $. Let $ A $ be the number of such integers $ n $.\n\nLet $ B $ be the number of positive integers $ n_1 $ such that $ 1 \\leq n_1 \\leq A $ and $ 7 $ divides the $ n_1 $-th Fibonacci number.\n\nCompute $ B $.", "answer": 124, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6971)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.083, "created_at": "2026-02-08T15:15:56.110588Z", "verification": {"verified": true, "answer": 124, "timestamp": "2026-02-08T15:15:56.193836Z"}, "problem_hash": "86ce92", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 565}, "timestamp": "2026-02-12T08:05:49.565Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0d3882", "alias": "diophantine_sum_product_min_v1_1742523217_471", "problem": "Let $\\phi(n)$ denote Euler's totient function. Let $n_{\\text{max}}$ be the largest prime number less than or equal to $19$. Let $P$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 3$ and $1 \\le j \\le 23$ such that $\\gcd(i,j) = \\phi(2)$. Determine the value of $x$, where $x$ is the smallest positive integer satisfying $1 \\le x \\le n_{\\text{max}}$ and $x(20 - x) = P$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(19)), IsPrime(Var(\"n\"))))),\n \"S\": Const(20),\n \"P\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(2))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(23))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=Const(1))), Leq(Var(\"x\"), Ref(\"_n\")), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_COPRIME_GRID", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "bc99e9", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:04:15.711674Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T03:04:15.718108Z"}, "problem_hash": "e69ef4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1169}, "timestamp": "2026-02-09T18:23:25.377Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 898}, "timestamp": "2026-02-09T03:22:51.942Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "COUNT_COPRIME_GRID": "ok_later", "K18": "no", "L3c": "no", "MOD_ADD": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "764c5f", "alias": "nt_min_coprime_above_v1_168721529_58", "problem": "Let $\\gcd(i,j)$ denote the greatest common divisor of positive integers $i$ and $j$. Define\n\n$$\nA = \\left| \\left\\{ (i,j) \\in \\mathbb{Z}^+ \\times \\mathbb{Z}^+ \\mid 1 \\leq i \\leq 14,\\ 1 \\leq j \\leq 22,\\ \\gcd(i,j) = 1 \\right\\} \\right|.\n$$\n\nDefine\n\n$$\nM = \\left| \\left\\{ (i,j) \\in \\mathbb{Z}^+ \\times \\mathbb{Z}^+ \\mid 1 \\leq i \\leq 194,\\ 1 \\leq j \\leq 195,\\ i + j = A \\right\\} \\right|.\n$$\n\nLet $S$ be the set of all positive integers $n$ such that $17161 < n \\leq 17365$ and $\\gcd(n, M) = 1$. Let $r$ be the smallest element of $S$.\n\nCompute the remainder when $21645 \\cdot r$ is divided by $52276$.", "answer": 19879, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(22))))),\n \"start\": Const(17161),\n \"upper\": Const(17365),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(194)), right=IntegerRange(start=Const(1), end=Const(195))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(21645), Ref(\"result\")), modulus=Const(52276)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/COUNT_SUM_EQUALS"], "recipe_id": "aadd91", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T12:47:27.907027Z", "verification": {"verified": true, "answer": 19879, "timestamp": "2026-02-08T12:47:27.929058Z"}, "problem_hash": "084a79", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 19879, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 366, "completion_tokens": 3445}, "timestamp": "2026-02-08T20:59:38.976Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 52276, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 436}, "timestamp": "2026-02-09T12:33:23.185Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19879, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 3446}, "timestamp": "2026-02-09T22:50:23.664Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 357, "completion_tokens": 519}, "timestamp": "2026-02-12T05:36:29.669Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -5.32, "mid": -1.91, "hi": 1.66}, "split": "test"} +{"id": "cd9eb4", "alias": "diophantine_fbi2_count_v1_1820931509_99", "problem": "Let $k$ be the largest positive divisor of $181020$ that is at most $420$. Compute the number of positive integers $d$ such that $5 \\leq d \\leq 115$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 115$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(420)), Divides(divisor=Var(\"d\"), dividend=Const(181020))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(115)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(115))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2", "MAX_DIVISOR"], "recipe_id": "aad17f", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T11:20:37.790432Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T11:20:37.799607Z"}, "problem_hash": "6c370e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 112, "completion_tokens": 1973}, "timestamp": "2026-02-14T12:14:15.140Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 521}, "timestamp": "2026-02-12T03:52:20.942Z"}], "solution_status": 1, "lemma_applicability": {"LTE_DIFF_P2": "ok", "MAX_DIVISOR": "ok", "K15": "no", "K17": "no", "K18": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "7b5fea", "alias": "antilemma_sum_primes_v1_677425708_3065", "problem": "Let $c=11$, and let $p$ be the greatest prime number $n$ such that $2\\le n\\le c$.\n\nLet $t$ be the number of positive integers $u$ for which there exists a positive integer $v$ such that\n\\[\nuv=216, \\quad \\gcd(u,v)=1, \\quad u 0] + [D = 0],\n$$\nwhere $[P]$ is the Iverson bracket, equal to 1 if $P$ is true and 0 otherwise.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(3),\n \"b\": Const(4),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(16512)), Eq(Mod(value=Binom(n=Const(16512), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "V8"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T09:23:02.825525Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T09:23:02.834787Z"}, "problem_hash": "985b5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 1718}, "timestamp": "2026-02-14T03:39:08.126Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 436}, "timestamp": "2026-02-12T02:52:26.624Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "K5": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "3d265b", "alias": "nt_count_digit_sum_v1_397696148_1370", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 68644$ and the sum of the decimal digits of $n$ is $20$. Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 50$, and let $B$ be the maximum value of $xy$ over all such pairs. Compute the value of $Q = (B - A) \\bmod 78149$.", "answer": 74407, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50),\n \"upper\": Const(68644),\n \"target_sum\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(78149)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 3.018, "created_at": "2026-02-08T12:31:40.134514Z", "verification": {"verified": true, "answer": 74407, "timestamp": "2026-02-08T12:31:43.152185Z"}, "problem_hash": "a303c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 561}, "timestamp": "2026-02-12T05:16:39.319Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "670b5f", "alias": "nt_sum_divisors_compute_v1_784195855_765", "problem": "For a positive integer $n$, let $\\mu(n)$ denote the function defined by $\\mu(1) = 1$, $\\mu(n) = 0$ if $n$ is divisible by the square of a prime, and $\\mu(n) = (-1)^k$ if $n$ is the product of $k$ distinct primes.\n\nLet $D$ be the set of all integers $d$ such that $1 \\le d \\le 99$ and $d$ divides $9999$, and let $M$ be the maximum element of $D$.\n\nLet $n_2$ be the largest prime number $n$ with $2 \\le n \\le M$.\n\nLet $h = \\mu(n_2)^2$ and let\n$$u = \\sum_{d \\mid 1} \\mu(d).$$\n\nLet $N = 47089$ and let $S$ be the sum of all positive divisors of $N$.\n\nLet $m = 50500$ and define\n$$Q \\equiv 44121 \\cdot h \\cdot S \\pmod{m u}, \\quad 0 \\le Q < m u.$$\n\nFind the value of $Q$.", "answer": 17221, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(50500),\n \"_n\": Const(2),\n \"n2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(99)), Divides(divisor=Var(\"d\"), dividend=Const(9999)))))), IsPrime(Var(\"n\"))))),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Ref(\"_n\")),\n \"n1\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(47089),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Const(44121), Ref(\"h\")), Ref(\"result\")), modulus=Mul(Ref(\"_m\"), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "515a21", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T04:35:45.906634Z", "verification": {"verified": true, "answer": 17221, "timestamp": "2026-02-08T04:35:45.914729Z"}, "problem_hash": "e024f1", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SUM": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K14": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "26bd52", "alias": "modular_count_residue_v1_1470522791_1742", "problem": "Let $m$ be the smallest divisor of $6982823$ that is at least $2$. Compute the number of positive integers $n \\leq 31727$ such that $n \\equiv 13 \\pmod{m}$.", "answer": 1670, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(31727),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6982823))))),\n \"r\": Const(13),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 8.878, "created_at": "2026-02-08T13:54:25.404440Z", "verification": {"verified": true, "answer": 1670, "timestamp": "2026-02-08T13:54:34.282129Z"}, "problem_hash": "e53bda", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 387}, "timestamp": "2026-02-12T07:36:16.840Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "L3c": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "283025", "alias": "antilemma_cartesian_v1_458359167_711", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 13$ and $1 \\leq j \\leq 27$. Let $c$ be the number of integers $t$ such that $18 \\leq t \\leq 226$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 39$, and $t = 14a + 4b$. Compute the remainder when $$x^2 + x + c$$ is divided by $96197$.", "answer": 27454, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(27)))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=39)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=226)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(1), Ref(\"x\")), Ref(\"_c\")), modulus=Const(96197)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_CARTESIAN"], "recipe_id": "22e14d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:30:48.891635Z", "verification": {"verified": true, "answer": 27454, "timestamp": "2026-02-08T03:30:48.893000Z"}, "problem_hash": "26e066", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 27454, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 3469}, "timestamp": "2026-02-10T14:41:50.840Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 27454, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 2607}, "timestamp": "2026-02-10T13:40:03.986Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 479}, "timestamp": "2026-02-12T17:21:56.930Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 504}, "timestamp": "2026-02-11T19:27:49.865Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "test"} +{"id": "0cfe95", "alias": "nt_sum_divisors_compute_v1_168721529_679", "problem": "Let $p$ be the smallest integer $d$ such that $d$ divides $103936373$ and\n$$d \\geq k,$$\nwhere $k$ is the number of positive integers $r$ for which there exists a positive integer $s$ satisfying\n$$rs = 108, \\quad \\gcd(r,s) = 1, \\quad r < s.$$\n\nLet $q = 19$ and let $n_1 = pq$. Let $\\mu(n_1)$ denote the Möbius function of $n_1$, and let\n$$v = (\\mu(n_1))^2.$$\nLet $p_0 = 67v$ and let $e$ be the total number of prime factors of $p_0$, counted with multiplicity. Define\n$$n = 32768e.$$\nLet $R$ be the sum of all positive divisors of $n$.\n\nCompute $R$.", "answer": 65535, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67),\n \"p1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(103936373))))),\n \"q\": Const(19),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"p\": Mul(Ref(\"_n\"), Ref(\"v\")),\n \"e\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Const(32768), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "BIG_OMEGA_ONE"], "recipe_id": "1f76bb", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COPRIME_PAIRS", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T13:11:42.876714Z", "verification": {"verified": true, "answer": 65535, "timestamp": "2026-02-08T13:11:42.886453Z"}, "problem_hash": "bf1133", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 8192}, "timestamp": "2026-02-09T07:54:51.017Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 65535, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 643}, "timestamp": "2026-02-09T20:15:47.440Z"}], "solution_status": 1, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MOD_SUB": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "test"} +{"id": "a29ef6", "alias": "modular_modexp_compute_v1_898971024_2815", "problem": "Let $a = 2$. Let $e$ be the smallest integer greater than or equal to $2$ that divides $164831339$. Let $m = 11236$. Compute the remainder when $a^e$ is divided by $m$.", "answer": 1744, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(164831339))))),\n \"m\": Const(11236),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T16:59:29.097531Z", "verification": {"verified": true, "answer": 1744, "timestamp": "2026-02-08T16:59:29.102826Z"}, "problem_hash": "ffff2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 501}, "timestamp": "2026-02-12T21:39:05.871Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "e7b7c7", "alias": "modular_min_linear_v1_458359167_511", "problem": "Let $x$ be the smallest positive integer solution to the congruence\n$$\n73626x \\equiv 54698 \\pmod{75763}.\n$$\nDefine\n$$\nQ = \\left( 353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left( |x|^2 + \\varphi(1) \\right) \\bmod M + 215534 \\cdot |x| \\bmod 1 \\right) \\bmod 1009091,\n$$\nwhere $M$ is the maximum prime number $n$ satisfying $2 \\leq n \\leq 102$.\n\nCompute $Q$.", "answer": 65822, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"a\": Const(73626),\n \"b\": Const(54698),\n \"m\": Const(75763),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(1),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), EulerPhi(n=Const(1))), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(102)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "2bd56d", "seed_template_id": "modular_min_linear_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 3.944, "created_at": "2026-02-08T03:22:55.877332Z", "verification": {"verified": true, "answer": 65822, "timestamp": "2026-02-08T03:22:59.821514Z"}, "problem_hash": "ea9f74", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "V1": "no", "V7": "no"}, "split": "test"} +{"id": "6a6c40", "alias": "antilemma_sum_primes_v1_458359167_421", "problem": "Let $m = 2$. Let $n$ be the number of positive integers at most $11395$ that are divisible by $5$ and relatively prime to $14$. Compute the sum of all prime numbers between $m$ and $n$, inclusive. If there are no such primes, the sum is defined to be $0$.", "answer": 2747, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(11395)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["C5/COUNT_PRIMES/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "8763d1", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "COPRIME_PAIRS", "COUNT_PRIMES", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T03:17:09.646509Z", "verification": {"verified": true, "answer": 2747, "timestamp": "2026-02-08T03:17:09.656474Z"}, "problem_hash": "1cda6d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "SUM_PRIMES": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "560463", "alias": "modular_min_linear_v1_48377204_1468", "problem": "Let $a$ be the smallest divisor of $6059891823194149$ that is at least $2$. Let $b = 14805$ and $m = 48750$. Define $x$ to be the smallest positive integer such that $1 \\leq x \\leq m$ and $$a x \\equiv b \\pmod{m}.$$ Let $c = 5003$. Compute the remainder when $$\\left(x \\bmod 199\\right) + c \\cdot \\left(x \\bmod 499\\right)$$ is divided by $57654$.", "answer": 46335, "graph": "graphs = [\n Graph(\n let={\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6059891823194149))))),\n \"b\": Const(14805),\n \"m\": Const(48750),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"_c\": Const(5003),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(499)))), modulus=Const(57654)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.948, "created_at": "2026-02-08T16:06:26.536070Z", "verification": {"verified": true, "answer": 46335, "timestamp": "2026-02-08T16:06:28.483728Z"}, "problem_hash": "031038", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 379}, "timestamp": "2026-02-12T09:54:12.483Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K16": "no", "K17": "no", "K18": "no", "L3b": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f026a4", "alias": "nt_count_digit_sum_v1_717093673_1055", "problem": "Let $d \\geq 2$ be a divisor of $444889$. Find the smallest such $d$. Let this value be $s$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 99999$ and the sum of the decimal digits of $n$ is equal to $s$. Then compute the remainder when $94313$ times this count is divided by $96524$.", "answer": 54312, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94313),\n \"upper\": Const(99999),\n \"target_sum\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(444889))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(96524)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.608, "created_at": "2026-02-08T15:49:35.082542Z", "verification": {"verified": true, "answer": 54312, "timestamp": "2026-02-08T15:49:40.690361Z"}, "problem_hash": "316113", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 335}, "timestamp": "2026-02-12T09:13:05.308Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "99c058", "alias": "comb_factorial_compute_v1_397696148_2427", "problem": "Let $n$ be the smallest integer greater than or equal to 2 that divides 1001. Let $\\text{result} = n!$. Find the remainder when $44121 \\cdot \\text{result}$ is divided by 61339.", "answer": 15965, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61339),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:19:45.690484Z", "verification": {"verified": true, "answer": 15965, "timestamp": "2026-02-08T13:19:45.691402Z"}, "problem_hash": "ae20fe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 450}, "timestamp": "2026-02-12T06:32:42.856Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "49137a", "alias": "sequence_count_fib_divisible_v1_48377204_923", "problem": "Let $u = 945$ and $d = 8$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $F_n$ is divisible by $d$, where $F_n$ denotes the $n$th Fibonacci number. Let $r$ be this count. Find the smallest positive integer $k$ such that $F_k$ is divisible by $r + 2$.", "answer": 108, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(945),\n \"d\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.034, "created_at": "2026-02-08T15:45:35.244567Z", "verification": {"verified": true, "answer": 108, "timestamp": "2026-02-08T15:45:37.278830Z"}, "problem_hash": "0ef0e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 540}, "timestamp": "2026-02-12T09:09:39.086Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "325c1f", "alias": "antilemma_product_of_sums_v1_168721529_1138", "problem": "Let $S_1$ be the sum of all values of $k$ as $(k, j)$ ranges over all ordered pairs of positive integers with $1 \\leq k \\leq 5$ and $1 \\leq j \\leq 4$. Let $T$ be the set of all nonnegative integers $j \\leq 31$ such that\n\\[\n\\binom{d}{j} \\equiv 1 \\pmod{2},\n\\]\nwhere $d$ is the smallest divisor of 2149 that is at least 2 and coprime to 15. Let $S_2$ be the number of such integers $j$. Define $x = S_1 \\cdot S_2$ and let $c = 39521$. Compute the remainder when $c \\cdot x$ is divided by $79179$.", "answer": 20094, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(31),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2149)), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))))))), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": Const(39521),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(79179)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "recipe_id": "74411e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:29:31.874993Z", "verification": {"verified": true, "answer": 20094, "timestamp": "2026-02-08T13:29:31.880029Z"}, "problem_hash": "6dd131", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46299, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 298, "completion_tokens": 1895}, "timestamp": "2026-02-09T14:01:44.496Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 46299, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 5727}, "timestamp": "2026-02-10T02:33:21.835Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "PRODUCT_OF_SUMS": "ok", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "K16": "no", "MAX_VAL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "test"} +{"id": "77e41f", "alias": "nt_count_divisible_v1_1520064083_6207", "problem": "Let $N = 56644$. Let $d$ be the smallest divisor of $847$ that is at least $2$.\n\nDetermine the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ is divisible by $d$.\n\nCompute this count.", "answer": 8092, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(56644),\n \"divisor\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 3.852, "created_at": "2026-02-08T07:55:30.399265Z", "verification": {"verified": true, "answer": 8092, "timestamp": "2026-02-08T07:55:34.251170Z"}, "problem_hash": "539022", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8092, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 705}, "timestamp": "2026-02-13T13:27:54.249Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8091, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 278}, "timestamp": "2026-02-12T01:24:38.146Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K17": "no", "L3b": "no", "MOD_MUL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "d21ab1", "alias": "modular_sum_quadratic_residues_v1_1742523217_388", "problem": "Let $p$ be the smallest prime divisor of $302764416173$. Compute $\\frac{p(p-1)}{4}$.", "answer": 9653, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(302764416173))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:00:46.082817Z", "verification": {"verified": true, "answer": 9653, "timestamp": "2026-02-08T03:00:46.084296Z"}, "problem_hash": "d41906", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:19:50.983Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:26:43.912Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9653, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 73, "completion_tokens": 4841}, "timestamp": "2026-02-11T00:51:29.787Z"}, {"id": 8, "model": "mathstral", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 92, "completion_tokens": 665}, "timestamp": "2026-02-11T11:15:00.162Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 148}, "timestamp": "2026-02-11T20:04:26.614Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "test"} +{"id": "7c299d", "alias": "antilemma_coprime_grid_v1_1742523217_2197", "problem": "Let $ x $ be the number of ordered pairs $ (i, j) $ of integers with $ 1 \\leq i \\leq 37 $ and $ 1 \\leq j \\leq 139 $ such that $ \\gcd(i, j) = \\phi(1) $, where $ \\phi $ denotes Euler's totient function. \n\nLet $ a = |x| + \\sum_{d \\mid \\gcd(7,11)} \\mu(d) $, where $ \\mu $ is the M\\\"obius function, and let $ b = |x| + \\phi(2) $. Define $ Q = x + \\phi(a) + \\tau(b) $, where $ \\tau(n) $ denotes the number of positive divisors of $ n $.\n\nCompute the value of $ Q $.", "answer": 5346, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(1))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(139))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(2))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "COUNT_COPRIME_GRID", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "ac26a9", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:34:20.792717Z", "verification": {"verified": true, "answer": 5346, "timestamp": "2026-02-08T04:34:20.795103Z"}, "problem_hash": "b5922d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "K13": "no", "K18": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "fea862", "alias": "nt_gcd_compute_v1_865884756_1090", "problem": "Let $ n = 3 $. Define $ g $ to be the largest integer $ k $ such that $ 11^k $ divides $ 161051^n $. Let $ m = 4 $ and $ n_1 = 11 $. Define $ a_1 = g \\cdot m $ and $ b_1 = g \\cdot n_1 $. Let $ c $ be the sum of $ \\mu(d) $ over all positive divisors $ d $ of $ \\gcd(a_1, b_1) $, where $ \\mu $ denotes the M\\\"obius function. Let $ n = 28561 $ and define $ e = \\mu(n)^2 $. Let $ a = 182332 $ and $ b = 410247 + c $. Define $ \\text{result} = \\gcd(a, b) $. Compute the remainder when $ (58195 + e) \\cdot \\text{result} $ is divided by $ 89739 $.", "answer": 17845, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"g\": MaxKDivides(target=Pow(Const(161051), Ref(\"_n\")), base=Const(11)),\n \"m\": Const(4),\n \"n1\": Const(11),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(28561),\n \"e\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Const(182332),\n \"b\": Sum(Const(410247), Ref(\"c\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Sum(Const(58195), Ref(\"e\")), Ref(\"result\")), modulus=Const(89739)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "recipe_id": "e96419", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T15:47:13.156247Z", "verification": {"verified": true, "answer": 17845, "timestamp": "2026-02-08T15:47:13.162728Z"}, "problem_hash": "f23919", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "K13": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "c021bd", "alias": "comb_sum_binomial_row_v1_677425708_1976", "problem": "Let $m = 130$ and $n_0 = 2$. Let $d$ be the smallest integer such that $d \\geq n_0$ and $d$ divides $41327$. Denote this value of $d$ by $n$. Let $k$ be the largest integer such that $5^k$ divides $\\binom{130}{52}$. Compute $k^n$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(130),\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(41327))))),\n \"result\": Pow(MaxKDivides(target=Binom(n=Ref(\"_m\"), k=Const(52)), base=Const(5)), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "V7"], "recipe_id": "2e78bd", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V7"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:41:08.577726Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T04:41:08.578897Z"}, "problem_hash": "39ed3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8192, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 670}, "timestamp": "2026-02-10T03:54:37.443Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V7": "ok", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "dd22da", "alias": "nt_count_divisible_v1_1918700295_3157", "problem": "Let $ P $ be the set of all positive integers $ p $ for which there exists a positive integer $ q $ such that $ p \\cdot q = 270 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ N = |P| $. Let $ T $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x \\cdot y = N $. Let $ s_{\\text{min}} $ be the minimum value of $ x + y $ over all such pairs. Now let $ U $ be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = s_{\\text{min}} $. Let $ d $ be the maximum value of $ x \\cdot y $ over all such pairs. Find the number of positive integers $ n \\leq 68121 $ such that $ n $ is divisible by $ d $.", "answer": 17030, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(68121),\n \"divisor\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=270)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/B3/B1"], "recipe_id": "751247", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "generation_time": 2.416, "created_at": "2026-02-08T08:26:00.275727Z", "verification": {"verified": true, "answer": 17030, "timestamp": "2026-02-08T08:26:02.692183Z"}, "problem_hash": "62e894", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17030, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 1367}, "timestamp": "2026-02-13T18:33:59.384Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 520}, "timestamp": "2026-02-12T01:54:09.462Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "B1": "ok_later", "B3": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "f3281a", "alias": "comb_count_derangements_v1_124444284_5314", "problem": "Let $n$ be the smallest divisor of 13013 that is greater than or equal to 2. Define $d = !n$, the subfactorial of $n$. Compute the remainder when $35659 \\cdot d$ is divided by 75866.", "answer": 32500, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13013),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(35659),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75866)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:32:18.239869Z", "verification": {"verified": true, "answer": 32500, "timestamp": "2026-02-08T06:32:18.240925Z"}, "problem_hash": "840f67", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32500, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 102, "completion_tokens": 1223}, "timestamp": "2026-02-13T01:19:20.220Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 35659, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 358}, "timestamp": "2026-02-12T00:10:55.352Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "K14": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b29ecb", "alias": "nt_max_prime_below_v1_1742523217_2881", "problem": "Let $p = 3$ and $q = 73$. Define $n_1 = (pq)^2$. Let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $g = 9$ and define\n\n$$\nm = e \\cdot \\max\\{ k \\mid 2^k \\text{ divides } 7^{128} - 5^{128} \\}.\n$$\n\nLet $a = g \\cdot m$ and $b = g \\cdot 1$. Let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ is the M\\\"obius function. Define $\\text{upper} = 63001 + s$. Determine the value of the largest prime number $n$ such that $2 \\leq n \\leq \\text{upper}$.", "answer": 62989, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(128),\n \"p\": Const(3),\n \"q\": Const(73),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"g\": Const(9),\n \"m\": Mul(MaxKDivides(target=Sub(Pow(Const(7), Ref(\"_n\")), Pow(Const(5), Const(128))), base=Const(2)), Ref(\"e\")),\n \"n\": Const(1),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Const(63001), Ref(\"s\")),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/DIVISOR_PARITY/MOBIUS_COPRIME"], "recipe_id": "3765ff", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LTE_DIFF_P2", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.287, "created_at": "2026-02-08T05:25:45.423126Z", "verification": {"verified": true, "answer": 62989, "timestamp": "2026-02-08T05:25:47.710135Z"}, "problem_hash": "b38f15", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF_P2": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "316f13", "alias": "antilemma_coprime_grid_v1_1520064083_4715", "problem": "Let $n = 2$. Define $S$ to be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 31$ and $1 \\le j \\le 51$. Let $D$ be the set of all positive integers $d$ such that $d \\le n$ and $d$ divides 14. Compute the number of ordered pairs $(i,j)$ in $S$ for which $\\gcd(i,j) = \\varphi\\left(\\max(D)\\right)$.\n\nFind the value of this quantity.", "answer": 996, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(14))))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(51))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/ONE_PHI_2/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "08f2ce", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_DIVISOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T06:24:02.557274Z", "verification": {"verified": true, "answer": 996, "timestamp": "2026-02-08T06:24:02.558318Z"}, "problem_hash": "99ed60", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_DIVISOR": "ok", "ONE_PHI_2": "ok_later", "COUNT_CARTESIAN": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "test"} +{"id": "058e9a", "alias": "modular_sum_quadratic_residues_v1_397696148_2779", "problem": "Let $p$ be the smallest prime divisor of $72536881981$. Compute $\\frac{p(p-1)}{4}$.", "answer": 64643, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(72536881981))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:32:58.848032Z", "verification": {"verified": true, "answer": 64643, "timestamp": "2026-02-08T13:32:58.849213Z"}, "problem_hash": "fe7d86", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 215}, "timestamp": "2026-02-12T07:48:04.305Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "8d8605", "alias": "antilemma_sum_primes_v1_1440796553_300", "problem": "Let $n = 2209$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. For each such pair, compute $x + y$, and let $a$ be the minimum value of $x + y$ over all such pairs.\n\nLet $b = 41$. Compute $d = \\gcd(a, b)$. Define $w$ to be the sum of $\\mu(d')$ over all positive divisors $d'$ of $d$, where $\\mu$ is the Möbius function.\n\nLet $p = 67$, $q = 3$, and $r = 43$. Define $n' = pqr$. Let $m$ be the remainder when the number of positive divisors of $n'$ is divided by $2$.\n\nLet $S$ be the set of all positive integers $k$ from $1$ to $358$ such that the sum of the decimal digits of $k$ is odd. Let $T$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq |S|$. Define $x$ to be the sum of all elements in $T$.\n\nCompute the value of $$x + \\phi(|x| + w) + \\tau(|x| + 1 + m),$$ where $\\phi$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 5258, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2209),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Const(41),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(67),\n \"q\": Const(3),\n \"r\": Const(43),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Ref(\"_m\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(358)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Ref(\"w\"))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1), Ref(\"m\")))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["B3/MOBIUS_COPRIME", "L3B/SUM_PRIMES", "DIVISOR_PARITY", "SUM_PRIMES"], "recipe_id": "944977", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "L3B", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "SUM_PRIMES"], "num_lemmas": 6, "generation_time": 0.042, "created_at": "2026-02-08T11:43:25.111916Z", "verification": {"verified": true, "answer": 5258, "timestamp": "2026-02-08T11:43:25.154021Z"}, "problem_hash": "ce9e7a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "DIVISOR_PARITY": "ok", "L3B": "ok", "SUM_PRIMES": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "30086b", "alias": "sequence_fibonacci_compute_v1_1520064083_1800", "problem": "Let $c$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=104$.\n\nLet $m$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=c$.\n\nLet $n$ be the largest prime number between $2$ and $25$, inclusive, and let $F_n$ denote the $n$th Fibonacci number. Define\n$$R = F_n.$$\n\nLet $P$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=m$.\n\nLet $Q$ be the remainder when $P-R$ is divided by $76100$.\n\nFind the value of $Q$.", "answer": 50147, "graph": "graphs = [\n Graph(\n let={\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(104)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(76100),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(25)), IsPrime(Var(\"n\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/MAX_PRIME_BELOW/B1"], "recipe_id": "4aaaf6", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:16:34.745813Z", "verification": {"verified": true, "answer": 50147, "timestamp": "2026-02-08T04:16:34.750370Z"}, "problem_hash": "7e22b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 50147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 1267}, "timestamp": "2026-02-10T16:03:44.932Z"}, {"id": 8, "model": "mathstral", "answer": 69295, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 561}, "timestamp": "2026-02-13T12:04:46.723Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 451}, "timestamp": "2026-02-11T20:37:45.364Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "19c4bd", "alias": "sequence_fibonacci_compute_v1_151522320_1967", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 4$, $1 \\leq j \\leq 8$, and $\\gcd(i,j) = 1$. Let $c = \\sum_{d \\mid 961} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $c - F_n$ is divided by $60320$, where $F_n$ denotes the $n$th Fibonacci number. Find the value of this remainder.", "answer": 43570, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(961),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(60320)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "COUNT_COPRIME_GRID"], "recipe_id": "97d655", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "K3"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:29:44.104978Z", "verification": {"verified": true, "answer": 43570, "timestamp": "2026-02-08T04:29:44.107417Z"}, "problem_hash": "678f75", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 43570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 1176}, "timestamp": "2026-02-10T16:49:38.013Z"}, {"id": 8, "model": "mathstral", "answer": 2157, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 532}, "timestamp": "2026-02-13T17:38:11.675Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 627}, "timestamp": "2026-02-11T20:51:38.534Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "K3": "ok", "DS2": "no", "K13": "no", "K15": "no", "K17": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "3efe36", "alias": "nt_count_with_divisor_count_v1_124444284_3714", "problem": "Let $A$ be the number of positive integers $n \\leq 20164$ that have exactly $15$ positive divisors. Let $B$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 450$. Compute $A^2 + 3A + B$.", "answer": 643, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(450),\n \"upper\": Const(20164),\n \"div_count\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(3), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "0a3d6e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 3.903, "created_at": "2026-02-08T05:33:18.414047Z", "verification": {"verified": true, "answer": 643, "timestamp": "2026-02-08T05:33:22.317460Z"}, "problem_hash": "663387", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 643, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 1704}, "timestamp": "2026-02-12T10:32:05.064Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 571}, "timestamp": "2026-02-14T19:36:32.291Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 332, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 702}, "timestamp": "2026-02-11T22:47:40.731Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K18": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "test"} +{"id": "dffc15", "alias": "nt_lcm_compute_v1_151522320_1348", "problem": "Let $a$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $2732$, where $\\phi$ denotes Euler's totient function. Let $b = 854$, and let $\\text{result} = \\text{lcm}(a, b)$. Let $c$ be the number of integers $t$ such that $10 \\leq t \\leq 805$ and there exist positive integers $a'$, $b'$ with $1 \\leq a' \\leq 49$, $1 \\leq b' \\leq 154$, and $t = 7a' + 3b'$. Compute the remainder when $\\text{result}^2 + 4 \\cdot \\text{result} + c$ is divided by $73805$.", "answer": 8696, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2732),\n \"_n\": Const(2),\n \"a\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"b\": Const(854),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=49)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=154)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=805)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(4), Ref(\"result\")), Ref(\"_c\")), modulus=Const(73805)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "K3"], "recipe_id": "3a1061", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:53:30.456010Z", "verification": {"verified": true, "answer": 8696, "timestamp": "2026-02-08T03:53:30.458216Z"}, "problem_hash": "47d851", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:20:32.660Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8702, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 4159}, "timestamp": "2026-02-10T14:50:36.482Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8698, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 6815}, "timestamp": "2026-02-11T20:25:38.316Z"}, {"id": 8, "model": "mathstral", "answer": 173, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 629}, "timestamp": "2026-02-13T03:29:11.796Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 425}, "timestamp": "2026-02-11T21:15:56.096Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K5": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "d38625", "alias": "modular_mod_compute_v1_677425708_116", "problem": "Let $m = 2$. Let $n$ be the sum of all real solutions $x$ to the equation $x^m - 8000x + 727536 = 0$. Let $a$ be the smallest divisor of $2021$ that is at least $2$. Define $m'$ as the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Compute the remainder when $a$ is divided by $m'$.", "answer": 43, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-8000), Var(\"x\")), Const(727536)), Const(0)))),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2021))))),\n \"m\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3", "MIN_PRIME_FACTOR"], "recipe_id": "01f272", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:04:39.022371Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T03:04:39.025125Z"}, "problem_hash": "74fa7a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 870}, "timestamp": "2026-02-08T20:19:04.353Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 209, "completion_tokens": 726}, "timestamp": "2026-02-09T23:04:26.334Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 7417}, "timestamp": "2026-02-10T05:03:35.933Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 1620}, "timestamp": "2026-02-12T01:17:33.518Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 558}, "timestamp": "2026-02-10T04:26:49.223Z"}, {"id": 8, "model": "mathstral", "answer": 43, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 960}, "timestamp": "2026-02-11T15:22:21.091Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 443}, "timestamp": "2026-02-11T19:24:00.856Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "DS2": "no", "K18": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "test"} +{"id": "e84cc0", "alias": "geo_count_lattice_triangle_v1_865884756_6228", "problem": "Let $A$ be twice the area of the triangle with vertices at $(0, 0)$, $(121, 157)$, and $(24, 41)$. Let $B$ be the sum of the greatest common divisors of the absolute values of the differences in coordinates along each side of the triangle: $\\gcd(121, 157)$, $\\gcd(|24 - 121|, |41 - 157|)$, and $\\gcd(|0 - 24|, |0 - 157|)$. Compute $\\frac{A + 2 - B}{2}$.", "answer": 9006, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(157),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=121), Const(value=157)), Mul(Const(value=24), Sub(left=Const(value=0), right=Const(value=41))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=167462081))))))), GCD(a=Abs(arg=Sub(left=Const(value=24), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=157), right=Const(value=41)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=24))), b=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T19:05:36.772888Z", "verification": {"verified": true, "answer": 9006, "timestamp": "2026-02-08T19:05:36.778780Z"}, "problem_hash": "e17105", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 448}, "timestamp": "2026-02-13T00:47:58.322Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "af5759", "alias": "antilemma_v1_legendre_1125832087_2364", "problem": "Let $c=69316$.\n\nLet $m$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 2$, $1\\le j\\le 9$, and $\\gcd(i,j)=1$.\n\nLet $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=18$, $\\gcd(p,q)=1$, and $p p$ such that $pq = 821759400$ and $\\gcd(p, q) = 1$. Let $t$ be the number of such integers $p$. Compute the value of $x + (2^{x \\bmod t} \\bmod 87868)$.", "answer": 44471, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(71347),\n \"b\": Const(54641),\n \"m\": Const(77180),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), SumOverDivisors(n=GCD(a=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=153)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=821759400)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), modulus=Const(87868))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "L3C/MOBIUS_COPRIME"], "recipe_id": "03cea3", "seed_template_id": "modular_min_linear_v1", "ending_id": "mod_exp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3C", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.762, "created_at": "2026-02-08T02:23:04.707329Z", "verification": {"verified": true, "answer": 44471, "timestamp": "2026-02-08T02:23:07.469053Z"}, "problem_hash": "5a66e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 347, "completion_tokens": 8192}, "timestamp": "2026-02-08T18:28:55.182Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 44471, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 347, "completion_tokens": 4333}, "timestamp": "2026-02-08T19:14:58.267Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:01:35.333Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44471, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 4456}, "timestamp": "2026-02-09T14:04:16.809Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "test"} +{"id": "575d07", "alias": "comb_factorial_compute_v1_865884756_5912", "problem": "Let $n$ be the smallest divisor of $847$ that is at least $2$. Compute the remainder when $44121 \\cdot n!$ is divided by $90472$.", "answer": 80136, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(847))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(90472)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:51:33.171288Z", "verification": {"verified": true, "answer": 80136, "timestamp": "2026-02-08T18:51:33.172698Z"}, "problem_hash": "8ee015", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 88242, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 264}, "timestamp": "2026-02-13T00:37:25.632Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "K14": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "83bd64", "alias": "comb_binomial_compute_v1_2051736721_342", "problem": "Let $k$ be the smallest integer greater than or equal to 2 that divides 143143. Compute $\\binom{13}{k}$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(13),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(143143))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:22:17.604682Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T15:22:17.606340Z"}, "problem_hash": "7909a1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 280}, "timestamp": "2026-02-12T08:18:23.452Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c91a34", "alias": "comb_count_permutations_fixed_v1_809748730_1678", "problem": "Let $n$ be the smallest integer $d \\geq 2$ that divides 77. Compute $\\binom{n}{0} \\cdot !n$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:37:33.504552Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T12:37:33.506060Z"}, "problem_hash": "5c9de5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 181440, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 448}, "timestamp": "2026-02-12T05:25:26.726Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6d9c94", "alias": "modular_modexp_compute_v1_784195855_233", "problem": "Let $D$ be the set of all integers $d$ with $2 \\le d$ such that $d$ divides $79781$, and let $d_0$ be the smallest element of $D$. Let\n$$u = \\sum_{d \\mid d_0} \\mu(d),$$\nwhere $\\mu$ is the Möbius function, and let $g = \\gcd(11,u)$.\n\nLet $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1382976$, and let $s_0$ be the smallest value of $x+y$ over all pairs in $P$.\n\nLet $e$ be the number of integers $n$ such that $g \\le n \\le s_0$ and\n$$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}.$$\n\nLet $a=5$ and $m=55225$, and define\n$$r \\equiv 5^e \\pmod{55225}, \\quad 0 \\le r < 55225.$$\nLet $N = 32401$ and\n$$Q \\equiv N r \\pmod{71498}, \\quad 0 \\le Q < 71498.$$\n\nFind the value of $Q$.", "answer": 49745, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32401),\n \"a\": Const(5),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=11), b=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=79781)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1382976)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"m\": Const(55225),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(71498)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/L3C", "B3/L3C"], "recipe_id": "03cd60", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T03:02:56.716646Z", "verification": {"verified": true, "answer": 49745, "timestamp": "2026-02-08T03:02:56.724439Z"}, "problem_hash": "d21c1d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "L3C": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "split": "test"} +{"id": "d1368b", "alias": "nt_count_gcd_equals_v1_1520064083_9022", "problem": "Let $k$ be the number of positive integers $n$ with $1 \\leq n \\leq 2309$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $S$ be the set of all positive integers $n$ with $1 \\leq n \\leq 12321$ such that $\\gcd(n, k) = 47$. Compute the number of elements in $S$.", "answer": 225, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(12321),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2309)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"d\": Const(47),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 3.813, "created_at": "2026-02-08T10:29:13.756513Z", "verification": {"verified": true, "answer": 225, "timestamp": "2026-02-08T10:29:17.569354Z"}, "problem_hash": "3e5ae8", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 225, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 1211}, "timestamp": "2026-02-14T07:33:53.811Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 648}, "timestamp": "2026-02-12T03:19:22.624Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "L3b": "no", "MAX_VAL": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "19a35c", "alias": "nt_sum_totient_over_divisors_v1_1125832087_1309", "problem": "Let $p=3$ and\n$$h \\equiv ( (p-1)! + 1 ) \\pmod{p}, \\qquad 0 \\le h < p.$$\n\nLet $n_1 = 1$ and let $w$ be the number of prime factors of $n_1$ counted with multiplicity.\n\nLet $E$ be the largest value of $e$ such that $3^{e}$ divides $59049^{q}$ for some prime $q$ with $2 \\le q \\le 809$. Define\n$$n = E + h + w.$$\n\nFinally, let\n$$Q = \\sum_{d \\mid n} \\varphi(d),$$\nwhere the sum is taken over all positive divisors $d$ of $n$ and $\\varphi$ denotes Euler's totient function.\n\nFind the value of $Q$.", "answer": 8090, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(3),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n1\": Const(1),\n \"w\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(MaxKDivides(target=Pow(Const(59049), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(809)), IsPrime(Var(\"n\")))))), base=Const(3)), Ref(\"h\"), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14/WILSON/BIG_OMEGA_ZERO"], "recipe_id": "625d93", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "K14", "MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T03:41:01.927443Z", "verification": {"verified": true, "answer": 8090, "timestamp": "2026-02-08T03:41:01.936004Z"}, "problem_hash": "11c04d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "BIG_OMEGA_ZERO": "ok_later", "K14": "ok_later", "WILSON": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "split": "test"} +{"id": "300fbd", "alias": "diophantine_sum_product_min_v1_1742523217_3804", "problem": "Let $S$ be the largest integer $k$ such that $11^k$ divides $242!$. Let $P = 119$. Let $x$ be the smallest positive integer such that $1 \\leq x \\leq 23$ and $x(S - x) = P$. Let $T$ be the set of all integers $t$ with $21 \\leq t \\leq 909$ for which there exist positive integers $a \\leq 49$ and $b \\leq 41$ such that $t = 6a + 15b$. Compute the value of\n$$\n7001 \\cdot (x \\bmod 337) + (x \\bmod |T|),\n$$\nwhere $|T|$ denotes the number of elements in $T$.", "answer": 49014, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(337),\n \"S\": MaxKDivides(target=Factorial(Const(242)), base=Const(11)),\n \"P\": Const(119),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(23)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"_c\": Const(7001),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=49)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=41)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=909)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=15), Var(name='b')))))))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V1"], "recipe_id": "3f918b", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "two_moduli", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "V1"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T06:06:38.559729Z", "verification": {"verified": true, "answer": 49014, "timestamp": "2026-02-08T06:06:38.566746Z"}, "problem_hash": "c29fd8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K14": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "split": "test"} +{"id": "284a10", "alias": "antilemma_sum_primes_v1_784195855_3937", "problem": "Let $m = 193$ and $n = 2$. Let $D$ be the set of all positive divisors $d$ of $38021$ such that $1 \\leq d \\leq m$. Let $x$ be the sum of all prime numbers $p$ such that $n \\leq p \\leq \\max(D)$. Compute $x$.", "answer": 3831, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(193),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(38021)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MAX_DIVISOR/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "8939d1", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_DIVISOR", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T06:42:43.353340Z", "verification": {"verified": true, "answer": 3831, "timestamp": "2026-02-08T06:42:43.362038Z"}, "problem_hash": "6eb887", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_PRIMES": "ok", "DS2": "no", "K18": "no", "K5": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "7cfa00", "alias": "comb_count_permutations_fixed_v1_397696148_1616", "problem": "Let $ n $ be the number of integers $ t $ with $ 10 \\leq t \\leq 30 $ that can be expressed as $ t = 6a + 4b $ for positive integers $ a $ and $ b $ with $ 1 \\leq a \\leq 3 $ and $ 1 \\leq b \\leq 3 $. Let $ k $ be the minimum value of $ x + y $ over all pairs of positive integers $ (x, y) $ such that $ x \\cdot y = 9 $. Define $ R = \\binom{n}{k} \\cdot !(n - k) $, where $ !m $ denotes the number of derangements of $ m $ elements. Compute $ 32041 - R $.", "answer": 31873, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=30)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": Const(32041),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T12:39:38.639205Z", "verification": {"verified": true, "answer": 31873, "timestamp": "2026-02-08T12:39:38.643688Z"}, "problem_hash": "f9a219", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": -603000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 712}, "timestamp": "2026-02-12T05:31:02.772Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "59dd3e", "alias": "comb_count_permutations_fixed_v1_1520064083_3785", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers such that $i + j = 11$, $1 \\leq i \\leq 10$, and $1 \\leq j \\leq 11$. Let $n$ be the number of elements in $S$ multiplied by the value of $\\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Let $w = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and let $k = 5w$. Compute the value of $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 11088, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n2\": Const(0),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Sub(Binom(n=Const(18), k=Const(18)), Binom(n=Const(18), k=Const(18))),\n \"e\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(11)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(11))))), Ref(\"e\")),\n \"k\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "ZERO_BINOM_N", "ONE_BINOM_N"], "recipe_id": "f69814", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "ONE_BINOM_N", "ZERO_BINOM_N"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T05:52:15.438644Z", "verification": {"verified": true, "answer": 11088, "timestamp": "2026-02-08T05:52:15.453334Z"}, "problem_hash": "aa6133", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1350}, "timestamp": "2026-02-12T16:23:33.474Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 357}, "timestamp": "2026-02-11T23:17:42.759Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_N": "ok", "ZERO_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "c84b1e", "alias": "antilemma_coprime_grid_v1_677425708_947", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 59$ and $1 \\leq j \\leq 86$ such that $\\gcd(i, j) = 1$.\n\nLet $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $101918191$.\n\nLet $p_{\\text{max}}$ be the largest prime number $n$ such that $2 \\leq n \\leq 102$.\n\nLet $C$ be the number of integers $t$ such that $27 \\leq t \\leq 351$ and there exist positive integers $a \\leq 5$, $b \\leq 41$ satisfying $t = 21a + 6b$.\n\nDefine\n\\[\nQ = \\left( 353702 \\cdot (|x| \\bmod d_{\\text{min}}) + 329703 \\cdot \\left((x^2 + 1) \\bmod p_{\\text{max}}\\right) + 215534 \\cdot \\left(\\left(\\sum_{k=1}^{|x|} k\\right) \\bmod 5 \\right) \\right) \\bmod 1009091\n\\]\nand compute $Q \\bmod 65650$.", "answer": 19594, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(59)), right=IntegerRange(start=Const(1), end=Const(86))))),\n \"_c\": Const(5),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(101918191))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(102)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=41)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=351)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))))), modulus=Const(1009091)), modulus=Const(65650)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW", "LIN_FORM", "COUNT_COPRIME_GRID"], "recipe_id": "bcc278", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:53:26.745827Z", "verification": {"verified": true, "answer": 19594, "timestamp": "2026-02-08T03:53:26.752068Z"}, "problem_hash": "ed78c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 407, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:22:07.695Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_INTEGER_RANGE": "no", "K13": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "8c7626", "alias": "comb_catalan_compute_v1_798873815_388", "problem": "Let $A$ be the set of all ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, and $15 \\leq 9a + 6b \\leq 51$. Let $n_2$ be the number of distinct values of $t = 9a + 6b$ as $(a, b)$ ranges over all such pairs. Define\n$$\nw = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nLet $u$ be the sum\n$$\nu = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k},\n$$\nand let $\\_n$ be the number of elements in the Cartesian product $\\{1,2\\} \\times \\{1,2,3,4,5\\}$. Define $n = (\\_n + w) \\cdot u$. Compute the $n$-th Catalan number.", "answer": 16796, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=51)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(Sum(Ref(\"_n\"), Ref(\"w\")), Ref(\"u\")),\n \"result\": Catalan(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/LIN_FORM/BINOMIAL_ALTERNATING"], "recipe_id": "0e9914", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T02:37:43.658825Z", "verification": {"verified": true, "answer": 16796, "timestamp": "2026-02-08T02:37:43.664103Z"}, "problem_hash": "ecf3f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 346, "completion_tokens": 1189}, "timestamp": "2026-02-08T19:27:00.215Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 342, "completion_tokens": 1352}, "timestamp": "2026-02-09T16:22:59.044Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 7441}, "timestamp": "2026-02-09T17:19:32.907Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 652}, "timestamp": "2026-02-08T23:46:27.501Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 941}, "timestamp": "2026-02-09T04:22:48.398Z"}, {"id": 8, "model": "mathstral", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 1007}, "timestamp": "2026-02-11T02:31:15.547Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 536}, "timestamp": "2026-02-11T19:38:26.107Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "BINOMIAL_ALTERNATING": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "test"} +{"id": "f641f3", "alias": "sequence_lucas_compute_v1_2051736721_3537", "problem": "Let $n$ be the smallest divisor of $15341$ that is at least $2$. Compute the $n$-th Lucas number.", "answer": 64079, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15341))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:24:06.899500Z", "verification": {"verified": true, "answer": 64079, "timestamp": "2026-02-08T17:24:06.900836Z"}, "problem_hash": "261be5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 239}, "timestamp": "2026-02-12T22:27:03.940Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7ed15c", "alias": "nt_count_coprime_v1_784195855_2310", "problem": "Let $N$ be the number of positive integers $n \\leq 51076$ that are relatively prime to $11$. Let $d$ be the smallest positive divisor of $93347$ that is at least $2$, and let $m = \\gcd(d, 19)$. Compute the sum\n$$\n\\sum_{i=0}^{k-1} \\left( \\text{digit}_i(N) \\cdot (i + \\mu(m))^2 \\right) + 15576,\n$$\nwhere $k$ is the number of decimal digits of $N$, $\\text{digit}_i(N)$ is the $i$-th digit of $N$ (starting from the units digit as $i=0$), and $\\mu$ denotes the M\\\"obius function.", "answer": 15823, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(51076),\n \"k\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=93347))))), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d')))), Const(2)))), Const(15576)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME"], "recipe_id": "9f2418", "seed_template_id": "nt_count_coprime_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 5.587, "created_at": "2026-02-08T05:39:54.642985Z", "verification": {"verified": true, "answer": 15823, "timestamp": "2026-02-08T05:40:00.230066Z"}, "problem_hash": "1748cc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "7a7209", "alias": "nt_sum_divisors_mod_v1_151522320_347", "problem": "Let $t$ be the number of prime factors of $1$, counted with multiplicity. Let $a=6$ and $n_0=44$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=14485636$. For each such pair, form the sum $x+y$, and let $m$ be the minimum of all these sums. Let $b$ be the number of positive integers $k$ such that $1\\le k\\le m$ and $44$ divides $k$.\n\nLet\n$$u=\\sum_{d\\mid \\gcd(a,b)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function, and let $n=10080u$.\n\nLet $\\sigma(n)$ denote the sum of the positive divisors of $n$, and let $r$ be the remainder when $\\sigma(n)$ is divided by $10639$, so that $0\\le r<10639$. Finally, let $Q$ be the remainder when $|r|$ is divided by $76781+t$, so that $0\\le Q<76781+t$.\n\nFind the value of $Q$.", "answer": 7395, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44),\n \"n1\": Const(1),\n \"t\": BigOmega(n=Ref(name='n1')),\n \"a\": Const(6),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(14485636)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(10080), Ref(\"u\")),\n \"M\": Const(10639),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Sum(Const(76781), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C2/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "1dad31", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "C2", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:09:52.269171Z", "verification": {"verified": true, "answer": 7395, "timestamp": "2026-02-08T03:09:52.274853Z"}, "problem_hash": "b8c461", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7395, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 360, "completion_tokens": 1634}, "timestamp": "2026-02-09T01:40:16.895Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "C2": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "test"} +{"id": "c2ba92", "alias": "antilemma_sum_primes_v1_865884756_1079", "problem": "Let $m=2$ and $n=22$. Let $x$ be the sum of all prime numbers $k$ such that $2\\le k\\le 22$.\n\nConsider the positive integer $427538329$. Let $D$ be the set of all integers $d$ such that $2\\le d$ and $d$ divides $427538329$. Assume $D$ is nonempty, and let $L$ be the minimum element of $D$.\n\nLet $M$ be the maximum of the set of all integers $t$ such that $m\\le t\\le L$ and $t$ is prime.\n\nLet\n$$Q\\equiv M-x\\pmod{80629},$$\nwhere $0\\le Q<80629$.\n\nFind the value of $Q$. ", "answer": 80575, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(22),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(427538329)))))), IsPrime(Var(\"n1\"))))), Ref(\"x\")), modulus=Const(80629)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "SUM_PRIMES"], "recipe_id": "eea07b", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T15:46:59.126732Z", "verification": {"verified": true, "answer": 80575, "timestamp": "2026-02-08T15:46:59.131587Z"}, "problem_hash": "c283d4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K16": "no", "MOD_MUL": "no", "V7": "no"}, "split": "test"} +{"id": "8541b3", "alias": "nt_sum_divisors_mod_v1_1520064083_4200", "problem": "Let $n = 840$ and $M = 10711$. Compute $\\sigma(n)$, the sum of all positive divisors of $n$. Let $r$ be the remainder when $\\sigma(n)$ is divided by $M$. Define $a = 3^r \\bmod 99991$, where the result is taken as the smallest nonnegative residue. Let $b$ be the smallest positive integer $k$ such that $3^{2996}$ divides $k!$. Determine the value of $a + b$.", "answer": 89052, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(840),\n \"M\": Const(10711),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(2996)), domain='Z_{>0}'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5"], "recipe_id": "145c1f", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V5"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T06:08:20.925316Z", "verification": {"verified": true, "answer": 89052, "timestamp": "2026-02-08T06:08:20.927652Z"}, "problem_hash": "7e5a49", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V5": "ok", "K18": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V1": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "10b0b7", "alias": "geo_count_lattice_triangle_v1_153355830_1026", "problem": "Let $d=81$, $c=163$, $m=2$, and $n_0=163$. Let $P$ be the largest prime number $p$ with $2\\le p\\le 164$.\n\nDefine\n$$\\text{area\\_2x}=\\left|128P-81\\cdot(-128)\\right|.$$\n\nLet $B$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 8$ and $1\\le j\\le 16$. Define\n$$b_1=\\gcd\\bigl(|B|,128\\bigr).$$\n\nLet\n$$s_1=\\sum_{d\\mid 81} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Let $L$ be the smallest integer $n\\ge 1$ such that the exponent of $2$ in the prime factorization of $n!$ is at least $127$. Define\n$$b_2=\\gcd\\bigl(|s_1-128|,\\,|n_0-L|\\bigr)$$\nand\n$$b_3=\\gcd(81,163).$$\n\nLet\n$$\\text{boundary}=b_1+b_2+b_3$$\nand\n$$\\text{result}=\\frac{\\text{area\\_2x}+2-\\text{boundary}}{m}.$$\n\nFinally, let\n$$Q=\\sum_{n=1}^{|\\text{result}|} \\tau(n),$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nFind the value of $Q$.", "answer": 45158, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(81),\n \"_c\": Const(163),\n \"_m\": Const(2),\n \"_n\": Const(163),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=164)), IsPrime(arg=Var(name='n')))))), Mul(Const(value=81), Sub(left=Const(value=0), right=Const(value=128))))),\n \"boundary\": Sum(GCD(a=Abs(arg=CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(value=1), end=Const(value=8)), right=IntegerRange(start=Const(value=1), end=Const(value=16))))), b=Abs(arg=Const(value=128))), GCD(a=Abs(arg=Sub(left=SumOverDivisors(n=Const(value=81), var='d', expr=EulerPhi(n=Var(name='d'))), right=Const(value=128))), b=Abs(arg=Sub(left=Ref(name='_n'), right=MinOverSet(set=SolutionsSet(var=Var(name='n'), condition=Geq(left=MaxKDivides(target=Factorial(arg=Var(name='n')), base=Const(value=2)), right=Const(value=127))))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_d'))), b=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_c'))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_m\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COUNT_CARTESIAN", "K3", "V5"], "recipe_id": "1748a1", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K3", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T04:21:34.935207Z", "verification": {"verified": true, "answer": 45158, "timestamp": "2026-02-08T04:21:34.950649Z"}, "problem_hash": "4d7c28", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K3": "ok", "MAX_PRIME_BELOW": "ok", "V5": "ok", "C2": "no", "K17": "no", "K5": "no", "L3b": "no", "V8": "no"}, "split": "test"} +{"id": "2f309a", "alias": "antilemma_k2_v1_717093673_155", "problem": "Let $m$ be the sum of the solutions to the equation $x^2 - 309x + 8370 = 0$. Let $n = 309$. Compute the value of\n$$\n\\sum_{k=1}^{n} \\varphi(k) \\left\\lfloor \\frac{1}{k} \\sum_{d \\mid m} \\varphi(d) \\right\\rfloor.\n$$", "answer": 47895, "graph": "graphs = [\n Graph(\n let={\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Const(2)), Mul(Const(-309), Var(\"x1\")), Const(8370)), Const(0)))),\n \"_n\": Const(309),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/K3/K2", "K2"], "recipe_id": "9e3bdc", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T15:12:46.819202Z", "verification": {"verified": true, "answer": 47895, "timestamp": "2026-02-08T15:12:46.821243Z"}, "problem_hash": "568358", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 497}, "timestamp": "2026-02-12T07:58:53.205Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "K3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "65d343", "alias": "modular_count_residue_v1_1470522791_858", "problem": "Let $m$ be the smallest divisor of $77077$ that is at least $2$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 40320$ and $n \\equiv 6 \\pmod{m}$.", "answer": 5760, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(40320),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77077))))),\n \"r\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 1.6, "created_at": "2026-02-08T13:17:13.628294Z", "verification": {"verified": true, "answer": 5760, "timestamp": "2026-02-08T13:17:15.228710Z"}, "problem_hash": "66b977", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2122, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 383}, "timestamp": "2026-02-12T06:27:51.126Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "LTE_DIFF_P2": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "c9a4b2", "alias": "modular_sum_quadratic_residues_v1_168721529_410", "problem": "Let $p$ be the smallest prime divisor of 4464317959. Compute $\\frac{p(p-1)}{4}$.", "answer": 16448, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4464317959))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:02:30.653562Z", "verification": {"verified": true, "answer": 16448, "timestamp": "2026-02-08T13:02:30.656889Z"}, "problem_hash": "a4e30a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:47:50.098Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2525, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 86, "completion_tokens": 169}, "timestamp": "2026-02-09T16:26:18.966Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16448, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 73, "completion_tokens": 2800}, "timestamp": "2026-02-10T04:33:19.044Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 170}, "timestamp": "2026-02-12T06:03:33.692Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.16, "mid": 1.4, "hi": 5.17}, "split": "test"} +{"id": "061a55", "alias": "antilemma_sum_equals_v1_865884756_1280", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 52$ and there exist positive integers $a \\leq 4$, $b \\leq 16$ for which $t = 5a + 2b$. Define $n = |T|$. Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i, j \\leq 42$ and $i + j = n$. Compute\n$$\n\\sum_{k = \\binom{4}{\\binom{8}{0} - 1}}^{|x|} \\tau(k),\n$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 160, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=16)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(42)), right=IntegerRange(start=Const(1), end=Const(42))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(4), k=Sub(Binom(n=Const(8), k=Const(0)), Const(1))), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ZERO_BINOM_0", "ONE_BINOM_0"], "recipe_id": "9e3959", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_0", "ZERO_BINOM_0"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T15:51:46.624115Z", "verification": {"verified": true, "answer": 160, "timestamp": "2026-02-08T15:51:46.632797Z"}, "problem_hash": "757d32", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 474}, "timestamp": "2026-02-12T09:32:57.406Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "34ee67", "alias": "nt_count_phi_equals_v1_784195855_2234", "problem": "Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 1225$. Let $t$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 250000$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq t$ and $\\phi(n) = 1$. Compute the value of $11^r + s$ modulo 99991, and add $s$ to the result; report the final sum.", "answer": 191, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1225),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3"], "recipe_id": "8b1de8", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "two_stage_modexp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3"], "num_lemmas": 1, "generation_time": 0.049, "created_at": "2026-02-08T05:37:13.817556Z", "verification": {"verified": true, "answer": 191, "timestamp": "2026-02-08T05:37:13.866840Z"}, "problem_hash": "a5d4d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 261, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 1361}, "timestamp": "2026-02-12T12:03:11.203Z"}, {"id": 8, "model": "mathstral", "answer": 3557, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 549}, "timestamp": "2026-02-14T20:43:55.150Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 446}, "timestamp": "2026-02-11T22:54:53.574Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "K18": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "46c317", "alias": "antilemma_coprime_grid_v1_784195855_95", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 35$ and $1 \\leq j \\leq 74$ such that $\\gcd(i, j) = 1$. Let $u = \\mu(81)^2$, where $\\mu$ is the Möbius function, and let $c$ be the number of distinct prime factors of $59$. Compute the remainder when\n$$\n353702 \\cdot (x \\bmod 97) + 329703 \\cdot \\left((x^2 + 1) \\bmod 101\\right) + (215534 + u) \\cdot \\left((x + 41) \\bmod (103 \\cdot c)\\right)\n$$\nis divided by $60730$.", "answer": 18373, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(81),\n \"u\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(59),\n \"c\": SmallOmega(n=Ref(name='n')),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(74))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Sum(Const(215534), Ref(\"u\")), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(41)), modulus=Mul(Const(103), Ref(\"c\"))))), modulus=Const(1009091)), modulus=Const(60730)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "COUNT_COPRIME_GRID", "OMEGA_ONE"], "recipe_id": "7f3a6d", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_SQUAREFREE", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:57:23.871397Z", "verification": {"verified": true, "answer": 18373, "timestamp": "2026-02-08T02:57:23.874614Z"}, "problem_hash": "cb7c68", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 5287, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 6696}, "timestamp": "2026-02-08T22:43:28.074Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_SQUAREFREE": "ok", "OMEGA_ONE": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3c": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "test"} +{"id": "2fdd14", "alias": "modular_modexp_compute_v1_1978505735_5039", "problem": "Let $a = 19$. Let $e$ be the smallest integer greater than or equal to $2$ that divides $3101041969$. Let $m = 21609$. Compute the remainder when $a^e$ is divided by $m$.", "answer": 18847, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(19),\n \"e\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3101041969))))),\n \"m\": Const(21609),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.026, "created_at": "2026-02-08T18:44:52.402498Z", "verification": {"verified": true, "answer": 18847, "timestamp": "2026-02-08T18:44:52.428538Z"}, "problem_hash": "f1d0c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 480}, "timestamp": "2026-02-13T00:27:59.926Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b5ec39", "alias": "antilemma_v1_legendre_1520064083_3094", "problem": "Let $c$ be the largest integer such that $2^c$ divides $852!$. Let $m$ be the smallest integer $d \\geq 2$ that divides $c$. Let $k_0$ be the largest integer $k$ such that $m^k \\leq 609488971483$. Determine the value of the largest integer $x$ such that $k_0^x$ divides $44798!$.", "answer": 3732, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_c\": MaxKDivides(target=Factorial(Const(852)), base=Const(2)),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_d\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_c\"))))),\n \"_n\": Const(44798),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_m\"), Var(\"k\")), Const(609488971483))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MIN_PRIME_FACTOR/MAX_VAL/V1", "V1"], "recipe_id": "0e1aa8", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:28:01.056646Z", "verification": {"verified": true, "answer": 3732, "timestamp": "2026-02-08T05:28:01.060021Z"}, "problem_hash": "ad2b30", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "MAX_VAL": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "DS2": "no", "K13": "no", "K14": "no", "K18": "no", "MOD_FACTORIAL": "no"}, "split": "test"} +{"id": "8d0176", "alias": "modular_min_linear_v1_50713871_21", "problem": "Let $a = 12857$. Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $s = |P|$. Let $d_0$ be the smallest divisor of $1406498934642353$ that is at least $s$. Let $m = 44267$. Determine the smallest positive integer $x$ such that $x \\ge \\sum_{d \\mid \\gcd(5,7)} \\mu(d)$, $x \\le m$, and $a \\cdot x \\equiv d_0 \\pmod{m}$, where $\\mu$ is the M\\\"obius function. Compute this value of $x$.", "answer": 6284, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(12857),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(1406498934642353))))),\n \"m\": Const(44267),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), SumOverDivisors(n=GCD(a=Const(value=5), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "recipe_id": "31db12", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 1.602, "created_at": "2026-02-08T02:43:30.623590Z", "verification": {"verified": true, "answer": 6284, "timestamp": "2026-02-08T02:43:32.225748Z"}, "problem_hash": "22c33a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:45:09.029Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:05:39.029Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:16:22.059Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19049, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 3958}, "timestamp": "2026-02-09T22:59:09.229Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_COPRIME": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "fa2669", "alias": "nt_count_intersection_v1_1520064083_8945", "problem": "Let $a$ be the sum of the roots of the equation $x^2 - 9x - 6952 = 0$. Let $b = \\sum_{d \\mid 16} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $N = 50000$. Compute the number of positive integers $n \\leq N$ that are divisible by $a$ and relatively prime to $b$. Multiply this count by $69827$, and find the remainder when the result is divided by $66339$.", "answer": 4170, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"N\": Const(50000),\n \"a\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-9), Var(\"x\")), Const(-6952)), Const(0)))),\n \"b\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(69827),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66339)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "K3"], "recipe_id": "236338", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 1.962, "created_at": "2026-02-08T10:26:46.896337Z", "verification": {"verified": true, "answer": 4170, "timestamp": "2026-02-08T10:26:48.858200Z"}, "problem_hash": "1109db", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4170, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 1496}, "timestamp": "2026-02-14T07:28:32.883Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49644, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 675}, "timestamp": "2026-02-12T03:18:34.822Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "K14": "no", "K16": "no", "K17": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "712113", "alias": "comb_catalan_compute_v1_1742523217_3004", "problem": "Let $c = 11$. Let $m$ be the number of ordered triples $(x_1, x_2, x_3)$ of positive odd integers that satisfy $x_1 + x_2 + x_3 = c$. Let $n$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i, j \\le 14$ such that $i + j = m$. Finally, let $N$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i, j \\le 12$ such that $i + j = n$. Compute the remainder when $44121 \\cdot C_N$ is divided by $61256$, where $C_N$ denotes the $N$-th Catalan number. Find the value of this remainder.", "answer": 56810, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\"), Var(\"x3\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='x3')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), IsOdd(arg=Var(name='x3')), Eq(Sum(Var(\"x1\"), Var(\"x2\"), Var(\"x3\")), Ref(\"_c\"))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(14))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(61256)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COMB1/COUNT_SUM_EQUALS"], "recipe_id": "9ac1ef", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T05:29:49.167818Z", "verification": {"verified": true, "answer": 56810, "timestamp": "2026-02-08T05:29:49.189963Z"}, "problem_hash": "3be7fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14402, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 2542}, "timestamp": "2026-02-12T11:36:35.971Z"}, {"id": 8, "model": "mathstral", "answer": 37, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 672}, "timestamp": "2026-02-14T20:30:23.292Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 500}, "timestamp": "2026-02-11T22:52:51.809Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "cc89c0", "alias": "nt_count_gcd_equals_v1_458359167_5055", "problem": "Let $n$ be a positive integer such that $n \\geq 2$, and let $k$ be the smallest such $n$ that divides 67591. Define $d = 1$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 25281$ and $\\gcd(n, k) = d$. Compute the number of elements in $S$.", "answer": 25183, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(25281),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(67591))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 14.219, "created_at": "2026-02-08T12:15:40.173207Z", "verification": {"verified": true, "answer": 25183, "timestamp": "2026-02-08T12:15:54.391914Z"}, "problem_hash": "f9d65e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25183, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 2244}, "timestamp": "2026-02-14T23:15:01.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 67590, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 306}, "timestamp": "2026-02-12T05:02:28.690Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "6281e9", "alias": "diophantine_product_count_v1_349078426_1100", "problem": "Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 32400$. Let $u$ be the number of integers $t$ such that $12 \\leq t \\leq 182$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 21$, $1 \\leq b \\leq 11$, and $t = 5a + 7b$. Determine the number of positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32400),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=182)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T13:24:42.334994Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T13:24:42.372926Z"}, "problem_hash": "96ad27", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 486}, "timestamp": "2026-02-12T06:52:36.054Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K18": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "54c2a3", "alias": "algebra_poly_eval_v1_1918700295_1682", "problem": "Let $z = 8$. Compute the value of\n$$\n\\frac{7z^3 + k z^2 - 36}{s},\n$$\nwhere $k$ is the largest integer such that $2^k \\leq 15151000146203$, and $s$ is the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 49$.", "answer": 450, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"z\": Const(8),\n \"result\": Div(Sum(Mul(Const(7), Pow(Ref(\"z\"), Const(3))), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(15151000146203)))), Pow(Ref(\"z\"), Const(2))), Const(-36)), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL", "B3"], "recipe_id": "21474a", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MAX_VAL"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:57:42.664609Z", "verification": {"verified": true, "answer": 450, "timestamp": "2026-02-08T05:57:42.667649Z"}, "problem_hash": "1453e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 450, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 1308}, "timestamp": "2026-02-12T17:20:12.885Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 395, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 434}, "timestamp": "2026-02-11T23:23:34.306Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_VAL": "ok", "K16": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "9a3752", "alias": "sequence_count_fib_divisible_v1_1439011603_986", "problem": "Let $d$ be the smallest divisor of $6727353371279$ that is at least $2$. Compute the number of positive integers $n$ such that $1 \\le n \\le d$ and $7$ divides the $n$-th Fibonacci number. Multiply this count by $44121$, and compute the remainder when the result is divided by $85762$.", "answer": 54560, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(6727353371279))))),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(85762)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.093, "created_at": "2026-02-08T15:51:20.977661Z", "verification": {"verified": true, "answer": 54560, "timestamp": "2026-02-08T15:51:21.070408Z"}, "problem_hash": "f5b125", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 454}, "timestamp": "2026-02-12T09:21:09.793Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_DIFF_P2": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "0d9e2f", "alias": "nt_sum_totient_over_divisors_v1_865884756_6715", "problem": "Let $n = 95266$ and let $s = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $t$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 7200$. Compute the remainder when $s^2 + 47s + t$ is divided by $86576$.", "answer": 978, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(95266),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(47), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(7200)))))), modulus=Const(86576)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1"], "recipe_id": "0a3d6e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T19:21:41.467735Z", "verification": {"verified": true, "answer": 978, "timestamp": "2026-02-08T19:21:41.472666Z"}, "problem_hash": "bc473f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 750}, "timestamp": "2026-02-13T00:57:17.032Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "K13": "no", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "79502d", "alias": "nt_sum_gcd_range_mod_v1_784195855_8532", "problem": "Let $N$ be the number of integers $t$ such that $23 \\le t \\le 4831$ and there exist integers $a$ and $b$ with $1 \\le a \\le 788$, $1 \\le b \\le 167$, and $t = 4a + 10b + 9$. Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 20736$. Let $M = 11273$. Compute the remainder when $\\sum_{n=1}^{N} \\gcd(n, k)$ is divided by $M$.", "answer": 8242, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(20736),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=788)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=167)), Geq(left=Var(name='t'), right=Const(value=23)), Leq(left=Var(name='t'), right=Const(value=4831)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b')), Const(value=9)))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(11273),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.162, "created_at": "2026-02-08T16:08:45.117893Z", "verification": {"verified": true, "answer": 8242, "timestamp": "2026-02-08T16:08:45.279683Z"}, "problem_hash": "546d24", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 496}, "timestamp": "2026-02-12T10:03:52.111Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MOD_ADD": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "349acd", "alias": "nt_gcd_compute_v1_1742523217_4799", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq 1863$ and $\\gcd(n, 14) = 1$. Define $f = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function. Let $p$ be the smallest prime divisor of $36384418009$, and let $q = 59$, $r = 43$. Define $n = p \\cdot q \\cdot r$. Let $v$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $\\text{result} = \\gcd(240260, 540585)$. Compute the remainder when $\\left(72470 \\cdot f + v\\right) \\cdot \\text{result}$ is divided by $99937$.", "answer": 54578, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1863),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"f\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(36384418009))))),\n \"q\": Const(59),\n \"r\": Const(43),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"a\": Const(240260),\n \"b\": Const(540585),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Sum(Mul(Const(72470), Ref(\"f\")), Ref(\"v\")), Ref(\"result\")), modulus=Const(99937)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "C4/LIOUVILLE_ONE"], "recipe_id": "7aded1", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C4", "DIVISOR_PARITY", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T09:08:16.932320Z", "verification": {"verified": true, "answer": 54578, "timestamp": "2026-02-08T09:08:16.938910Z"}, "problem_hash": "aadd85", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_ONE": "ok_later", "K14": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "cc62d7", "alias": "sequence_count_fib_divisible_v1_1520064083_3636", "problem": "Determine the number of positive integers $n$ such that $1 \\le n \\le 856$ and the $n$-th Fibonacci number is divisible by 9.\n\nFind the value of this number.", "answer": 71, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(856),\n \"d\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "d81a87", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.063, "created_at": "2026-02-08T05:47:04.173906Z", "verification": {"verified": true, "answer": 71, "timestamp": "2026-02-08T05:47:04.236919Z"}, "problem_hash": "d247fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 89, "completion_tokens": 1732}, "timestamp": "2026-02-12T14:31:06.601Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 141, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 856}, "timestamp": "2026-02-11T23:07:58.011Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K16": "no", "LTE_DIFF": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "b9f5f4", "alias": "nt_sum_phi_v1_1978505735_1154", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 547$. Define $A = \\sum_{n \\in S} \\phi(n)$, where $\\phi$ denotes Euler's totient function.\n\nLet $T$ be the set of all positive integers $t$ for which there exist positive integers $a$ and $b$ satisfying $1 \\leq a \\leq 351$, $1 \\leq b \\leq 3010$, $9 \\leq t \\leq 8477$, and $t = 7a + 2b$. Let $B$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq |T|$ and the sum of the decimal digits of $n_1$ is divisible by 2.\n\nCompute the remainder when $B \\cdot A$ is divided by 92509.", "answer": 62360, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(92509),\n \"_n\": Const(2),\n \"upper\": Const(547),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=351)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3010)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=8477)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Ref(\"_n\")), Const(0))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3B"], "recipe_id": "9be69b", "seed_template_id": "nt_sum_phi_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.048, "created_at": "2026-02-08T15:51:51.336966Z", "verification": {"verified": true, "answer": 62360, "timestamp": "2026-02-08T15:51:51.385200Z"}, "problem_hash": "79d72f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 483}, "timestamp": "2026-02-12T09:18:06.644Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "L3B": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f38e48", "alias": "nt_sum_divisors_mod_v1_784195855_6563", "problem": "Let $d_{\\text{max}}$ be the largest positive divisor of $57161160$ that is at most $7560$. Let $n$ be the number of positive integers $j$ such that $j^5 \\leq 24694996986777600000$. Define $\\sigma(n)$ to be the sum of all positive divisors of $n$. Find the remainder when $\\sigma(n)$ is divided by $11173$.", "answer": 6454, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(7560)), Divides(divisor=Var(\"d\"), dividend=Const(57161160)))))), Leq(Pow(Var(\"j\"), Const(5)), Const(24694996986777600000))), domain='positive_integers')),\n \"M\": Const(11173),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/C3"], "recipe_id": "602348", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:43:34.117825Z", "verification": {"verified": true, "answer": 6454, "timestamp": "2026-02-08T08:43:34.120121Z"}, "problem_hash": "66c33c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6454, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 3801}, "timestamp": "2026-02-13T21:04:11.614Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 331}, "timestamp": "2026-02-12T02:08:34.214Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "C3": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "bd37f8", "alias": "sequence_count_fib_divisible_v1_579913215_154", "problem": "Let $n$ be a positive integer. Define $A$ as the number of integers $n$ such that $1 \\leq n \\leq 9613$ and $$\n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.$$\n\nLet $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq A$ and $4$ divides the $n$-th Fibonacci number $F_n$.\n\nCompute the remainder when $44121 \\cdot B$ is divided by $98899$.", "answer": 68009, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(9613)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(98899)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.059, "created_at": "2026-02-08T12:55:33.570333Z", "verification": {"verified": true, "answer": 68009, "timestamp": "2026-02-08T12:55:33.628835Z"}, "problem_hash": "7bbb62", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 476}, "timestamp": "2026-02-12T05:57:18.711Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "adfc74", "alias": "nt_num_divisors_compute_v1_784195855_1381", "problem": "Let $m = 2$ and let $P$ be the number of prime numbers $n$ such that $m \\leq n \\leq 887$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq P$ and the sum of the decimal digits of $n$ is even. Determine the number of positive divisors of $N$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(887)), IsPrime(Var(\"n\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/L3B"], "recipe_id": "5936fd", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3B"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:00:01.346306Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T05:00:01.348375Z"}, "problem_hash": "541f72", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 2462}, "timestamp": "2026-02-11T22:40:08.812Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 1338}, "timestamp": "2026-02-14T05:10:18.878Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 371}, "timestamp": "2026-02-11T22:09:16.244Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok_later", "C2": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "test"} +{"id": "082a06", "alias": "nt_euler_phi_compute_v1_1520064083_2451", "problem": "Let $a$ be the number of integers $n$ with $1 \\leq n \\leq 120$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $b = 875$, and let $g = \\gcd(a, b)$. Define $v$ to be the sum of the M\\\"obius function $\\mu(d)$ over all positive divisors $d$ of $g$. Let $f = \\Omega(1)$, where $\\Omega(n)$ counts the total number of prime factors of $n$ with multiplicity. Define $n = 58564 \\cdot v + f$. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 26620, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(120),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"b\": Const(875),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(1),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Mul(Const(58564), Ref(\"v\")), Ref(\"f\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "f8f04a", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "L3C", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:44:45.362451Z", "verification": {"verified": true, "answer": 26620, "timestamp": "2026-02-08T04:44:45.364232Z"}, "problem_hash": "9c9248", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "L3C": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "9a32af", "alias": "diophantine_fbi2_min_v1_655260480_1562", "problem": "Let $d$ be an integer such that $6 \\leq d \\leq 87$, $d$ divides $77$, and $\\frac{77}{d} \\geq 6$. Let $r$ be the smallest such $d$. Compute the remainder when $16054 \\times r$ is divided by $71037$.", "answer": 41341, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71037),\n \"k\": Const(77),\n \"upper\": Const(87),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6))))),\n \"_c\": Const(16054),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T16:13:21.148894Z", "verification": {"verified": true, "answer": 41341, "timestamp": "2026-02-08T16:13:21.155082Z"}, "problem_hash": "2169cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 41341, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 263}, "timestamp": "2026-02-12T10:07:27.896Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "test"} +{"id": "c9a464", "alias": "comb_count_permutations_fixed_v1_1742523217_2958", "problem": "Let $n = 8$ and $k = 3$. Define $\\mathcal{D}_m$ to be the number of derangements of $m$ objects, denoted $!m$. Let $S$ be the set of all positive integers $k$ such that $3^k \\leq 38550247$. Let $d = \\gcd\\left(\\max(S), 22\\right)$. Compute\n$$\n\\sum_{n = \\sum_{d' \\mid d} \\mu(d')}^{\\left|\\binom{n}{k} \\cdot !(n-k)\\right|} \\phi(n),\n$$\nwhere $\\mu$ denotes the Möbius function and $\\phi$ denotes Euler's totient function. Find the remainder when this sum is divided by $86056$.", "answer": 38848, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(8),\n \"k\": Const(3),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='k'), condition=Leq(left=Pow(base=Const(value=3), exp=Var(name='k')), right=Const(value=38550247)))), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(86056)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MOBIUS_COPRIME"], "recipe_id": "e399ac", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "sum_totient", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.107, "created_at": "2026-02-08T05:28:16.146874Z", "verification": {"verified": true, "answer": 38848, "timestamp": "2026-02-08T05:28:16.253403Z"}, "problem_hash": "a72fbe", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "same_pattern_wrong", "K13": "no", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "45b554", "alias": "nt_count_squarefree_v1_677425708_2498", "problem": "Let $n$ be a positive integer with $1 \\leq n \\leq 44444$. Let $d_{\\text{max}}$ be the largest positive divisor of $10$ that is at most $2$. Determine how many such integers $n$ satisfy $\\mu(n)^2 = \\phi(d_{\\text{max}})$, where $\\mu$ is the M\\\"obius function and $\\phi$ is Euler's totient function.", "answer": 27021, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(44444),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), EulerPhi(n=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(10)))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/ONE_PHI_2"], "recipe_id": "a2acd2", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 11.237, "created_at": "2026-02-08T05:04:53.172147Z", "verification": {"verified": true, "answer": 27021, "timestamp": "2026-02-08T05:05:04.409424Z"}, "problem_hash": "de5c44", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "ONE_PHI_2": "ok_later", "K15": "no", "K16": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "6cd5a0", "alias": "comb_binomial_compute_v1_1918700295_3026", "problem": "Let $ S $ be the set of all integers $ t $ such that there exist integers $ a $ and $ b $ satisfying $ 1 \\leq a \\leq 8 $, $ 1 \\leq b \\leq 2 $, $ 12 \\leq t \\leq 29 $, and $ t = 2a + 3b + 7 $. Let $ n $ be the number of elements in $ S $. Let $ k $ be the largest prime number satisfying $ 2 \\leq k \\leq 10 $. Define $ \\binom{n}{k} $. Let $ T $ be the set of all ordered pairs $ (i, j) $ where $ i $ and $ j $ are integers with $ 1 \\leq i \\leq 6 $ and $ 1 \\leq j \\leq 6 $, and let $ c $ be the number of such pairs satisfying $ i + j = 96333 $. Compute the remainder when $ c - \\binom{n}{k} $ is divided by $ 96333 $.", "answer": 84898, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(96333),\n \"_m\": Const(2),\n \"_n\": Const(6),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=7)))))))),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(10)), IsPrime(Var(\"n\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6))))), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "9a4de2", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T08:21:32.268536Z", "verification": {"verified": true, "answer": 84898, "timestamp": "2026-02-08T08:21:32.287420Z"}, "problem_hash": "9c2127", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 84893, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 1498}, "timestamp": "2026-02-13T17:47:37.819Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 492}, "timestamp": "2026-02-12T01:49:39.016Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "no", "L3b": "no", "LTE_SUM": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "6b0341", "alias": "nt_sum_totient_over_divisors_v1_865884756_502", "problem": "Let $n = 44021$ and $N = 55207$. Let $R = \\sum_{d \\mid n} \\varphi(d)$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 53361000$, $\\gcd(p, q) = 1$, and $p < q$. Let $C$ be the number of elements in $S$. Let $M$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 102$. Let $Q$ be the remainder when\n\\[\nR^2 + C \\cdot R + M\n\\]\nis divided by $N$. Compute $Q$.", "answer": 16780, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55207),\n \"n\": Const(44021),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(102)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=53361000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "B1"], "recipe_id": "838c69", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:27:28.195307Z", "verification": {"verified": true, "answer": 16780, "timestamp": "2026-02-08T15:27:28.200930Z"}, "problem_hash": "3922fb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 522}, "timestamp": "2026-02-12T08:27:26.984Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "b8c577", "alias": "modular_sum_quadratic_residues_v1_717093673_99", "problem": "Let $n = 97089$. Let $p$ be the smallest divisor of $301165481$ that is at least $2$. Define $$\nresult = \\frac{p(p - 1)}{4}.\n$$ Let $Q$ be the remainder when $13777 \\cdot result$ is divided by $n$. Compute $Q$.", "answer": 39141, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97089),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(301165481))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Const(13777), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:11:04.789819Z", "verification": {"verified": true, "answer": 39141, "timestamp": "2026-02-08T15:11:04.792018Z"}, "problem_hash": "2a2a01", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 67045, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 295}, "timestamp": "2026-02-12T07:52:13.876Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K13": "no", "K15": "no", "K18": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2de7f8", "alias": "comb_sum_binomial_row_v1_168721529_1997", "problem": "Let $m = 49764$. Define $n$ to be the largest integer such that $13^n$ divides $m!$. Let $k$ be the largest integer such that $2^k$ divides $\\binom{n}{1658}$. Compute $2^k$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(49764),\n \"_n\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=Const(13)),\n \"n\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(1658)), base=Const(2)),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/V7"], "recipe_id": "477f80", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V1", "V7"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T14:02:55.807356Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T14:02:55.810130Z"}, "problem_hash": "0b9392", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:43:54.499Z"}], "solution_status": 0, "lemma_applicability": {"V1": "ok", "V7": "ok_later", "K5": "same_pattern_wrong", "K13": "no", "K14": "no", "K15": "no", "K16": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "a6c5b7", "alias": "comb_count_partitions_v1_784195855_3189", "problem": "Let $m = 22$. Let $P$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 38$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = P$. Let $p(s)$ denote the number of integer partitions of $s$. Let $d$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(15, m)$, where $\\mu$ is the M\\\"obius function. Compute the remainder when\n\n$$\n\\sum_{n = d}^{p(s)} \\tau(n)\n$$\n\nis divided by $96118$, where $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 76273, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(38)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=15), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(96118)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "B1/B3"], "recipe_id": "cf8ed4", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:17:39.077062Z", "verification": {"verified": true, "answer": 76273, "timestamp": "2026-02-08T06:17:39.080031Z"}, "problem_hash": "c04aa5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok", "B3": "ok_later", "K16": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "split": "test"} +{"id": "1dff09", "alias": "nt_count_coprime_and_v1_1978505735_795", "problem": "Let $k_1$ be the smallest integer $d \\geq 2$ that divides $35$, and let $k_2 = 11$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 25320$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$.", "answer": 18415, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(25320),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.84, "created_at": "2026-02-08T15:36:25.663934Z", "verification": {"verified": true, "answer": 18415, "timestamp": "2026-02-08T15:36:28.503866Z"}, "problem_hash": "9be846", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 476}, "timestamp": "2026-02-12T08:47:23.983Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "K5": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "7b5ba7", "alias": "nt_sum_gcd_range_mod_v1_677425708_2406", "problem": "Let $p=17$, and let\n\\[f\\equiv (16!+1)\\pmod{17},\\quad 0\\le f<17.\n\\]\n\nLet $n=5$ and define $s=\\lambda(n)+1$, where $\\lambda$ is the Liouville function. Let $N=6666$.\n\nLet $k_0$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1\\le a\\le 60,\\quad 1\\le b\\le 67,\\quad 9\\le t\\le 554,\\quad t=7a+2b.\n\\]\nDefine $k=k_0+f$.\n\nLet\n\\[S=\\sum_{n=1}^{N} \\gcd(n,k),\\]\nand let $r$ be the remainder when $S$ is divided by $10939$.\n\nLet $r_1$ be the remainder when $r$ is divided by $307$, and let $r_2$ be the remainder when $r$ is divided by $317$.\n\nLet $M$ be the largest prime number between $2$ and $2008$, inclusive. Define\n\\[T\\equiv r_1+M\\cdot r_2\\pmod{74119+s},\\quad 0\\le T<74119+s.\n\\]\n\nFind the value of $T$.", "answer": 38046, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(317),\n \"p\": Const(17),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(5),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"N\": Const(6666),\n \"k\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=60)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=67)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=554)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), Ref(\"f\")),\n \"M\": Const(10939),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(307)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(2008)), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Sum(Const(74119), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE", "LIN_FORM/WILSON"], "recipe_id": "630f32", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "two_moduli", "olympiad_level": 8, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 4, "generation_time": 0.305, "created_at": "2026-02-08T05:01:55.428029Z", "verification": {"verified": true, "answer": 38046, "timestamp": "2026-02-08T05:01:55.732849Z"}, "problem_hash": "e13686", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "WILSON": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no"}, "split": "test"} +{"id": "c36b8f", "alias": "diophantine_product_count_v1_2051736721_509", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 14400$. Let $T$ be the set of all integers $t$ such that $9 \\leq t \\leq 217$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 91$, and $t = 7a + 2b$. Let $\\text{upper}$ be the number of elements in $T$. Define $\\text{result}$ to be the number of positive integers $x_1$ such that $1 \\leq x_1 \\leq \\text{upper}$, $x_1$ divides $k$, and $\\frac{k}{x_1} \\leq \\text{upper}$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $95471$.", "answer": 30410, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(95471),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(14400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=91)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=217)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Divides(divisor=Var(\"x1\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x1\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T15:28:53.292076Z", "verification": {"verified": true, "answer": 30410, "timestamp": "2026-02-08T15:28:53.312060Z"}, "problem_hash": "c11cdc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 483}, "timestamp": "2026-02-12T08:29:42.661Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dc7885", "alias": "nt_count_divisible_and_v1_168721529_1148", "problem": "Let $n$ be a positive integer. Define $\\mathcal{S}$ as the set of all integers $n$ such that $1 \\leq n \\leq 23208$, $n$ is divisible by 8, and $n$ is divisible by 12. Let $r$ be the number of elements in $\\mathcal{S}$.\n\nCompute the value of\n$$\n\\left( 353702 \\cdot \\left( r \\bmod \\max\\{k \\mid 17^k \\text{ divides } 1564!\\} \\right) + 329703 \\cdot \\left( r^2 \\bmod 101 \\right) + 215534 \\cdot \\left( r \\bmod \\max\\{p \\mid p \\text{ is prime}, 2 \\leq p \\leq 106\\} \\right) \\right) \\bmod 1009091\n$$\ngiven that this entire expression is then taken modulo $69691$.", "answer": 41535, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"upper\": Const(23208),\n \"d1\": Const(8),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxKDivides(target=Factorial(Const(1564)), base=Const(17)))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(106)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(69691)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "V1"], "recipe_id": "3d85df", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1"], "num_lemmas": 2, "generation_time": 0.985, "created_at": "2026-02-08T13:30:06.888031Z", "verification": {"verified": true, "answer": 41535, "timestamp": "2026-02-08T13:30:07.873102Z"}, "problem_hash": "64bf1f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 68972, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 2532}, "timestamp": "2026-02-09T14:07:30.828Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 66291, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 828}, "timestamp": "2026-02-10T02:41:53.343Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "MOD_SUB": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "test"} +{"id": "676236", "alias": "diophantine_sum_product_min_v1_655260480_2169", "problem": "Let $n = 196$ and $S = 29$. Let $P$ be the number of integers $t$ such that $20 \\leq t \\leq 450$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 61$, $1 \\leq b \\leq 6$, and $t = 6a + 14b$.\n\nLet $x$ be a positive integer satisfying $1 \\leq x \\leq m$, where $m$ is the minimum value of $x_1 + y$ over all pairs of positive integers $(x_1, y)$ such that $x_1 y = n$, and also satisfying $x(S - x) = P$.\n\nDetermine the value of $x$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(196),\n \"S\": Const(29),\n \"P\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=61)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=450)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x1\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x1\"), Var(\"y\"))))), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["LIN_FORM", "B3"], "recipe_id": "688dbe", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V8"], "num_lemmas": 3, "generation_time": 0.036, "created_at": "2026-02-08T16:36:00.269335Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T16:36:00.305188Z"}, "problem_hash": "4656c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 556}, "timestamp": "2026-02-12T10:59:27.860Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a92485", "alias": "antilemma_sum_primes_v1_1520064083_1307", "problem": "Let $m = 2$. Let $p_1$ be the smallest divisor of $40783879$ that is at least $m$. Let $q = 7$ and $n_1 = p_1 \\cdot q$. Define $m' = \\tau(n_1) \\bmod 2$, where $\\tau(n_1)$ is the number of positive divisors of $n_1$. Let $p = 3$ and $n = p^2$. Let $u = \\lambda(n)$, where $\\lambda(n)$ is the Liouville function. Define $n' = (2 + m') \\cdot u$. Find the value of $\\sum n$, where the sum is taken over all prime numbers $n$ such that $n' \\leq n \\leq 13$.", "answer": 41, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"p1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(40783879))))),\n \"q\": Const(7),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(3),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Sum(Const(2), Ref(\"m\")), Ref(\"u\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(13)), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "LIOUVILLE_ONE", "SUM_PRIMES"], "recipe_id": "d34c8e", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:55:01.053566Z", "verification": {"verified": true, "answer": 41, "timestamp": "2026-02-08T03:55:01.055419Z"}, "problem_hash": "a1ed08", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "DIVISOR_PARITY": "ok_later", "K18": "no", "L3b": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "split": "test"} +{"id": "a4f010", "alias": "comb_sum_binomial_row_v1_655260480_1580", "problem": "Let $S_1$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 27000$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $S_1$. Define $n = \\sum_{k=1}^{m} k$. Let $S_2$ be the set of all positive integers $p_1$ for which there exists a positive integer $q$ such that $p_1 \\cdot q = 18$, $\\gcd(p_1, q) = 1$, and $p_1 < q$. Let $r$ be the number of elements in $S_2$. Compute $32869 \\cdot r^n \\bmod 52221$.", "answer": 27532, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52221),\n \"n\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=27000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), expr=Var(\"k\")),\n \"result\": Pow(CountOverSet(set=SolutionsSet(var=Var(\"p1\"), condition=And(IsPositive(arg=Var(name='p1')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p1'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))), Ref(\"n\")),\n \"_c\": Const(32869),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/SUM_ARITHMETIC"], "recipe_id": "10b314", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:13:34.000035Z", "verification": {"verified": true, "answer": 27532, "timestamp": "2026-02-08T16:13:34.004677Z"}, "problem_hash": "e59007", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 384}, "timestamp": "2026-02-12T10:07:37.710Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "K5": "no", "L3b": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "6adac2", "alias": "modular_sum_quadratic_residues_v1_458359167_4568", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $15183241$.\n\nCompute the value of $$\\frac{p(p-1)}{4}.$$", "answer": 14460, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15183241))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T11:54:20.305901Z", "verification": {"verified": true, "answer": 14460, "timestamp": "2026-02-08T11:54:20.312831Z"}, "problem_hash": "7ac63e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14460, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 83, "completion_tokens": 5048}, "timestamp": "2026-02-14T21:12:02.606Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 250}, "timestamp": "2026-02-12T04:50:06.195Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "75f25c", "alias": "nt_gcd_compute_v1_153355830_884", "problem": "Let $n_1$ be the number of positive integers $k$ such that $1 \\leq k \\leq 20559$ and $77$ divides $k$. Let $e = \\lambda(n_1)$ and $v = \\lambda(4)$, where $\\lambda$ denotes the Liouville function. Define $a = 16302 \\cdot e$ and $b = 26334 \\cdot v$. Compute $\\gcd(a, b)$.", "answer": 1254, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16302),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(20559)), Divides(divisor=Const(77), dividend=Var(\"k\"))), domain='positive_integers')),\n \"e\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(4),\n \"v\": LiouvilleLambda(n=Ref(name='n')),\n \"a\": Mul(Ref(\"_n\"), Ref(\"e\")),\n \"b\": Mul(Const(26334), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/LIOUVILLE_ONE"], "recipe_id": "bde813", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["C2", "LIOUVILLE_ONE"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:13:57.387188Z", "verification": {"verified": true, "answer": 1254, "timestamp": "2026-02-08T04:13:57.389390Z"}, "problem_hash": "011a71", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MAX_VAL": "no", "V7": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "6ba83e", "alias": "comb_sum_binomial_row_v1_1918700295_2834", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 3$ and $1 \\leq j \\leq 5$. Let $n_1 = 0$ and $n_2 = 0$. Define $u = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$ and $w = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Let $r = (2w)^n$. Compute the remainder when $77765 \\cdot r$ is divided by $97956$.", "answer": 74092, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97956),\n \"n2\": Const(0),\n \"u\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"w\": Summation(var=\"k\", start=Sub(Binom(n=Const(2), k=Const(0)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Pow(Mul(Const(2), Ref(\"w\")), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(77765), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ZERO_BINOM_0"], "recipe_id": "c944f2", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ZERO_BINOM_0"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:14:47.132053Z", "verification": {"verified": true, "answer": 74092, "timestamp": "2026-02-08T08:14:47.134436Z"}, "problem_hash": "97ed8e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8788, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 2071}, "timestamp": "2026-02-13T16:41:51.511Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 354}, "timestamp": "2026-02-12T01:42:43.984Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "780ade", "alias": "modular_min_linear_v1_458359167_5722", "problem": "Let $a = 29617$ and $m = 40647$. Let $b$ be the smallest divisor of $36649489951$ that is at least $2$. Let $x$ be the smallest positive integer such that $1 \\leq x \\leq m$ and $a \\cdot x \\equiv b \\pmod{m}$. Let $Q$ be the remainder when $97976 \\cdot x$ is divided by $93867$. Compute $Q$.", "answer": 34550, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93867),\n \"a\": Const(29617),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(36649489951))))),\n \"m\": Const(40647),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(97976), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 2.308, "created_at": "2026-02-08T12:39:52.327326Z", "verification": {"verified": true, "answer": 34550, "timestamp": "2026-02-08T12:39:54.635380Z"}, "problem_hash": "701f42", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 453}, "timestamp": "2026-02-12T05:29:43.718Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "359e18", "alias": "antilemma_v1_legendre_1742523217_110", "problem": "Let $n = 97656$. Let $x$ be the largest integer $k$ such that $13^k$ divides $n!$. Let $p$ be a positive integer such that there exists a positive integer $q$ with $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of such integers $p$. Let $e = x \\bmod 14$. Compute the remainder when $x + c^e$ is divided by $74158$.", "answer": 8140, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74158),\n \"_n\": Const(97656),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Mod(value=Ref(\"x\"), modulus=Const(14))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "V1"], "recipe_id": "436635", "seed_template_id": "antilemma_v1_legendre", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V1"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T02:53:14.042552Z", "verification": {"verified": true, "answer": 8140, "timestamp": "2026-02-08T02:53:14.043735Z"}, "problem_hash": "1b232e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 2068}, "timestamp": "2026-02-09T13:48:52.626Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 1162}, "timestamp": "2026-02-08T23:05:55.158Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "test"} +{"id": "f8ab5e", "alias": "comb_count_derangements_v1_898971024_829", "problem": "Let $n$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides $11011$. Let $\\text{result} = !n$, the number of derangements of $n$ elements. Let $Q$ be the remainder when $24766 \\times \\text{result}$ is divided by $78261$. Compute $Q$.", "answer": 55218, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(24766), Ref(\"result\")), modulus=Const(78261)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:40:43.033899Z", "verification": {"verified": true, "answer": 55218, "timestamp": "2026-02-08T15:40:43.035607Z"}, "problem_hash": "b79da3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 335}, "timestamp": "2026-02-12T09:01:08.151Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "a81eda", "alias": "nt_gcd_compute_v1_809748730_221", "problem": "Let $a = 735768$ and $b = 1270872$. Let $d = \\gcd(a,b)$. Let $T$ be the set of all positive integers $n \\leq 438$ such that $3$ divides $n$ and $\\gcd(n,35) = 1$. Let $p$ be the number of elements in $T$, and let $q$ be the smallest integer greater than $1$ that divides $11021$. Compute the value of\n$$\n353702 \\cdot (|d| \\bmod 97) + 329703 \\cdot \\left((|d|^2 + 1) \\bmod p\\right) + 215534 \\cdot \\left((|d| + 6) \\bmod q\\right),\n$$\nand find the remainder when this value is divided by $92119$.", "answer": 59294, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(438),\n \"_n\": Const(2),\n \"a\": Const(735768),\n \"b\": Const(1270872),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(6)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11021)))))))), modulus=Const(1009091)), modulus=Const(92119)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "C5"], "recipe_id": "b972c1", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T11:23:24.036173Z", "verification": {"verified": true, "answer": 59294, "timestamp": "2026-02-08T11:23:24.040849Z"}, "problem_hash": "8c271d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24196, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 2434}, "timestamp": "2026-02-14T13:55:15.178Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 548}, "timestamp": "2026-02-12T04:02:50.572Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "4c68ae", "alias": "comb_count_derangements_v1_677425708_806", "problem": "Let $c=4$ and let $m=4$.\n\nLet $T$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=c$.\n\nLet\n\\[\nS = \\sum_{k=1}^{m} \\varphi(k)\\left\\lfloor \\frac{T}{k} \\right\\rfloor,\n\\]\nwhere $\\varphi$ is Euler's totient function.\n\nLet $A$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n\\[\npq = 54,\\quad \\gcd(p,q)=1,\\quad p 7056$, $n_1 \\leq U$, and $\\gcd(n_1, M) = 1$.", "answer": 7057, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50652),\n \"start\": Const(7056),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"modulus\": Const(170),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Gt(Var(\"n1\"), Ref(\"start\")), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "73f8b0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.062, "created_at": "2026-02-08T15:30:50.613206Z", "verification": {"verified": true, "answer": 7057, "timestamp": "2026-02-08T15:30:50.674788Z"}, "problem_hash": "8d8ccf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 378}, "timestamp": "2026-02-12T08:34:57.305Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "K18": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d91f95", "alias": "nt_count_divisible_and_v1_1520064083_1850", "problem": "Let $d_1 = \\sum_{k=1}^{4} k$. Let $d_2$ be the number of positive integers $n$ such that $1 \\leq n \\leq 29$ and $\\gcd(n, 20) = 1$. Define $\\mathcal{S}$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 78480$, $n \\equiv \\sum_{d\\mid\\gcd(6,30)} \\mu(d) \\pmod{d_1}$, and $n \\equiv 0 \\pmod{d_2}$. Let $r$ be the number of elements in $\\mathcal{S}$. Compute the remainder when $49231 \\cdot r$ is divided by $91010$.", "answer": 50078, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(78480),\n \"d1\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(29)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=GCD(a=Const(value=6), b=Const(value=30)), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(49231),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91010)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "C4"], "recipe_id": "e6d722", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 5.248, "created_at": "2026-02-08T04:20:14.097344Z", "verification": {"verified": true, "answer": 50078, "timestamp": "2026-02-08T04:20:19.345057Z"}, "problem_hash": "951686", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "3db035", "alias": "antilemma_v1_legendre_798873815_435", "problem": "Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq 68$. Let $q$ be the smallest integer $d \\geq 2$ that divides $3628411$. Define $n_1 = p \\cdot q$. Let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the M\\\"obius function. Let $n = 111$, and let $t = \\left( \\sum_{d \\mid n} \\phi(d) \\right) - n$, where $\\phi$ denotes Euler's totient function. Define $\\_n = 46536 + s + t$. Compute the largest integer $x$ such that $7^x$ divides $\\_n!$.", "answer": 7753, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(46536),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(68)), IsPrime(Var(\"n\"))))),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3628411))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"s\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(111),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_n\": Sum(Ref(\"_m\"), Ref(\"s\"), Ref(\"t\")),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(7)),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SUM", "MAX_PRIME_BELOW/MOBIUS_SUM", "EULER_TOTIENT_SUM", "V1"], "recipe_id": "398045", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_SUM", "V1"], "num_lemmas": 5, "generation_time": 0.002, "created_at": "2026-02-08T02:38:32.225198Z", "verification": {"verified": true, "answer": 7753, "timestamp": "2026-02-08T02:38:32.227331Z"}, "problem_hash": "bf6772", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7753, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 3395}, "timestamp": "2026-02-08T19:31:12.717Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:05:27.631Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:24:31.428Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7753, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 832}, "timestamp": "2026-02-09T00:14:49.879Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7753, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 1434}, "timestamp": "2026-02-09T05:03:30.434Z"}], "solution_status": 1, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "V1": "ok", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "K15": "no", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "test"} +{"id": "96077a", "alias": "comb_sum_binomial_row_v1_1431428450_248", "problem": "Let $m = 4865$. Let $S$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 4865$ and $\\binom{4865}{j} \\equiv 1 \\pmod{d}$, where $d$ is the number of ordered pairs $(p, q)$ of positive integers such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of elements in $S$. Compute $2^n$.", "answer": 65536, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4865),\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(4865)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V8"], "recipe_id": "93b9b8", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V8"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:21:07.588872Z", "verification": {"verified": true, "answer": 65536, "timestamp": "2026-02-08T13:21:07.592657Z"}, "problem_hash": "b981b0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 462}, "timestamp": "2026-02-12T06:39:45.415Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok_later", "C2": "no", "DS2": "no", "K17": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "121728", "alias": "nt_count_divisible_and_v1_349078426_1526", "problem": "Let $r$ be the number of positive integers $n$ less than or equal to $48660$ such that $n$ is divisible by both $6$ and $10$. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 92$. Compute $c - r$.", "answer": 494, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(48660),\n \"d1\": Const(6),\n \"d2\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(92)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1"], "recipe_id": "d2b6e1", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1"], "num_lemmas": 1, "generation_time": 2.327, "created_at": "2026-02-08T13:41:53.384276Z", "verification": {"verified": true, "answer": 494, "timestamp": "2026-02-08T13:41:55.711715Z"}, "problem_hash": "47ceb9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 496, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 299}, "timestamp": "2026-02-12T07:18:19.434Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "f6caa5", "alias": "comb_count_permutations_fixed_v1_1440796553_753", "problem": "Let $\\_c = 2590$. Define $\\_m$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = \\_c$. Let $\\_n$ be the largest positive divisor of $\\_m$ that is at most $35$. Let $n$ be the smallest integer greater than or equal to $2$ that divides $\\_n$. Compute $\\binom{n}{0} \\cdot !n$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 44, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2590),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_c\"))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(35)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_DIVISOR/MIN_PRIME_FACTOR"], "recipe_id": "ca1a66", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T11:57:21.871693Z", "verification": {"verified": true, "answer": 44, "timestamp": "2026-02-08T11:57:21.878586Z"}, "problem_hash": "f58781", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 1142}, "timestamp": "2026-02-14T21:32:13.423Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 554}, "timestamp": "2026-02-12T04:51:47.146Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "MAX_DIVISOR": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "a4df6d", "alias": "nt_count_coprime_v1_865884756_3209", "problem": "Let $u = 51984$ and $k = 34$. Define $A$ as the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 1$. Let $r_1$ be the number of elements in $A$. Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 3235x - 114450 = 0$. Let $T$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq \\sum S$ and $\\gcd(n_1, 21) = 1$. Let $r_2$ be the number of elements in $T$. Compute the remainder when $r_2 - r_1$ is divided by $81753$.", "answer": 59139, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81753),\n \"upper\": Const(51984),\n \"k\": Const(34),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-3235), Var(\"x\")), Const(-114450)), Const(0))))), Eq(GCD(a=Var(\"n1\"), b=Const(21)), Const(1))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/C4"], "recipe_id": "9b53b9", "seed_template_id": "nt_count_coprime_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 3.936, "created_at": "2026-02-08T17:13:54.398582Z", "verification": {"verified": true, "answer": 59139, "timestamp": "2026-02-08T17:13:58.334330Z"}, "problem_hash": "b5b15d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 514}, "timestamp": "2026-02-12T22:09:13.048Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K17": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "395fcb", "alias": "antilemma_count_primes_v1_458359167_728", "problem": "Let $A$ be the set of all positive integers $n$ with $1 \\leq n \\leq 3446$ such that the sum of the decimal digits of $n$ is even. Let $m$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq |A|$. Compute $m$.", "answer": 269, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(3446)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "e9db45", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3B"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:31:29.192567Z", "verification": {"verified": true, "answer": 269, "timestamp": "2026-02-08T03:31:29.193591Z"}, "problem_hash": "3613bb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_DIFF": "no", "V7": "no", "V8": "no"}, "split": "test"} +{"id": "56b718", "alias": "nt_sum_divisors_mod_v1_865884756_2669", "problem": "Let $n$ be the number of integers $t$ with $7 \\leq t \\leq 5050$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 2390$, $1 \\leq b \\leq 54$, and $t = 2a + 5b$. Let $\\sigma$ be the sum of all positive divisors of $n$. Let $M = 11059$. Compute the remainder when $\\sigma$ is divided by $M$, plus the remainder when $2$ raised to that remainder is divided by $82170$, where the exponent is reduced modulo the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 15$, $1 \\leq j \\leq 15$, and $i + j = 17$.", "answer": 10333, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82170),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2390)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=54)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5050)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"M\": Const(11059),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(17)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(15))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "LIN_FORM"], "recipe_id": "bc09c2", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "mod_exp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T16:51:58.659582Z", "verification": {"verified": true, "answer": 10333, "timestamp": "2026-02-08T16:51:58.676898Z"}, "problem_hash": "c057e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 611}, "timestamp": "2026-02-12T21:20:30.303Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "K13": "no", "K17": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "dbd1de", "alias": "comb_count_partitions_v1_1820931509_139", "problem": "Let $n$ be the smallest divisor of $94987$ that is greater than or equal to $2$. Compute the number of integer partitions of $n$, then find the remainder when this value is multiplied by $44121$ and divided by $67976$.", "answer": 44021, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(94987))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(67976)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T11:22:24.524262Z", "verification": {"verified": true, "answer": 44021, "timestamp": "2026-02-08T11:22:24.527949Z"}, "problem_hash": "ad84e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44021, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 101, "completion_tokens": 3156}, "timestamp": "2026-02-14T13:08:20.894Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 59183, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 415}, "timestamp": "2026-02-12T03:57:01.934Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K15": "no", "L3b": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "test"} +{"id": "7e0160", "alias": "comb_binomial_compute_v1_898971024_2680", "problem": "Let $n = 14$ and let $k$ be the smallest divisor of 11011 that is at least 2. Define $\\binom{n}{k}$ as the binomial coefficient. Let $c$ be the smallest divisor of 170867 that is at least 2. Compute the remainder when $c - \\binom{14}{k}$ is divided by 88728.", "answer": 85313, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(14),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(11011))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(170867))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(88728)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "fd27b3", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T16:54:32.682949Z", "verification": {"verified": true, "answer": 85313, "timestamp": "2026-02-08T16:54:32.686714Z"}, "problem_hash": "f8fd75", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 88727, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 376}, "timestamp": "2026-02-12T21:17:43.390Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K5": "no", "L3b": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "d41272", "alias": "antilemma_v1_legendre_458359167_466", "problem": "Let $x$ be the largest integer $k$ such that $7^k$ divides $33824!$. Let $\\mathcal{C}$ be the set of all positive integers $n$ with $1 \\le n \\le 22286$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Define $c$ to be the number of elements in $\\mathcal{C}$. Compute the remainder when $c - x$ is divided by $96361$.", "answer": 92751, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(22286),\n \"x\": MaxKDivides(target=Factorial(Const(33824)), base=Const(7)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(96361)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C", "V1"], "recipe_id": "73c560", "seed_template_id": "antilemma_v1_legendre", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "V1"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:21:26.655915Z", "verification": {"verified": true, "answer": 92751, "timestamp": "2026-02-08T03:21:26.657766Z"}, "problem_hash": "f81b65", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "V1": "ok", "K5": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "K15": "no", "K16": "no", "L3c": "no"}, "split": "test"} +{"id": "f65252", "alias": "nt_count_divisors_in_range_v1_1439011603_740", "problem": "Let $n = 110880$ and $b = 18488$. Let $a$ be the smallest integer greater than or equal to 2 that divides $5136364171069$. Compute the number of positive divisors $d_1$ of $n$ such that $a \\le d_1 \\le b$.", "answer": 105, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(110880),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5136364171069))))),\n \"b\": Const(18488),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Divides(divisor=Var(\"d1\"), dividend=Ref(\"n\")), Geq(Var(\"d1\"), Ref(\"a\")), Leq(Var(\"d1\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.252, "created_at": "2026-02-08T15:41:16.169657Z", "verification": {"verified": true, "answer": 105, "timestamp": "2026-02-08T15:41:16.421786Z"}, "problem_hash": "b5e70f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 526}, "timestamp": "2026-02-12T08:55:12.333Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K14": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "74e21b", "alias": "sequence_count_fib_divisible_v1_151522320_731", "problem": "Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 418$. Let $u = |T|$. Let $R$ be the set of positive integers $n \\leq u$ such that the $n$-th Fibonacci number is divisible by $13$. Let $d_{\\text{min}}$ be the smallest divisor of $56726134697$ that is at least $2$. Compute the remainder when $d_{\\text{min}} \\cdot |R|$ is divided by $91608$. Find the value.", "answer": 19549, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(91608),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(418))))),\n \"d\": Const(13),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(56726134697))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "COMB1"], "recipe_id": "b3946e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T03:29:04.152592Z", "verification": {"verified": true, "answer": 19549, "timestamp": "2026-02-08T03:29:04.170948Z"}, "problem_hash": "e9a923", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:35:03.632Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:36:26.396Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 8192}, "timestamp": "2026-02-11T12:48:51.543Z"}, {"id": 8, "model": "mathstral", "answer": 21, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 480}, "timestamp": "2026-02-12T16:22:54.994Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 537}, "timestamp": "2026-02-11T20:53:59.122Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MAX_VAL": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "e2dca7", "alias": "modular_product_range_v1_1116507919_124", "problem": "Let $m = 29$ and $n = 285$. Define $\\text{prod} = \\prod_{i=105}^{n} i$. Let $r = \\text{prod} \\mod 11197$. Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides $40577833$. Compute $Q = \\left( r \\mod 293 + \\nu_m(m^{1009}) \\cdot (r \\mod d_{\\min}) \\right) \\mod 52133$, where $\\nu_m(m^{1009})$ is the largest integer $k$ such that $m^k$ divides $m^{1009}$.", "answer": 11693, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(29),\n \"_n\": Const(285),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(105), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11197)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(293)), Mul(MaxKDivides(target=Pow(Ref(\"_m\"), Const(1009)), base=Const(29)), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(40577833)))))))), modulus=Const(52133)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "K14"], "recipe_id": "242251", "seed_template_id": "modular_product_range_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:26:23.313020Z", "verification": {"verified": true, "answer": 11693, "timestamp": "2026-02-08T02:26:23.315720Z"}, "problem_hash": "fc6eb9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:06:02.786Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:44:55.229Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:42:33.874Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19888, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 5725}, "timestamp": "2026-02-09T15:59:42.241Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "MIN_PRIME_FACTOR": "ok", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "test"} +{"id": "d97f50", "alias": "nt_count_with_divisor_count_v1_784195855_5439", "problem": "Let $n$ be a positive integer. Define $h$ to be the number of distinct prime factors of $n$. Let $a = 6$ and $b = 54 + h$. Define $f$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the Möbius function. Let $\\text{upper} = 55440 + f$, and let $\\text{div\\_count} = 3$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $n$ has exactly $\\text{div\\_count}$ positive divisors. Let this number be $\\text{result}$. Now, let $c$ be the number of positive integers $j$ such that $1 \\leq j \\leq 3939$ and $j^3 \\leq 61116425019$. Compute the remainder when $c \\cdot \\text{result}$ is divided by $75457$.", "answer": 49975, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3939),\n \"n\": Const(1),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"a\": Const(6),\n \"b\": Sum(Const(54), Ref(\"h\")),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Const(55440), Ref(\"f\")),\n \"div_count\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(3)), Const(61116425019))), domain='positive_integers')),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75457)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3", "MOBIUS_COPRIME", "OMEGA_ZERO"], "recipe_id": "91f2f9", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C3", "MOBIUS_COPRIME", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 2.4, "created_at": "2026-02-08T07:54:04.664816Z", "verification": {"verified": true, "answer": 49975, "timestamp": "2026-02-08T07:54:07.064737Z"}, "problem_hash": "c6fd87", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "MOBIUS_COPRIME": "ok", "OMEGA_ZERO": "ok", "C2": "no", "K14": "no", "K18": "no", "L3c": "no", "V8": "no"}, "split": "test"} +{"id": "9aae24", "alias": "comb_count_surjections_v1_168721529_287", "problem": "Let $n_2 = \\binom{13}{0} - 1$, and define $$e = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.$$ Let $n_1 = 4 \\cdot e$, and define $$s = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.$$ Let $a$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12$, and let $n = a + s$. Let $k$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 5$ and $1 \\le j \\le 6$ such that $i + j = 6$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty subsets.", "answer": 1800, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(4),\n \"n2\": Sub(Binom(n=Ref(\"_m\"), k=Const(0)), Const(1)),\n \"e\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Mul(Ref(\"_n\"), Ref(\"e\")),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(12))))), Ref(\"s\")),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "ZERO_BINOM_0"], "recipe_id": "65e076", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS", "ZERO_BINOM_0"], "num_lemmas": 4, "generation_time": 0.045, "created_at": "2026-02-08T12:56:51.109067Z", "verification": {"verified": true, "answer": 1800, "timestamp": "2026-02-08T12:56:51.154109Z"}, "problem_hash": "e247bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 342, "completion_tokens": 990}, "timestamp": "2026-02-09T03:14:51.164Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 338, "completion_tokens": 1089}, "timestamp": "2026-02-11T23:33:28.918Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 5262}, "timestamp": "2026-02-12T04:30:30.031Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 1829}, "timestamp": "2026-02-09T15:06:07.698Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 967}, "timestamp": "2026-02-10T02:29:22.426Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 329, "completion_tokens": 632}, "timestamp": "2026-02-11T21:06:45.915Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ZERO_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.83, "hi": -5.04}, "split": "test"} +{"id": "fe9696", "alias": "diophantine_product_count_v1_238844314_150", "problem": "Let $k = 240$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $713707399$. Let $S$ be the set of positive integers $x$ such that $1 \\leq x \\leq d_{\\text{min}}$, $x$ divides $k$, and $\\frac{k}{x} \\leq d_{\\text{min}}$. Compute the number of elements in $S$.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(240),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(713707399))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.075, "created_at": "2026-02-08T13:08:49.318973Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T13:08:49.393749Z"}, "problem_hash": "614951", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 291}, "timestamp": "2026-02-12T06:16:04.511Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C2": "no", "K14": "no", "K15": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "2ae477", "alias": "modular_mod_compute_v1_784195855_1637", "problem": "Let $a = 88804$ and $m = 44100$. Let $r$ be the remainder when $a$ is divided by $m$. Let $k$ be the largest integer such that $7^k$ divides $30254!$. Compute the value of $\\sum_{d \\mid k} \\phi(d) - r$.", "answer": 4436, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(88804),\n \"m\": Const(44100),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Sub(SumOverDivisors(n=MaxKDivides(target=Factorial(arg=Const(value=30254)), base=Const(value=7)), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/K3"], "recipe_id": "116019", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "V1"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:11:03.711348Z", "verification": {"verified": true, "answer": 4436, "timestamp": "2026-02-08T05:11:03.712590Z"}, "problem_hash": "8eb480", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "K3": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "test"} +{"id": "2835f6", "alias": "diophantine_fbi2_count_v1_1125832087_254", "problem": "Let $k = 60$. Compute the number of integers $d$ such that $5 \\leq d \\leq 59$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 56$. Let $r$ be the remainder when this count is divided by $11$. Find the value of the Bell number $B_r$, the number of partitions of a set of $r$ elements.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"a\": Const(4),\n \"b\": Const(1),\n \"upper\": Const(55),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(59)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(56))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["MIN_PRIME_FACTOR", "K3"], "recipe_id": "aa151e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "K3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.192, "created_at": "2026-02-08T02:59:32.436587Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T02:59:32.628744Z"}, "problem_hash": "1ac743", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 800}, "timestamp": "2026-02-10T12:23:22.007Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 692}, "timestamp": "2026-02-10T12:28:52.202Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 917}, "timestamp": "2026-02-10T23:49:45.529Z"}, {"id": 8, "model": "mathstral", "answer": 1854, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 624}, "timestamp": "2026-02-11T10:28:05.524Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 436}, "timestamp": "2026-02-11T20:03:02.349Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "test"} +{"id": "cbafa3", "alias": "modular_sum_quadratic_residues_v1_1520064083_10238", "problem": "Let $p$ be the smallest prime divisor of $36967549499$. Define\n$$\n\\text{result} = \\frac{p(p-1)}{4}.\n$$\nLet $Q$ be the remainder when $36847 \\cdot \\text{result}$ is divided by $87010$.\n\nFind the value of $Q$.", "answer": 54078, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36847),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(36967549499))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(87010)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:18:06.348812Z", "verification": {"verified": true, "answer": 54078, "timestamp": "2026-02-08T11:18:06.350987Z"}, "problem_hash": "ac968e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 113, "completion_tokens": 8192}, "timestamp": "2026-02-14T12:03:05.484Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 280}, "timestamp": "2026-02-12T03:50:24.661Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "test"} +{"id": "f27684", "alias": "nt_sum_divisors_mod_v1_168721529_1478", "problem": "Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=435600$. Let $u$ be the smallest value of $x+y$ over all pairs in $T$.\n\nLet $m$ be the number of positive integers $k$ such that $1\\le k\\le u$ and $60$ is divisible by $k$.\n\nLet $p$ be the largest prime number with $2\\le p\\le m$.\n\nLet $N$ be the largest integer $k$ such that $p^k$ divides\n$$625277231162607269697869186258983325011440390679718444753656158458276926223881265719951448205795082186101450996129172880305436779940051635188590060928443407084243976890412296119186385486517822633306385822261265192549337929792990225526057538178242835956762631870307512402313572182867621815113192316628336497071493823697155795908612987495773479942860521714343506393932283059619614796619168411341990578714692534676688238538709692289098081268139624247376546367749432903565528903799628918785109263707980280487633604909311947598338156866842340858855701303183111797461211989530573176471378512090435470752686055119700887779586237724059554454930230254945103769635564827732484723212809736689341688605410038600620312631561431859374239916409832764152340540639555419638780141290030681068921906069864096711268702164434542940232576633656899$$\nmultiplied by\n$$3235765097407361056481086193672807530646340057757547394442699472362135371341498156792943196443705779408653207372165536155170972834168212572112046820909211456093466900706766166261634890054886266019329614152307344237480284255286447549809876182595226286088756766535165191560893314793056189549475839332590444969396636307353820259776812651380722854740560810110372441364011311573818921079942061662156677490870760560145715408623469803269938962023286389062675054146114613499409675484311847884674046956659810946474414672247890065963975770234586123469088198089035431513800482613969693630345964653592621970440717971109205806404787897281727207479522558376467311742018520069079256367173837356874156664196721945031029770792802842892730132729917958744466679690347895269081435563844119443142569975786393428346240561899940559031970338432831452423348144856052763904566372188295852926805250998555323565911610742153780860047629921775088769878521544547324031609170754683990240129732764728680894953366967411709674500841532137741137844091119739944732380540753035778991163583143896005155359663550998767807215385447625873965987134982837501364346560992607368272159807795933573975906664144066930291321927637236095326920069129973327159436260090278264883719343414946071684663295781892665726831827474441880451586092980300656000830445744795608849479142699.$$\n\nLet $\\sigma(N)$ denote the sum of all positive divisors of $N$, and let $r$ be the remainder when $\\sigma(N)$ is divided by $10111$.\n\nLet $Q$ be the remainder when $|r|$ is divided by $95122$.\n\nCompute $Q$. ", "answer": 5952, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(435600)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(60), dividend=Var(\"k\"))), domain='positive_integers')),\n \"_n\": Const(95122),\n \"n\": MaxKDivides(target=Mul(Const(625277231162607269697869186258983325011440390679718444753656158458276926223881265719951448205795082186101450996129172880305436779940051635188590060928443407084243976890412296119186385486517822633306385822261265192549337929792990225526057538178242835956762631870307512402313572182867621815113192316628336497071493823697155795908612987495773479942860521714343506393932283059619614796619168411341990578714692534676688238538709692289098081268139624247376546367749432903565528903799628918785109263707980280487633604909311947598338156866842340858855701303183111797461211989530573176471378512090435470752686055119700887779586237724059554454930230254945103769635564827732484723212809736689341688605410038600620312631561431859374239916409832764152340540639555419638780141290030681068921906069864096711268702164434542940232576633656899), Const(3235765097407361056481086193672807530646340057757547394442699472362135371341498156792943196443705779408653207372165536155170972834168212572112046820909211456093466900706766166261634890054886266019329614152307344237480284255286447549809876182595226286088756766535165191560893314793056189549475839332590444969396636307353820259776812651380722854740560810110372441364011311573818921079942061662156677490870760560145715408623469803269938962023286389062675054146114613499409675484311847884674046956659810946474414672247890065963975770234586123469088198089035431513800482613969693630345964653592621970440717971109205806404787897281727207479522558376467311742018520069079256367173837356874156664196721945031029770792802842892730132729917958744466679690347895269081435563844119443142569975786393428346240561899940559031970338432831452423348144856052763904566372188295852926805250998555323565911610742153780860047629921775088769878521544547324031609170754683990240129732764728680894953366967411709674500841532137741137844091119739944732380540753035778991163583143896005155359663550998767807215385447625873965987134982837501364346560992607368272159807795933573975906664144066930291321927637236095326920069129973327159436260090278264883719343414946071684663295781892665726831827474441880451586092980300656000830445744795608849479142699)), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))),\n \"M\": Const(10111),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C2/MAX_PRIME_BELOW/K13"], "recipe_id": "d9a197", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "K13", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T13:42:59.322530Z", "verification": {"verified": true, "answer": 5952, "timestamp": "2026-02-08T13:42:59.330658Z"}, "problem_hash": "a23c53", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 1024, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:50:36.562Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C2": "ok_later", "K13": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "test"} +{"id": "939942", "alias": "modular_sum_quadratic_residues_v1_1915831931_378", "problem": "Let $m = 256$. Let $n$ be the number of positive integers $j$ such that $1 \\le j \\le 4$ and $j^4 \\le m$. Let $p$ be the smallest prime divisor of $78568283$. Define $r = \\frac{p(p-1)}{n}$. Let $T$ be the set of all positive integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\le a \\le 4$, $1 \\le b \\le 3$, $10 \\le t \\le 34$, and $t = 4a + 6b$. Let $k = |r| \\mod |T|$. Compute the Bell number $B_k$, which counts the number of partitions of a set of size $k$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(256),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(4)), Leq(Pow(Var(\"j\"), Const(4)), Ref(\"_m\"))), domain='positive_integers')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(78568283))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=34)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIN_FORM", "C3/MIN_PRIME_FACTOR"], "recipe_id": "bbaef0", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.04, "created_at": "2026-02-08T15:23:45.133413Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T15:23:45.173686Z"}, "problem_hash": "527c4a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 497}, "timestamp": "2026-02-12T08:19:52.348Z"}], "solution_status": 0, "lemma_applicability": {"C3": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok_later", "K17": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "1d3122", "alias": "nt_gcd_compute_v1_1742523217_1433", "problem": "Let $n = 17 \\cdot 10 + 1$. Let $c$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $p$ be the smallest divisor of $323$ that is at least $2$. Let $e$ be the remainder when $\\left((p - \\phi(2))! + 1\\right)$ is divided by $p$. Define $a = 1079728 + c$ and $b = 1744176 + e$. Let $g$ be the greatest common divisor of $a$ and $b$. Compute the remainder when $44121 \\cdot g$ is divided by $58001$.", "answer": 10596, "graph": "graphs = [\n Graph(\n let={\n \"a1\": Const(17),\n \"b1\": Const(10),\n \"n\": Sum(Mul(Ref(\"a1\"), Ref(\"b1\")), Const(1)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(323))))),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), EulerPhi(n=Const(2)))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Sum(Const(1079728), Ref(\"c\")),\n \"b\": Sum(Const(1744176), Ref(\"e\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(58001)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "DIVISOR_PARITY", "ONE_PHI_2"], "recipe_id": "d480dd", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR", "ONE_PHI_2", "WILSON"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:59:17.957071Z", "verification": {"verified": true, "answer": 10596, "timestamp": "2026-02-08T03:59:17.963253Z"}, "problem_hash": "7dd2db", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "WILSON": "ok_later", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no", "V8_SUM": "no"}, "split": "test"} +{"id": "d59384", "alias": "nt_count_coprime_v1_1742523217_3909", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 49284$ and $\\gcd(n, 10) = 1$. Let $A$ be the number of such integers $n$.\n\nLet $B$ be the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 36$, and $\\gcd(p, q) = 1$.\n\nLet $C$ be the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 18$, and $\\gcd(p, q) = 1$.\n\nDefine $D = \\sum_{i=0}^{k-1} d_i \\cdot (i + B)^C$, where $k$ is the number of digits of $A$, $d_i$ is the $i$-th digit of $A$ (starting from the units digit as $i=0$), and the sum is taken over all digit positions.\n\nCompute $D + 19881$.", "answer": 20121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19881),\n \"upper\": Const(49284),\n \"k\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "COPRIME_PAIRS"], "recipe_id": "eb2f09", "seed_template_id": "nt_count_coprime_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 7.758, "created_at": "2026-02-08T06:07:56.993416Z", "verification": {"verified": true, "answer": 20121, "timestamp": "2026-02-08T06:08:04.751651Z"}, "problem_hash": "82719f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K14": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "test"} +{"id": "31ac9d", "alias": "nt_count_coprime_and_v1_124444284_9158", "problem": "Let $A$ be the set of all positive integers $d$ such that $d \\geq 2$ and $d$ divides $4725$. Define $k_1$ to be the minimum element of $A$, and let $k_2 = 7$. Let $U = 34104$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq U$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Let $Q = (44121 \\cdot |S|) \\mod 51014$. Find the value of $Q$.", "answer": 40092, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(34104),\n \"k1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4725))))),\n \"k2\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(51014)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 5.159, "created_at": "2026-02-08T12:15:07.984086Z", "verification": {"verified": true, "answer": 40092, "timestamp": "2026-02-08T12:15:13.142755Z"}, "problem_hash": "52f25e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 465}, "timestamp": "2026-02-12T05:03:36.692Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "test"} +{"id": "50f402", "alias": "comb_count_derangements_v1_865884756_1778", "problem": "Let $m=2$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n\\begin{itemize}\n \\item $pq=18$,\n \\item $\\gcd(p,q)=1$, and\n \\item $p