diff --git "a/test.jsonl" "b/test.jsonl" new file mode 100644--- /dev/null +++ "b/test.jsonl" @@ -0,0 +1,2048 @@ +{"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